The time now is Fri 24 May 2013, 08:17
All times are UTC - 4 |
| Author |
Message |
paulsiu
Joined: 16 Jan 2007 Posts: 187
|
Posted: Sun 29 Apr 2007, 21:37 Post subject:
DotPet registration and dependencies |
|
Recently, I was in the process of creating Ruby dotpet. After reading the Makefile, I realized that Ruby comes in two parts: ruby and ruby-doc. The difference is that the former is make install, the later is make install-doc.
The dotpet indicated that while new2dir can handle multiple packages, it is not entirely reliable. To get around the problem, I did a new2dir on make install. Change the directory name to ruby-doc and did a new2dir on make install-doc. I then use dir2pet to create the two dotpet.
When I install the dotpet files, I notice that one will erase the regristration of the other. Suppose I install ruby and then ruby-doc, ruby is erased from the registration list. How do I get around this problem?
Paul
|
|
Back to top
|
|
 |
paulsiu
Joined: 16 Jan 2007 Posts: 187
|
Posted: Sun 06 May 2007, 18:12 Post subject:
Figured it out |
|
The package is registered by the filename. I seems to attempt to read off the filename and then extract the name before the dash number. Previous, I had two packages:
ruby-1.8.6-i486
ruby-1.8.6-doc-i486
What happens is that when you do a dir2pet. It strip off the version number and everthing after it. Both end up with the signature of "ruby".
To get around the problem, I rename the ruby-1.8.6-doc-i486 to ruby-doc-1.8.6-i486.
Paul
|
|
Back to top
|
|
 |
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|
|
[ Time: 0.0464s ][ Queries: 11 (0.0068s) ][ GZIP on ] |