| View previous topic :: View next topic |
| Author |
Message |
Pol Tux's lil' helper

Joined: 01 May 2003 Posts: 107
|
Posted: Fri Sep 09, 2005 2:10 pm Post subject: PhP 4.4.0 emerge ... failed error: conflicting types for |
|
|
Hello
I'm having problem with php 4.4.0...
| Code: |
gcc -Imain/ -I/var/tmp/portage/php-4.4.0/work/php-4.4.0/main/ -DPHP_ATOM_INC -I/var/tmp/portage/php-4.4.0/work/php-4.4.0/include -I/var/tmp/portage/php-4.4.0/work/php-4.4.0/main -I/var/tmp/portage/php-4.4.0/work/php-4.4.0 -I/usr/include/libxml2 -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/include/imap -I/var/tmp/portage/php-4.4.0/work/php-4.4.0/ext/mbstring/mbregex -I/var/tmp/portage/php-4.4.0/work/php-4.4.0/ext/mbstring/libmbfl -I/var/tmp/portage/php-4.4.0/work/php-4.4.0/ext/mbstring/libmbfl/mbfl -I/usr/include/mcal -I/usr/include/mysql -I/usr/include/pspell -I/var/tmp/portage/php-4.4.0/work/php-4.4.0/ext/xml/expat -I/var/tmp/portage/php-4.4.0/work/php-4.4.0/TSRM -I/var/tmp/portage/php-4.4.0/work/php-4.4.0/Zend -O2 -march=i686 -fomit-frame-pointer -c main/internal_functions_cli.c -o main/internal_functions_cli.o && echo > main/internal_functions_cli.lo
In file included from /var/tmp/portage/php-4.4.0/work/php-4.4.0/ext/wddx/php_wddx.h:26,
from main/internal_functions_cli.c:74:
/var/tmp/portage/php-4.4.0/work/php-4.4.0/ext/xml/expat/expat.h:894: error: conflicting types for 'XML_FEATURE_UNICODE'
/usr/include/libxml2/libxml/parser.h:1196: error: previous definition of 'XML_FEATURE_UNICODE' was here
make: *** [main/internal_functions_cli.lo] Error 1
make: *** Waiting for unfinished jobs....
!!! ERROR: dev-php/php-4.4.0 failed.
!!! Function php-sapi_src_compile, Line 532, Exitcode 2
!!! compile problem
!!! If you need support, post the topmost build error, NOT this status message.
--------------------------- ACCESS VIOLATION SUMMARY ---------------------------
LOG FILE = "/var/log/sandbox/sandbox-dev-php_-_php-4.4.0-12213.log"
symlink: /usr/lib/libc-client.a (symlink to /usr/lib/c-client.a)
--------------------------------------------------------------------------------
fujitsu1 linux #
|
My emerge info:
| Code: |
Portage 2.0.52-r1 (default-linux/x86/2005.1, gcc-3.4.4, glibc-2.3.5-r1, 2.6.13-gentoo i686)
=================================================================
System uname: 2.6.13-gentoo i686 Intel(R) Pentium(R) 4 CPU 2.93GHz
Gentoo Base System version 1.12.0_pre8
dev-lang/python: 2.3.5, 2.4.1-r1
sys-apps/sandbox: 1.2.12
sys-devel/autoconf: 2.13, 2.59-r7
sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6
sys-devel/binutils: 2.16.1
sys-devel/libtool: 1.5.20
virtual/os-headers: 2.6.11-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-O2 -march=i686 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache digest distlocks fixpackages sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo"
LINGUAS="fr"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 7zip X acl alsa apache2 apm arts authdaemond automount avi bash-completion berkdb bitmap-fonts bluetooth browserplugin bzip2 cdparanoia cdr chroot courier crypt cups curl cyrus dba dbm dbus dvd dvdr dvdread eds effects emboss encode extras fam foomaticdb fortran ftp gd gdbm geoip gif gimp gimpprint gnutls gpm gtk gtk2 hal imagemagick imap imlib ipv6 java javascript jpeg kde kerberos ldap libg++ libwww lm_sensors mad mailbox maildir mcal mikmod mmx mmx2 motif mozilla moznocompose moznoirc moznomail mp3 mpeg mpeg4 mplayer msn musicbrainz mysql ncurses netpbm nls nptl nptlonly nsplugin ogg oggvorbis opengl pam pda pdflib perl php plugin png postgres python qt quicktime readline samba sasl scanner sensord session sockets spell sqlite sse sse2 ssl svg svgz tcltk tcpd tetex tiff truetype truetype-fonts type1-fonts usb v4l v4l2 vorbis win32codecs winbind wmf wxwindows xinerama xml2 xv xvid zeroconf zlib linguas_fr userland_GNU kernel_linux elibc_glibc"
Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, PORTDIR_OVERLAY
|
If someone knows what it is, it would be great to help me.
Thanks for the tips... cya |
|
| Back to top |
|
 |
quess65 n00b

Joined: 04 Nov 2004 Posts: 3
|
Posted: Sat Sep 10, 2005 6:31 am Post subject: PhP 4.4.0 emerge ... failed error |
|
|
I've got the same problem.
Downgrade to libxml2-2.6.20-r2 solve the problem for me. |
|
| Back to top |
|
 |
Pol Tux's lil' helper

Joined: 01 May 2003 Posts: 107
|
Posted: Sat Sep 10, 2005 7:11 am Post subject: |
|
|
| Ok, I'll do it right now |
|
| Back to top |
|
 |
Pol Tux's lil' helper

Joined: 01 May 2003 Posts: 107
|
Posted: Sat Sep 10, 2005 6:49 pm Post subject: |
|
|
I've downgraded to the version you said and no problem ...
I also removed dev-php/php and dev-php/mod_php and took dev-lang/php ... got it in 1 package for those 2
Cya and thanks ! |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|