[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

gEDA-user: building 20030901 geda released



Hello all,

I've managed to build the full 20030901 geda released
with a small strange thing regarding libstroke.
Here it is :

compiling libstroke :
cd libstroke-0.5.1/
    ./configure --prefix=$HOME/gEda/target
    make install
status : success

configure gschem (knowing libstroke is installed) :
cd geda-gschem-20030901/
./configure --prefix=$HOME/gEda/target
    checking for stroke_init in -lstroke... no
    libstroke library:  no
./configure --prefix=$HOME/gEda/target --libdir=$HOME/gEda/target/lib
    same : -lstroke... no
finishes OK but libstroke is not supported (maybe not so
important by the way, libstroke is optional, but, OK, I want to
try this ... it's my choice for the moment.)

So, after investigation inside configure, I come
to conclusion that configure tries this :
gcc -o conftest -g -O2   conftest.c  -lstroke
error: /usr/bin/ld: cannot find -lstroke

and should try this :
gcc -o conftest -g -O2   conftest.c -L/home/jeanlucwoody/gEda/target/lib 
-lstroke
success

my /etc/ld.so.conf is well configured and all my
LD_LIBRARY_PATH, LD_RUN_PATH as well.

So, in configure, line 5028 is :
LIBS="-lstroke  $LIBS"
and I can check LIBS=""

doing export LIBS="-L/home/jeanlucwoody/gEda/target/lib"
and then ./configure --prefix=$HOME/gEda/target again works.

Simply, it seems that the other ones don't need to export
LIBS.
Strange.

Jean-Luc.