[Flightgear-devel] ..the overlength reply with ./makefg DOUPD ADDDEBUG NOPAUSE log

2009-03-19 Thread Arnt Karlsen
On Thu, 19 Mar 2009 21:34:00 +0100, Arnt wrote in message 
20090319213400.659ce...@a45.fmb.no:

 On Thu, 19 Mar 2009 17:36:46 +0100, Geoff wrote in message 
 1237480606.6461.3.ca...@dell02:

 ..I'll try, this time too, I'm afraid I must file a motion 
 to file an overlength reply. ;o)

..no opposition to file a motion to file an overlength reply
with ./makefg DOUPD ADDDEBUG NOPAUSE log filed. ;o)

..I have SG .configure fail and the SG build succeed, with 
gems like:
checking host system type... i686-pc-linux-gnu
includedir changed to ${prefix}/include/simgear libdir is \
${exec_prefix}/lib 
Building with Norman's jpeg image factory support
checking for jpeg_start_compress in -ljpeg... yes

..dash or bash playing games here???

..and further:
checking for ftime... yes
checking for gettimeofday... yes
checking for timegm... yes
checking for memcpy... yes
checking for bcopy... yes
checking for mktime... yes
checking for strstr... yes
checking for rand... yes
checking for random... yes
checking for drand48... yes
checking for setitimer... yes
checking for getitimer... yes
checking for signal... yes
checking for GetLocalTime... no
checking for rint... yes

..which I gather yields the same old FG build failure:
/opt/bygg/fg/simgear/source/simgear/timing/timestamp.cxx:79: 
undefined reference to `clock_gettime' 
/opt/bygg/fg/simgear/source/simgear/timing/timestamp.cxx:76:
undefined reference to `clock_gettime' 
collect2: ld returned 1 exit status 

  Not when I run it ;=()
 
 ..???  Another dash|bash thing???  You use dash or bash 
 right there as /bin/sh???  (On building FG in that part 
 of makefg?)
 
  I have NO IDEA why you get this error building fgfs.
  Mine builds ok. You did not give enough output to know
  exactly what was happening, but when linking fgfs, which
  includes -lsgtiming, it also includes -lrt, which I think
  is the library that contains this function.

..my /opt/bygg/fg/tmp/templog4.txt:
a...@a45:/opt/bygg/fg $ ll /opt/bygg/fg/tmp/templog4.txt \
md5sum /opt/bygg/fg/tmp/templog4.txt 
-rw-r--r-- 1 arnt arnt 26671 Mar 19 23:21 
/opt/bygg/fg/tmp/templog4.txt
8a6d7db502b9b6c566ac73c54e1ec150  /opt/bygg/fg/tmp/templog4.txt
a...@a45:/opt/bygg/fg $  

..now trying a ./maketg DOUPD ADDDEBUG NOPAUSE run to see 
if I get the same SG .configure failure as with ./makefg.

-- 
..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.
Processing makefg, version 1.0.5, of 2009-03-18, on Thu Mar 19 22:20:04 CET 
2009, with command [DOUPD ADDDEBUG NOPAUSE], next 
log=[/opt/bygg/fg/tmp/templog4.txt]
Checking 3 arguments ... [DOUPD ADDDEBUG NOPAUSE]
All aguments ok. Will process: [ PLIB OSG SG FG FGRUN]
The script pauses for input of a 'y' frequently. Any other input, or none, and 
it will exit.
Commands checked. Running [makefg] in [/opt/bygg/fg]. Continue?
Doing tool and package update... you will need to enter your PASSWORD
Installing build-essential make automake libtool autoconf
Installing libglut3-dev libopenal-dev libalut-dev libalut0 libopenal0a 
libfltk1.1-dev
Installing libfltk1.1 zlib1g-dev zlib1g libwxgtk2.8-0 libwxgtk2.8-dev
Installing libjpeg62-dev libjpeg62 libxi-dev libxi6 libxmu-dev libxmu6 
libboost-dev
Installing fluid gawk gettext
Installing gcc g++
Installing cmake cvs subversion cmake
package update... The following should NOT be required, but with the present 
SG/FG it is!
Will do 'sudo apt-get install libopenthreads6'
Installing libopenthreads6
Done tool and package update. Continue?
Processing PLIB ...
Done plib update.
Running autogen.sh in /opt/bygg/fg/plib... output to 
/opt/bygg/fg/tmp/templog4.txt
Running aclocal
Running automake
Running autoconf
==
Now you are ready to run './configure'
==
Done PLIB autogen.sh. Proceed?
Running ./configure --prefix=/opt/bygg/fg/install/plib 
--exec-prefix=/opt/bygg/fg/install/plib
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
includedir changed to ${prefix}/include/plib libdir is ${exec_prefix}/lib
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... 

Re: [Flightgear-devel] ..the overlength reply with ./makefg DOUPD ADDDEBUG NOPAUSE log

