> This is a case where you really should go look at the end of the config.log
> file to see *exactly* why the version check is failing.
>
> Curt.

What should one look for in config.log? There appears to be several problems. The
following shows what the worst problem is, however (but I'm not sure how to fix it):

configure:9805: test -z
                         || test ! -s conftest.err
configure:9808: $? = 0
configure:9811: test -s conftest.o
configure:9814: $? = 0
configure:9824: result: yes
configure:9828: checking simgear/version.h presence
configure:9838: g++ -E  conftest.cc
configure:9844: $? = 0
configure:9864: result: yes
configure:9899: checking for simgear/version.h
configure:9906: result: yes
configure:9923: checking for simgear 0.3.6 or newer
configure:9969: g++ -o conftest.exe  -D_REENTRANT  -L/usr/local/lib conftest.cc  >&5
configure:9972: $? = 0
configure:9974: ./conftest.exe
configure:9977: $? = 255
configure: program exited with status 255
configure: failed program was:
| /* confdefs.h.  */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "FlightGear"
| #define VERSION "0.9.5-pre1"
| #ifdef __cplusplus
| extern "C" void std::exit (int) throw (); using std::exit;
| #endif
| #define FG_MPLAYER_AS 1
| #define ENABLE_THREADS 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define FGFS 1
| #define FG_USE_CLOUDS_3D 1
| #define HAVE_DAYLIGHT 1
| #define ENABLE_AUDIO_SUPPORT 1
| #define HAVE_LIBPTHREAD 1
| #define PU_USE_GLUT 1
| #define FG_GLUT_H <GL/glut.h>
| #define WIN32 1
| #define NOMINMAX 1
| #define ENABLE_PLIB_JOYSTICK 1
| /* end confdefs.h.  */
|
| #include <stdio.h>
|
| #include <simgear/version.h>
|
| #define STRINGIFY(X) XSTRINGIFY(X)
| #define XSTRINGIFY(X) #X
|
| #define MIN_MAJOR 0
| #define MIN_MINOR 3
| #define MIN_MICRO 6
|
| int main() {
|     int major, minor, micro;
|
|     printf("%d.%d.%d or greater... ", MIN_MAJOR, MIN_MINOR, MIN_MICRO);
|
|     sscanf( STRINGIFY(SIMGEAR_VERSION), "%d.%d.%d", &major, &minor, &micro );
|
|     if ( major < MIN_MAJOR ) {
|        return -1;
|     } else if ( major == MIN_MAJOR && minor < MIN_MINOR ) {
|        return -1;
|     } else if ( major == MIN_MAJOR && minor == MIN_MINOR && micro < MIN_MICRO ){
|        return -1;
|     }
|
|     return 0;
| }
|
|
configure:9987: result: wrong version
configure:9989: error: Install latest simgear first...


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

Reply via email to