Re: [Plib-devel] src/util includes
Brought to you by:
sjbaker
From: Steve B. <sjb...@ai...> - 2000-07-16 18:29:42
|
Norman Vine wrote: > > Steve Baker writes: > > > >You need PLIB's CVS version. > > > >The UL library is a new feature that I added (at the request > >of this group), > >and it hasn't made it into a released version yet. > > > > unix newbie question > > Is it possible to use symlinks instead of hard links > in the /usr tree for the .h and .a files Yes. > If so how does one do this ? > > I would like to be able to switch back and forth easily > between using the released and CVS versions of several > projects that use PLib Presuming you have: /usr/include/plib-1.2.0 and /usr/include/plib-1.3.1 and also: /usr/lib/libplibssg.so.1.2.0 /usr/lib/libplibssg.so.1.3.1 then you could write a shell script: plib-1.2: rm /usr/include/plib rm /usr/lib/libplib*.so ln -s /usr/include/plib-1.2.0 /usr/include/plib ln -s /usr/lib/plibssg.so /usr/lib/plibssg.so.1.2.0 and another: plib-1.3: rm /usr/include/plib rm /usr/lib/libplib*.so ln -s /usr/include/plib-1.3.1 /usr/include/plib ln -s /usr/lib/plibssg.so /usr/lib/plibssg.so.1.3.1 (In reality, you'd have to link each of the plib*.so libraries - I only did one - for brevity). So far, every PLIB application that works with 1.2 has worked with 1.3.1 provided the 'configure.in' file was modified by adding: AC_CHECK_LIB(plibul,ulInit,,,) ...so you shouldn't have to resort to symlinks, etc. -- Steve Baker HomeEmail: <sjb...@ai...> WorkEmail: <sj...@li...> HomePage : http://web2.airmail.net/sjbaker1 Projects : http://plib.sourceforge.net http://tuxaqfh.sourceforge.net http://tuxkart.sourceforge.net http://prettypoly.sourceforge.net |