[xdebug-general] client install does not work

From: Werner Flamme <werner.flamme[@]ufz.de>
Date: Thu, 05 Oct 2006 12:57:06 +0200

Hash: SHA1

Hi everyone,

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

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:

# rpm -ql libedit
# rpm -ql libedit-devel

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 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
cannot find -ltermcap


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

When asking ldconfig for libtermcap and libedit, I get
libtermcap.so.2 (libc6,x86-64) => /usr/lib64/libtermcap.so.2
libedit.so (libc6,x86-64) => /usr/lib64/libedit.so

so both libraries are there...

Kind regards,

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

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

Received on Thu Oct 05 2006 - 12:57:13 BST

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