Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 150506 - dev-lang/php-5.1.6-r4 failed
Summary: dev-lang/php-5.1.6-r4 failed
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
Depends on:
Reported: 2006-10-08 13:18 UTC by otg
Modified: 2006-10-08 13:51 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---

/var/tmp/portage/php-5.1.6-r4/work/php-5.1.6/config.log (config.log,274.37 KB, text/plain)
2006-10-08 13:35 UTC, otg

Note You need to log in before you can comment on or make changes to this bug.
Description otg 2006-10-08 13:18:55 UTC
Hi there,
trying to emerge php:

Calculating dependencies... done!
[ebuild  N    ] dev-lang/php-5.1.6-r4  USE="apache2 berkdb cli crypt doc exif ftp gdbm hardenedphp imap ipv6 ldap memlimit msql ncurses nls pcre postgres readline reflection sasl session spell spl sqlite ssl tidy truetype unicode xml xmlreader xmlrpc xmlwriter xpm zip zlib -adabas -apache -bcmath -birdstep -bzip2 -calendar -cdb -cgi -cjk -concurrentmodphp -ctype -curl -curlwrappers -db2 -dbase -dbmaker -debug -discard-path -empress -empress-bcs -esoob -fastbuild -fdftk -filepro -firebird -flatfile -force-cgi-redirect -frontbase -gd -gd-external -gmp -hash -hyperwave-api -iconv -informix -inifile -interbase -iodbc -java-external -kerberos -libedit -mcve -mhash -ming -mssql -mysql -mysqli -oci8 -oci8-instant-client -odbc -pcntl -pdo -pdo-external -pic -posix -qdbm -recode -sapdb -sharedext -sharedmem -simplexml -snmp -soap -sockets -solid -sybase -sybase-ct -sysvipc -threads -tokenizer -vm-goto -vm-switch -wddx -xsl -yaz"
[ebuild  N    ] dev-lang/swig-1.3.25  USE="doc java perl php python ruby -guile -tcl -tk"
[ebuild  N    ] media-gfx/graphviz-2.8-r2  USE="X cairo java perl php python ruby -guile -lua -ocaml -static -tcltk"
[ebuild  N    ] media-fonts/gnu-gs-fonts-std-8.11
[ebuild  N    ] app-text/ghostscript-gpl-8.54  USE="X cups gtk -cjk -emacs -jpeg2k"
[ebuild  N    ] virtual/ghostscript-0
[ebuild  N    ] app-doc/doxygen-1.4.7  USE="doc qt3 tetex"
[ebuild  N    ] media-libs/alsa-lib-1.0.11-r1  USE="doc"
[ebuild  N    ] media-sound/esound-0.2.36-r1  USE="alsa ipv6 tcpd -debug -static"
[ebuild  N    ] kde-base/arts-3.5.2-r1  USE="alsa esd mp3 vorbis xinerama -artswrappersuid -debug -jack -kdeenablefinal -kdehiddenvisibility -nas"
[ebuild  N    ] dev-lang/nasm-0.98.39-r3  USE="doc -build"
[ebuild  N    ] media-libs/libsdl-1.2.11  USE="X alsa arts esd fbcon opengl oss xinerama xv -aalib -dga -directfb -ggi -libcaca -nas -noaudio -noflagstrip -nojoystick -novideo -svga"
[ebuild  N    ] dev-libs/zziplib-0.13.45  USE="sdl"
[ebuild  N    ] dev-php5/pecl-zip-1.0
[ebuild  N    ] app-doc/php-docs-20050822

checking whether to include mime_magic support... no
checking for MING support... no
checking for mSQL support... yes
checking mSQL version... 1.0
checking for MSSQL support via FreeTDS... no
checking for MySQL support... no
checking for specified location of the MySQL UNIX socket... no
checking for MySQLi support... no
checking whether to enable embedded MySQLi support... no
checking for ncurses support... yes
checking for initscr in -lncurses... no
configure: error: Wrong ncurses lib version or lib not found

!!! ERROR: dev-lang/php-5.1.6-r4 failed.
Call stack:, line 1546:   Called dyn_compile, line 937:   Called src_compile
  php-5.1.6-r4.ebuild, line 173:   Called src_compile_normal
  php-5.1.6-r4.ebuild, line 323:   Called php5_1-sapi_src_compile
  php5_1-sapi.eclass, line 575:   Called die

!!! configure failed
!!! If you need support, post the topmost build error, and the call stack if relevant.

The currently and freshly compiled ncurses is
 # emerge -p ncurses
[ebuild   R   ] sys-libs/ncurses-5.5-r3

