[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: gnustep-gui build link dependency orders wrong
From: |
Richard Frith-Macdonald |
Subject: |
Re: gnustep-gui build link dependency orders wrong |
Date: |
Thu, 4 Jul 2013 09:59:21 +0100 |
On 3 Jul 2013, at 21:59, Marcus Müller <address@hidden> wrote:
> Hi all!
>
> For a couple of weeks now I'm doing nightly builds of two of my pet projects
> via Jenkins on FreeBSD 9.1
That's good to know ... it's always nice to find out that someone is using
GNUstep ...
> Instead of linking against gnustep-base.so installed in
> /usr/local/jenkins/workspace/GNUstep_trunk/GNUSTEP_ROOT/Local/Library/Libraries,
> it links against the (defunct) version installed in /usr/local/lib. The
> obvious culprit is the link order, which should be (according to my
> understanding):
>
> -L../Source/./obj -L../Model/./obj -L/root/GNUstep/Library/Libraries
> -L/usr/local/jenkins/workspace/GNUstep_trunk/GNUSTEP_ROOT/Local/Library/Libraries
>
> -L/usr/local/jenkins/workspace/GNUstep_trunk/GNUSTEP_ROOT/System/Library/Libraries
> -L/usr/local/lib
Thanks ... good diagnosis.
This turns out to be a problem with the gnustep-gui configuration seting the
paths to libraries and headers needed for external dependencies as having
higher precendence than all other paths (setting them in ADDITIONAL...
variables) rather than lower precedence that all other paths (setting them in
CONFIG_SYSTEM... variables).
I fixed the configure.ac script and config.make.in to change this behavior ...
please give it a try.