Details Ticket 5028


Comment | Reply | Take | Open


Serial Number 5028
Subject simwe needs indirectly linked vector libs
Area grass6
Queue grass
Requestors kyngchaos@kyngchaos.com
Owner none
Status resolved
Last User Contact Sun Aug 20 20:13:37 2006 (2 yr ago)
Current Priority 30
Final Priority 70
Due No date assigned
Last Action Sun Aug 20 20:13:39 2006 (2 yr ago)
Created Sun Aug 20 18:32:51 2006 (2 yr ago)

Transaction History Ticket 5028


Sun, Aug 20 2006 18:32:51    Request created by guest  
Subject: simwe needs indirectly linked vector libs

Platform: Mac OSX
grass obtained from: Trento Italy site
grass binary for platform: Compiled from Sources
GRASS Version: 6.1+

Some of the libraries needed by the simwe/simlib themselves use the vector libraries,
but the vector 
libraries are not directly linked into simlib.  This causes a build failure in
many cases because the 
linker can't find those indirectly linked libraries (at least with the Mac OS
X linker).

When it's a first-time build or a version upgrade, there is no GRASS installed.
Or in a SDK build (ie 
on Mac OS X), the SDK overrides the usual system paths, and GRASS does not exist
in the SDK.  
Another possible problem is if the vector libs get new functions, a previously
installed GRASS' vector 
libs will be used and not have those functions.

A quick fix is to install GRASS after simwe build failed, so at least the libraries
are available, then 
rebuild simwe.  But this is not good - it doesn't work for the SDK case, and
it's possible the build will 
go directly into a distribution install, and not a normal install at all.

To fix, edit simwe/simlib/makefile: add $(VECTLIB) to EXTRA_LIBS, and add $(VECTDEP)
to 
DEPENDENCIES.  At least that's what I do for now.
Sun, Aug 20 2006 20:13:37    Mail sent by mneteler  
Fixes applied (it's needed due to the use of the SITESLIB).
Also fixed for 6.2. release-branch

Markus
Sun, Aug 20 2006 20:13:39    Status changed to resolved by mneteler  
Comment | Reply | Take | Open

You are currently authenticated as guest.
[Show Configuration] [Login as another user]

Users Guide - Mail Commands - Homepage of RequestTracker 1.0.7 - list any request