Mailing List Archive

Support open source code!


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

tlug: Version Control & Binary Locations



--------------------------------------------------------
tlug note from joem <root@example.com>
--------------------------------------------------------

I have a question about what people are doing with version control 
and binary locations.  

If I build Perl (for instance) I get 16 compiled binaries in 
my /usr/local/bin subdirectory.  What I've been doing is renaming 
the binaries to include the version numbers (ie perl --> perl5.003) 
and using symbolic links back to the executable name in the
same subdirectory.

The problem is that with multiple versions of packages and all 
the symbolic links, I end up with a whole lot of files in one
subdirectory, which becomes confusing.

One way around this would be to set the login environment to 
reference package subdirectories which have version numbers
attached, like /usr/local/perl5.003.   But this makes it a bit
difficult to change versions quickly.

Another way around this would be to move compiled binaries for
each package into it's own subdirectory in /usr/local/bin like
/usr/local/bin/perl5.003 and then have symbolic links in 
/usr/local/bin to the binaries in the subdirectory.  In this
case the only files in /usr/local/bin would be symbolic links.

There may be other ways to handle this as well.  Any suggestions
about which way is best?


-Joe.

-----------------------------------------------------------------
a word from the sponsor will appear below
-----------------------------------------------------------------
The TLUG mailing list is proudly sponsored by TWICS - Japan's First
Public-Access Internet System.  Now offering 20,000 yen/year flat
rate Internet access with no time charges.  Full line of corporate
Internet and intranet products are available.   info@example.com
Tel: 03-3351-5977   Fax: 03-3353-6096


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links