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

From: Derick Rethans <derick[@]xdebug.org>
Date: Tue, 10 Oct 2006 13:30:30 +0200 (CEST)

On Tue, 10 Oct 2006, Werner Flamme wrote:

> 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.
>
> 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!

Great, just what I hoped. I added it to the website now. Thanks for
checking this out!

regards,
Derick

-- 
Xdebug | http://xdebug.org | xdebug-general@lists.xdebug.org
Received on Tue Oct 10 2006 - 13:30:36 BST

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