Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 119824 - sdl-ttf get error while emerging
Summary: sdl-ttf get error while emerging
Status: RESOLVED DUPLICATE of bug 112427
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-21 07:53 UTC by Petr Sobotka
Modified: 2006-01-21 08:03 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 Petr Sobotka 2006-01-21 07:53:57 UTC
This is output of 'emerge sdl-ttf'

 * econf: updating SDL_ttf-2.0.7/config.guess with /usr/share/gnuconfig/config.guess
 * econf: updating SDL_ttf-2.0.7/config.sub with /usr/share/gnuconfig/config.sub./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-dependency-tracking --with-x --build=i686-pc-linux-gnu
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
checking for i686-pc-linux-gnu-gcc... i686-pc-linux-gnu-gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether i686-pc-linux-gnu-gcc accepts -g... yes
checking for i686-pc-linux-gnu-gcc option to accept ANSI C... none needed
checking dependency style of i686-pc-linux-gnu-gcc... none
checking for a sed that does not truncate output... /bin/sed
checking for egrep... grep -E
checking for ld used by i686-pc-linux-gnu-gcc... /usr/i686-pc-linux-gnu/bin/ld
checking if the linker (/usr/i686-pc-linux-gnu/bin/ld) is GNU ld... yes
checking for /usr/i686-pc-linux-gnu/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/i686-pc-linux-gnu-nm -B
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking how to run the C preprocessor... i686-pc-linux-gnu-gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for i686-pc-linux-gnu-g++... i686-pc-linux-gnu-g++
checking whether we are using the GNU C++ compiler... yes
checking whether i686-pc-linux-gnu-g++ accepts -g... yes
checking dependency style of i686-pc-linux-gnu-g++... none
checking how to run the C++ preprocessor... i686-pc-linux-gnu-g++ -E
checking for i686-pc-linux-gnu-g77... i686-pc-linux-gnu-g77
checking whether we are using the GNU Fortran 77 compiler... yes
checking whether i686-pc-linux-gnu-g77 accepts -g... yes
checking the maximum length of command line arguments... 32768
checking command to parse /usr/bin/i686-pc-linux-gnu-nm -B output from i686-pc-linux-gnu-gcc object... ok
checking for objdir... .libs
checking for i686-pc-linux-gnu-ar... i686-pc-linux-gnu-ar
checking for i686-pc-linux-gnu-ranlib... i686-pc-linux-gnu-ranlib
checking for i686-pc-linux-gnu-strip... i686-pc-linux-gnu-strip
checking if i686-pc-linux-gnu-gcc static flag  works... yes
checking if i686-pc-linux-gnu-gcc supports -fno-rtti -fno-exceptions... no
checking for i686-pc-linux-gnu-gcc option to produce PIC... -fPIC
checking if i686-pc-linux-gnu-gcc PIC flag -fPIC works... yes
checking if i686-pc-linux-gnu-gcc supports -c -o file.o... yes
checking whether the i686-pc-linux-gnu-gcc linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by i686-pc-linux-gnu-g++... /usr/i686-pc-linux-gnu/bin/ld
checking if the linker (/usr/i686-pc-linux-gnu/bin/ld) is GNU ld... yes
checking whether the i686-pc-linux-gnu-g++ linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared libraries... yes
checking for i686-pc-linux-gnu-g++ option to produce PIC... -fPIC
checking if i686-pc-linux-gnu-g++ PIC flag -fPIC works... yes
checking if i686-pc-linux-gnu-g++ supports -c -o file.o... yes
checking whether the i686-pc-linux-gnu-g++ linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
appending configuration tag "F77" to libtool
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for i686-pc-linux-gnu-g77 option to produce PIC... -fPIC
checking if i686-pc-linux-gnu-g77 PIC flag -fPIC works... yes
checking if i686-pc-linux-gnu-g77 supports -c -o file.o... yes
checking whether the i686-pc-linux-gnu-g77 linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking whether make sets $(MAKE)... (cached) yes
checking for i686-pc-linux-gnu-gcc... (cached) i686-pc-linux-gnu-gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether i686-pc-linux-gnu-gcc accepts -g... (cached) yes
checking for i686-pc-linux-gnu-gcc option to accept ANSI C... (cached) none needed
checking dependency style of i686-pc-linux-gnu-gcc... (cached) none
checking for a BSD-compatible install... /bin/install -c
checking for working alloca.h... yes
checking for alloca... yes
checking for freetype-config... /usr/bin/freetype-config
checking for sdl-config... /usr/bin/sdl-config
checking for SDL - version >= 1.2.4... yes
checking for X... libraries , headers
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking for OpenGL support... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating SDL_ttf.spec
config.status: executing depfiles commands
/bin/sh ./libtool --mode=compile i686-pc-linux-gnu-gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"SDL_ttf\" -DVERSION=\"2.0.7\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DHAVE_ALLOCA_H=1 -DHAVE_ALLOCA=1  -I. -I.     -O2 -march=pentium4 -fomit-frame-pointer -pipe -I/usr/include/freetype2 -I/usr/include/SDL -D_REENTRANT  -DHAVE_OPENGL -c -o SDL_ttf.lo SDL_ttf.c
i686-pc-linux-gnu-gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"SDL_ttf\" -DVERSION=\"2.0.7\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DHAVE_ALLOCA_H=1 -DHAVE_ALLOCA=1  -I. -I.     -O2 -march=pentium4 -fomit-frame-pointer -pipe -I/usr/include/freetype2 -I/usr/include/SDL -D_REENTRANT  -DHAVE_OPENGL -c showfont.ci686-pc-linux-gnu-gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"SDL_ttf\" -DVERSION=\"2.0.7\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DHAVE_ALLOCA_H=1 -DHAVE_ALLOCA=1  -I. -I.     -O2 -march=pentium4 -fomit-frame-pointer -pipe -I/usr/include/freetype2 -I/usr/include/SDL -D_REENTRANT  -DHAVE_OPENGL -c glfont.c
mkdir .libs
 i686-pc-linux-gnu-gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"SDL_ttf\" -DVERSION=\"2.0.7\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DHAVE_ALLOCA_H=1 -DHAVE_ALLOCA=1 -I. -I. -O2 -march=pentium4 -fomit-frame-pointer -pipe -I/usr/include/freetype2 -I/usr/include/SDL -D_REENTRANT -DHAVE_OPENGL -c SDL_ttf.c  -fPIC -DPIC -o .libs/SDL_ttf.o
 i686-pc-linux-gnu-gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"SDL_ttf\" -DVERSION=\"2.0.7\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DHAVE_ALLOCA_H=1 -DHAVE_ALLOCA=1 -I. -I. -O2 -march=pentium4 -fomit-frame-pointer -pipe -I/usr/include/freetype2 -I/usr/include/SDL -D_REENTRANT -DHAVE_OPENGL -c SDL_ttf.c -o SDL_ttf.o >/dev/null 2>&1
