David Luff wrote:

I've downloaded plib-1.8.1, simgear-0.3.5pre1 and flightgear-0.9.4pre1 and
attempted to build on Cygwin.  I have a problem with the
--with-package=$PATH_TO_PACKAGE options on the Flightgear configure stage.

plib was configured --prefix=/home/dave/fgfs_pre/plib
simgear was configured --prefix=/home/dave/fgfs_pre/simgear
--with-plib=/home/dave/fgfs_pre/plib and seemed to build and install OK.

I configured flightgear with the following:

CFLAGS="-Wall -O2" CXXFLAGS="-Wall -O2" ./configure
--prefix=/home/dave/fgfs_pre/flightgear
--with-plib=/home/dave/fgfs_pre/plib
--with-simgear=/home/dave/fgfs_pre/simgear

Initially It compained about the wrong simgear version, so I removed all
traces of SimGear from the normal locations (/usr/local/[include|lib]) and
tried again.  Now it complains that simgear is not present.  Simgear
appeared to install correctly:

$ ls /home/dave/fgfs_pre/simgear
include  lib

$ ls /home/dave/fgfs_pre/simgear/include/simgear
bucket       debug        io      misc   route   serial         sound
timing     xml
compiler.h   environment  magvar  nasal  scene   sg_inlines.h   structure
version.h
constants.h  ephemeris    math    props  screen  sg_traits.hxx  threads
xgl

$ ls /home/dave/fgfs_pre/simgear/lib
libsgbucket.a       libsgephem.a     libsgmath.a   libsgprops.a
libsgsky.a        libsgthreads.a
libsgclouds3d.a     libsgio.a        libsgmisc.a   libsgroute.a
libsgsound.a      libsgtiming.a
libsgdebug.a        libsgmagvar.a    libsgmodel.a  libsgscreen.a
libsgstructure.a  libsgxgl.a
libsgenvironment.a  libsgmaterial.a  libsgnasal.a  libsgserial.a
libsgtgdb.a       libsgxml.a


Relevant section of config.log is:


configure:9082: checking simgear/version.h usability
configure:9094: g++ -c -Wall -O2 -I/usr/local/include conftest.cc >&5
conftest.cc:68:29: simgear/version.h: No such file or directory
configure:9100: $? = 1
configure: failed program was:
| /* confdefs.h.  */
|

As far as I can see it's not picking up the --with-simgear= option and
using it for the check.  Am I correct in thinking that it should?  It's
probably not picking up the plib location either, but my CVS plib is very
recent so that's probably not breaking it.

Cheers - Dave


_______________________________________________
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel



David,


In line #110 of the FG configure.ac, try changing:

EXTRA_DIRS="/usr/local"

to:

EXTRA_DIRS="${EXTRA_DIRS} /usr/local"

I will make the change in CVS.

Regards,

Curt.

--
Curtis Olson   Intelligent Vehicles Lab         FlightGear Project
Twin Cities    [EMAIL PROTECTED]                  [EMAIL PROTECTED]
Minnesota      http://www.menet.umn.edu/~curt   http://www.flightgear.org



_______________________________________________
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel

Reply via email to