Celestia not compiling

Report bugs, bug fixes and workarounds here.
Topic author
Von_Zipper
Posts: 5
Joined: 20.01.2006
With us: 18 years 10 months

Celestia not compiling

Post #1by Von_Zipper » 20.01.2006, 15:44

Cannot compile in Gentoo.

...
checking for jpeg_start_decompress in -ljpeg... no
configure: error: jpeg library not found

This happens with both 1.3 and 1.4. And I have jpeg installed indeed. Do not know if this might be relevant but I do not have Gnome/KDE. Just plain xorg with GTK/GTK2, running XFCE. config.log available at request.

Juffo-Wup
Posts: 8
Joined: 10.11.2005
With us: 19 years

Post #2by Juffo-Wup » 20.01.2006, 23:37

Hi.

Are you using portage for compiling? Using emerge should solve all dependancy related problems.

I've never had any problems compiling different versions of Celestia in Gentoo.

Could you post your "emerge --info" for troubleshooting?

Have you posted this in the Gentoo forums? You might get better support there.

Topic author
Von_Zipper
Posts: 5
Joined: 20.01.2006
With us: 18 years 10 months

Post #3by Von_Zipper » 21.01.2006, 01:12

Yes, I posted in Gentoo forums. Maybe I shall file a bug in Bugzilla. And yes, I'm using emerge. As stated above jpeg libraries are installed and well present.
emerge --info

Gentoo Base System version 1.6.14
Portage 2.0.53 (default-linux/x86/2005.1, gcc-3.4.4, glibc-2.3.5-r2, 2.6.14-gentoo-r5 i686)
=================================================================
System uname: 2.6.14-gentoo-r5 i686 AMD Athlon(TM) XP 2500+
dev-lang/python: 2.3.5-r2, 2.4.2
sys-apps/sandbox: 1.2.12
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.6-r1
sys-devel/binutils: 2.16.1
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 -pipe -march=athlon-xp -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /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="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="ftp://distro.ibiblio.org/pub/linux/distributions/gentoo http://distfiles.gentoo.org"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowext X a52 aac acpi alsa audiofile avi bash-completion berkdb bitmap-fonts bmp bzip2 cdparanoia cdr crypt cups curl dri dvd encode exif expat ffmpeg flac foomaticdb fortran gdbm gif gimpprint glut gphoto2 gpm gstreamer gtk gtk2 hal howl imagemagick imlib ipv6 java jpeg lcms libg++ libwww lm_sensors lua mad mhash mikmod mime mmx mmxext mng motif mp3 mpeg ncurses nls nsplugin ogg oggvorbis opengl oss pam pcre pdflib perl png ppds python quicktime readline samba sdl sensord slang spell sse ssl tcpd tiff truetype truetype-fonts type1-fonts udev unicode usb vorbis win32codecs xine xml xml2 xmms xv xvid zlib userland_GNU kernel_linux elibc_glibc"
Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTDIR_OVERLAY

steve
Posts: 4
Joined: 21.01.2006
With us: 18 years 10 months
Location: Fairview Heights, IL

Post #4by steve » 21.01.2006, 01:24

Check config.log for the actual error. I just had to fix this:

/usr/lib/gcc/x86_64-redhat-linux/4.1.0/../../../../lib64/libgdkglext-x11-1.0.so: undefined reference to `pango_x_font_cache_load'
/usr/lib/gcc/x86_64-redhat-linux/4.1.0/../../../../lib64/libgdkglext-x11-1.0.so: undefined reference to `pango_x_font_cache_unload'
/usr/lib/gcc/x86_64-redhat-linux/4.1.0/../../../../lib64/libgdkglext-x11-1.0.so: undefined reference to `pango_x_find_first_subfont'
/usr/lib/gcc/x86_64-redhat-linux/4.1.0/../../../../lib64/libgdkglext-x11-1.0.so: undefined reference to `pango_x_font_subfont_xlfd'
/usr/lib/gcc/x86_64-redhat-linux/4.1.0/../../../../lib64/libgdkglext-x11-1.0.so: undefined reference to `pango_x_font_map_get_font_cache'
/usr/lib/gcc/x86_64-redhat-linux/4.1.0/../../../../lib64/libgdkglext-x11-1.0.so: undefined reference to `pango_x_font_map_for_display'

In my case, I had to add -lpangox-1.0 to GTK_LIBS to work around that issue (FC5 test2).

Juffo-Wup
Posts: 8
Joined: 10.11.2005
With us: 19 years

Post #5by Juffo-Wup » 21.01.2006, 01:44

Your emerge --info seems ok. Have you actually tried re-emerging media-libs/jpeg ?

I guess you could also try running "revdep-rebuild" to check for broken dependancies.

Topic author
Von_Zipper
Posts: 5
Joined: 20.01.2006
With us: 18 years 10 months

Post #6by Von_Zipper » 21.01.2006, 01:58

Thanks. Your advice is good. I know it's good because I did re-emerge jpeg and also revdep-rebuid before posting in Gentoo forums :)
Will work with config.log tomorrow. So long.

Topic author
Von_Zipper
Posts: 5
Joined: 20.01.2006
With us: 18 years 10 months

Post #7by Von_Zipper » 21.01.2006, 13:07

config.log is full of conftest.h related errors and some more, like "unrecognized command line option "-framework"". I'm using gcc version 3.4.4. Perhaps Celestia is not compatible...?

Juffo-Wup
Posts: 8
Joined: 10.11.2005
With us: 19 years

Post #8by Juffo-Wup » 22.01.2006, 16:31

gcc 3.4.4 works just fine for me. I'm running on a x86_64 system though.

Since I've also compiled Celestia on a x86 Gentoo machine with gcc 3.4.4, it does seem like your system is somehow borked.

Are you sure you have your entire system compiled with gcc 3.4.4? The 3.4.x series didn't become stable for x86 Gentoo until relatively recently, so you might still have some gcc 3.3.6 compiled stuff causing conflicts.

time for emerge -e world :twisted:

Topic author
Von_Zipper
Posts: 5
Joined: 20.01.2006
With us: 18 years 10 months

Post #9by Von_Zipper » 22.01.2006, 16:40

Yes, that's the plan right now. Thanks. :)


Return to “Bugs”