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

From: Mauro C. <incastrix[@]yahoo.it>
Date: Mon, 9 Oct 2006 19:04:11 +0200 (CEST)

HI to all,

I've compiled debug client on AMD64 with Debian sarge 64, and have no problem.

In debian ditribution lib64 is a symbolic link to lib.

try to find shared object in file system, if it isnt in default location try to update the dynamic load (lddconfig).

Mauro Casciari

Derick Rethans <derick[@]xdebug.org> ha scritto: Hello,

On Thu, 5 Oct 2006, Werner Flamme wrote:

> just got Xdebug, installed the library and it shows up properly in phpinfo():
>
> This program makes use of the Zend Scripting Language Engine:
> Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies with Xdebug
> v2.0.0beta6, Copyright (c) 2002, 2003, 2004, 2005, 2006, by Derick Rethans
>
> Now I changed into debugclient directory and proceeded as given on
> http://www.xdebug.org/install.php:
>
> rz36:/work/xdebug-2.0.0beta6/debugclient # ./configure --with-libedit
> ...lot of output...
> checking whether to use libedit... yes
> checking for tgetflag in -ltermcap... no
> checking for el_set in -ledit... no
> configure: error: "libedit was not found on your system."
>
> Hm... I am using SUSE 10.0 x86_64, installed automake-1.9.6-2 and
> autoconf-2.59-82. The rpm command tells me:

I don't think the configure script quite understands lib64 yet. I have
no 64bit machine to check so access to a 64 bit machine would be very
useful to figure this out.

>
> # rpm -ql libedit
> /usr/lib64/libedit.so
> /usr/share/man/man5/editrc.5.gz
> # rpm -ql libedit-devel
> /usr/include/histedit.h
> /usr/lib64/libedit.a
> /usr/share/man/man3/editline.3.gz
>
> I tried ./configure --with-libedit CFLAGS="-L/lib64 -L/usr/lib64", but this
> did not change a bit. What does configure search and is missing on my box?

In order for this to work you need to do:

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

(ie, put the CFLAGS first on the line)

>
> In configure.log, I find
>
> configure:6041: checking for tgetflag in -ltermcap
> configure:6071: gcc -o conftest -L/lib64 -L/usr/lib64 conftest.c
> -ltermcap -lnsl >&5
> /usr/lib64/gcc/x86_64-suse-linux/4.0.3/../../../../x86_64-suse-linux/bin/ld:
> cannot find -ltermcap
>
> and
>
> configure:6102: result: no
> configure:6115: checking for el_set in -ledit
> configure:6145: gcc -o conftest -L/lib64 -L/usr/lib64 conftest.c -ledit
> -lnsl >&5
> /usr/lib64/libedit.so: undefined reference to `tgetnum'
> /usr/lib64/libedit.so: undefined reference to `tgoto'
> /usr/lib64/libedit.so: undefined reference to `tgetflag'
> /usr/lib64/libedit.so: undefined reference to `tputs'
> /usr/lib64/libedit.so: undefined reference to `tgetent'
> /usr/lib64/libedit.so: undefined reference to `tgetstr'
> collect2: ld returned 1 exit status
> configure:6151: $? = 1

That is strange though.. but again, I can not say more without seeing it
on a real system :)

regards,
Derick

-- 
Xdebug | http://xdebug.org | xdebug-general@lists.xdebug.org
 __________________________________________________
Do You Yahoo!?
Poco spazio e tanto spam? Yahoo! Mail ti protegge dallo spam e ti da tanto spazio gratuito per i tuoi file e i messaggi 
http://mail.yahoo.it 
Received on Mon Oct 09 2006 - 19:04:31 BST

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