On Wed, 11 Feb 2009 21:43:51 +0100, Csaba wrote in message 
<a362bf040902111243g5ba44dc2q59c558219796b...@mail.gmail.com>:

> On Wed, Feb 11, 2009 at 9:38 PM, Arnt Karlsen <a...@c2i.net> wrote:
> >
> >> on this frequency, I would be grateful if someone with a few
> >> minutes to spare could check out my script.
> >
> > ..url?
> 
> Attached In his previous mail.

..me, I prefer starting in $PWD in my nice big /opt 
rather than keep stuffing my stuffed /home:
a...@a45:/opt/fg-bygg $ cat terra_compile.sh
#!/bin/sh
# BUILDDIR=$HOME/terrabuild
BUILDDIR=$PWD/terrabuild

mkdir $BUILDDIR
cd $BUILDDIR
        #Fetch simgear-cs
        git-clone http://mapserver.flightgear.org/git/simgear-cs/
        cd simgear-cs
                ./autogen.sh
                ./configure --prefix=$BUILDDIR/simgear-cs \
                --with-jpeg-factory
                make && make install
        cd ..
        #Fetch terragear-cs
        git-clone http://mapserver.flightgear.org/git/terragear-cs/
        cd terragear-cs
                ./autogen.sh
                CPPFLAGS="-I$BUILDDIR/simgear-cs/include"
LDFLAGS="-L$BUILDDIR/simgear-cs/lib" ./configure
#               ??why does configure not pick up the correct includes
#               if I specify --with-simgear=$BUILDDIR/simgear-cs ??
                make sudo make install
#               rm -rf $BUILDDIR

#################################################################

..with my version above, I have 3 (and 2 different) errors; once
simgear-cs ./configure fails, the script fails to stop, so git 
clones terragear-cs and then terragear-cs ./configure fails on 
OpenAL and plib, which is irrelevant to your --with-simgear 
(not --with-simgear-cs???) error above.

..you may have a similar issue, with simgear-cs failing somehow,
without halting your build script.

..is terragear-cs ./configure looking for "simgear-cs", or 
"simgear"???

..8o)  Debian Sid's plib and OpenAL are too old here.  ;o)

-- 
..med vennlig hilsen = with Kind Regards from Arnt... ;o)
...with a number of polar bear hunters in his ancestry...
  Scenarios always come in sets of three: 
  best case, worst case, and just in case.

------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to