At 10:22 -0400 2/10/04, Alexander Strange wrote on fink-users:
On Oct 2, 2004, at 6:01 AM, Martin Costabel wrote:
I should add that on this machine which is not under my exclusive control, /usr/local was populated by some Wierda iinstaller aficionados who even installed libwmf. Sebastien, did you also have /usr/local/lib/libwmf* things installed?

--
Martin


I don't think I can easily make it ignore /usr/local, but I can try to add a system-libwmf-shlibs for it.



I have also had problems with various packages interacting with /usr/local when building. This has caused me grief when I later used apt-get to install from those debs on other machines, which didn't have the same stuff in /usr/local. I finally learned to move /usr/local/lib before building from fink, and then move it back afterwards. But I sometimes forget.


It certainly would be nice to have fink automatically deal with this situation. I have seen discussions before about various ways to do this, but no one was ever able to come up with a perfect solution, so nothing is done. But I believe this is a big enough problem that even an imperfect solution may be better than no solution at all.

Why not have an optional flag in fink.conf - if this flag is set then fink will move /usr/local/lib (or should that be all of /usr/local?) out of the way before building anything, and then move it back after the build is complete. I effectively do this with an alias:

alias finku='sudo mv /usr/local/lib /usr/local/lib.moved;fink update-all;sudo mv /usr/local/lib.moved /usr/local/lib'

There are issues that the user needs to be aware of:

1. he can't use software that needs /usr/local while building things from fink, and
2. if fink crashes, he may need to manually move /usr/local/lib back in place.


The default should be for fink to leave /usr/local alone, because of the above issues. But we should offer the user an optional, automatic way to deal with /usr/local during builds, if he decides that he is prepared to live with those issues.

Kevin Horton


------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Fink-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to