[GRASS5] [bug #2852] (grass) Library - libgrass_interpfl.5.7.cvs.dylib - is not built
William K
woklist at charter.net
Fri Dec 17 12:55:19 EST 2004
Hmm, I'm having no problems with this on the 2004-12-13 CVS snapshot.
I don't do CVS updates so I can't say for 12-17, maybe something
changed in the code?
This looks like my patch I do for Mac OS X SHLIB_LD. Works for me.
Paul - I've been meaning to get some action on my bug for the SHLIB_LD
thing for Mac OS X (#2544). (I thought I sent something out recently to
the bug, but I don't see it there) I've been successfully using these
changes on all snapshots since I opened the bug.
SHLIB_CFLAGS="-fno-common"
SHLIB_LD="cc -dynamiclib -Wl,-flat_namespace,-U,_cuserid
-compatibility_version 5.7 -current_version 5.7 -install_name
\${LIB_RUNTIME_DIR}/lib\${LIB_NAME}\${SHLIB_SUFFIX}"
The versions are probably not critical, but the key is the install
name. The versions should use some sed voodoo to get the grass version
string into an acceptable form instead of being hardcoded. I ditched
my different settings for Mac OS 10.2 and 10.3 - the dynamic lookup
thing for 10.3 was causing problems in a few modules at runtime.
On Dec 17, 2004, at 10:42 AM, Paul Kelly wrote:
> On Fri, 17 Dec 2004, Request Tracker wrote:
>
>> this bug's URL: http://intevation.de/rt/webrt?serial_num=2852
>> ----------------------------------------------------------------------
>> ---
>>
>> Subject: Library - libgrass_interpfl.5.7.cvs.dylib - is not built
>>
>> Platform: Mac OSX
>> grass obtained from: CVS
>> grass binary for platform: Compiled from Sources
>> GRASS Version: 57cvs_041217
>>
>> libgrass_interpfl.5.7.cvs.dylib is not built.
>> Following this lib I have 2 missing bin: r.resamp.rst, v.surf.rst.
>> Last rows in make:
>> .....
>> cc -dynamiclib -Wl,-flat_namespace,-U,_cuserid -compatibility_version
>> 5.7 -current_version 5.7
>
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ You must have
> made some changes to your compile flags as those are commented out in
> CVS
>
> SHLIB_LD should be simply "cc -dynamiclib -single_module"
> and any errors in individual modules should be corrected by fixing the
> errors in the source code of that module, not by tweaking the global
> compile flags.
>
-----
William Kyngesburye <kyngchaos at charter.net>
http://webpages.charter.net/kyngchaos/
"I ache, therefore I am. Or in my case - I am, therefore I ache."
- Marvin
More information about the grass-dev
mailing list