Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 79496 - xgalaga fails during configure
Summary: xgalaga fails during configure
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-01-25 10:46 UTC by Ole Hansen
Modified: 2005-05-15 13:55 UTC (History)
5 users (show)

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


Attachments
config.log for xgalaga (config.log,4.33 KB, text/plain)
2005-01-25 12:52 UTC, Ole Hansen
Details
Updated ebuild to fix bug i.e. configure failing to locate xpm. (xgalaga-2.0.34-r5-fixed.ebuild,1.59 KB, text/plain)
2005-02-15 02:11 UTC, Anthony Thompson
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ole Hansen 2005-01-25 10:46:55 UTC
[snip]
checking for main in -lXExExt... no
checking for main in -lXpm... no
configure: error: libXpm can't be found.  Get it from ftp://ftp.x.org/contrib/libraries or specify the location with --with-xpm-lib=DIR.

!!! ERROR: games-arcade/xgalaga-2.0.34-r5 failed.
!!! Function egamesconf, Line 59, Exitcode 1
!!! egamesconf failed
!!! If you need support, post the topmost build error, NOT this status message.


Reproducible: Always
Steps to Reproduce:
1. emerge xgalaga
2.
3.

Actual Results:  
linux1 root # emerge xgalaga -va

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild  N    ] games-arcade/xgalaga-2.0.34-r5  0 kB

Total size of downloads: 0 kB

Do you want me to merge these packages? [Yes/No]
>>> emerge (1 of 1) games-arcade/xgalaga-2.0.34-r5 to /
>>> md5 src_uri ;-) xgalaga_2.0.34.orig.tar.gz
>>> md5 src_uri ;-) xgalaga_2.0.34-28.diff.gz
>>> Unpacking source...
>>> Unpacking xgalaga_2.0.34.orig.tar.gz to /var/tmp/portage/xgalaga-2.0.34-r5/work
>>> Unpacking xgalaga_2.0.34-28.diff.gz to /var/tmp/portage/xgalaga-2.0.34-r5/work
 * Applying xgalaga_2.0.34-28.diff ...                                         
    [ ok ]>>> Source unpacked.
 * Using GNU config files from /usr/share/libtool
 *  Updating config.sub                                                        
    [ ok ] *  Updating config.guess                                            
              [ ok ]./configure --prefix=/usr/games --host=i686-pc-linux-gnu
--mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share/games
--sysconfdir=/etc/games --localstatedir=/var/games
creating cache ./config.cache
checking host system type... i686-pc-linux-gnu
checking for gcc... gcc
checking whether the C compiler (gcc -mcpu=athlon -O3 -pipe ) works... yes
checking whether the C compiler (gcc -mcpu=athlon -O3 -pipe ) is a
cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking how to run the C preprocessor... gcc -E
checking for a BSD compatible install... /bin/install -c
checking whether ln -s works... yes
checking whether make sets ${MAKE}... yes
checking for ranlib... ranlib
checking for X... libraries , headers /usr/X11R6/include
checking for dnet_ntoa in -ldnet... no
checking for dnet_ntoa in -ldnet_stub... no
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking for main in -lX11... no
checking for main in -lXmu... no
checking for main in -lXt... no
checking for main in -lXext... no
checking for main in -lXExExt... no
checking for main in -lXpm... no
configure: error: libXpm can't be found.  Get it from
ftp://ftp.x.org/contrib/libraries or specify the location with --with-xpm-lib=DIR.

!!! ERROR: games-arcade/xgalaga-2.0.34-r5 failed.
!!! Function egamesconf, Line 59, Exitcode 1
!!! egamesconf failed
!!! If you need support, post the topmost build error, NOT this status message.