My system's info is:
makoto ~ # emerge --info
Portage 2.1.1 (default-linux/x86/2006.1, gcc-4.1.1, glibc-2.4-r3, 2.6.17-gentoo-r8 i686)
System uname: 2.6.17-gentoo-r8 i686 AMD Athlon(TM) XP 2600+
Gentoo Base System version 1.12.5
Last Sync: Sun, 08 Oct 2006 17:30:09 +0000
ccache version 2.3 [disabled]
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.2.11-r1
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.3
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
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-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r4
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r1
CFLAGS="-O2 -march=athlon-xp -pipe"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/terminfo"
CXXFLAGS="-O2 -march=athlon-xp -pipe"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
LINGUAS="de en ru jp"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
USE="3dnow X alsa apache2 apm arts automount avi bash-completion berkdb binary-drivers bitmap-fonts bootsplash cairo canna capi cdda cddb cdparanoia cdr chasen clamav clamd cli cpudetection cracklib crypt css cups cvsgraph dbus dbx de_tvtoday dlloader dmx doc dri dvd dvdr dvdread eds effects elibc_glibc emboss encode enscript esd eurofile exif fam fat fax fbcon firefox flac fontconfig foomaticdb fortran freewnn ftp gdbm geometry gif gimp gimpprint gkrellm gnome gnome-print gphoto2 gpm gps gs gstreamer gtk hal hardened hardenedphp haskell hddtemp hfs hpn html icq id3 idn imagemagick imap inkjar input_devices_evdev input_devices_keyboard input_devices_mouse ipod ipv6 isdn isdnlog j2ee java javamail javascript jboss jit jmx john joystick jpeg junit kde kdepim kernel_linux latex lcd lcms ldap libclamav libg++ linguas_de linguas_en linguas_jp linguas_ru lm_sensors log4j login-watch logitech-mouse logrotate logwatch lpr mad mbox md5sum mdb memlimit migemo mikmod milter mime mixer mjpeg mmx mmxext mode-force mode-owner moneyplex mono mozsvg mozxmlterm mp3 mp4 mpeg mpeg2 mplayer mpm-prefork mschap msdav msql multiuser ncurses net netbeans new-login nfs nls nocardbus nptl nptlonly nsplugin ntfs offensive ogg opengl opensslcrypt oracle oss pam pascal passwordsave pcre pda pdf pdflib pear-db perl pg-hier pg-intdatetime pg-vacuumdelay php player plugin png postfix postgres ppds pppd python qt3 qt4 quicktime rdesktop readline real reflection reiser4 reiserfs rewrite rss rtsp ruby samba sasl sblive scanner screen sdl session sftp shaper smarty smime speedo spell spl sql sqlite sse sse2 ssl stream struts subversion svg svgz swat symlink tcpd tetex themes thumbnail tidy tiff transcode truetype truetype-fonts type1-fonts udev unicode unzip upnp ups usb userland_GNU v4l v4l2 vcd vhosts video_cards_fbdev video_cards_radeon video_cards_vesa vnc vorbis win32codecs wma wmf x11vnc x86 xinerama xml xmlreader xmlrpc xmlwriter xmms xorg xosd xpm xscreensaver xslt xv zeroconf zip zlib"
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-10-08 13:24:41 UTC
Attach config.log and reopen then. Thanks.
Comment 2 otg 2006-10-08 13:35:06 UTC
Created attachment 99158 [details]
Comment 3 otg 2006-10-08 13:35:34 UTC
attached config.log
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2006-10-08 13:40:11 UTC
usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../../i686-pc-linux-gnu/bin/ld: warning:, needed by /usr/lib/, may conflict with
/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../../i686-pc-linux-gnu/bin/ld: warning:, needed by /usr/lib/, may conflict with
/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../../i686-pc-linux-gnu/bin/ld: warning:, needed by /usr/lib/, may conflict with
/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../../i686-pc-linux-gnu/bin/ld: warning:, needed by /usr/lib/, may conflict with
/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../../i686-pc-linux-gnu/bin/ld: warning:, needed by /usr/lib/, may conflict with
/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../../i686-pc-linux-gnu/bin/ld: warning:, needed by /usr/lib/, may conflict with

You didn't follow the ebuild instruction when upgrading openssl.

revdep-rebuild --library
revdep-rebuild --library
rm -f /usr/lib/{,}
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2006-10-08 13:42:10 UTC
And remove msql from your use flag unless you've installed in manually somewhere.

/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lmsql
collect2: ld returned 1 exit status
Comment 6 otg 2006-10-08 13:49:27 UTC
(In reply to comment #5)
> And remove msql from your use flag unless you've installed in manually
> somewhere.
> <snip>
> /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../../i686-pc-linux-gnu/bin/ld:
> cannot find -lmsql
> collect2: ld returned 1 exit status
> </snip>

MYSQL is installed - I ran into the problems "following" bug #80125
and removed mysql and mysqli from the USE flags.

Following your comment #4 I just install qt in order to be able to launch revdep-rebuild.
Comment 7 Jakub Moc (RETIRED) gentoo-dev 2006-10-08 13:51:29 UTC
USE=msql has nothing in common with MySQL.

# euse -i msql
global use flags (searching: msql)
[-    ] msql - Adds support for the MSQL database server

(Not supported by PHP herd, there's no appropriate dependency in portage).