2009-03-19 Thread Arnt Karlsen
On Fri, 20 Mar 2009 04:24:42 +0100, Arnt wrote in message 
20090320042442.01b2d...@a45.fmb.no:

 ..now trying a ./maketg DOUPD ADDDEBUG NOPAUSE run to see 
 if I get the same SG .configure failure as with ./makefg.
 
a...@a45:/opt/bygg/tg $ ll /opt/bygg/tg/tmp/templog7.txt
md5sum /opt/bygg/tg/tmp/templog7.txt 
-rw-r--r-- 1 arnt arnt 24572 Mar 20 05:23 /opt/bygg/tg/tmp/templog7.txt
2a1afc5e55a54918b7c79da781efa6c7  /opt/bygg/tg/tmp/templog7.txt
a...@a45:/opt/bygg/tg $  

..but it missed at least this OSG build stuff:
[ 80%] Building CXX object 
src/osgPlugins/jp2/CMakeFiles/osgdb_jp2.dir/ReaderWriterJP2.o 
Linking CXX shared module ../../../lib/osgPlugins-2.9.1/osgdb_jp2.so 
[ 80%] Built target osgdb_jp2 
[ 80%] Building CXX object
src/osgPlugins/exr/CMakeFiles/osgdb_exr.dir/ReaderWriterEXR.o 
/opt/bygg/tg/OpenSceneGraph/src/osgPlugins/exr/ReaderWriterEXR.cpp:
In function 'unsigned char* exr_load(std::istream, int*, int*, int*,
unsigned int*)': 
/opt/bygg/tg/OpenSceneGraph/src/osgPlugins/exr/ReaderWriterEXR.cpp:103:
warning: unused variable 'channels' 
/opt/bygg/tg/OpenSceneGraph/src/osgPlugins/exr/ReaderWriterEXR.cpp:
In member function 'bool ReaderWriterEXR::writeEXRStream(const
osg::Image, std::ostream, const std::string) const': 
/opt/bygg/tg/OpenSceneGraph/src/osgPlugins/exr/ReaderWriterEXR.cpp:252:
warning: unused variable 'intenalTextureFormat' 
/opt/bygg/tg/OpenSceneGraph/src/osgPlugins/exr/ReaderWriterEXR.cpp:
In member function 'osgDB::ReaderWriter::ReadResult
ReaderWriterEXR::readEXRStream(std::istream) const': 
/opt/bygg/tg/OpenSceneGraph/src/osgPlugins/exr/ReaderWriterEXR.cpp:365:
warning: unused variable 'internalFormat' 
Linking CXX shared module ../../../lib/osgPlugins-2.9.1/osgdb_exr.so 
[ 80%] Built target osgdb_exr


-- 
..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.
Processing maketg, version 1.0.5a, of 2009-03-18, on Fri Mar 20 04:16:23 CET 
2009, with command [DOUPD ADDDEBUG NOPAUSE], next 
log=[/opt/bygg/tg/tmp/templog7.txt]
Checking 3 arguments ... [DOUPD ADDDEBUG NOPAUSE]
All aguments ok. Will process: [ PLIB OSG SG TG]
The script pauses for input of a 'y' frequently. Any other input, or none, and 
it will exit.
Commands checked. Running [maketg] in [/opt/bygg/tg]. Continue?
Doing tool and package update... you will need to enter your PASSWORD
Installing build-essential make automake libtool autoconf
Installing libglut3-dev libopenal-dev libalut-dev libalut0 libopenal0a 
libfltk1.1-dev
Installing libfltk1.1 zlib1g-dev zlib1g libwxgtk2.8-0 libwxgtk2.8-dev
Installing libjpeg62-dev libjpeg62 libxi-dev libxi6 libxmu-dev libxmu6 
libboost-dev
Installing fluid gawk gettext
Installing gcc g++
Installing cmake cvs subversion cmake
package update... The following should NOT be required, but with the present 
SG/FG it is!
Will do 'sudo apt-get install libopenthreads6'
Installing libopenthreads6
Added for terragear-cs...
Installing git-core curl
Installing xlibmesa-gl-dev freeglut3-dev glutg3-dev libglut3-dev xorg-dev
Installing libalut-dev zlib1g-dev
Installing libtiff4 libtiff4-dev libtiff-tools libtiff-opengl
Done tool and package update. Continue?
Processing PLIB ...
Done plib update.
Running autogen.sh in /opt/bygg/tg/plib... output to 
/opt/bygg/tg/tmp/templog7.txt
Running aclocal
Running automake
Running autoconf
==
Now you are ready to run './configure'
==
Done PLIB autogen.sh. Proceed?
Running ./configure --prefix=/opt/bygg/tg/install/plib 
--exec-prefix=/opt/bygg/tg/install/plib
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
includedir changed to ${prefix}/include/plib libdir is ${exec_prefix}/lib
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking how to run the C++ preprocessor... g++ -E
checking for a BSD-compatible install... /usr/bin/install -c
checking for ranlib... ranlib
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for