Re: install_name for libraries and frameworks on OS X

2008-05-22 Thread Blake Nicholson
On May 22, 2008, at 4:26 AM, Nicola Pero wrote: Please let me know if you have any feedback on my patch below, or if you think it is ready to commit. The only (purely aestethical) change I'd make is I'd put make sure GNUSTEP_ABSOLUTE_INSTALL_PATHS gets set to '' if not running on Mac OS X ...

Re: install_name for libraries and frameworks on OS X

2008-05-21 Thread Blake Nicholson
On May 18, 2008, at 8:02 AM, Nicola Pero wrote: 1) Update configure.ac in gnustep-make so it prints a warning if the user is on darwin and uses a filesystem layout other than 'apple'. This warning will tell the user they need to either set DYLD_LIBRARY_PATH and DYLD_FRAMEWORK_PATH in their

Re: install_name for libraries and frameworks on OS X

2008-05-18 Thread Nicola Pero
1) Update configure.ac in gnustep-make so it prints a warning if the user is on darwin and uses a filesystem layout other than 'apple'. This warning will tell the user they need to either set DYLD_LIBRARY_PATH and DYLD_FRAMEWORK_PATH in their shell's environment as well as in

Re: install_name for libraries and frameworks on OS X

2008-05-14 Thread Blake Nicholson
Nicola, Sounds good. I will put together a patch to do the following: 1) Update configure.ac in gnustep-make so it prints a warning if the user is on darwin and uses a filesystem layout other than 'apple'. This warning will tell the user they need to either set DYLD_LIBRARY_PATH and

RE: install_name for libraries and frameworks on OS X

2008-05-13 Thread Nicola Pero
Hi Blake, thanks for your interesting and useful comments - and good patch. The patch is good, but it's a hot issue. ;-) I'm not sure what the solution is. I understand the obvious pros of your patch, but there are also some cons - I'll mention some. Ultimately we probably just need to make

Re: install_name for libraries and frameworks on OS X

2008-05-13 Thread Nicola Pero
I don't think that's a problem, as you're supposed to use DESTDIR when installing to a different (temporary) location. Still it might be nice to make the patch configurable. Thanks - good point/correction - I always thought that DESTDIR was a general tool that could also be used in

Re: install_name for libraries and frameworks on OS X

2008-05-13 Thread Blake Nicholson
Hi Nicola, Thank you for the extensive feedback. It appears to me that your suggestion is that we go with what I described as option 1 (tell users on OS X they need to use the apple filesystem). This is a reasonable solution to me. I think it would be wise to add some checking to

Re: install_name for libraries and frameworks on OS X

2008-05-13 Thread Nicola Pero
Blake, yes I like your option 1. as the general option to give to the 'average' user because it really should work well if the user just wants something that works. Things will work 'out of the box' with no intervention, will install straight into the Apple recommended locations, and work

install_name for libraries and frameworks on OS X

2008-05-12 Thread Blake Nicholson
I plan to apply the following patch to gnustep-make, but would like to see if anyone has any feedback against doing so first. The purpose of this patch is to set the install_name on Mac OS X to an absolute (rather than relative) path for libraries and frameworks. My reason for doing this