-----BEGIN PGP SIGNED MESSAGE-----
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
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:
# 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 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
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
- --
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
iD8DBQFFJOUCk33Krq8b42MRAiw5AJsHtv24T+BWpESP2ay6SbEIXVZ0EgCbBe0E
ccVeI6rQt5UVb2ESkcTqgOI=
=qPlh
-----END PGP SIGNATURE-----
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