<URL: http://bugs.freeciv.org/Ticket/Display.html?id=40672 >

trunk r15434 on OSX 10.3.9 fails with:

"configure: error: Did not find math lib!"

Full output attached as text file.

Daniel

-- 
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
ibg3:~/freeciv daniel$ env CC="gcc -no-cpp-precomp" CFLAGS="-O3 
-I/opt/local/include" LDFLAGS="-L/opt/local/lib" ./autogen.sh        
--enable-nls        --enable-client=gtk        --with-ggzconfig=/usr/bin        
--prefix=/Users/daniel/freeciv-gtk
+ checking for autoconf >= 2.55 ... found 2.57, ok.
+ checking for autoheader >= 2.55 ... found 2.57, ok.
+ checking for automake >= 1.6 ... found 1.6.3, ok.
+ checking for aclocal >= 1.6 ... found 1.6.3, ok.
+ checking for libtoolize >= 1 ... found 2.2.4, ok.
+ checking for xgettext >= 0.10.36 ... found 0.14.5, ok.
+ checking for msgfmt >= 0.10.36 ... found 0.14.5, ok.
+ running aclocal ...
+ running autoheader ... 
+ running autoconf ... 
+ running libtoolize ... 
libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, `bootstrap'.
libtoolize: linking file `bootstrap/ltmain.sh'
libtoolize: putting macros in `m4'.
libtoolize: linking file `m4/libtool.m4'
libtoolize: linking file `m4/ltoptions.m4'
libtoolize: linking file `m4/ltsugar.m4'
libtoolize: linking file `m4/ltversion.m4'
libtoolize: linking file `m4/lt~obsolete.m4'
libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.ac and
libtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree.
+ running automake ... 
configure.ac:10: installing `bootstrap/config.guess'
configure.ac:10: installing `bootstrap/config.sub'
+ removing config.cache ... 
+ running configure ... 

using:  --enable-nls --enable-client=gtk --with-ggzconfig=/usr/bin 
--prefix=/Users/daniel/freeciv-gtk

