Page 1 of 1

Notes on Compiling in Ubuntu 8.04

Posted: 11.07.2008, 07:33
by volundr
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

Re: Notes on Compiling in Ubuntu 8.04

Posted: 11.07.2008, 09:46
by ajtribick
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.

Re: Notes on Compiling in Ubuntu 8.04

Posted: 13.07.2008, 20:33
by John Van Vliet
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