Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 82985 - Emerge of PHP failed, because of the missing libXpm, but Idont have even an X-System
Summary: Emerge of PHP failed, because of the missing libXpm, but Idont have even an X...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: PHP Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-02-22 12:23 UTC by Stefan Oderbolz
Modified: 2005-03-21 15:07 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 Stefan Oderbolz 2005-02-22 12:23:41 UTC
I tried to update (re-emerge) PHP-4.3.10, my USE flag is as followed: "-X gd" (because I want GD support, but I don
Comment 1 Stefan Oderbolz 2005-02-22 12:23:41 UTC
I tried to update (re-emerge) PHP-4.3.10, my USE flag is as followed: "-X gd" (because I want GD support, but I donßt have an X-System).

It seems that "emerge" is checking for libaries, one of them is libXpm, but this is not installed on my system because I dont have an X-System, I am also unable to emerge this lib.

The following error occurs when I emerge PHP:
configure: error: libXpm.(a|so) not found.

!!! Please attach the config.log to your bug report:
!!! /var/tmp/portage/php-4.3.10/work/php-4.3.10/config.log

!!! ERROR: dev-php/php-4.3.10 failed.
!!! Function econf, Line 485, Exitcode 0
!!! econf failed

And the last entry in "/var/tmp/portage/php-4.3.10/work/php-4.3.10/config.log" is:

configure:29785: checking for fabsf
configure:29813: gcc -o conftest -O2 -fomit-frame-pointer -march=pentium2 -pipe
-L/usr/lib  -L/usr/X11R6/lib -ltiff -L/usr/lib conftest.c -lexslt -lxml2 -lxslt
-lz -ldb-4.1 -ldb-4.1 -lndbm -lgdbm -lcrack -lbz2 -lz -lssl -lcrypto -lresolv -
lm -lnsl  -lxmlparse -lxmltok -lxml2 -lz -lm 1>&5
configure:29797: warning: conflicting types for built-in function `fabsf'
configure:29785: checking for floorf
configure:29813: gcc -o conftest -O2 -fomit-frame-pointer -march=pentium2 -pipe
-L/usr/lib  -L/usr/X11R6/lib -ltiff -L/usr/lib conftest.c -lexslt -lxml2 -lxslt
-lz -ldb-4.1 -ldb-4.1 -lndbm -lgdbm -lcrack -lbz2 -lz -lssl -lcrypto -lresolv -
lm -lnsl  -lxmlparse -lxmltok -lxml2 -lz -lm 1>&5
configure:29945: checking for jpeg_read_header in -ljpeg
configure:29964: gcc -o conftest -O2 -fomit-frame-pointer -march=pentium2 -pipe
-L/usr/lib  -L/usr/X11R6/lib -ltiff -L/usr/lib conftest.c -ljpeg  -lexslt -lxml
2 -lxslt -lz -ldb-4.1 -ldb-4.1 -lndbm -lgdbm -lcrack -lbz2 -lz -lssl -lcrypto -l
resolv -lm -lnsl  -lxmlparse -lxmltok -lxml2 -lz -lm 1>&5
configure:30228: checking for png_write_image in -lpng
configure:30247: gcc -o conftest -O2 -fomit-frame-pointer -march=pentium2 -pipe
-L/usr/lib  -L/usr/X11R6/lib -ltiff -L/usr/lib -lz conftest.c -lpng  -ljpeg -le
xslt -lxml2 -lxslt -lz -ldb-4.1 -ldb-4.1 -lndbm -lgdbm -lcrack -lbz2 -lz -lssl -
lcrypto -lresolv -lm -lnsl  -lxmlparse -lxmltok -lxml2 -lz -lm 1>&5

Reproducible: Always
Steps to Reproduce:
1. Setup a server with default settings
2. No X-System
3. USE-Flags: "-X gd"
3. Emerge php

Actual Results:  
Emerge exits with errors.

Expected Results:  
Clean PHP re-emerge with GD support and without X11
Comment 2 Stefan Oderbolz 2005-03-21 15:07:07 UTC
For some reason there was really an X-Server on my system. I still don't know why, but there was one. I got that because I wanted to update my system and saw that he wants to update xorg-x11. I unemerged the x11 server and made an explicit "-X" in my /etc/make.conf (USE-Flags).

Now I could emerge php with everything I wanted. 

Thanks for reading, sorry for opening that bug...