Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 107946 - scorched3d configure incorrectly reports that FreeType is not installed
Summary: scorched3d configure incorrectly reports that FreeType is not installed
Status: RESOLVED WORKSFORME
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-10-02 18:11 UTC by Matt Zukowski
Modified: 2005-10-27 21:57 UTC (History)
1 user (show)

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


Attachments
config.log (config.log,21.00 KB, text/plain)
2005-10-23 16:20 UTC, Octavio Ruiz (Ta^3)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Matt Zukowski 2005-10-02 18:11:06 UTC
the ./configure step complains that FreeType 7.0.1 or higher is not installed,
when in fact freetype-config --version reports that I have 9.8.3

EXTRA_ECONF="--disable-freetypetest" gets by the config problem, but then I get
this nastyness later on:

In file included from ../engine/PhysicsEngine.h:24,
                 from ../tank/TankPhysics.h:25,
                 from ../tank/Tank.h:27,
                 from ../tankgraph/TankModelRenderer.h:24,
                 from ../tankgraph/TankModelRenderer.cpp:21:
../ode/ode.h:43:27: ode/collision.h: No such file or directory
[ .... and much much more ]


Reproducible: Always
Steps to Reproduce:
FEATURES="-distcc" emerge -a =games-strategy/scorched3d-39.1
(turning off distcc just in case)

Actual Results:  
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.



Portage 2.0.51.22-r1 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r0, 2.6.1
3-gentoo-r2 i686)
=================================================================
System uname: 2.6.13-gentoo-r2 i686 AMD Athlon(tm) XP 2800+
Gentoo Base System version 1.6.12
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled ]
dev-lang/python:     2.3.5
sys-apps/sandbox:    1.2.8
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r8
sys-devel/libtool:   1.5.18
virtual/os-headers:  2.4.21-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -march=athlon-xp -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/
3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/con
trol"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=athlon-xp -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distcc distlocks sandbox sfperms strict"
GENTOO_MIRRORS="ftp://sunsite.ualberta.ca/pub/unix/Linux/gentoo/ ftp://gentoo.ri
sq.qc.ca/ ftp://distro.ibiblio.org/pub/Linux/distributions/gentoo/"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowext X acpi acpi4linux alsa apache2 apm arts avi bitmap-fonts
 cdr cdrom crypt cups curl dba devfs26 divx4linux dvd dvdr dvdread eds emboss en
code esd fam flac foomaticdb fortran gd gdbm gif gimp gimpprint gnome gphoto2 gp
m gstreamer gtk gtk2 guile imagemagick imlib ipv6 jack java joystick jpeg junit
libg++ libwww lm_sensors lzw lzw-tiff mad mikmod mmx mmxext motif moznocompose m
oznoirc moznomail mozsvg mozxmlterm mp3 mpeg mpeg4 msn mysql ncurses ogg oggvorb
is opengl pam pdflib perl png python quicktime radeon readline ruby samba sdl se
ssion simplexml slang spell spl sse ssl svg svga tcltk tcpd tiff truetype truety
pe-fonts type1 type1-fonts usb vorbis xine xinerama xml xml2 xmms xsl xv xvid zl
ib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Comment 1 Matt Zukowski 2005-10-02 18:20:05 UTC
weird... the second time I ran the exact same emerge command (FEATURES="-distcc"
EXTRA_ECONF="--disable-freetypetest" emerge -a scorched3d) it compiled fine,
without the PhysicsEngine.h problem.

Regardless, the freetype issue still need to be addressed.
Comment 2 Mr. Bones. (RETIRED) gentoo-dev 2005-10-02 23:14:50 UTC
attach the config.log from the build directory as text/plain please.
Comment 3 Matt Zukowski 2005-10-03 08:12:44 UTC
The old work directory was gone from /var/tmp/portage, and when I tried to
re-emerge to generate a new config.log, everything configured just fine. The
problem is gone.

I upgraded my autoconf last night (from 2.57 or 2.58 to 2.59, I think) so maybe
that's what made the problem go away?
Comment 4 Matt Zukowski 2005-10-03 08:17:28 UTC
nevermind my old emerge info shows I was using autoconf 2.59 before as well.
Comment 5 Octavio Ruiz (Ta^3) 2005-10-23 16:20:24 UTC
Created attachment 71312 [details]
config.log
Comment 6 SpanKY gentoo-dev 2005-10-24 06:49:28 UTC
/usr/X11R6/lib/libwx_gtk2-2.4.so: undefined reference to `pango_x_get_context'

try to re-emerge the offending libraries
Comment 7 Octavio Ruiz (Ta^3) 2005-10-27 21:57:53 UTC
That config.log is not from my computer, just attached for the record.
x11-libs/wxGTK-2.4.2-r3 was remerged but the problem remains. Seems to be a
Pango related, so as soon as I have access again to that computer I will
reemerge pango and then wxGTK and also a revdep-rebuild. :)