/bin/sh ./libtool --mode=link i686-pc-linux-gnu-gcc  -O2 -march=pentium4 -fomit-frame-pointer -pipe -I/usr/include/freetype2 -I/usr/include/SDL -D_REENTRANT  -DHAVE_OPENGL   -o libSDL_ttf.la -rpath /usr/lib -no-undefined -release 2.0 -version-info 6:1:6 SDL_ttf.lo  -lfreetype -lz -lSDL -lpthread
i686-pc-linux-gnu-gcc -shared  .libs/SDL_ttf.o  /usr/lib/libfreetype.so -lz /usr/lib/libSDL.so -lpthread  -march=pentium4 -Wl,-soname -Wl,libSDL_ttf-2.0.so.0 -o .libs/libSDL_ttf-2.0.so.0.6.1
(cd .libs && rm -f libSDL_ttf-2.0.so.0 && ln -s libSDL_ttf-2.0.so.0.6.1 libSDL_ttf-2.0.so.0)
(cd .libs && rm -f libSDL_ttf.so && ln -s libSDL_ttf-2.0.so.0.6.1 libSDL_ttf.so)i686-pc-linux-gnu-ar cru .libs/libSDL_ttf.a  SDL_ttf.o
i686-pc-linux-gnu-ranlib .libs/libSDL_ttf.a
creating libSDL_ttf.la
(cd .libs && rm -f libSDL_ttf.la && ln -s ../libSDL_ttf.la libSDL_ttf.la)
/bin/sh ./libtool --mode=link i686-pc-linux-gnu-gcc  -O2 -march=pentium4 -fomit-frame-pointer -pipe -I/usr/include/freetype2 -I/usr/include/SDL -D_REENTRANT  -DHAVE_OPENGL   -o glfont  glfont.o libSDL_ttf.la  -lGL -lm -lfreetype -lz -lSDL -lpthread
/bin/sh ./libtool --mode=link i686-pc-linux-gnu-gcc  -O2 -march=pentium4 -fomit-frame-pointer -pipe -I/usr/include/freetype2 -I/usr/include/SDL -D_REENTRANT  -DHAVE_OPENGL   -o showfont  showfont.o libSDL_ttf.la -lfreetype -lz -lSDL -lpthread
libtool: link: `/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/../../..//libGL.la' is not a valid libtool archive
make: *** [glfont] Error 1
make: *** Waiting for unfinished jobs....
i686-pc-linux-gnu-gcc -O2 -march=pentium4 -fomit-frame-pointer -pipe -I/usr/include/freetype2 -I/usr/include/SDL -D_REENTRANT -DHAVE_OPENGL -o .libs/showfont showfont.o  ./.libs/libSDL_ttf.so /usr/lib/libfreetype.so -lz /usr/lib/libSDL.so -lm -ldl -lX11 -lXext -lpthread
creating showfont

It looks like sdl-ttf is looking for OpenGL somewhere where isn't.
I have ati-drivers 8.20.8. I know that this package is masked, but
that's only one which can recognize my ati card ... It works fine
and I have some app which use OpenGL and no problem (even in compilation).

Thanks for any help,
Petr
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-01-21 08:03:59 UTC

*** This bug has been marked as a duplicate of 112427 ***