checking build system type... powerpc-apple-darwin7.9.0
checking host system type... powerpc-apple-darwin7.9.0
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
checking for gcc... gcc -no-cpp-precomp
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 -no-cpp-precomp accepts -g... yes
checking for gcc -no-cpp-precomp option to accept ANSI C... none needed
checking dependency style of gcc -no-cpp-precomp... gcc3
checking how to run the C preprocessor... gcc -no-cpp-precomp -E
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 for gawk... (cached) awk
checking for gcc... (cached) gcc -no-cpp-precomp
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc -no-cpp-precomp accepts -g... (cached) yes
checking for gcc -no-cpp-precomp option to accept ANSI C... (cached) none needed
checking dependency style of gcc -no-cpp-precomp... (cached) gcc3
checking how to run the C preprocessor... gcc -no-cpp-precomp -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 whether ln -s works... yes
checking for a sed that does not truncate output... /usr/bin/sed
checking for ld used by gcc -no-cpp-precomp... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... no
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -p
checking how to recognise dependent libraries... pass_all
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking how to run the C++ preprocessor... g++ -E
checking for g77... no
checking for f77... no
checking for xlf... no
checking for frt... no
checking for pgf77... no
checking for fl32... no
checking for af77... no
checking for fort77... no
checking for f90... no
checking for xlf90... no
checking for pgf90... no
checking for epcf90... no
checking for f95... no
checking for fort... no
checking for xlf95... no
checking for lf95... no
checking for g95... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether  accepts -g... no
checking the maximum length of command line arguments... 65536
checking command to parse /usr/bin/nm -p output from gcc -no-cpp-precomp 
object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc -no-cpp-precomp static flag  works... yes
checking if gcc -no-cpp-precomp supports -fno-rtti -fno-exceptions... no
checking for gcc -no-cpp-precomp option to produce PIC... -fno-common
checking if gcc -no-cpp-precomp PIC flag -fno-common works... yes
checking if gcc -no-cpp-precomp supports -c -o file.o... yes
checking whether the gcc -no-cpp-precomp linker (/usr/bin/ld) supports shared 
libraries... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... no
checking dynamic linker characteristics... darwin7.9.0 dyld
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... no
checking whether to build static libraries... yes
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... no
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fno-common
checking if g++ PIC flag -fno-common works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... no
checking dynamic linker characteristics... darwin7.9.0 dyld
appending configuration tag "F77" to libtool
checking for ar... (cached) ar
checking for uname... uname
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... no
checking for shared library run path origin... done
checking for iconv... yes
checking for working iconv... yes
checking how to link with libiconv... -liconv
checking for iconv declaration... 
         extern size_t iconv (iconv_t cd, const char * *inbuf, size_t 
*inbytesleft, char * *outbuf, size_t *outbytesleft);
checking for libcharset... yes
checking for nl_langinfo and CODESET... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking for LC_MESSAGES... yes
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking for ngettext in libc... no
checking for bindtextdomain in -lintl... yes
checking for ngettext in -lintl... yes
checking for dgettext in -lintl... yes
checking for bind_textdomain_codeset... yes
checking for msgfmt... /opt/local/bin//msgfmt
checking for dcgettext... yes
checking if msgfmt accepts -c... yes
checking for gmsgfmt... /opt/local/bin//msgfmt
checking for xgettext... /opt/local/bin//xgettext
checking for catalogs to be installed...  ar cs ca da de el en_GB eo es et fa 
fi fr he hu it ja ko lt nl nb no pl pt pt_BR ro ru sv tr uk zh_CN
checking for ngettext in -lc... no
checking for ngettext in -lintl... (cached) yes
checking whether libintl's ngettext works at runtime... yes
checking for GNU xgettext version >= 0.10.36... yes
checking for GNU msgfmt version >= 0.10.35... yes
checking for C99 variadic macros... yes
checking for C99 variable arrays... yes
checking for C99 initializers... yes
checking for stdint.h... (cached) yes
checking for C99 stdint.h... yes
checking for gzgets in -lz... yes
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking for gzip... /usr/bin/gzip
checking for BZ2_bzReadOpen in -lbz2... yes
checking bzlib.h usability... yes
checking bzlib.h presence... yes
checking for bzlib.h... yes
checking for pkg-config... /opt/local/bin//pkg-config
checking for GTK+ - version >= 2.4.0... yes (version 2.6.8)
checking for X... libraries /usr/X11R6/lib, headers 
checking whether Xfuncproto was supplied... no
checking for compilable FUNCPROTO definition... yes, determined: 15
checking for workable NARROWPROTO definition... no, cannot determine
checking whether Xfuncproto was determined... yes:  FUNCPROTO=15
checking for sdl-config... /usr/local/bin//sdl-config
checking for SDL - version >= 1.0.0... no
*** Could not run SDL test program, checking why...
*** The test program failed to compile or link. See the file config.log for the
*** exact error that occured. This usually means SDL was incorrectly installed
*** or that you have moved SDL since it was installed. In the latter case, you
*** may want to edit the sdl-config script: /usr/local/bin//sdl-config
checking for GGZ library: libggz... yes (libraries /usr/local/lib, headers 
/usr/local/include)
checking for GGZ library version: 0.0.14... yes
checking for GGZ library: ggzmod... yes (libraries /usr/local/lib, headers 
/usr/local/include)
checking for GGZ configuration tool: ggz-config... /usr/local/bin/ggz-config
checking for GGZ library: ggz-gtk... yes (libraries /usr/local/lib, headers 
/usr/local/include)
checking for GGZ library: libggz... (cached) yes (libraries /usr/local/lib, 
headers /usr/local/include)
checking for GGZ library version: 0.99.4... no
checking for gethostbyaddr in -lbind... no
checking readline/readline.h usability... yes
checking readline/readline.h presence... yes
checking for readline/readline.h... yes
checking for completion_matches in -lreadline... no
checking for rl_completion_matches in -lreadline... no
checking for tgetent in -ltinfo... no
checking for tgetent in -lncurses... no
checking for tgetent in -lcurses... no
checking for tgetent in -ltermcap... no
checking for tgetent in -ltermlib... no
configure: WARNING: Test to link against readline library failed.
Configuring server without readline support.
checking for pow... no
checking for pow in -lm... no
configure: error: Did not find math lib!
_______________________________________________
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev

Reply via email to