Nick Coleman wrote:

Hi All,

I've just changed from many years of Mandrake to Debian Sarge. One thing I noticed when researching the move is lots of dire warnings about not polluting the filetree with non-Deb apps.

I'm pretty familiar with compiling FG from source and CVS. Are there any special considerations I need to look out for when compiling FG for my Debian system? Things like PREFIX flags etc so that the binaries end up in the 'correct' place? (/usr/local is ok for anything non-Deb, yes?)

Also, the current version of FG needs a newer version of plib than Sarge provides. What are the ramifications of installing both Deb plib and CVS plib at the same time?

[just had a thought] Is there a way to build a deb package from a CVS source and install it using apt? That would get around the plib problem above.

Sorry about the number of questions; this is my first install of a major non-Deb piece of software and I don't want to screw up the packaging system just yet. ;)


Hi Nick,

Beware of "plib" in that it tries to install everything in /usr/lib and /usr/include. This is easy to clean up if you get caught by it, but you have to explicitely request --prefix=/usr/local if that's where you want the pieces to be installed. All the other components you might build from source (openal, simgear, flightgear) will install in /usr/local by default. In theory (and depending on who you ask) /usr/local is supposed to be an area that is outside the realm of package management and is the place to put all your home compiled stuff.

Don't forget to add /usr/local/lib to your /etc/ld.so.conf and rerun ldconfig

On Fedora Core, you want to install the freeglut and freeglut-dev packages. On Debian I believe these are called "freeglut3 and freeglut3-dev".

You will need to "make install" plib, openal, and simgear. But I usually run the flightgear binary (fgfs) right out of the build tree without installing it. My fear is that if I install it, later, I'll be doing some dev work and think I'm running the version out of the source tree, but really be running the older installed version, and waste an evening scratching my head. :-) By not installing, I make sure I have only one version on my machine that can be run.

Regards,

Curt.

--
Curtis Olson        http://www.flightgear.org/~curt
HumanFIRST Program  http://www.humanfirst.umn.edu/
FlightGear Project  http://www.flightgear.org
Unique text:        2f585eeea02e2c79d7b1d8c4963bae2d


_______________________________________________ Flightgear-users mailing list [email protected] http://mail.flightgear.org/mailman/listinfo/flightgear-users 2f585eeea02e2c79d7b1d8c4963bae2d

Reply via email to