Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 60560 - php configure fails on xpm
Summary: php configure fails on xpm
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High major
Assignee: PHP Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-08-16 08:35 UTC by Benjamin Collins
Modified: 2004-10-03 23:40 UTC (History)
0 users

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


Attachments
config.log file from ./configure in php-5.0.1 (config.log,56.09 KB, text/plain)
2004-08-22 09:56 UTC, Benjamin Collins
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Benjamin Collins 2004-08-16 08:35:51 UTC
checking for jpeg_read_header in -ljpeg... yes
checking for png_write_image in -lpng... yes
configure: error: xpm.h not found.

!!! ERROR: dev-php/php-5.0.1 failed.
!!! Function econf, Line 362, Exitcode 1
!!! econf failed


Reproducible: Always
Steps to Reproduce:
1. USE=" nptl  doc  snortsam  snmp  bcmath  bzlib  calendar  curl  curlwrappers  ctype  ftp  gd  gmp  imap  mime  session  snmp  soap  sockets  tiff  tokenizer  wddx  xmlrpc  xpm  xsl dba"  CFLAGS="-I/usr/X11R6/include/X11" emerge world -u
2.
3.




yoda app-text # emerge info
Portage 2.0.50-r9 (default-x86-2004.0, gcc-3.4.1, glibc-2.3.4.20040808-r0,
2.6.7-gentoo-r11)
=================================================================
System uname: 2.6.7-gentoo-r11 i686 AMD Athlon(tm) MP 2400+
Gentoo Base System version 1.5.2
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=athlon-mp -funroll-loops -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.2/share/config /usr/kde/3.3/share/config /usr/kde/3/share/config
/usr/share/config /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/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=athlon-mp -funroll-loops -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://gentoo.mirrors.pair.com/"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X alsa apm arts avi berkdb crypt cups encode esd foomaticdb gdbm gif gnome
gpm gtk gtk2 imlib java jpeg kde ldap libg++ libwww mad mikmod motif mpeg mysql
ncurses nls oggvorbis opengl oss pam pdflib perl png postgres python qt
quicktime readline sdl slang spell ssl svga tcltk tcpd tetex truetype
video_cards_radeon x86 xml2 xmms xv zlib"
Comment 1 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2004-08-21 16:29:59 UTC
attach the config.log from php.
also list what X you are using, xfree/xorg and what version.
Comment 2 Benjamin Collins 2004-08-22 09:55:30 UTC
yoda php-5.0.1 # qpkg xfree -i -I -v
x11-base/xfree-4.3.0-r6 *
        XFree86: free X server [ http://www.xfree.org ]
Compiled with USE Flags: -3dfx -sse -mmx -3dnow xml2 truetype nls -cjk -doc -ipv6 -debug -static pam -sdk -bindist
Comment 3 Benjamin Collins 2004-08-22 09:56:09 UTC
Created attachment 37947 [details]
config.log file from ./configure in php-5.0.1
Comment 4 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2004-08-22 12:30:10 UTC
as a test could you open up /usr/portage/eclass/php5-sapi.eclass
go to line 182, and change "/usr/X11R6/lib" to  "/usr/X11R6", then try to emerge it again and report back?
Comment 5 Benjamin Collins 2004-10-03 23:37:08 UTC
wow...didn't realize I never followed up on this until I had the same problem with mod_php recently...

Anyway, changing that directory on line 182 seemed to fix it.

Thanks.
Comment 6 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2004-10-03 23:40:51 UTC
In CVS.