Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 82061 - games-strategy/scorched3d-38.1 build failure
Summary: games-strategy/scorched3d-38.1 build failure
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-02-14 17:54 UTC by Kenton Groombridge
Modified: 2005-02-23 07:57 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 Kenton Groombridge 2005-02-14 17:54:16 UTC
I have been trying to figure this one out on my own since I am pretty sure something is wrong on my end since no one else seemed to report this, but I am totally baffled.

games-strategy/scorched3d-38.1 fails to build with the following error:

checking for OpenGL support... yes
checking for profiling enabled... no
checking for floating point math support... yes
checking for wxgtk2-2.4-config... /usr/bin/wxgtk2-2.4-config
checking for wxWindows version >= 2.4.0... yes (version 2.4.2)
checking for freetype-config... /usr/bin/freetype-config
checking for FreeType -- version >= 7.0.1... no
configure: WARNING:

  The FreeType test program failed to run.  If your system uses
  shared libraries and they are installed outside the normal
  system library path, make sure the variable LD_LIBRARY_PATH
  (or whatever is appropiate for your system) is correctly set.

configure: error:
                FreeType2 must be installed on your system
                but freetype-config couldn't be found.
                Please check that freetype-config is in the path, the directory
                where the freetype libraries are installed (returned by
                'freetype-onfig --libs' command) is in LD_LIBRARY_PATH or
                equivalent variable and freetype version is 7.0.1 or above
                Try http://www.freetype.org to download freetype.

I do have freetype installed and the output from freetype-config --version is: 9.7.3

I re-emerged freetype just to be sure all was good.

Portage 2.0.51-r15 (default-linux/x86/2004.0, gcc-3.4.3, glibc-2.3.4.20041102-r0, 2.6.10-ck5 i686)
=================================================================
System uname: 2.6.10-ck5 i686 Unknown CPU Typ
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.4-r1 [2.3.4 (#1, Feb  7 2005, 21:10:01)]
dev-lang/python:     2.3.4-r1
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.6.3, 1.9.4, 1.5, 1.4_p6, 1.7.9-r1, 1.8.5-r3
sys-devel/binutils:  2.15.92.0.2-r2
sys-devel/libtool:   1.5.10-r4
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -pipe -march=athlon-xp -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /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/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -pipe -march=athlon-xp -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://mirrors.tds.net/gentoo ftp://gentoo.mirrors.pair.com/ http://mirror.datapipe.net/gentoo ftp://mirrors.tds.net/gentoo ftp://ftp.ndlug.nd.edu/pub/gentoo/ http://gentoo.seren.com/gentoo http://adelie.polymtl.ca/ ftp://pandemonium.tiscali.de/pub/gentoo/ ftp://mirror.nutsmaas.nl/gentoo/ http://194.117.143.71"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow S3TC X a52 acpi acpi4linux alsa apache2 apm avi berkdb bitmap-fonts cddb cdr crypt cups curl dga divx4linux dvd dvdr dvdread emoticon encode f77 fam ffmpeg flac font-server foomaticdb fortran freetype gdbm gif gimp gimpprint gpm gstreamer gtk2 ieee1394 imagemagick imlib ipv6 java joystick jpeg kde libg++ libwww mad mikmod mjpeg mmx motif mozsvg mp3 mpeg mpeg4 mplayer ncurses network nls nptl nptlonly nvidia oggvorbis openal opengl opens pam pdflib perl png python qt quicktime readline scanner sdl slang spell sse ssl svg svga tcltktcpd tiff transcode truetype truetype-fonts type1 type1-fonts unicode usb v4l2 wmf xine xml2 xmms xpm xv xvid zlib zvbi"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, PORTDIR_OVERLAY
Comment 1 Mr. Bones. (RETIRED) gentoo-dev 2005-02-14 18:07:16 UTC
please attach the config.log from the build directory as text/plain.  Thanks.
Comment 2 Kenton Groombridge 2005-02-14 18:38:55 UTC
Finally figured it out, but not sure why this worked.

I re-emerged x11-libs/wxGTK and now it builds without an error.

Thanks,
Ken
Comment 3 Jim Ramsay (lack) (RETIRED) gentoo-dev 2005-02-23 07:57:37 UTC
I believe I know what the cause is... In general, if you upgrade your OpenGL implementation (nvidia in my case) and don't upgrade the apps that rely on it, like wxGTK (with 'opengl' use flag on), or SDL, or clanlib, etc., you run into problems.  I still don't know the cause of THIS, but re-emerging these libs seems to clear up any problems.

This is something that 'revdep-rebuild' should somehow learn to catch, but I don't think it does right now.