Quoth Steve Baker:

> I'm suprised you needed to do that though - so long as the versions
> of those two files agree with the version of autocong that *I* used
> to build the 'configure' script, it shouldn't matter what versions of
> the auto* tools you have because you don't use them when you just run
> the configure script.
> 
> You can always get the right versions of config.guess and config.sub
> by removing any old versions and running:
> 
>     automake --add-missing
> 
> I do this when building the auto* stuff from scratch (eg after a CVS
> download):
> 
>     rm -f config.*
>     aclocal
>     automake --add-missing
>     autoconf
>     ./configure

Thank you for your quick reply.  I have to admit I am not an autoconf
expert.  I will try out what you suggest.  Below is what I saw, in case
you are interested.  After that is your method (note warnings about
"missing" script).

$ tar xzf plib-1.6.0.tar.gz 
$ cd plib-1.6.0
$ ./configure
creating cache ./config.cache
checking for a BSD compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
includedir changed to ${prefix}/include/plib libdir is ${exec_prefix}/lib
checking for gcc... gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking how to run the C preprocessor... gcc -E -traditional-cpp
checking for c++... c++
checking whether the C++ compiler (c++  ) works... yes
checking whether the C++ compiler (c++  ) is a cross-compiler... no
checking whether we are using GNU C++... yes
checking whether c++ accepts -g... yes
checking how to run the C++ preprocessor... c++ -E
checking for a BSD compatible install... /usr/bin/install -c
checking for ranlib... ranlib
checking host system type... configure: error: can not guess host type; you must 
specify one
$ cp ~/tmp/autoconf-2.57/config/config.guess .
$ ./configure
loading cache ./config.cache
checking for a BSD compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
includedir changed to ${prefix}/include/plib libdir is ${exec_prefix}/lib
checking for gcc... gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking how to run the C preprocessor... gcc -E -traditional-cpp
checking for c++... c++
checking whether the C++ compiler (c++  ) works... yes
checking whether the C++ compiler (c++  ) is a cross-compiler... no
checking whether we are using GNU C++... yes
checking whether c++ accepts -g... yes
checking how to run the C++ preprocessor... c++ -E
checking for a BSD compatible install... /usr/bin/install -c
checking for ranlib... ranlib
checking host system type... Invalid configuration `powerpc-apple-darwin6.2': system 
`darwin6.2' not recognized
checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include
checking for dnet_ntoa in -ldnet... no
checking for dnet_ntoa in -ldnet_stub... no
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking for glNewList in -lGL... yes
checking for gluLookAt in -lGLU... yes
checking for glutGetModifiers in -lfreeglut... no
checking for glutGetModifiers in -lglut... no
configure: error: could not find working GLUT library
$ cp ~/tmp/autoconf-2.57/config/config.sub .
$ ./configure
loading cache ./config.cache
checking for a BSD compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
includedir changed to ${prefix}/include/plib libdir is ${exec_prefix}/lib
checking for gcc... gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking how to run the C preprocessor... gcc -E -traditional-cpp
checking for c++... c++
checking whether the C++ compiler (c++  ) works... yes
checking whether the C++ compiler (c++  ) is a cross-compiler... no
checking whether we are using GNU C++... yes
checking whether c++ accepts -g... yes
checking how to run the C++ preprocessor... c++ -E
checking for a BSD compatible install... /usr/bin/install -c
checking for ranlib... ranlib
checking host system type... powerpc-apple-darwin6.2
checking for ANSI C header files... yes
checking for windows.h... no
checking for OpenGL/gl.h... yes
checking for GLUT/glut.h... yes
checking for socklen_t... int
updating cache ./config.cache
creating ./config.status
creating Makefile
creating src/Makefile
creating src/js/Makefile
creating src/util/Makefile
creating src/pui/Makefile
creating src/sg/Makefile
creating src/sl/Makefile
creating src/ssg/Makefile
creating src/ssgAux/Makefile
creating src/fnt/Makefile
creating src/net/Makefile
PLIB configuration information:

  Building FNT library:     yes
  Building JS library:      yes
  Building NET library:     yes
  Building PUI library:     yes
  Building SG library:      yes
  Building SL library:      yes
  Building SSG library:     yes
  Building ssgAux library:  yes
  Building UTIL library:    yes

  Need GLUT:                yes (found GLUT)

$ rm config.*
$ aclocal
$ automake --add-missing
configure.in:203: installing `./config.guess'
configure.in:203: installing `./config.sub'
src/fnt/Makefile.am: installing `./depcomp'
$ autoconf
$ ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
/Users/david/FlightGear/FlightGear-0.9.0/plib-1.6.0/missing: Unknown `--run' option
Try `/Users/david/FlightGear/FlightGear-0.9.0/plib-1.6.0/missing --help' for more 
information
configure: WARNING: `missing' script is too old or missing
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
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... 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 ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc
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... powerpc-apple-darwin6.2
checking host system type... powerpc-apple-darwin6.2
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking windows.h usability... no
checking windows.h presence... no
checking for windows.h... no
checking OpenGL/gl.h usability... yes
checking OpenGL/gl.h presence... yes
checking for OpenGL/gl.h... yes
checking GLUT/glut.h usability... yes
checking GLUT/glut.h presence... yes
checking for GLUT/glut.h... yes
checking for socklen_t... int
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating src/js/Makefile
config.status: creating src/util/Makefile
config.status: creating src/pui/Makefile
config.status: creating src/sg/Makefile
config.status: creating src/sl/Makefile
config.status: creating src/ssg/Makefile
config.status: creating src/ssgAux/Makefile
config.status: creating src/fnt/Makefile
config.status: creating src/net/Makefile
config.status: executing depfiles commands
PLIB configuration information:

  Building FNT library:     yes
  Building JS library:      yes
  Building NET library:     yes
  Building PUI library:     yes
  Building SG library:      yes
  Building SL library:      yes
  Building SSG library:     yes
  Building ssgAux library:  yes
  Building UTIL library:    yes

  Need GLUT:                yes (found GLUT)

Regards,

David K. Drum
[EMAIL PROTECTED]

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

Reply via email to