Notes on Compiling in Ubuntu 8.04

General discussion about Celestia that doesn't fit into other forums.
Topic author
volundr
Posts: 1
Joined: 11.07.2008
With us: 16 years 4 months

Notes on Compiling in Ubuntu 8.04

Post #1by volundr » 11.07.2008, 07:33

I know that there's an Ubuntu package, this was just for fun... in running "./configure --with-glut" I first got this error message:

configure: error: zlib not found.

Which oddly enough seems to have been fixed by installing X Windows libraries, the packages libxi-dev and libxmu-dev (this was sort of indicated by the output in config.log).

Next error I got was

gl.h not found

which was solved by installing libglut3-dev, then I got

configure: error: jpeg library not found
configure: error: png library not found

which were fixed by installing libjpeg-dev and libpng-dev respectively. After that configure completed successfully, as did make and make install, and I was able to run the resulting binary.

For appropriate Google-mojo here are a couple of pages that helped me along the way:

http://www.redhat.com/archives/fedora-extras-list/2006-January/msg01346.html
http://ubuntuforums.org/showthread.php?t=76441

ajtribick
Developer
Posts: 1855
Joined: 11.08.2003
With us: 21 years 3 months

Re: Notes on Compiling in Ubuntu 8.04

Post #2by ajtribick » 11.07.2008, 09:46

I've been compiling Celestia on Ubuntu 8.04 for a while now. Personally I prefer the KDE interface on Linux (./configure --with-kde). You'll want kdebase-dev for that. For celx support you want liblua5.1-dev, and if you want to save movies you want libtheora-dev.

Avatar
John Van Vliet
Posts: 2944
Joined: 28.08.2002
With us: 22 years 3 months

Re: Notes on Compiling in Ubuntu 8.04

Post #3by John Van Vliet » 13.07.2008, 20:33

Gnome works fine for me , I've been building on Fedora-gnome for a few years
just make sure you have all the -devel packages installed for
Gnome ,lua,png,ffmpg, ... and in my case cspice
i find that if i install ALL the -devel.rpm's for compiling Gimp then most things compile fine
$ ./configure --prefix=/usr/opt --with-gnome --with-cspice-dir=/usr/opt/cspice --with-lua --disable-nls


Return to “Celestia Users”