linux1 root # emerge info
Portage 2.0.51-r15 (default-linux/x86/2004.3, gcc-3.3.5,
glibc-2.3.4.20040808-r1, 2.6.9 i686)
=================================================================
System uname: 2.6.9 i686 AMD Athlon(tm) processor
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.2.3-r5,dev-lang/python-2.3.4 [2.3.4 (#1,
Oct 17 2004, 01:42:55)]
dev-lang/python:     2.2.3-r5, 2.3.4
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.8.5-r2, 1.5, 1.4_p6, 1.6.3, 1.7.9, 1.9.4
sys-devel/binutils:  2.15.92.0.2-r1
sys-devel/libtool:   1.5.10-r3
virtual/os-headers:  2.4.19-r1, 2.4.21-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-mcpu=athlon -O3 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.1/share/config
/usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb
/usr/lib/mozilla/defaults/pref /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="-mcpu=athlon -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="ftp://ftp.gentoo.mesh-solutions.com/gentoo/
ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/
ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ ftp://gentoo.inode.at/source/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dfx 3dnow X aalib acl alsa apache2 apm audiofile avi bdf berkdb
bindist bitmap-fonts caps cdr cjk crypt cscope cups dedicated directfb
divx4linux dnsdb doc dvb dvd dvdr emacs encode esd f77 fam fbcon fbdev flac fltk
font-server foomaticdb fortran freetds gatos gdbm gif gimpprint gnome gphoto2
gpm gs gstreamer gtk gtk2 gtkhtml guile ieee1394 imagemagick imlib jack java
javamail jbig jikes jp2 jpeg lcms ldap libg++ libsamplerate libwww lzw lzw-tiff
mad mailwrapper matrox mbox mikmod mmx mmx2 motif mozilla mpeg mysql ncurses nls
nobackchannel objc odbc oggvorbis opengl oss pam pdflib perl pg-hier
pg-intdatetime pg-vacuumdelay png postgres ppds python qt quicktime readline
scanner sdk sdl slang slp sndfile speex spell sse ssl svga tcltk tcpd tetex
threads tiff truetype truetype-fonts type1-fonts unicode usb wmf xinerama xml
xml2 xmms xprint xv zlib video_cards_mga"
Unset:  ASFLAGS, CBUILD, CTARGET, LDFLAGS, PORTDIR_OVERLAY
Comment 1 Ole Hansen 2005-01-25 10:52:22 UTC
xpm already installed.

*  media-libs/xpm
      Latest version available: 3.4k-r2
      Latest version installed: 3.4k-r2
      Size of downloaded files: 0 kB
      Homepage:    http://www.gentoo.org/
      Description: xpm is provided by X11
      License:     GPL-2
Comment 2 Mr. Bones. (RETIRED) gentoo-dev 2005-01-25 11:31:12 UTC
you don't need to have media-libs/xpm installed.

Please attach the config.log from the build directory.
Comment 3 Ole Hansen 2005-01-25 12:52:59 UTC
Created attachment 49503 [details]
config.log for xgalaga
Comment 4 Allan Crossman 2005-01-25 13:12:13 UTC
I've the same problem. The configure script can't find libXpm. And yet:

root@sedna allan # ls -l `locate libXpm`
-rw-r--r--  1 root root 87700 Jan 21 19:53 /usr/lib/libXpm.a
lrwxrwxrwx  1 root root    14 Jan 21 19:53 /usr/lib/libXpm.so -> libXpm.so.4.11
lrwxrwxrwx  1 root root    14 Jan 21 19:53 /usr/lib/libXpm.so.4 -> libXpm.so.4.11
-rwxr-xr-x  1 root root 69546 Jan 21 19:53 /usr/lib/libXpm.so.4.11

I recently updated xorg to 6.8.0-r4, I wondered if that had anything to do with it...
Comment 5 Anthony Thompson 2005-02-15 02:11:57 UTC
Created attachment 51257 [details]
Updated ebuild to fix bug i.e. configure failing to locate xpm.

Updated src_compile() to pass the xpm location to egamesconf.
Tested successfully in local portage tree.
Comment 6 Ole Hansen 2005-02-16 10:49:25 UTC
Tested successfully.
Thanks!
Comment 7 Ole Hansen 2005-02-16 10:51:21 UTC
Closing this bug.
Comment 8 Mr. Bones. (RETIRED) gentoo-dev 2005-02-16 10:51:38 UTC
We close bugs on this end after the fix is in portage.
Comment 9 Jason Bucata 2005-02-19 09:05:44 UTC
*** Bug 82537 has been marked as a duplicate of this bug. ***
Comment 10 SpanKY gentoo-dev 2005-05-15 13:55:03 UTC
fixed in xgalaga-2.0.34-r6