|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2002-11-14 11:06 UTC] henjo at glas dot its dot tudelft dot nl
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. PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Nov 06 14:00:01 2025 UTC |
/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; } ======