View previous topic :: View next topic |
Author |
Message |
holst n00b
Joined: 07 May 2003 Posts: 12
|
Posted: Mon Mar 01, 2004 8:17 pm Post subject: failed dev-php/php-4.3.4-r4 |
|
|
Hello I need to emerge this: dev-php/php-4.3.4-r4
(useflags:
But I get this error:
Code: |
...
checking for JavaScript for Sablotron XSL support... no
checking for Sablotron libraries in the default path... found in /usr
checking for sablot-config... found
checking for Sablotron version... >= 0.96
checking for iconv... (cached) yes
checking for SablotSetEncoding in -lsablot... no
checking for SablotGetOptions in -lsablot... no
checking for YAZ support... no
checking whether to include YP support... yes
checking for yp_match in -lnsl... no
checking for yp_match in -lc... no
configure: error: Unable to find required yp/nis library
!!! ERROR: dev-php/php-4.3.4-r4 failed.
!!! Function econf, Line 365, Exitcode 1
!!! econf failed
|
the use flags are:
Code: |
[ebuild U ] dev-php/php-4.3.4-r4 [4.3.2-r2] -X +berkdb +crypt +curl -firebird -flash -freetds +gd -gd-external +gdbm +imap -informix -ipv6 +java +jpeg -ldap -mcal -memlimit +mysql +ncurses -nls -oci8 -odbc -pam +pdflib +png -postgres -qt +readline -snmp +spell +ssl +tiff -truetype +xml2 -yaz 0 kB
|
any ideas? |
|
Back to top |
|
|
gautamg n00b
Joined: 23 Feb 2004 Posts: 27 Location: New York, NY
|
Posted: Mon Mar 01, 2004 11:45 pm Post subject: -tiff ? |
|
|
my use flags are
Code: |
[ebuild R ] dev-php/php-4.3.4-r4 -X +berkdb +crypt +curl -firebird -flash -freetds -gd -gd-external +gdbm +imap -informix -ipv6 +java +jpeg -ldap -mcal -memlimit +mysql +ncurses -nls -oci8 -odbc +pam +pdflib +png -postgres -qt +readline -snmp +spell +ssl -tiff +truetype +xml2 -yaz 0 kB
|
which differ from yours in tiff and truetype.
My install went fine so try twiddling with those two.
also what's your gcc version? |
|
Back to top |
|
|
holst n00b
Joined: 07 May 2003 Posts: 12
|
Posted: Fri Mar 05, 2004 12:20 pm Post subject: |
|
|
My GCC flags are:
Code: |
Reading specs from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/specs
Configured with: /var/tmp/portage/gcc-3.3.2-r5/work/gcc-3.3.2/configure
--prefix=/usr --bindir=/usr/i686-pc-linux-gnu/gcc-bin/3.3
--includedir=/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/include
--datadir=/usr/share/gcc-data/i686-pc-linux-gnu/3.3
--mandir=/usr/share/gcc-data/i686-pc-linux-gnu/3.3/man
--infodir=/usr/share/gcc-data/i686-pc-linux-gnu/3.3/info
--enable-shared --host=i686-pc-linux-gnu --target=i686-pc-linux-gnu
--with-system-zlib --enable-languages=c,c++,f77,objc,java
--enable-threads=posix --enable-long-long --disable-checking
--enable-cstdio=stdio --enable-clocale=generic --enable-__cxa_atexit
--enable-version-specific-runtime-libs
--with-gxx-include-dir=/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/include/g++-v3
--with-local-prefix=/usr/local --enable-shared --enable-nls
--without-included-gettext --x-includes=/usr/X11R6/include
--x-libraries=/usr/X11R6/lib --enable-interpreter --enable-java-awt=xlib
--with-x --disable-multilib
Thread model: posix
gcc version 3.3.2 20031218 (Gentoo Linux 3.3.2-r5, propolice-3.3-7)
|
I tried to compile with
Code: |
USE="-truetype -tiff" sudo emerge php
|
but still no go.
Can you think of anything? |
|
Back to top |
|
|
gautamg n00b
Joined: 23 Feb 2004 Posts: 27 Location: New York, NY
|
Posted: Fri Mar 05, 2004 1:52 pm Post subject: try unmerging php first |
|
|
to be completely thorough about it, try unmerging php and then emerging it with my USE flags.
Keep a log of the session (maybe with script command, look it up with man) and if unsuccessful share the session log here. |
|
Back to top |
|
|
holst n00b
Joined: 07 May 2003 Posts: 12
|
Posted: Fri Mar 05, 2004 2:07 pm Post subject: |
|
|
I unmerged php and tried to emerge it but still no go (same error).
http://www.sigma.su.se/~holst/2338-php-4.3.4-r4.txt
Edit: Look at the bottom and up as its seems to be all the latests tries to emerge php embedded into one logfile.)
The deps. were:
Code: |
Calculating dependencies ...done!
[ebuild N ] dev-php/php-4.3.4-r4 +X +berkdb +crypt +curl -firebird -flash -freetds +gd -gd-external +gdbm +imap -informix -ipv6 +java +jpeg -ldap -mcal -memlimit +mysql +ncurses +nls -oci8 -odbc +pam +pdflib +png -postgres -qt +readline -snmp +spell +ssl -tiff -truetype +xml2 -yaz 0 kB
|
|
|
Back to top |
|
|
gautamg n00b
Joined: 23 Feb 2004 Posts: 27 Location: New York, NY
|
Posted: Fri Mar 05, 2004 2:54 pm Post subject: yp/nis support in libc |
|
|
two things. Your USE flags indicate that you're compiling with X support but that is probably not the problem
the problem may be
Code: |
checking for yp_match in -lc... no
|
Now my libc is fine and I know that it was provided by the glibc package
Code: |
gautamg@villastraylight gautamg $ ls -l /lib/libc-2.3.2.so
-rwxr-xr-x 1 root root 1302876 Feb 18 12:50 /lib/libc-2.3.2.so
gautamg@villastraylight gautamg $ qpkg -f /lib/libc-2.3.2.so
sys-libs/glibc *
|
so your glibc isn't compiled with yp support. Mine looks like
Code: |
[ebuild R ] sys-libs/glibc-2.3.2-r9 -build -nls -nptl -pic 18 kB
|
You should probably upgrade but be advised that upgrading glibc sometimes breaks other stuff so do your homework.
Hope this helps. |
|
Back to top |
|
|
brokenbeat n00b
Joined: 05 Mar 2004 Posts: 14 Location: lisbon, portugal
|
Posted: Fri Mar 05, 2004 4:45 pm Post subject: |
|
|
im having the same problem
https://forums.gentoo.org/viewtopic.php?t=145149
i've just upgraded my glibc to the latest one! (the one in the post above was my previous)
Code: |
Calculating dependencies ...done!
[ebuild UD] sys-libs/glibc-2.3.2-r9 [2.3.3_pre20040207] -build -nls -nptl -pic 18 kB
Total size of downloads: 18 kB
|
it still doesn't work, is there a place do check for the yp support ? |
|
Back to top |
|
|
holst n00b
Joined: 07 May 2003 Posts: 12
|
Posted: Sat Mar 06, 2004 6:53 pm Post subject: |
|
|
Code: |
[ebuild R ] sys-libs/glibc-2.3.2-r9 -build -nls -nptl -pic 18 kB
|
recompiled during the night. still same problem..
guess i just have to wait until php gets back into shape.
(old php version is "emergable" but then apache wont start because of bad glibc version dependencies) |
|
Back to top |
|
|
brokenbeat n00b
Joined: 05 Mar 2004 Posts: 14 Location: lisbon, portugal
|
Posted: Sun Mar 07, 2004 12:14 am Post subject: |
|
|
i installed the previous php and mod_php and it works.
Code: |
[ebuild U ] dev-php/php-4.3.4-r4 [4.3.3-r3]
|
|
|
Back to top |
|
|
gautamg n00b
Joined: 23 Feb 2004 Posts: 27 Location: New York, NY
|
Posted: Sun Mar 07, 2004 3:22 am Post subject: my info |
|
|
while i don't know exactly why it's breaking, I'm going to post as much info from my system as needed. You guys should compare your setup and post any differences here.
Code: |
[ebuild R ] sys-devel/gcc-3.3.2-r5 -X -bootstrap -build +java -multilib -nls -nogcj -static 0 kB
[ebuild R ] sys-libs/glibc-2.3.2-r9 -build -nls -nptl -pic 18 kB
[ebuild R ] dev-php/php-4.3.4-r4 -X +berkdb +crypt +curl -firebird -flash -freetds -gd -gd-external +gdbm +imap -informix -ipv6 +java +jpeg -ldap -mcal -memlimit +mysql +ncurses -nls -oci8 -odbc +pam +pdflib +png -postgres -qt +readline -snmp +spell +ssl -tiff +truetype +xml2 -yaz 0 kB
|
and my USE flags from /etc/make.conf
Code: |
USE="antlr apache2 curl emacs emacs-w3 imap innodb java javascript jikes \
maildir openssh prelude sasl sqlite virus-scan xalan xerces xml \
-arts -foomaticdb \
-gtk -gtk2 -kde -gnome -motif -nls -opengl -quicktime -xv -X -python \
-esd -qt"
|
|
|
Back to top |
|
|
holst n00b
Joined: 07 May 2003 Posts: 12
|
Posted: Tue Mar 09, 2004 3:50 pm Post subject: |
|
|
recompiled:
Code: |
gcc-config
bintools
gcc
glibc
|
(in that order if i remeber right) with NLS enabled in USE flags.. (wasnt before)
STILL it doesnt compile mod_php.
NOTICE. seems i missread the errormsg in PHP. It was NIS and not NLS it needed. well crap. gotta compile again tonight then |
|
Back to top |
|
|
KingPunk Guru
Joined: 22 Jan 2004 Posts: 442 Location: Utica, New York, USA
|
Posted: Wed Mar 10, 2004 5:33 am Post subject: |
|
|
ok, my error output is:
Code: |
xmlparse -lxmltok -lxml2 -lz -lm -o sapi/cli/php
libtool: link: cannot find the library `/usr/lib/gcc-lib/i386-pc-linux-gnu/3.2.3
/libstdc++.la'
make: *** [sapi/cli/php] Error 1
!!! ERROR: dev-php/php-4.3.4-r4 failed.
!!! Function php-sapi_src_compile, Line 453, Exitcode 2
!!! compile problem
n3gr0 root #
|
*sigh*, and i have no idea how to fix this. i had another error too, but it was fairly simple
to resolve via the forums, geeze, gentoo forums pwen.
thanks for any help i can get!
~KingPunk _________________ When the FBI/CIA/NSA/FDA/and other three-letter government agencies come looking, you don't know me, you never saw me, never heard of me. get it? got it? good!
also: ALL YOUR POLLITICAL BASE ARE BELONG TO HILLARY IN '08!! |
|
Back to top |
|
|
|