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

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

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

Derick Rethans schrieb am 10.10.2006 11:46:
> On Tue, 10 Oct 2006, Werner Flamme wrote:
>
>> Derick Rethans schrieb am 10.10.2006 10:54:
>>> On Tue, 10 Oct 2006, Werner Flamme wrote:
>>>
>>>> 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 :-)
>>> Cool, this is a hack however, so I would be greateful if I could have
>>> access to the machine to fix it for real.
>> No way, Derick, my company's firewall admin does not like foreign visitors
>> inside our net ;-)
>
> Okay, could you try one more thing for me though?
>
> Try to configure with:
> LDFLAGS=-lncurses CFLAGS="-L/lib64 -L/usr/lib64" ./configure --with-libedit
>
> that should get rid of your "-lncurses: linker input file..." warnings.
>
> regards,
> Derick
>

Derick, you are right, now I get:

# make
gcc -DHAVE_CONFIG_H -I. -I. -I. -L/lib64 -L/usr/lib64 -c main.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -L/lib64 -L/usr/lib64 -c usefulstuff.c
gcc -L/lib64 -L/usr/lib64 -lncurses -o debugclient main.o usefulstuff.o
- -ledit -lnsl

At least you now have some lines to add to your installation guide ;-) -
the debugclient part is rather small ;-)

BTW, the 64bit capabilities of your software are better than you think:

LDFLAGS=-lncurses ./configure --with-libedit

runs fine too, the CFLAGS are not needed!

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

iD8DBQFFK3MUk33Krq8b42MRAnylAJ4zi+Y8xPz+M6GgK3ljn/SdYRkQFwCfQJBc
DX8LeYpv7eIBibltbJ2njyQ=
=9fsD
-----END PGP SIGNATURE-----
Received on Tue Oct 10 2006 - 12:16:59 BST

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