In order for the php ebuild to work (r6) you need to add: sys-devel/gettext.
Again since I can't upload a file (in galeon, mozilla, or netscape). I'm sending an email with my diffs.
Howdy, please send your diffs to my email address. I am the developer who will be looking at this bug. Also, bug 71 in bugs.gentoo.org describes a work-around which allows you to add attachments with no problems. Matt
Matthew, I've sent the file to your email address. Enjoy!
Chayim, sys-devel/gettext is in R/DEPEND already and it is guarded by nls? (for php-4.1.2-r7): nls? ( sys-devel/gettext ) So I tried with and without nls in USE, and it emerged fine for me. Have you tried to emerge the -r7 ebuild? (run emerge rsync if you have to). If emerging the latest php still causes an error for you, create a new bug report and make sure you include as much information as you can about the error you're seeing (error messages etc.) In the meantime, I'll mark this bug as "works for me" because it has worked for seemant@gentoo.org and also myself. Matt
Still get this problem in php-4.1.2-r7: checking whether to include GNU gettext support... yes checking for bindtextdomain in -lintl... no checking for bindtextdomain in -lc... no configure: error: Unable to find required gettext library from config.log: ------------------------------------------------------------------------- configure:22824: checking for bindtextdomain in -lc configure:22843: gcc -o conftest -march=i686 -O3 -pipe -DHARD_SERVER_LIMIT=512 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX =22 -DTARGET="apache" -DDEV_RANDOM=/dev/random -DUSE_HSREGEX -DEAPI -DEAPI_MM -Wl,-rpath,/usr/X11R6/lib -L/usr/X11R6/lib -L/usr/l ib conftest.c -lc -lgd -lttf -lhpi -lX11 -lXpm -lpng -lz -ljpeg -ldb-3 -lgdbm -lz -lcrypt -lresolv -lm -ldl -lnsl -lresolv -lcry pt 1>&5 /usr/i686-pc-linux-gnu/bin/ld: cannot find -lhpi collect2: ld returned 1 exit status configure: failed program was: #line 22832 "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; } ----------------------------------------------- This test should succeed since bindtextdomain _is_ in the libc: ----------- objdump -T /lib/libc-2.2.5.so | grep bindtextdomain 000250e0 w DF .text 0000002e GLIBC_2.0 bindtextdomain ----------- The problem seems to be with the missing libhpi ( I think it's something threads related ). The relevant code from ./configure that adds libhpi to the LIBS: ------ case ttf in c|c_r|pthread*) ;; *) LIBS="-lttf -lhpi $LIBS" -------------- That's what I found for now. don't have much time to play with it.
Same as vitaly. I can't get it to build.
Sorry guys, this was my screw up (Seemant). It is fixed, so please emerge rsync then emerge php