Re: [Quickfix-developers] Cannot build quickfix 1.0.4 on Solaris 8
Brought to you by:
orenmnero
From: <OM...@th...> - 2002-06-09 16:16:16
|
looks like you don't have libtool installed. You can get it here: http://www.sunfreeware.com/programlistsparc8.html#libtool libtool is what we use to abstract building libraries on multiple platforms, you can learn more about it here: http://www.gnu.org/software/libtool/manual.html It seems many solaris installations come with an older version or not at all, which is a shame. In any case installing it should get rid of this error. Let us know if this is the case. --oren |---------+-----------------------------------------------> | | "Dwight J. Browne" | | | <ra...@pa...> | | | Sent by: | | | qui...@li...ur| | | ceforge.net | | | | | | | | | 06/09/2002 09:05 AM | | | | |---------+-----------------------------------------------> >----------------------------------------------------------------------------------------------| | | | To: qui...@li... | | cc: | | Subject: [Quickfix-developers] Cannot build quickfix 1.0.4 on Solaris 8 | >----------------------------------------------------------------------------------------------| $ gmake cd . && aclocal aclocal: configure.in: 25: macro `AM_PROG_LIBTOOL' not found in library gmake: *** [aclocal.m4] Error 1 $ make cd . && aclocal aclocal: configure.in: 25: macro `AM_PROG_LIBTOOL' not found in library *** Error code 1 make: Fatal error: Command failed for target `aclocal.m4' uname -a SunOS growstrong 5.8 Generic_108528-12 sun4u sparc SUNW,Ultra-2 gcc -v Reading specs from /opt/sfw/lib/gcc-lib/sparc-sun-solaris2.8/2.95.2/specs gcc version 2.95.2 19991024 (release) Any suggestions? creating cache ./config.cache checking for a BSD compatible install... /opt/sfw/bin/ginstall -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 checking for c++... c++ checking whether the C++ compiler (c++ -Wall -fexceptions -D_XOPEN_SOURCE=500 ) works... yes checking whether the C++ compiler (c++ -Wall -fexceptions -D_XOPEN_SOURCE=500 ) is a cross-compiler... no checking whether we are using GNU C++... yes checking whether c++ accepts -g... yes checking for gcc... gcc checking whether the C compiler (gcc -D_XOPEN_SOURCE=500 ) works... yes checking whether the C compiler (gcc -D_XOPEN_SOURCE=500 ) is a cross-compiler... no checking whether we are using GNU C... yes checking whether gcc accepts -g... yes checking host system type... sparc-sun-solaris2.8 checking build system type... sparc-sun-solaris2.8 checking for ranlib... ranlib checking for ld used by GCC... /usr/ccs/bin/ld checking if the linker (/usr/ccs/bin/ld) is GNU ld... no checking for BSD-compatible nm... /usr/local/bin/nm -B checking whether ln -s works... yes updating cache ./config.cache checking for object suffix... o checking for executable suffix... no checking for gcc option to produce PIC... -fPIC checking if gcc PIC flag -fPIC works... yes checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.lo... yes checking if gcc supports -fno-rtti -fno-exceptions ... yes checking if gcc static flag -static works... -static checking if the linker (/usr/ccs/bin/ld) is GNU ld... no checking whether the linker (/usr/ccs/bin/ld) supports shared libraries... yes checking command to parse /usr/local/bin/nm -B output... ok checking how to hardcode library paths into programs... immediate checking for /usr/ccs/bin/ld option to reload object files... -r checking dynamic linker characteristics... solaris2.8 ld.so checking if libtool supports shared libraries... yes checking whether to build shared libraries... no checking whether to build static libraries... yes checking for objdir... .libs creating libtool loading cache ./config.cache checking how to run the C preprocessor... gcc -E checking for flex... flex checking for flex... (cached) flex checking for yywrap in -lfl... yes checking lex output file root... lex.yy checking whether yytext is a pointer... yes checking for shutdown in -lc... no checking for shutdown in -lsocket... yes checking for inet_addr in -lc... no checking for inet_addr in -lnsl... yes checking for stdio.h... yes checking for STREAMS ioctl... yes checking for recursive mutexes... yes checking for typeinfo in the global namespace... no checking for typeinfo in the std namespace... yes checking for cplus_demangle in -liberty... yes checking if select modifies timeval parameter... no updating cache ./config.cache creating ./config.status creating Makefile creating src/Makefile creating src/C++/Makefile creating src/C++/test/Makefile creating src/java/Makefile creating src/java/cfg/Makefile creating src/java/test/Makefile creating src/java/src/Makefile creating src/java/src/org/Makefile creating src/java/src/org/quickfix/Makefile creating src/java/src/org/quickfix/field/Makefile creating src/java/src/org/quickfix/fix40/Makefile creating src/java/src/org/quickfix/fix41/Makefile creating src/java/src/org/quickfix/fix42/Makefile creating cfg/Makefile creating bin/Makefile creating bin/cfg/Makefile creating spec/Makefile creating test/Makefile creating test/atrun/Makefile creating test/cfg/Makefile creating test/definitions/Makefile creating test/definitions/server/Makefile creating test/definitions/server/future/Makefile creating doc/Makefile creating doc/html/Makefile creating examples/Makefile creating examples/ordermatch/Makefile creating examples/ordermatch/test/Makefile creating examples/tradeclient/Makefile creating examples/tradeclientgui/Makefile creating examples/tradeclientgui/banzai/Makefile creating examples/tradeclientgui/banzai/cfg/Makefile creating examples/tradeclientgui/banzai/test/Makefile creating examples/tradeclientgui/banzai/src/Makefile creating examples/tradeclientgui/banzai/src/org/Makefile creating examples/tradeclientgui/banzai/src/org/quickfix/Makefile creating examples/tradeclientgui/banzai/src/org/quickfix/banzai/Makefile creating examples/tradeclientgui/banzai/src/org/quickfix/banzai/ui/Makefile creating templates/Makefile creating CPPTest/Makefile creating config.h gmake cd . && aclocal aclocal: configure.in: 25: macro `AM_PROG_LIBTOOL' not found in library gmake: *** [aclocal.m4] Error 1 Config.log This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. configure:566: checking for a BSD compatible install configure:619: checking whether build environment is sane configure:676: checking whether make sets ${MAKE} configure:722: checking for working aclocal configure:735: checking for working autoconf configure:748: checking for working automake configure:761: checking for working autoheader configure:774: checking for working makeinfo configure:809: checking for c++ configure:841: checking whether the C++ compiler (c++ -Wall -fexceptions -D_XOPEN_SOURCE=500 ) works configure:857: c++ -o conftest -Wall -fexceptions -D_XOPEN_SOURCE=500 conftest.C 1>&5 configure:883: checking whether the C++ compiler (c++ -Wall -fexceptions -D_XOPEN_SOURCE=500 ) is a cross-compiler configure:888: checking whether we are using GNU C++ configure:897: c++ -E conftest.C configure:916: checking whether c++ accepts -g configure:950: checking for gcc configure:1063: checking whether the C compiler (gcc -D_XOPEN_SOURCE=500 ) works configure:1079: gcc -o conftest -D_XOPEN_SOURCE=500 conftest.c 1>&5 configure:1105: checking whether the C compiler (gcc -D_XOPEN_SOURCE=500 ) is a cross-compiler configure:1110: checking whether we are using GNU C configure:1119: gcc -E conftest.c configure:1138: checking whether gcc accepts -g configure:1247: checking host system type configure:1268: checking build system type configure:1288: checking for ranlib configure:1327: checking for ld used by GCC configure:1389: checking if the linker (/usr/ccs/bin/ld) is GNU ld configure:1405: checking for BSD-compatible nm configure:1441: checking whether ln -s works ltconfig:603: checking for object suffix ltconfig:604: gcc -c -D_XOPEN_SOURCE=500 conftest.c 1>&5 ltconfig:629: checking for executable suffix ltconfig:630: gcc -o conftest -D_XOPEN_SOURCE=500 conftest.c 1>&5 ltconfig:776: checking if gcc PIC flag -fPIC works ltconfig:777: gcc -c -D_XOPEN_SOURCE=500 -fPIC -DPIC conftest.c 1>&5 ltconfig:829: checking if gcc supports -c -o file.o ltconfig:830: gcc -c -D_XOPEN_SOURCE=500 -o out/conftest2.o conftest.c 1> &5 ltconfig:862: checking if gcc supports -c -o file.lo ltconfig:863: gcc -c -D_XOPEN_SOURCE=500 -c -o conftest.lo conftest.c 1>&5 ltconfig:914: checking if gcc supports -fno-rtti -fno-exceptions ltconfig:915: gcc -c -D_XOPEN_SOURCE=500 -fno-rtti -fno-exceptions -c conftest.c conftest.c 1>&5 ltconfig:958: checking if gcc static flag -static works ltconfig:959: gcc -o conftest -D_XOPEN_SOURCE=500 -static conftest.c 1> &5 ltconfig:1653: checking if global_symbol_pipe works ltconfig:1654: gcc -c -D_XOPEN_SOURCE=500 conftest.c 1>&5 ltconfig:1657: eval "/usr/local/bin/nm -B conftest.o | sed -n -e 's/^.*[ ]\([ABCDGISTW]\)[ ][ ]*\(\)\([_A-Za-z] [_A-Za-z0-9]*\)$/\1 \2\3 \3/p' > conftest.nm" ltconfig:1709: gcc -o conftest -D_XOPEN_SOURCE=500 -fno-builtin -fno-rtti -fno-exceptions conftest.c conftstm.o 1>&5 configure:1840: checking how to run the C preprocessor configure:1861: gcc -E conftest.c >/dev/null 2>conftest.out configure:1925: checking for flex configure:1958: checking for flex configure:1992: checking for yywrap in -lfl configure:2011: gcc -o conftest -D_XOPEN_SOURCE=500 conftest.c -lfl 1> &5 configure:2034: checking lex output file root configure:2055: checking whether yytext is a pointer configure:2074: gcc -o conftest -D_XOPEN_SOURCE=500 conftest.c -lfl 1>&5 configure:2098: checking for shutdown in -lc configure:2117: gcc -o conftest -D_XOPEN_SOURCE=500 conftest.c -lc 1>&5 Undefined first referenced symbol in file shutdown /var/tmp/ccQCxuaR.o ld: fatal: Symbol referencing errors. No output written to conftest collect2: ld returned 1 exit status configure: failed program was: #line 2106 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char shutdown(); int main() { shutdown() ; return 0; } configure:2136: checking for shutdown in -lsocket configure:2155: gcc -o conftest -D_XOPEN_SOURCE=500 conftest.c -lsocket 1>&5 configure:2185: checking for inet_addr in -lc configure:2204: gcc -o conftest -D_XOPEN_SOURCE=500 conftest.c -lc -lsocket 1>&5 Undefined first referenced symbol in file inet_addr /var/tmp/ccyhwbKv.o (symbol belongs to implicit dependency /usr/lib/libnsl.so.1) ld: fatal: Symbol referencing errors. No output written to conftest collect2: ld returned 1 exit status configure: failed program was: #line 2193 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char inet_addr(); int main() { inet_addr() ; return 0; } configure:2223: checking for inet_addr in -lnsl configure:2242: gcc -o conftest -D_XOPEN_SOURCE=500 conftest.c -lnsl -lsocket 1>&5 configure:2276: checking for stdio.h configure:2286: gcc -E conftest.c >/dev/null 2>conftest.out configure:2326: checking for STREAMS ioctl configure:2337: c++ -c -Wall -fexceptions -D_XOPEN_SOURCE=500 conftest.C 1>&5 configure:2351: checking for recursive mutexes configure:2360: c++ -c -Wall -fexceptions -D_XOPEN_SOURCE=500 conftest.C 1>&5 configure: In function `int main()': configure:2356: warning: statement with no effect configure:2373: checking for typeinfo in the global namespace configure:2382: c++ -c -Wall -fexceptions -D_XOPEN_SOURCE=500 conftest.C 1>&5 configure: In function `int main()': configure:2378: ANSI C++ forbids declaration `typeinfo' with no type configure:2378: uninitialized const `typeinfo' configure:2378: parse error before `&' configure:2378: warning: unused variable `const int typeinfo' configure: failed program was: #line 2375 "configure" #include "confdefs.h" #include <typeinfo> int main() { const typeinfo& ty = typeid(typeinfo); ; return 0; } configure:2397: checking for typeinfo in the std namespace configure:2406: c++ -c -Wall -fexceptions -D_XOPEN_SOURCE=500 conftest.C 1>&5 configure: In function `int main()': configure:2402: warning: unused variable `const class type_info & ty' configure:2432: checking for cplus_demangle in -liberty configure:2451: gcc -o conftest -D_XOPEN_SOURCE=500 conftest.c -liberty -lnsl -lsocket 1>&5 configure:2478: checking if select modifies timeval parameter configure:2499: gcc -o conftest -D_XOPEN_SOURCE=500 conftest.c -lnsl -lsocket -liberty 1>&5 configure: failed program was: #line 2483 "configure" #include "confdefs.h" #include <unistd.h> #include <sys/types.h> #include <sys/time.h> int main(int argc, char** argv) { struct timeval tv; tv.tv_sec = 0; tv.tv_usec = 1; select(0,0,0,0,&tv); return tv.tv_usec != 1 ? 0 : 1; } |