[xdebug-general] Re: client install does not work

From: Werner Flamme <werner.flamme[@]ufz.de>
Date: Tue, 10 Oct 2006 10:41:16 +0200

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Derick Rethans schrieb am 10.10.2006 09:39:
> On Tue, 10 Oct 2006, Werner Flamme wrote:
>
>> Derick,
>>
>> the CFLAGS in front of configure do not change a bit.
>>
>> So I am back to my question: what is configure looking for? And where? I am
>> not a programmer on OS level, just shell scripting, PHP and a little Perl
>> and ABAP...
>
> Well, it already finds your libedit, so the detection works fine. I
> re-read your original mail and saw:
>
> /usr/lib64/libedit.so: undefined reference to `tgetnum'
>
> tgetnum is a symbol in the ncurses library which you seem to have to
> link in as well. Try to use -lncurses in the CFLAGS as well. If that
> works then I'll have to see on how to modify the configure stuff.
> However, I would need access to a machine that inhibits this problem
> then though to try things out.
>
> regards,
> Derick
>

Derik,

that did the trick!

CFLAGS="-L/lib64 -L/usr/lib64 -lncurses" ./configure --with-libedit

gave no errors, and the following "make" did not complain either :-) -
except maybe

# make
gcc -DHAVE_CONFIG_H -I. -I. -I. -L/lib64 -L/usr/lib64 -lncurses -c main.c
gcc: -lncurses: linker input file unused because linking not done
gcc -DHAVE_CONFIG_H -I. -I. -I. -L/lib64 -L/usr/lib64 -lncurses -c
usefulstuff.c
gcc: -lncurses: linker input file unused because linking not done
gcc -L/lib64 -L/usr/lib64 -lncurses -o debugclient main.o usefulstuff.o
 -ledit -lnsl

Hm... After make install, /usr/local/bin/debugclient exists and answers as
expected :-)

Thanks a lot, I shall try beta1 soon, at home it is already running!

Best regards,
Werner

- --
Werner Flamme, Abt. WKDV
UFZ Umweltforschungszentrum Leipzig-Halle GmbH,
Permoserstr. 15 - 04318 Leipzig
Tel.: (0341) 235-3921 - Fax (0341) 235-453921
http://www.ufz.de - eMail: werner.flamme@ufz.de

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org

iD8DBQFFK1ysk33Krq8b42MRAqgAAJsGNPWoNKJ5H7npRKoaC4qDWBD+OQCfWizz
xELY6grNOxAGVtrcMUq5UI8=
=o6e1
-----END PGP SIGNATURE-----
Received on Tue Oct 10 2006 - 10:41:25 BST

This archive was generated by hypermail 2.2.0 : Mon Jun 25 2018 - 06:00:04 BST