ID: 20429 Comment by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Feedback Bug Type: Compile Failure Operating System: Linux 2.4.19 / Debian 3.0 PHP Version: 4.2.3 New Comment:
/usr/bin/gettext /usr/include/libintl.h /usr/lib/libc.so I've tried the --with-gettext=/usr but it doesn't work. What is the configure script looking for anyway? the .so files? This is the bottom of the config.log: ===== int main() { bindtextdomain() ; return 0; } configure:25664: checking for bindtextdomain in -lc configure:25683: gcc -o conftest -g -O2 -DLINUX=22 -DMOD_SSL=208111 -DUSE_HSREG EX -DEAPI -DUSE_EXPAT -Wl,-rpath,/usr/local/lib -L/usr/local/lib -L/usr/local/l ib conftest.c -lc -lgd -lfreetype -lpng -lz -ljpeg -lz -lcrypt -lresolv -lm -ld l -lnsl -lresolv -lcrypt 1>&5 /usr/local/lib/libgd.so: undefined reference to `XpmReadFileToXpmImage' collect2: ld returned 1 exit status configure: failed program was: #line 25672 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char bindtextdomain(); int main() { bindtextdomain() ; return 0; } ====== Previous Comments: ------------------------------------------------------------------------ [2002-11-14 11:20:16] [EMAIL PROTECTED] And check the config.log for more information why the checks fail. It might not be gettext related at all. ------------------------------------------------------------------------ [2002-11-14 11:08:30] [EMAIL PROTECTED] Where is your gettext installed? ------------------------------------------------------------------------ [2002-11-14 11:06:53] [EMAIL PROTECTED] I'm trying to compile PHP 4.2.3 on Debian 3.0 (woody) with gettext support. When trying to ./configure --with-gettext or --with-gettext=DIR (tried all different lib/include dirs I could think of) I always get the following error: .. checking for GNU gettext support... yes checking for bindtextdomain in -lintl... no checking for bindtextdomain in -lc... no configure: error: Unable to find required gettext library I checked the lib and include dirs and it seems like all the libraries and headers are in place. I've also tried the latest tarball from GNU, but that gives the same result. I can supply my entire configure list if necessary, and would be happy to try some hints you might have. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=20429&edit=1