On Wed, 31 May 2006, Arnt Karlsen wrote: > On Tue, 30 May 2006 03:55:55 +0200, Arnt wrote in message > <[EMAIL PROTECTED]>: > >> On Mon, 29 May 2006 15:44:39 +0200, Erik wrote in message >> <[EMAIL PROTECTED]>: >> >>> You forgot to add -I/opt/include to the CFLAGS and CXXFLAGS >>> variable. > > .._how_ do I _do_ this????????????
Hi, I don't remember having to mess with the CFLAGS to compile SimGear. ./configure --prefix=/opt make make install should do it after OpenAL, FreeALUT and plib has been installed in /opt or their default location. (I use the Debian/Testing packages libopenal-dev and libalut-dev) LAST MINUTE NOTE: At this point I had completely forgotten that Arnt was trying to build TerraGear and not FlightGear. I have never build TerraGear but I still hope that the following is helpful for someone. >> ..aye, and to get FreeAlut installed. Trying without it,, breaks >> " make -I/opt/include " on missing /opt/include/AL/alut.h . I don't think sending the -I flag to make will do any good. CFLAGS=-I/opt/include make might work. But the --prefix option to configure should have taken care of that already. > ..I am missing something _basic_ here, and and even if I will be first > to "coffman start" a gasifier this afternoon, I'm out of ideas on > "make -I/opt/include ", and this is now holding up rebuilding the > new vmap1Cape Verde scenario too, plus Dene's and Georg's work > on our airventure.org/atc/ scenarios, I need TerraGear working > to do my part here. Here are my ./configure lines: (always followed by make; make install) plib: ./configure --prefix=/home/anders/FlightGear/0.9_cvs SimGear: ./configure --prefix=/home/anders/FlightGear/0.9_cvs FlightGear: ./configure --prefix=/home/anders/FlightGear/0.9_cvs --enable-sdl For me OpenAL and ALUT was a pain to compile and install on my system so I were happy when the Debian packages were updated to a new enough version. (The amount of compile/install problems seems to differ a lot between different systems and OpenAL "versions". I've only tried on two systems.) Cheers, Anders -- "In a world without fences, who needs gates?" Email: anders(at)gidenstam.org WWW: http://www.gidenstam.org/FlightGear/JSBSim-LTA/ _______________________________________________ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel