Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 136732 - gnubg-0.14.3 fails to compile due to missing ftgl lib
Summary: gnubg-0.14.3 fails to compile due to missing ftgl lib
Status: RESOLVED FIXED
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: 2006-06-13 20:14 UTC by Kristian Poul Herkild
Modified: 2006-09-04 13:12 UTC (History)
3 users (show)

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


Attachments
config.log for gnubg (config.log,9.91 KB, text/plain)
2006-06-13 20:17 UTC, Kristian Poul Herkild
Details
Output from "emerge -evp gnubg" (output_from_emerge,12.46 KB, text/plain)
2006-06-14 11:51 UTC, Kristian Poul Herkild
Details
emerge --info for profile 2006.0 (emerge_info_profile_2006.0,3.19 KB, text/plain)
2006-06-14 11:53 UTC, Kristian Poul Herkild
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kristian Poul Herkild 2006-06-13 20:14:31 UTC
checking for C compiler default output... configure: error: C compiler cannot create executables
See `config.log' for more details.

emerge --info
Portage 2.0.54-r2 (default-linux/x86/2005.1, gcc-4.1.1, glibc-2.3.6-r3, 2.6.15-gentoo-r1-kph0 i686)
=================================================================
System uname: 2.6.15-gentoo-r1-kph0 i686 AMD Sempron(tm) 2200+
Gentoo Base System version 1.6.14
dev-lang/python:     2.3.5-r2, 2.4.2
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1-r2
sys-devel/gcc-config: 1.3.13-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /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/"
CONFIG_PROTECT_MASK="/etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://mirror.uni-c.dk/pub/gentoo/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://mirror.gentoo.no/ ftp://ftp.du.se/pub/os/gentoo"
LANG="da_DK.UTF8"
LC_ALL="da_DK.UTF8"
LINGUAS="da en"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="x86 3dnow X a52 aac aalib acpi aim alsa apache2 audiofile avi bash-completion berkdb bitmap-fonts bonobo bzip2 cdinstall cdr cli crypt cups curl dbus doc dri dv eds emacs emboss encode esd exif expat fam ffmpeg flac flash foomaticdb fortran ftp gb gcj gd gdbm gif glut gmp gnome gpm gstreamer gtk gtk2 gtkhtml guile hal icq idn imagemagick imlib ipv6 isdnlog jabber jack java javascript jpeg junit lcms ldap lesstif libcaca libg++ libwww lua mad matroska matrox mhash mikmod mime ming mmx mng mono mozilla mp3 mpeg msn mysql nas ncurses nls nsplugin nvidia objc offensive ogg oggvorbis openal opengl oscar oss pam pcre pdflib perl php png posix postgres pppd python qdbm quicktime radius readline reflection ruby samba sasl sdl session slang sndfile sox speex spell spl sqlite sse ssl svg svga symlink tcltk tcpd test tetex theora tidy tiff tokenizer truetype truetype-fonts type1-fonts udev unicode usb v4l vcd videos vorbis win32codecs wmf wxwindows xml xml2 xmlrpc xmms xorg xosd xpm xprint xsl xv xvid yahoo zlib linguas_da linguas_en userland_GNU kernel_linux elibc_glibc"
Unset:  CTARGET, INSTALL_MASK, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTAGE_RSYNC_OPTS
Comment 1 Kristian Poul Herkild 2006-06-13 20:17:57 UTC
Created attachment 89110 [details]
config.log for gnubg

Attached /var/tmp/portage/gnubg-0.14.3/work/gnubg-0.14.3/config.log
Comment 2 Mr. Bones. (RETIRED) gentoo-dev 2006-06-13 20:21:49 UTC
Your system looks really out of date to me.  You're running a deprecated profile and an old version of portage.  Please update to the latest stable software with "emerge -vuD world" and see if that helps.

If you still have problems, please attach the output from "emerge -evp gnubg" as text/plain.
Comment 3 Kristian Poul Herkild 2006-06-13 20:58:32 UTC
Since when is 2005.1 deprecated?
Comment 4 Mr. Bones. (RETIRED) gentoo-dev 2006-06-13 21:02:14 UTC
heh, it's not.  I read it as 2005.0.
Comment 5 Daniel Black (RETIRED) gentoo-dev 2006-06-14 03:41:28 UTC
Missing media-libs/ftgl dependency?

configure:2146: i686-pc-linux-gnu-gcc -O2 -march=athlon-xp -fomit-frame-pointer -pipe -I/usr/include/FTGL -I/usr/include/freetype2   -lGLU -lGL -lfreetype -lz -lftgl conftest.c  >&5
/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lftgl
collect2: ld returned 1 exit status
configure:2149: $? = 1
Comment 6 Mr. Bones. (RETIRED) gentoo-dev 2006-06-14 10:27:27 UTC
No, the dep for ftgl should be fine afaict.

"configure:2188: error: C compiler cannot create executables" <- that's a problem.

where's that ""emerge -evp gnubg" output?

Comment 7 Kristian Poul Herkild 2006-06-14 11:49:43 UTC
media-libs/ftgl is installed. The problem is that I cannot get the compiler cannot create executables.

Comment 8 Kristian Poul Herkild 2006-06-14 11:51:29 UTC
Created attachment 89194 [details]
Output from "emerge -evp gnubg"
Comment 9 Kristian Poul Herkild 2006-06-14 11:53:34 UTC
Created attachment 89195 [details]
emerge --info for profile 2006.0
Comment 10 Tristan Heaven (RETIRED) gentoo-dev 2006-06-28 09:26:35 UTC
Here's a clue:

*ftgl-2.1.2-r1 (04 Nov 2005)

  04 Nov 2005; Seemant Kulleen <seemant@gentoo.org> +ftgl-2.1.2-r1.ebuild:
  now it actually installs the shared library thanks to ilya kriveshko, and
  libtool fixes, thanks to az.
Comment 11 Mr. Bones. (RETIRED) gentoo-dev 2006-06-28 09:35:16 UTC
Well, I'm not sure if it's a very big clue.  ftgl-2.1.2 (not -r1) works fine for me.
Comment 12 Tristan Heaven (RETIRED) gentoo-dev 2006-06-28 09:38:42 UTC
Didn't work for me when I just tried it.

Portage 2.1.1_pre1-r5 (default-linux/x86/2006.0, gcc-4.1.1, glibc-2.4-r3, 2.6.17.1 i686)
=================================================================
System uname: 2.6.17.1 i686 AMD Athlon(tm)  2600+
Gentoo Base System version 1.12.1
ccache version 2.4 [enabled]
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r2
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.13-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r5
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp -pipe -ggdb"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/init.d /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -march=athlon-xp -pipe -ggdb"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache collision-protect distlocks metadata-transfer sandbox sfperms splitdebug strict userfetch userpriv usersandbox"
GENTOO_MIRRORS="http://gentoo.blueyonder.co.uk http://distfiles.gentoo.org"
LANG="C"
LC_ALL="C"
LDFLAGS="-Wl,-O1"
LINGUAS="en_GB en"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow X a52 aac acpi alsa apache2 avi bash-completion berkdb bitmap-fonts bzip2 cairo cdr cli crypt cups curl dbus dri dvd dvdr eds emboss encode esd ffmpeg firefox flac gdbm gif gnome gnutls gpm gstreamer gtk gtk2 hal imlib isdnlog jpeg lcms libg++ libwww lua mad mikmod mmx mng mono mp3 mpeg mysql ncurses nls nptl offensive ogg opengl pam pcre pdflib perl png pppd python quicktime readline reflection ruby sdl session sndfile speex spell spl sse ssl svg tcltk tcpd theora tiff truetype truetype-fonts type1-fonts udev unicode vorbis xml xorg xv xvid zlib elibc_glibc input_devices_evdev input_devices_keyboard kernel_linux linguas_en_GB linguas_en userland_GNU video_cards_nvidia"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_RSYNC_EXTRA_OPTS
Comment 13 Richard 2006-07-01 04:09:45 UTC
exact same bug here .. cant install gnubg

checking for C compiler default output... configure: error: C compiler cannot
create executable... 

checked also with 3.4.6 and it still wont compile.giving up 

ric 
Comment 14 Lupo 2006-07-26 00:24:29 UTC
Same error here on ppc. Still no solution?



Comment 15 Ildar Sagdejev 2006-09-04 10:47:22 UTC
Does reemerging gcc-config help?
Comment 16 SpanKY gentoo-dev 2006-09-04 13:12:06 UTC
fixed in cvs