Hi, I prepared two patches for the Mac OS X build of ROOT. I came across these issues while preparing a fink package (http://fink.sf.net) for ROOT. fink.patch: The config/Makefile.macosx misuses the EXTRA_* entries for setting the fink specific paths (/sw/lib, /sw/include). A problem arises if you want to compile root with fixed paths using the HAVE_CONFIG compiler flag which is passed using the EXTRA_* entries. Therefore I added dedicated FINK_* flags to Makefile.macosx. They stay empty in case that there is no fink installation in /sw and therefore should not interfere with no-fink systems. dylib_loading.patch: On Mac OS X there are two ways how to find shared libraries at run time. The linux way to define DYLD_LIBRARY_PATH pointing to the library path and the Apple preferred way to hardcode the full library path into the executable at linking time. ROOT currently uses the DYLD_LIBRARY_PATH which enables the relocation of the libraries after the linking. Apple uses for all applications the latter method having the advantage that the common Apple user does not have to fiddle around with environment variables. For the fink package I'm going to provide I will use the latter method. This patch introduces minor changes to config/Makefile.macosx and build/unix/makelib.sh to enable the hard-coded library path. I do not have any preferences on how ROOT should handle this by default. Any comments? Cheers, Remi
This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:09 MET