Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 99402 - Configure error while trying to build mod_php with emerge
Summary: Configure error while trying to build mod_php with emerge
Status: RESOLVED DUPLICATE of bug 98692
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-07-18 00:05 UTC by Eric Bauld
Modified: 2005-07-18 00:16 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Eric Bauld 2005-07-18 00:05:52 UTC
While trying to build mod_php 5.1.0_beta-r2 I get the following error.

checking size of short... configure: error: cannot compute sizeof (short), 77

And the ebuild fails
Looking in config.log I can find the following above the error where it cannot
find the short. 

./conftest: error while loading shared libraries: /usr/lib/libz.so: invalid ELF
header

The file /usr/lib/libz.so exists and contains the following

/* GNU ld script
   Since Gentoo has critical dynamic libraries
   in /lib, and the static versions in /usr/lib,
   we need to have a "fake" dynamic lib in /usr/lib,
   otherwise we run into linking problems.

   See bug http://bugs.gentoo.org/4411 for more info.
 */
GROUP ( /lib/libz.so )


And the /lib/libz.so seems to be fine. I have been unable to find anything in
google or groups. And have had two other work with me and become stumped.

A few things I have allready done rebuilt glibc and zlib. php compiled fine. And
also ran the ./configure command manually using the same ./configure the emerge
used. I ran it on an manually on the files un tar'd from php-5.1.0b3.tar.bz2.
The configure command that emerge used finished without error but when run
through emerge it will not complete and result in the above error.
In addition one of the fellows that was helping me work on this was able to get
mod_php compiled on his box. Not to sure where else to go with this.

I have the config.log posted at http://www.bauld.com/~eric/config.log

Reproducible: Always
Steps to Reproduce:
1. emerge -av mod_php
2.
3.

Actual Results:  
Failure

Expected Results:  
compiled properly

Portage 2.0.51.22-r1 (default-linux/x86/2005.0, gcc-3.3.5-20050130,
glibc-2.3.4.20041102-r1, 2.6.10-gentoo-r6 i686)
=================================================================
System uname: 2.6.10-gentoo-r6 i686 AMD Athlon(tm) Processor
Gentoo Base System version 1.4.16
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
dev-lang/python:     2.3.5
sys-apps/sandbox:    1.2.10
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-pipe -O3 -march=athlon-tbird -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.2/share/config
/usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/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/env.d"
CXXFLAGS="-pipe -O3 -march=athlon-tbird -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="ftp:///ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/
http://mirror.datapipe.net/gentoo http://mirrors.tds.net/gentoo
http://gentoo.binarycompass.org"
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X alsa apm arts avi berkdb bitmap-fonts cdr crypt cups curl eds emboss
encode esd fam flac foomaticdb fortran gd gdbm gif gnome gpm gstreamer gtk imlib
ipv6 jpeg libg++ libwww mad mikmod motif mozilla mp3 mpeg ncurses nls ogg
oggvorbis opengl oss pam pdflib perl png ppds python quicktime readline samba
sdl slang spell sqlite ssl svga tcltk tcpd tiff truetype truetype-fonts
type1-fonts usb vorbis xine xml xml2 xmms xv zlib userland_GNU kernel_linux
elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2005-07-18 00:16:09 UTC

*** This bug has been marked as a duplicate of 98692 ***