Sharing Fink (/sw/) files with Mac OS (/usr/local/) files

rgrahame

Registered
I have been upgrading my Gallery 2 and installing newer versions ImageMagick and NetPBM as I go. There seemed to be lots of extra peices to install, so I decided to give Fink another try.

Basically my question is, how can I share code that exists in Fink's /sw/ directories with the Mac's /ust/local/ directories? Both directory structures have /bin, /lib, etc. ImageMagick and NetPBM both need to use code from both to deal with JPEGs, TIFFs, PNGs, etc.

Fink is great for installing software that can be accessed from the CLI or for full software packages, but, how does software like IM find all the bit of helper code it needs. I have both the Mac and the Fink directories in my PATH setup. It might be possible to use many SymLinks or to go and edit all the config files for IM, NetPBM, PHP, etc., but, this just complicates the system too much.

OS X 10.3.9
IM 6.3.3
Gallery 2.2.1
XAMPP 0.5

Many thanks for the assistance.
 
What do you mean by share? if both are in your path then you can use either for executables. You can also make sure that they are in you lib path when you are building things so that libraries in one can see the other. You should not go putting symlinks in though, Fink is separate for the reason that automatic package based systems do not play well manually added software. I keep all my manual stuff in local and am happy that I know Fink won't helpfully mess it up for me.
 
Back
Top