Summary: | xwelltris 1.0.1 does not Install | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Alejandro Diaz Caro <janus> |
Component: | [OLD] Games | Assignee: | Gentoo Games <games> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | High | ||
Version: | 2004.3 | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Alejandro Diaz Caro
2004-12-12 20:54:09 UTC
When I try emerge xwelltris, I get errors while installing. Reproducible: Always Steps to Reproduce: 1. emerge xwelltris This is the error: sdl/sdlwellengine.cxx:29:23: SDL_image.h: No existe el fichero o el directorio sdl/sdlwellengine.cxx: En member function `virtual bool SDLWellEngine::load_image(Images, char*)': sdl/sdlwellengine.cxx:279: error: `IMG_Load' undeclared (first use this function) sdl/sdlwellengine.cxx:279: error: (Each undeclared identifier is reported only once for each function it appears in.) make[1]: *** [sdl/sdlwellengine.o] Error 1 make[1]: Leaving directory `/var/tmp/portage/xwelltris-1.0.1/work/xwelltris-1.0.1/src' make: [xwelltris] Error 2 (no tiene efecto) >>> Test phase [not enabled]: games-puzzle/xwelltris-1.0.1 >>> Install xwelltris-1.0.1 into /var/tmp/portage/xwelltris-1.0.1/image/ category games-puzzle /bin/install -c -d -m 755 /var/tmp/portage/xwelltris-1.0.1/image///usr/share/games/xwelltris /bin/install -c -m 644 data/polyomino.dat data/board2.gif data/font2.gif data/topnine.gif data/wellcuts.gif data/wellintro.gif /var/tmp/portage/xwelltris-1.0.1/image///usr/share/games/xwelltris /bin/install -c -m 666 data/welltris.scores /var/tmp/portage/xwelltris-1.0.1/image///usr/share/games/xwelltris /bin/install -c -s -m 755 xwelltris /var/tmp/portage/xwelltris-1.0.1/image///usr/games/bin /bin/install: no se puede efectuar `stat' sobre «xwelltris»: No existe el fichero o el directorio make: *** [install] Error 1 reopen with the output from emerge --info $ emerge --info Portage 2.0.51-r3 (default-linux/x86/2004.3, gcc-3.3.4, glibc-2.3.4.20040808-r1, 2.6.9-gentoo-r9 i686) ================================================================= System uname: 2.6.9-gentoo-r9 i686 AMD Duron(tm) Gentoo Base System version 1.4.16 distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.3 [enabled] Autoconf: sys-devel/autoconf-2.59-r5 Automake: sys-devel/automake-1.8.5-r1 Binutils: sys-devel/binutils-2.15.90.0.1.1-r3 Headers: sys-kernel/linux26-headers-2.6.8.1-r1 Libtools: sys-devel/libtool-1.5.2-r7 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O2 -march=athlon -pipe -fomit-frame-pointer -funroll-loops -fPIC" CHOST="i686-pc-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/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/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="-O2 -march=athlon -pipe -fomit-frame-pointer -funroll-loops -fPIC" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks fixpackages sandbox sfperms" GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo http://mirror.datapipe.net/gentoo ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo http://open-systems.ufl.edu/mirrors/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dnow 3dnowex X aalib acpi alsa arts audiofile avi bitmap-fonts caps cdparanoia cdr chm crypt cscope cups dga directfbdivx4linux doc dvd dvdread encode esd ethereal f77 fam fbcon fdftk fftw flac flash foomaticdb fortran gd ggi gif ginac gphoto2 gpm gstreamer guile icq imagemagick imap imlib jabber java jpeg junit kde lcms ldap libmatroska live mad maildir mbox memlimit mikmod mmx motif mozilla mpeg msn ncurses network nls nocardbus nptl offensive oggvorbis opengl oscar oss pam pdflib perl pic plotutils png qt quicktime readline real sdl slang snmp speex spell ssl svg svga szip tcltk tetex theora tiff truetype unicode usb userlocales wmf x86 xine xmms xv xvid yahoo zlib linguas_es" Take -fPIC out of your CFLAGS. That's supposed to be used for everything. Ebuilds will turn it on when needed. Should have been: That's *not* supposed to be used for everything. I've taken the -fPIC flag out of the CFLAGS and I'm still getting the same error message as before. remerge sdl-image and try it again please. Merges fine here. I see, I hadn't got sdl-image instaled. I merged it and now the xwelltris compiled with no problems, but... shouldn't sld-image be a xwelltris dependency when I have the sdl USE flag on? yeah it should. emerge -evp xwelltris should show sdl-image being merged. |