Thread: [Quickfix-developers] linux compilation
Brought to you by:
orenmnero
|
From: Alexey Z. <ale...@gm...> - 2006-05-24 15:34:53
|
Hello guys, I want to compile quickfix in Linux, but unfortunately don't have such experience now. I know I need to learn a lot, but as a start could anyone help me, please? Does anyone use Eclipse CDT? Thank you in advance. So, I have Gentoo Linux with gcc 4.1.0 and quickfix 1.11.1 # ./bootstrap aclocal... autoheader... Can't locate object method "path" via package "Request" at /usr/share/autoconf/Autom4te/C4che.pm line 69, <GEN1> line 111. autoheader-2.59: /usr/bin/autom4te-2.59 failed with exit status: 1 libtoolize... automake... Can't locate object method "path" via package "Request" at /usr/share/autoconf/Autom4te/C4che.pm line 69, <GEN1> line 111. configure.in: no proper invocation of AM_INIT_AUTOMAKE was found. configure.in: You should verify that configure.in invokes AM_INIT_AUTOMAKE, configure.in: that aclocal.m4 is present in the top-level directory, configure.in: and that aclocal.m4 was recently regenerated (using aclocal). automake-1.7: no `Makefile.am' found or specified autoconf... Can't locate object method "path" via package "Request" at /usr/share/autoconf/Autom4te/C4che.pm line 69, <GEN1> line 111. Now run configure with any arguments necessary After that: # ./configure checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes /home/alexey/workspace/quickfix/missing: Unknown `--run' option Try `/home/alexey/workspace/quickfix/missing --help' for more information configure: WARNING: `missing' script is too old or missing checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for g++... g++ 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 g++ accepts -g... yes checking for style of include used by make... GNU checking dependency style of g++... gcc3 checking for gcc... gcc 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 dependency style of gcc... gcc3 checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking for a sed that does not truncate output... /usr/bin/sed checking for egrep... grep -E checking for ld used by gcc... /usr/i686-pc-linux-gnu/bin/ld checking if the linker (/usr/i686-pc-linux-gnu/bin/ld) is GNU ld... yes checking for /usr/i686-pc-linux-gnu/bin/ld option to reload object files... -r checking for BSD-compatible nm... /usr/bin/nm -B checking whether ln -s works... yes checking how to recognise dependent libraries... pass_all checking how to run the C preprocessor... gcc -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 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... 32768 checking command to parse /usr/bin/nm -B output from gcc object... ok checking for objdir... .libs checking for ar... ar checking for ranlib... ranlib checking for strip... strip checking if gcc static flag works... yes checking if gcc supports -fno-rtti -fno-exceptions... 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 whether the gcc linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no configure: creating libtool appending configuration tag "CXX" to libtool checking for ld used by g++... /usr/i686-pc-linux-gnu/bin/ld checking if the linker (/usr/i686-pc-linux-gnu/bin/ld) is GNU ld... yes checking whether the g++ linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC checking if g++ PIC flag -fPIC works... yes checking if g++ supports -c -o file.o... yes checking whether the g++ linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes appending configuration tag "F77" to libtool checking for flex... flex checking for yywrap in -lfl... yes checking lex output file root... lex.yy checking whether yytext is a pointer... yes ./configure: line 19059: ruby: command not found checking for xml2-config... /usr/bin/xml2-config checking for libxml - version >= 2.0.0... yes (version 2.6.23) checking for shutdown in -lc... yes checking for inet_addr in -lc... yes checking for nanosleep in -lc... yes checking for ftime in -lcompat... no checking which threading environment to use... -lpthread checking for pthread_create in -lpthread... yes checking stdio.h usability... yes checking stdio.h presence... yes checking for stdio.h... yes checking for STREAMS ioctl... no checking for socklen_t... yes checking for ftime... yes checking for set_terminate in the global namespace... no checking for set_terminate in the std namespace... yes checking for typeinfo in the global namespace... no checking for typeinfo in the std namespace... yes checking for gethostbyname_r with input result... yes checking for gethostbyname_r with return result... no checking for cplus_demangle in -liberty... yes checking if select modifies timeval parameter... yes configure: creating ./config.status config.status: creating quickfix.pc config.status: creating Makefile config.status: creating src/Makefile config.status: creating src/C++/Makefile config.status: creating src/C++/test/Makefile config.status: creating src/java/Makefile config.status: creating src/java/cfg/Makefile config.status: creating src/java/src/Makefile config.status: creating src/java/src/quickfix/Makefile config.status: creating src/java/src/quickfix/field/Makefile config.status: creating src/java/src/quickfix/fix40/Makefile config.status: creating src/java/src/quickfix/fix41/Makefile config.status: creating src/java/src/quickfix/fix42/Makefile config.status: creating src/java/src/quickfix/fix43/Makefile config.status: creating src/java/src/quickfix/fix44/Makefile config.status: creating src/python/Makefile config.status: creating bin/Makefile config.status: creating bin/cfg/Makefile config.status: creating spec/Makefile config.status: creating test/Makefile config.status: creating test/atrun/Makefile config.status: creating test/cfg/Makefile config.status: creating test/definitions/Makefile config.status: creating test/definitions/server/Makefile config.status: creating test/definitions/server/future/Makefile config.status: creating examples/Makefile config.status: creating examples/executor/Makefile config.status: creating examples/executor/C++/Makefile config.status: creating examples/executor/java/Makefile config.status: creating examples/executor/java/src/Makefile config.status: creating examples/ordermatch/Makefile config.status: creating examples/ordermatch/test/Makefile config.status: creating examples/tradeclient/Makefile config.status: creating examples/tradeclientgui/Makefile config.status: creating examples/tradeclientgui/banzai/Makefile config.status: creating examples/tradeclientgui/banzai/test/Makefile config.status: creating examples/tradeclientgui/banzai/src/Makefile config.status: creating examples/tradeclientgui/banzai/src/quickfix/Makefile config.status: creating examples/tradeclientgui/banzai/src/quickfix/banzai/Makefile config.status: creating examples/tradeclientgui/banzai/src/quickfix/banzai/ui/Makefile config.status: creating doc/Makefile config.status: creating doc/html/Makefile config.status: creating CPPTest/Makefile config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands # make cd . && \ --foreign Makefile /bin/sh: --foreign: command not found make: *** [Makefile.in] Error 127 -- Regards, Alexey Zubko |
|
From: Igor S. <se...@ma...> - 2006-05-24 16:03:02
|
Hi, I have experienced some of your problems too. To fix the first one with 'bootstrap', please delete "quickfix/autom4te.cache". I noticed that one of quickfix tarballs contains it. I will file a bug about this issue. As for second one with 'missing' script, you can ignore it. Moreover, there was a case about it and it claimed to be fixed in HEAD. See: http://www.quickfixengine.org/bugtracker/bug.php?op=show&bugid=183&pos=0 Most likely the last problem will be fixed when you fix the first two. From your logs it looks like that 'automake' cached into wrong location. If it doesn't help, perhaps it makes sense to run configure in debug mode (sh -x ./configure) and see what's wrong. Kind regards, Igor ----- Original Message ----- From: "Alexey Zubko" <ale...@gm...> To: <qui...@li...> Sent: Wednesday, May 24, 2006 7:34 PM Subject: [Quickfix-developers] linux compilation > QuickFIX Documentation: > http://www.quickfixengine.org/quickfix/doc/html/index.html > QuickFIX Support: http://www.quickfixengine.org/services.html > > Hello guys, > > I want to compile quickfix in Linux, but unfortunately don't have such > experience now. > I know I need to learn a lot, but as a start could anyone help me, please? > Does anyone use Eclipse CDT? > Thank you in advance. > > So, I have Gentoo Linux with gcc 4.1.0 and quickfix 1.11.1 > > # ./bootstrap > aclocal... > autoheader... > Can't locate object method "path" via package "Request" at > /usr/share/autoconf/Autom4te/C4che.pm line 69, <GEN1> line 111. > autoheader-2.59: /usr/bin/autom4te-2.59 failed with exit status: 1 > libtoolize... > automake... > Can't locate object method "path" via package "Request" at > /usr/share/autoconf/Autom4te/C4che.pm line 69, <GEN1> line 111. > configure.in: no proper invocation of AM_INIT_AUTOMAKE was found. > configure.in: You should verify that configure.in invokes > AM_INIT_AUTOMAKE, > configure.in: that aclocal.m4 is present in the top-level directory, > configure.in: and that aclocal.m4 was recently regenerated (using > aclocal). > automake-1.7: no `Makefile.am' found or specified > autoconf... > Can't locate object method "path" via package "Request" at > /usr/share/autoconf/Autom4te/C4che.pm line 69, <GEN1> line 111. > Now run configure with any arguments necessary > > After that: > # ./configure > checking for a BSD-compatible install... /usr/bin/install -c > checking whether build environment is sane... yes > /home/alexey/workspace/quickfix/missing: Unknown `--run' option > Try `/home/alexey/workspace/quickfix/missing --help' for more information > configure: WARNING: `missing' script is too old or missing > checking for gawk... gawk > checking whether make sets $(MAKE)... yes > checking for g++... g++ > 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 g++ accepts -g... yes > checking for style of include used by make... GNU > checking dependency style of g++... gcc3 > checking for gcc... gcc > 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 dependency style of gcc... gcc3 > checking build system type... i686-pc-linux-gnu > checking host system type... i686-pc-linux-gnu > checking for a sed that does not truncate output... /usr/bin/sed > checking for egrep... grep -E > checking for ld used by gcc... /usr/i686-pc-linux-gnu/bin/ld > checking if the linker (/usr/i686-pc-linux-gnu/bin/ld) is GNU ld... yes > checking for /usr/i686-pc-linux-gnu/bin/ld option to reload object > files... -r > checking for BSD-compatible nm... /usr/bin/nm -B > checking whether ln -s works... yes > checking how to recognise dependent libraries... pass_all > checking how to run the C preprocessor... gcc -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 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... 32768 > checking command to parse /usr/bin/nm -B output from gcc object... ok > checking for objdir... .libs > checking for ar... ar > checking for ranlib... ranlib > checking for strip... strip > checking if gcc static flag works... yes > checking if gcc supports -fno-rtti -fno-exceptions... 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 whether the gcc linker (/usr/i686-pc-linux-gnu/bin/ld) supports > shared libraries... yes > checking whether -lc should be explicitly linked in... no > checking dynamic linker characteristics... GNU/Linux ld.so > checking how to hardcode library paths into programs... immediate > checking whether stripping libraries is possible... yes > checking if libtool supports shared libraries... yes > checking whether to build shared libraries... yes > checking whether to build static libraries... no > configure: creating libtool > appending configuration tag "CXX" to libtool > checking for ld used by g++... /usr/i686-pc-linux-gnu/bin/ld > checking if the linker (/usr/i686-pc-linux-gnu/bin/ld) is GNU ld... yes > checking whether the g++ linker (/usr/i686-pc-linux-gnu/bin/ld) supports > shared libraries... yes > checking for g++ option to produce PIC... -fPIC > checking if g++ PIC flag -fPIC works... yes > checking if g++ supports -c -o file.o... yes > checking whether the g++ linker (/usr/i686-pc-linux-gnu/bin/ld) supports > shared libraries... yes > checking dynamic linker characteristics... GNU/Linux ld.so > checking how to hardcode library paths into programs... immediate > checking whether stripping libraries is possible... yes > appending configuration tag "F77" to libtool > checking for flex... flex > checking for yywrap in -lfl... yes > checking lex output file root... lex.yy > checking whether yytext is a pointer... yes > ../configure: line 19059: ruby: command not found > checking for xml2-config... /usr/bin/xml2-config > checking for libxml - version >= 2.0.0... yes (version 2.6.23) > checking for shutdown in -lc... yes > checking for inet_addr in -lc... yes > checking for nanosleep in -lc... yes > checking for ftime in -lcompat... no > checking which threading environment to use... -lpthread > checking for pthread_create in -lpthread... yes > checking stdio.h usability... yes > checking stdio.h presence... yes > checking for stdio.h... yes > checking for STREAMS ioctl... no > checking for socklen_t... yes > checking for ftime... yes > checking for set_terminate in the global namespace... no > checking for set_terminate in the std namespace... yes > checking for typeinfo in the global namespace... no > checking for typeinfo in the std namespace... yes > checking for gethostbyname_r with input result... yes > checking for gethostbyname_r with return result... no > checking for cplus_demangle in -liberty... yes > checking if select modifies timeval parameter... yes > configure: creating ./config.status > config.status: creating quickfix.pc > config.status: creating Makefile > config.status: creating src/Makefile > config.status: creating src/C++/Makefile > config.status: creating src/C++/test/Makefile > config.status: creating src/java/Makefile > config.status: creating src/java/cfg/Makefile > config.status: creating src/java/src/Makefile > config.status: creating src/java/src/quickfix/Makefile > config.status: creating src/java/src/quickfix/field/Makefile > config.status: creating src/java/src/quickfix/fix40/Makefile > config.status: creating src/java/src/quickfix/fix41/Makefile > config.status: creating src/java/src/quickfix/fix42/Makefile > config.status: creating src/java/src/quickfix/fix43/Makefile > config.status: creating src/java/src/quickfix/fix44/Makefile > config.status: creating src/python/Makefile > config.status: creating bin/Makefile > config.status: creating bin/cfg/Makefile > config.status: creating spec/Makefile > config.status: creating test/Makefile > config.status: creating test/atrun/Makefile > config.status: creating test/cfg/Makefile > config.status: creating test/definitions/Makefile > config.status: creating test/definitions/server/Makefile > config.status: creating test/definitions/server/future/Makefile > config.status: creating examples/Makefile > config.status: creating examples/executor/Makefile > config.status: creating examples/executor/C++/Makefile > config.status: creating examples/executor/java/Makefile > config.status: creating examples/executor/java/src/Makefile > config.status: creating examples/ordermatch/Makefile > config.status: creating examples/ordermatch/test/Makefile > config.status: creating examples/tradeclient/Makefile > config.status: creating examples/tradeclientgui/Makefile > config.status: creating examples/tradeclientgui/banzai/Makefile > config.status: creating examples/tradeclientgui/banzai/test/Makefile > config.status: creating examples/tradeclientgui/banzai/src/Makefile > config.status: creating > examples/tradeclientgui/banzai/src/quickfix/Makefile > config.status: creating > examples/tradeclientgui/banzai/src/quickfix/banzai/Makefile > config.status: creating > examples/tradeclientgui/banzai/src/quickfix/banzai/ui/Makefile > config.status: creating doc/Makefile > config.status: creating doc/html/Makefile > config.status: creating CPPTest/Makefile > config.status: creating config.h > config.status: config.h is unchanged > config.status: executing depfiles commands > > # make > cd . && \ > --foreign Makefile > /bin/sh: --foreign: command not found > make: *** [Makefile.in] Error 127 > > > > -- > Regards, > Alexey Zubko > > > > ------------------------------------------------------- > All the advantages of Linux Managed Hosting--Without the Cost and Risk! > Fully trained technicians. The highest number of Red Hat certifications in > the hosting industry. Fanatical Support. Click to learn more > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642 > _______________________________________________ > Quickfix-developers mailing list > Qui...@li... > https://lists.sourceforge.net/lists/listinfo/quickfix-developers > |
|
From: Alexey Z. <ale...@gm...> - 2006-05-24 16:24:53
|
Hi Igor, Thanks a lot. I deleted that directory and bootstrap and configure passed Ok. Now I crash during the compilation: g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I. -I.. -I../.. -g -O2 -I/usr/include/libxml2 -MT DataDictionary.lo -MD -MP -MF .deps/D ataDictionary.Tpo -c DataDictionary.cpp -fPIC -DPIC -o .libs/DataDictionary.o LIBXML_DOMDocument.h:45: error: extra qualification 'FIX::LIBXML_DOMAttributes::' on member 'toMap' make[4]: *** [DataDictionary.lo] Error 1 make[4]: Leaving directory `/home/alexey/workspace/quickfix/src/C++' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/home/alexey/workspace/quickfix/src/C++' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/alexey/workspace/quickfix/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/alexey/workspace/quickfix' make: *** [all] Error 2 Does it mean I need to use another gcc version? BTW, what environment do you use for your projects? Thank you. Regards, Alexey Zubko Igor Seleznev wrote: > Hi, > > I have experienced some of your problems too. > > To fix the first one with 'bootstrap', please delete > "quickfix/autom4te.cache". I noticed that one of quickfix tarballs > contains it. I will file a bug about this issue. > > As for second one with 'missing' script, you can ignore it. Moreover, > there was a case about it and it claimed to be fixed in HEAD. > See: > http://www.quickfixengine.org/bugtracker/bug.php?op=show&bugid=183&pos=0 > > Most likely the last problem will be fixed when you fix the first two. > From your logs it looks like that 'automake' cached into wrong location. > If it doesn't help, perhaps it makes sense to run configure in debug > mode (sh -x ./configure) and see what's wrong. > > Kind regards, > Igor > > ----- Original Message ----- From: "Alexey Zubko" > <ale...@gm...> > To: <qui...@li...> > Sent: Wednesday, May 24, 2006 7:34 PM > Subject: [Quickfix-developers] linux compilation > > >> QuickFIX Documentation: >> http://www.quickfixengine.org/quickfix/doc/html/index.html >> QuickFIX Support: http://www.quickfixengine.org/services.html >> >> Hello guys, >> >> I want to compile quickfix in Linux, but unfortunately don't have >> such experience now. >> I know I need to learn a lot, but as a start could anyone help me, >> please? >> Does anyone use Eclipse CDT? >> Thank you in advance. >> >> So, I have Gentoo Linux with gcc 4.1.0 and quickfix 1.11.1 >> >> # ./bootstrap >> aclocal... >> autoheader... >> Can't locate object method "path" via package "Request" at >> /usr/share/autoconf/Autom4te/C4che.pm line 69, <GEN1> line 111. >> autoheader-2.59: /usr/bin/autom4te-2.59 failed with exit status: 1 >> libtoolize... >> automake... >> Can't locate object method "path" via package "Request" at >> /usr/share/autoconf/Autom4te/C4che.pm line 69, <GEN1> line 111. >> configure.in: no proper invocation of AM_INIT_AUTOMAKE was found. >> configure.in: You should verify that configure.in invokes >> AM_INIT_AUTOMAKE, >> configure.in: that aclocal.m4 is present in the top-level directory, >> configure.in: and that aclocal.m4 was recently regenerated (using >> aclocal). >> automake-1.7: no `Makefile.am' found or specified >> autoconf... >> Can't locate object method "path" via package "Request" at >> /usr/share/autoconf/Autom4te/C4che.pm line 69, <GEN1> line 111. >> Now run configure with any arguments necessary >> >> After that: >> # ./configure >> checking for a BSD-compatible install... /usr/bin/install -c >> checking whether build environment is sane... yes >> /home/alexey/workspace/quickfix/missing: Unknown `--run' option >> Try `/home/alexey/workspace/quickfix/missing --help' for more >> information >> configure: WARNING: `missing' script is too old or missing >> checking for gawk... gawk >> checking whether make sets $(MAKE)... yes >> checking for g++... g++ >> 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 g++ accepts -g... yes >> checking for style of include used by make... GNU >> checking dependency style of g++... gcc3 >> checking for gcc... gcc >> 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 dependency style of gcc... gcc3 >> checking build system type... i686-pc-linux-gnu >> checking host system type... i686-pc-linux-gnu >> checking for a sed that does not truncate output... /usr/bin/sed >> checking for egrep... grep -E >> checking for ld used by gcc... /usr/i686-pc-linux-gnu/bin/ld >> checking if the linker (/usr/i686-pc-linux-gnu/bin/ld) is GNU ld... yes >> checking for /usr/i686-pc-linux-gnu/bin/ld option to reload object >> files... -r >> checking for BSD-compatible nm... /usr/bin/nm -B >> checking whether ln -s works... yes >> checking how to recognise dependent libraries... pass_all >> checking how to run the C preprocessor... gcc -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 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... 32768 >> checking command to parse /usr/bin/nm -B output from gcc object... ok >> checking for objdir... .libs >> checking for ar... ar >> checking for ranlib... ranlib >> checking for strip... strip >> checking if gcc static flag works... yes >> checking if gcc supports -fno-rtti -fno-exceptions... 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 whether the gcc linker (/usr/i686-pc-linux-gnu/bin/ld) >> supports shared libraries... yes >> checking whether -lc should be explicitly linked in... no >> checking dynamic linker characteristics... GNU/Linux ld.so >> checking how to hardcode library paths into programs... immediate >> checking whether stripping libraries is possible... yes >> checking if libtool supports shared libraries... yes >> checking whether to build shared libraries... yes >> checking whether to build static libraries... no >> configure: creating libtool >> appending configuration tag "CXX" to libtool >> checking for ld used by g++... /usr/i686-pc-linux-gnu/bin/ld >> checking if the linker (/usr/i686-pc-linux-gnu/bin/ld) is GNU ld... yes >> checking whether the g++ linker (/usr/i686-pc-linux-gnu/bin/ld) >> supports shared libraries... yes >> checking for g++ option to produce PIC... -fPIC >> checking if g++ PIC flag -fPIC works... yes >> checking if g++ supports -c -o file.o... yes >> checking whether the g++ linker (/usr/i686-pc-linux-gnu/bin/ld) >> supports shared libraries... yes >> checking dynamic linker characteristics... GNU/Linux ld.so >> checking how to hardcode library paths into programs... immediate >> checking whether stripping libraries is possible... yes >> appending configuration tag "F77" to libtool >> checking for flex... flex >> checking for yywrap in -lfl... yes >> checking lex output file root... lex.yy >> checking whether yytext is a pointer... yes >> ../configure: line 19059: ruby: command not found >> checking for xml2-config... /usr/bin/xml2-config >> checking for libxml - version >= 2.0.0... yes (version 2.6.23) >> checking for shutdown in -lc... yes >> checking for inet_addr in -lc... yes >> checking for nanosleep in -lc... yes >> checking for ftime in -lcompat... no >> checking which threading environment to use... -lpthread >> checking for pthread_create in -lpthread... yes >> checking stdio.h usability... yes >> checking stdio.h presence... yes >> checking for stdio.h... yes >> checking for STREAMS ioctl... no >> checking for socklen_t... yes >> checking for ftime... yes >> checking for set_terminate in the global namespace... no >> checking for set_terminate in the std namespace... yes >> checking for typeinfo in the global namespace... no >> checking for typeinfo in the std namespace... yes >> checking for gethostbyname_r with input result... yes >> checking for gethostbyname_r with return result... no >> checking for cplus_demangle in -liberty... yes >> checking if select modifies timeval parameter... yes >> configure: creating ./config.status >> config.status: creating quickfix.pc >> config.status: creating Makefile >> config.status: creating src/Makefile >> config.status: creating src/C++/Makefile >> config.status: creating src/C++/test/Makefile >> config.status: creating src/java/Makefile >> config.status: creating src/java/cfg/Makefile >> config.status: creating src/java/src/Makefile >> config.status: creating src/java/src/quickfix/Makefile >> config.status: creating src/java/src/quickfix/field/Makefile >> config.status: creating src/java/src/quickfix/fix40/Makefile >> config.status: creating src/java/src/quickfix/fix41/Makefile >> config.status: creating src/java/src/quickfix/fix42/Makefile >> config.status: creating src/java/src/quickfix/fix43/Makefile >> config.status: creating src/java/src/quickfix/fix44/Makefile >> config.status: creating src/python/Makefile >> config.status: creating bin/Makefile >> config.status: creating bin/cfg/Makefile >> config.status: creating spec/Makefile >> config.status: creating test/Makefile >> config.status: creating test/atrun/Makefile >> config.status: creating test/cfg/Makefile >> config.status: creating test/definitions/Makefile >> config.status: creating test/definitions/server/Makefile >> config.status: creating test/definitions/server/future/Makefile >> config.status: creating examples/Makefile >> config.status: creating examples/executor/Makefile >> config.status: creating examples/executor/C++/Makefile >> config.status: creating examples/executor/java/Makefile >> config.status: creating examples/executor/java/src/Makefile >> config.status: creating examples/ordermatch/Makefile >> config.status: creating examples/ordermatch/test/Makefile >> config.status: creating examples/tradeclient/Makefile >> config.status: creating examples/tradeclientgui/Makefile >> config.status: creating examples/tradeclientgui/banzai/Makefile >> config.status: creating examples/tradeclientgui/banzai/test/Makefile >> config.status: creating examples/tradeclientgui/banzai/src/Makefile >> config.status: creating >> examples/tradeclientgui/banzai/src/quickfix/Makefile >> config.status: creating >> examples/tradeclientgui/banzai/src/quickfix/banzai/Makefile >> config.status: creating >> examples/tradeclientgui/banzai/src/quickfix/banzai/ui/Makefile >> config.status: creating doc/Makefile >> config.status: creating doc/html/Makefile >> config.status: creating CPPTest/Makefile >> config.status: creating config.h >> config.status: config.h is unchanged >> config.status: executing depfiles commands >> >> # make >> cd . && \ >> --foreign Makefile >> /bin/sh: --foreign: command not found >> make: *** [Makefile.in] Error 127 >> >> >> >> -- >> Regards, >> Alexey Zubko >> >> >> >> ------------------------------------------------------- >> All the advantages of Linux Managed Hosting--Without the Cost and Risk! >> Fully trained technicians. The highest number of Red Hat >> certifications in >> the hosting industry. Fanatical Support. Click to learn more >> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642 >> _______________________________________________ >> Quickfix-developers mailing list >> Qui...@li... >> https://lists.sourceforge.net/lists/listinfo/quickfix-developers >> > > |
|
From: Igor S. <se...@ma...> - 2006-05-24 16:45:40
|
Hi,
I am using:
Red Hat Enterprise Linux ES release 4 (Nahant Update 3)
gcc version 3.4.5 20051201 (Red Hat 3.4.5-2)
Perhaps your problem because of the gcc 4.1 -- I "googled" and see such =
complains about this warning exactly because of gcc 4.1.
Please, try to use 3.x.
For quickfix developers: the problem is that instead of
class Foo
{
int Foo::Foo(void);
}
it is better to write:=20
class Foo
{
int Foo(void);
}
Kind regards,
Igor
----- Original Message -----=20
From: Alexey Zubko=20
To: Igor Seleznev=20
Cc: qui...@li...=20
Sent: Wednesday, May 24, 2006 8:24 PM
Subject: Re: [Quickfix-developers] linux compilation
Hi Igor,
Thanks a lot.
I deleted that directory and bootstrap and configure passed Ok.
Now I crash during the compilation:
g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I. -I.. -I../.. -g -O2 =
-I/usr/include/libxml2 -MT DataDictionary.lo -MD -MP -MF ..deps/D =
ataDictionary.Tpo -c DataDictionary.cpp -fPIC =
-DPIC -o .libs/DataDictionary.o
LIBXML_DOMDocument.h:45: error: extra qualification =
'FIX::LIBXML_DOMAttributes::' on member 'toMap'
make[4]: *** [DataDictionary.lo] Error 1
make[4]: Leaving directory `/home/alexey/workspace/quickfix/src/C++'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/alexey/workspace/quickfix/src/C++'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/alexey/workspace/quickfix/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/alexey/workspace/quickfix'
make: *** [all] Error 2
Does it mean I need to use another gcc version?
BTW, what environment do you use for your projects?
Thank you.
Regards,
Alexey Zubko
Igor Seleznev wrote:=20
Hi,=20
I have experienced some of your problems too.=20
To fix the first one with 'bootstrap', please delete =
"quickfix/autom4te.cache". I noticed that one of quickfix tarballs =
contains it. I will file a bug about this issue.=20
As for second one with 'missing' script, you can ignore it. =
Moreover, there was a case about it and it claimed to be fixed in HEAD.=20
See:=20
=
http://www.quickfixengine.org/bugtracker/bug.php?op=3Dshow&bugid=3D183&po=
s=3D0=20
Most likely the last problem will be fixed when you fix the first =
two. From your logs it looks like that 'automake' cached into wrong =
location.=20
If it doesn't help, perhaps it makes sense to run configure in debug =
mode (sh -x ./configure) and see what's wrong.=20
Kind regards,=20
Igor=20
----- Original Message ----- From: "Alexey Zubko" =
<ale...@gm...>=20
To: <qui...@li...>=20
Sent: Wednesday, May 24, 2006 7:34 PM=20
Subject: [Quickfix-developers] linux compilation=20
QuickFIX Documentation: =
http://www.quickfixengine.org/quickfix/doc/html/index.html=20
QuickFIX Support: http://www.quickfixengine.org/services.html=20
Hello guys,=20
I want to compile quickfix in Linux, but unfortunately don't have =
such experience now.=20
I know I need to learn a lot, but as a start could anyone help me, =
please?=20
Does anyone use Eclipse CDT?=20
Thank you in advance.=20
So, I have Gentoo Linux with gcc 4.1.0 and quickfix 1.11.1=20
# ./bootstrap=20
aclocal...=20
autoheader...=20
Can't locate object method "path" via package "Request" at =
/usr/share/autoconf/Autom4te/C4che.pm line 69, <GEN1> line 111.=20
autoheader-2.59: /usr/bin/autom4te-2.59 failed with exit status: 1 =
libtoolize...=20
automake...=20
Can't locate object method "path" via package "Request" at =
/usr/share/autoconf/Autom4te/C4che.pm line 69, <GEN1> line 111.=20
configure.in: no proper invocation of AM_INIT_AUTOMAKE was found.=20
configure.in: You should verify that configure.in invokes =
AM_INIT_AUTOMAKE,=20
configure.in: that aclocal.m4 is present in the top-level =
directory,=20
configure.in: and that aclocal.m4 was recently regenerated (using =
aclocal).=20
automake-1.7: no `Makefile.am' found or specified=20
autoconf...=20
Can't locate object method "path" via package "Request" at =
/usr/share/autoconf/Autom4te/C4che.pm line 69, <GEN1> line 111.=20
Now run configure with any arguments necessary=20
After that:=20
# ./configure=20
checking for a BSD-compatible install... /usr/bin/install -c=20
checking whether build environment is sane... yes=20
/home/alexey/workspace/quickfix/missing: Unknown `--run' option=20
Try `/home/alexey/workspace/quickfix/missing --help' for more =
information=20
configure: WARNING: `missing' script is too old or missing=20
checking for gawk... gawk=20
checking whether make sets $(MAKE)... yes=20
checking for g++... g++=20
checking for C++ compiler default output... a.out=20
checking whether the C++ compiler works... yes=20
checking whether we are cross compiling... no=20
checking for suffix of executables...=20
checking for suffix of object files... o=20
checking whether we are using the GNU C++ compiler... yes=20
checking whether g++ accepts -g... yes=20
checking for style of include used by make... GNU=20
checking dependency style of g++... gcc3=20
checking for gcc... gcc=20
checking whether we are using the GNU C compiler... yes=20
checking whether gcc accepts -g... yes=20
checking for gcc option to accept ANSI C... none needed=20
checking dependency style of gcc... gcc3=20
checking build system type... i686-pc-linux-gnu=20
checking host system type... i686-pc-linux-gnu=20
checking for a sed that does not truncate output... /usr/bin/sed=20
checking for egrep... grep -E=20
checking for ld used by gcc... /usr/i686-pc-linux-gnu/bin/ld=20
checking if the linker (/usr/i686-pc-linux-gnu/bin/ld) is GNU =
ld... yes=20
checking for /usr/i686-pc-linux-gnu/bin/ld option to reload object =
files... -r=20
checking for BSD-compatible nm... /usr/bin/nm -B=20
checking whether ln -s works... yes=20
checking how to recognise dependent libraries... pass_all=20
checking how to run the C preprocessor... gcc -E=20
checking for ANSI C header files... yes=20
checking for sys/types.h... yes=20
checking for sys/stat.h... yes=20
checking for stdlib.h... yes=20
checking for string.h... yes=20
checking for memory.h... yes=20
checking for strings.h... yes=20
checking for inttypes.h... yes=20
checking for stdint.h... yes=20
checking for unistd.h... yes=20
checking dlfcn.h usability... yes=20
checking dlfcn.h presence... yes=20
checking for dlfcn.h... yes=20
checking how to run the C++ preprocessor... g++ -E=20
checking for g77... no=20
checking for f77... no=20
checking for xlf... no=20
checking for frt... no=20
checking for pgf77... no=20
checking for fl32... no=20
checking for af77... no=20
checking for fort77... no=20
checking for f90... no=20
checking for xlf90... no=20
checking for pgf90... no=20
checking for epcf90... no=20
checking for f95... no=20
checking for fort... no=20
checking for xlf95... no=20
checking for lf95... no=20
checking for g95... no=20
checking whether we are using the GNU Fortran 77 compiler... no=20
checking whether accepts -g... no=20
checking the maximum length of command line arguments... 32768=20
checking command to parse /usr/bin/nm -B output from gcc object... =
ok=20
checking for objdir... .libs=20
checking for ar... ar=20
checking for ranlib... ranlib=20
checking for strip... strip=20
checking if gcc static flag works... yes=20
checking if gcc supports -fno-rtti -fno-exceptions... no=20
checking for gcc option to produce PIC... -fPIC=20
checking if gcc PIC flag -fPIC works... yes=20
checking if gcc supports -c -o file.o... yes=20
checking whether the gcc linker (/usr/i686-pc-linux-gnu/bin/ld) =
supports shared libraries... yes=20
checking whether -lc should be explicitly linked in... no=20
checking dynamic linker characteristics... GNU/Linux ld.so=20
checking how to hardcode library paths into programs... immediate=20
checking whether stripping libraries is possible... yes=20
checking if libtool supports shared libraries... yes=20
checking whether to build shared libraries... yes=20
checking whether to build static libraries... no=20
configure: creating libtool=20
appending configuration tag "CXX" to libtool=20
checking for ld used by g++... /usr/i686-pc-linux-gnu/bin/ld=20
checking if the linker (/usr/i686-pc-linux-gnu/bin/ld) is GNU =
ld... yes=20
checking whether the g++ linker (/usr/i686-pc-linux-gnu/bin/ld) =
supports shared libraries... yes=20
checking for g++ option to produce PIC... -fPIC=20
checking if g++ PIC flag -fPIC works... yes=20
checking if g++ supports -c -o file.o... yes=20
checking whether the g++ linker (/usr/i686-pc-linux-gnu/bin/ld) =
supports shared libraries... yes=20
checking dynamic linker characteristics... GNU/Linux ld.so=20
checking how to hardcode library paths into programs... immediate=20
checking whether stripping libraries is possible... yes=20
appending configuration tag "F77" to libtool=20
checking for flex... flex=20
checking for yywrap in -lfl... yes=20
checking lex output file root... lex.yy=20
checking whether yytext is a pointer... yes=20
.../configure: line 19059: ruby: command not found=20
checking for xml2-config... /usr/bin/xml2-config=20
checking for libxml - version >=3D 2.0.0... yes (version 2.6.23)=20
checking for shutdown in -lc... yes=20
checking for inet_addr in -lc... yes=20
checking for nanosleep in -lc... yes=20
checking for ftime in -lcompat... no=20
checking which threading environment to use... -lpthread=20
checking for pthread_create in -lpthread... yes=20
checking stdio.h usability... yes=20
checking stdio.h presence... yes=20
checking for stdio.h... yes=20
checking for STREAMS ioctl... no=20
checking for socklen_t... yes=20
checking for ftime... yes=20
checking for set_terminate in the global namespace... no=20
checking for set_terminate in the std namespace... yes=20
checking for typeinfo in the global namespace... no=20
checking for typeinfo in the std namespace... yes=20
checking for gethostbyname_r with input result... yes=20
checking for gethostbyname_r with return result... no=20
checking for cplus_demangle in -liberty... yes=20
checking if select modifies timeval parameter... yes=20
configure: creating ./config.status=20
config.status: creating quickfix.pc=20
config.status: creating Makefile=20
config.status: creating src/Makefile=20
config.status: creating src/C++/Makefile=20
config.status: creating src/C++/test/Makefile=20
config.status: creating src/java/Makefile=20
config.status: creating src/java/cfg/Makefile=20
config.status: creating src/java/src/Makefile=20
config.status: creating src/java/src/quickfix/Makefile=20
config.status: creating src/java/src/quickfix/field/Makefile=20
config.status: creating src/java/src/quickfix/fix40/Makefile=20
config.status: creating src/java/src/quickfix/fix41/Makefile=20
config.status: creating src/java/src/quickfix/fix42/Makefile=20
config.status: creating src/java/src/quickfix/fix43/Makefile=20
config.status: creating src/java/src/quickfix/fix44/Makefile=20
config.status: creating src/python/Makefile=20
config.status: creating bin/Makefile=20
config.status: creating bin/cfg/Makefile=20
config.status: creating spec/Makefile=20
config.status: creating test/Makefile=20
config.status: creating test/atrun/Makefile=20
config.status: creating test/cfg/Makefile=20
config.status: creating test/definitions/Makefile=20
config.status: creating test/definitions/server/Makefile=20
config.status: creating test/definitions/server/future/Makefile=20
config.status: creating examples/Makefile=20
config.status: creating examples/executor/Makefile=20
config.status: creating examples/executor/C++/Makefile=20
config.status: creating examples/executor/java/Makefile=20
config.status: creating examples/executor/java/src/Makefile=20
config.status: creating examples/ordermatch/Makefile=20
config.status: creating examples/ordermatch/test/Makefile=20
config.status: creating examples/tradeclient/Makefile=20
config.status: creating examples/tradeclientgui/Makefile=20
config.status: creating examples/tradeclientgui/banzai/Makefile=20
config.status: creating =
examples/tradeclientgui/banzai/test/Makefile=20
config.status: creating =
examples/tradeclientgui/banzai/src/Makefile=20
config.status: creating =
examples/tradeclientgui/banzai/src/quickfix/Makefile=20
config.status: creating =
examples/tradeclientgui/banzai/src/quickfix/banzai/Makefile=20
config.status: creating =
examples/tradeclientgui/banzai/src/quickfix/banzai/ui/Makefile=20
config.status: creating doc/Makefile=20
config.status: creating doc/html/Makefile=20
config.status: creating CPPTest/Makefile=20
config.status: creating config.h=20
config.status: config.h is unchanged=20
config.status: executing depfiles commands=20
# make=20
cd . && \=20
--foreign Makefile=20
/bin/sh: --foreign: command not found=20
make: *** [Makefile.in] Error 127=20
--=20
Regards,=20
Alexey Zubko=20
-------------------------------------------------------=20
All the advantages of Linux Managed Hosting--Without the Cost and =
Risk!=20
Fully trained technicians. The highest number of Red Hat =
certifications in=20
the hosting industry. Fanatical Support. Click to learn more=20
=
http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D107521&bid=3D248729&dat=3D=
121642=20
_______________________________________________=20
Quickfix-developers mailing list=20
Qui...@li...=20
https://lists.sourceforge.net/lists/listinfo/quickfix-developers=20
|
|
From: Alexey Z. <ale...@gm...> - 2006-05-24 17:07:58
|
Hi,
I removed this "extra qualification" and QuickFix continued and created
lib/libquickfix.so.
So, it looks like everything is fine.
Thank you for your help.
What kind of development environment do you use? Eclipse, KDevelop,
Emacs, Vim?
I was always interested in Linux but never had chance to write a big
project.
Could you suggest me anything?
Thanks.
Regards,
Alexey Zubko
Igor Seleznev wrote:
> Hi,
>
> I am using:
> Red Hat Enterprise Linux ES release 4 (Nahant Update 3)
> gcc version 3.4.5 20051201 (Red Hat 3.4.5-2)
> Perhaps your problem because of the gcc 4.1 -- I "googled" and see
> such complains about this warning exactly because of gcc 4.1.
> Please, try to use 3.x.
>
> For quickfix developers: the problem is that instead of
> class Foo
> {
>
> int Foo::Foo(void);
>
> }
>
> it is better to write:
>
> class Foo
> {
>
> int Foo(void);
>
> }
> Kind regards,
> Igor
>
> ----- Original Message -----
> *From:* Alexey Zubko <mailto:ale...@gm...>
> *To:* Igor Seleznev <mailto:se...@ma...>
> *Cc:* qui...@li...
> <mailto:qui...@li...>
> *Sent:* Wednesday, May 24, 2006 8:24 PM
> *Subject:* Re: [Quickfix-developers] linux compilation
>
> Hi Igor,
>
> Thanks a lot.
> I deleted that directory and bootstrap and configure passed Ok.
> Now I crash during the compilation:
>
> g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I. -I.. -I../.. -g -O2
> -I/usr/include/libxml2 -MT DataDictionary.lo -MD -MP -MF
> ..deps/D ataDictionary.Tpo -c
> DataDictionary.cpp -fPIC -DPIC -o .libs/DataDictionary.o
> LIBXML_DOMDocument.h:45: error: extra qualification
> 'FIX::LIBXML_DOMAttributes::' on member 'toMap'
> make[4]: *** [DataDictionary.lo] Error 1
> make[4]: Leaving directory `/home/alexey/workspace/quickfix/src/C++'
> make[3]: *** [all-recursive] Error 1
> make[3]: Leaving directory `/home/alexey/workspace/quickfix/src/C++'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/home/alexey/workspace/quickfix/src'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/alexey/workspace/quickfix'
> make: *** [all] Error 2
>
>
> Does it mean I need to use another gcc version?
> BTW, what environment do you use for your projects?
>
> Thank you.
>
> Regards,
> Alexey Zubko
>
>
>
>
> Igor Seleznev wrote:
>> Hi,
>>
>> I have experienced some of your problems too.
>>
>> To fix the first one with 'bootstrap', please delete
>> "quickfix/autom4te.cache". I noticed that one of quickfix
>> tarballs contains it. I will file a bug about this issue.
>>
>> As for second one with 'missing' script, you can ignore it.
>> Moreover, there was a case about it and it claimed to be fixed in
>> HEAD.
>> See:
>> http://www.quickfixengine.org/bugtracker/bug.php?op=show&bugid=183&pos=0
>>
>>
>> Most likely the last problem will be fixed when you fix the first
>> two. From your logs it looks like that 'automake' cached into
>> wrong location.
>> If it doesn't help, perhaps it makes sense to run configure in
>> debug mode (sh -x ./configure) and see what's wrong.
>>
>> Kind regards,
>> Igor
>>
>> ----- Original Message ----- From: "Alexey Zubko"
>> <ale...@gm...>
>> To: <qui...@li...>
>> Sent: Wednesday, May 24, 2006 7:34 PM
>> Subject: [Quickfix-developers] linux compilation
>>
>>
>>> QuickFIX Documentation:
>>> http://www.quickfixengine.org/quickfix/doc/html/index.html
>>> QuickFIX Support: http://www.quickfixengine.org/services.html
>>>
>>> Hello guys,
>>>
>>> I want to compile quickfix in Linux, but unfortunately don't
>>> have such experience now.
>>> I know I need to learn a lot, but as a start could anyone help
>>> me, please?
>>> Does anyone use Eclipse CDT?
>>> Thank you in advance.
>>>
>>> So, I have Gentoo Linux with gcc 4.1.0 and quickfix 1.11.1
>>>
>>> # ./bootstrap
>>> aclocal...
>>> autoheader...
>>> Can't locate object method "path" via package "Request" at
>>> /usr/share/autoconf/Autom4te/C4che.pm line 69, <GEN1> line 111.
>>> autoheader-2.59: /usr/bin/autom4te-2.59 failed with exit status: 1
>>> libtoolize...
>>> automake...
>>> Can't locate object method "path" via package "Request" at
>>> /usr/share/autoconf/Autom4te/C4che.pm line 69, <GEN1> line 111.
>>> configure.in: no proper invocation of AM_INIT_AUTOMAKE was found.
>>> configure.in: You should verify that configure.in invokes
>>> AM_INIT_AUTOMAKE,
>>> configure.in: that aclocal.m4 is present in the top-level
>>> directory,
>>> configure.in: and that aclocal.m4 was recently regenerated
>>> (using aclocal).
>>> automake-1.7: no `Makefile.am' found or specified
>>> autoconf...
>>> Can't locate object method "path" via package "Request" at
>>> /usr/share/autoconf/Autom4te/C4che.pm line 69, <GEN1> line 111.
>>> Now run configure with any arguments necessary
>>>
>>> After that:
>>> # ./configure
>>> checking for a BSD-compatible install... /usr/bin/install -c
>>> checking whether build environment is sane... yes
>>> /home/alexey/workspace/quickfix/missing: Unknown `--run' option
>>> Try `/home/alexey/workspace/quickfix/missing --help' for more
>>> information
>>> configure: WARNING: `missing' script is too old or missing
>>> checking for gawk... gawk
>>> checking whether make sets $(MAKE)... yes
>>> checking for g++... g++
>>> 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 g++ accepts -g... yes
>>> checking for style of include used by make... GNU
>>> checking dependency style of g++... gcc3
>>> checking for gcc... gcc
>>> 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 dependency style of gcc... gcc3
>>> checking build system type... i686-pc-linux-gnu
>>> checking host system type... i686-pc-linux-gnu
>>> checking for a sed that does not truncate output... /usr/bin/sed
>>> checking for egrep... grep -E
>>> checking for ld used by gcc... /usr/i686-pc-linux-gnu/bin/ld
>>> checking if the linker (/usr/i686-pc-linux-gnu/bin/ld) is GNU
>>> ld... yes
>>> checking for /usr/i686-pc-linux-gnu/bin/ld option to reload
>>> object files... -r
>>> checking for BSD-compatible nm... /usr/bin/nm -B
>>> checking whether ln -s works... yes
>>> checking how to recognise dependent libraries... pass_all
>>> checking how to run the C preprocessor... gcc -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 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... 32768
>>> checking command to parse /usr/bin/nm -B output from gcc
>>> object... ok
>>> checking for objdir... .libs
>>> checking for ar... ar
>>> checking for ranlib... ranlib
>>> checking for strip... strip
>>> checking if gcc static flag works... yes
>>> checking if gcc supports -fno-rtti -fno-exceptions... 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 whether the gcc linker (/usr/i686-pc-linux-gnu/bin/ld)
>>> supports shared libraries... yes
>>> checking whether -lc should be explicitly linked in... no
>>> checking dynamic linker characteristics... GNU/Linux ld.so
>>> checking how to hardcode library paths into programs... immediate
>>> checking whether stripping libraries is possible... yes
>>> checking if libtool supports shared libraries... yes
>>> checking whether to build shared libraries... yes
>>> checking whether to build static libraries... no
>>> configure: creating libtool
>>> appending configuration tag "CXX" to libtool
>>> checking for ld used by g++... /usr/i686-pc-linux-gnu/bin/ld
>>> checking if the linker (/usr/i686-pc-linux-gnu/bin/ld) is GNU
>>> ld... yes
>>> checking whether the g++ linker (/usr/i686-pc-linux-gnu/bin/ld)
>>> supports shared libraries... yes
>>> checking for g++ option to produce PIC... -fPIC
>>> checking if g++ PIC flag -fPIC works... yes
>>> checking if g++ supports -c -o file.o... yes
>>> checking whether the g++ linker (/usr/i686-pc-linux-gnu/bin/ld)
>>> supports shared libraries... yes
>>> checking dynamic linker characteristics... GNU/Linux ld.so
>>> checking how to hardcode library paths into programs... immediate
>>> checking whether stripping libraries is possible... yes
>>> appending configuration tag "F77" to libtool
>>> checking for flex... flex
>>> checking for yywrap in -lfl... yes
>>> checking lex output file root... lex.yy
>>> checking whether yytext is a pointer... yes
>>> .../configure: line 19059: ruby: command not found
>>> checking for xml2-config... /usr/bin/xml2-config
>>> checking for libxml - version >= 2.0.0... yes (version 2.6.23)
>>> checking for shutdown in -lc... yes
>>> checking for inet_addr in -lc... yes
>>> checking for nanosleep in -lc... yes
>>> checking for ftime in -lcompat... no
>>> checking which threading environment to use... -lpthread
>>> checking for pthread_create in -lpthread... yes
>>> checking stdio.h usability... yes
>>> checking stdio.h presence... yes
>>> checking for stdio.h... yes
>>> checking for STREAMS ioctl... no
>>> checking for socklen_t... yes
>>> checking for ftime... yes
>>> checking for set_terminate in the global namespace... no
>>> checking for set_terminate in the std namespace... yes
>>> checking for typeinfo in the global namespace... no
>>> checking for typeinfo in the std namespace... yes
>>> checking for gethostbyname_r with input result... yes
>>> checking for gethostbyname_r with return result... no
>>> checking for cplus_demangle in -liberty... yes
>>> checking if select modifies timeval parameter... yes
>>> configure: creating ./config.status
>>> config.status: creating quickfix.pc
>>> config.status: creating Makefile
>>> config.status: creating src/Makefile
>>> config.status: creating src/C++/Makefile
>>> config.status: creating src/C++/test/Makefile
>>> config.status: creating src/java/Makefile
>>> config.status: creating src/java/cfg/Makefile
>>> config.status: creating src/java/src/Makefile
>>> config.status: creating src/java/src/quickfix/Makefile
>>> config.status: creating src/java/src/quickfix/field/Makefile
>>> config.status: creating src/java/src/quickfix/fix40/Makefile
>>> config.status: creating src/java/src/quickfix/fix41/Makefile
>>> config.status: creating src/java/src/quickfix/fix42/Makefile
>>> config.status: creating src/java/src/quickfix/fix43/Makefile
>>> config.status: creating src/java/src/quickfix/fix44/Makefile
>>> config.status: creating src/python/Makefile
>>> config.status: creating bin/Makefile
>>> config.status: creating bin/cfg/Makefile
>>> config.status: creating spec/Makefile
>>> config.status: creating test/Makefile
>>> config.status: creating test/atrun/Makefile
>>> config.status: creating test/cfg/Makefile
>>> config.status: creating test/definitions/Makefile
>>> config.status: creating test/definitions/server/Makefile
>>> config.status: creating test/definitions/server/future/Makefile
>>> config.status: creating examples/Makefile
>>> config.status: creating examples/executor/Makefile
>>> config.status: creating examples/executor/C++/Makefile
>>> config.status: creating examples/executor/java/Makefile
>>> config.status: creating examples/executor/java/src/Makefile
>>> config.status: creating examples/ordermatch/Makefile
>>> config.status: creating examples/ordermatch/test/Makefile
>>> config.status: creating examples/tradeclient/Makefile
>>> config.status: creating examples/tradeclientgui/Makefile
>>> config.status: creating examples/tradeclientgui/banzai/Makefile
>>> config.status: creating
>>> examples/tradeclientgui/banzai/test/Makefile
>>> config.status: creating examples/tradeclientgui/banzai/src/Makefile
>>> config.status: creating
>>> examples/tradeclientgui/banzai/src/quickfix/Makefile
>>> config.status: creating
>>> examples/tradeclientgui/banzai/src/quickfix/banzai/Makefile
>>> config.status: creating
>>> examples/tradeclientgui/banzai/src/quickfix/banzai/ui/Makefile
>>> config.status: creating doc/Makefile
>>> config.status: creating doc/html/Makefile
>>> config.status: creating CPPTest/Makefile
>>> config.status: creating config.h
>>> config.status: config.h is unchanged
>>> config.status: executing depfiles commands
>>>
>>> # make
>>> cd . && \
>>> --foreign Makefile
>>> /bin/sh: --foreign: command not found
>>> make: *** [Makefile.in] Error 127
>>>
>>>
>>>
>>> --
>>> Regards,
>>> Alexey Zubko
>>>
>>>
>>>
>>> -------------------------------------------------------
>>> All the advantages of Linux Managed Hosting--Without the Cost
>>> and Risk!
>>> Fully trained technicians. The highest number of Red Hat
>>> certifications in
>>> the hosting industry. Fanatical Support. Click to learn more
>>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642
>>>
>>> _______________________________________________
>>> Quickfix-developers mailing list
>>> Qui...@li...
>>> https://lists.sourceforge.net/lists/listinfo/quickfix-developers
>>>
>>
>>
|
|
From: Caleb E. <cal...@gm...> - 2006-05-24 19:26:48
|
On 5/24/06, Igor Seleznev <se...@ma...> wrote:
> For quickfix developers: the problem is that instead of
>
> class Foo
> {
> int Foo::Foo(void);
> }
>
> it is better to write: class Foo
> {
> int Foo(void);
> }
Its not that the latter is better. The former is just plain wrong.
The code only compiled because the compiler (e.g. older versions of
gcc) wasn't strict enough.
A constructor can't return a value anyway, so both forms are wrong :)
--=20
Caleb Epstein
caleb dot epstein at gmail dot com
|
|
From: Caleb E. <cal...@gm...> - 2006-05-24 19:24:48
|
On 5/24/06, Alexey Zubko <ale...@gm...> wrote: > > Hi Igor, > > Thanks a lot. > I deleted that directory and bootstrap and configure passed Ok. > Now I crash during the compilation: > > g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I. -I.. -I../.. -g -O2 > -I/usr/include/libxml2 -MT DataDictionary.lo -MD -MP -MF .deps/D > ataDictionary.Tpo -c DataDictionary.cpp > -fPIC -DPIC -o .libs/DataDictionary.o > LIBXML_DOMDocument.h:45: error: extra qualification > 'FIX::LIBXML_DOMAttributes::' on member 'toMap' Fixed in CVS. --=20 Caleb Epstein caleb dot epstein at gmail dot com |
|
From: Igor S. <se...@ma...> - 2006-05-25 07:32:23
|
Hi,
Correct :)
This code snapshot was taken from one of many pages found via google, I
didn't notice that it is erroneous because I was focused on the actual
problem.
The idea is that gcc 4.1 doesn't ignore extra qualification anymore. And
quickfix does have such. I mention it once again, please ignore all this if
it has been fixed in CVS already.
quickfix/src/C++/LIBXML_DOMDocument.h:
...
class LIBXML_DOMAttributes : public DOMAttributes
{
bool get( const std::string&, std::string& );
DOMAttributes::map LIBXML_DOMAttributes::toMap();
};
...
The "LIBXML_DOMAttributes::" in front of toMap() is not necessary and
becomes an error with gcc 4.1.
Kind regards,
Igor
----- Original Message -----
From: "Caleb Epstein" <cal...@gm...>
To: "Igor Seleznev" <se...@ma...>
Cc: "Alexey Zubko" <ale...@gm...>;
<qui...@li...>
Sent: Wednesday, May 24, 2006 11:26 PM
Subject: Re: [Quickfix-developers] linux compilation
On 5/24/06, Igor Seleznev <se...@ma...> wrote:
> For quickfix developers: the problem is that instead of
>
> class Foo
> {
> int Foo::Foo(void);
> }
>
> it is better to write: class Foo
> {
> int Foo(void);
> }
Its not that the latter is better. The former is just plain wrong.
The code only compiled because the compiler (e.g. older versions of
gcc) wasn't strict enough.
A constructor can't return a value anyway, so both forms are wrong :)
--
Caleb Epstein
caleb dot epstein at gmail dot com
|
|
From: Caleb E. <cal...@gm...> - 2006-05-25 12:22:12
|
On 5/25/06, Igor Seleznev <se...@ma...> wrote: > The "LIBXML_DOMAttributes::" in front of toMap() is not necessary and > becomes an error with gcc 4.1. Yes I know. This was fixed in CVS yesterday about 5 minutes after your initial report. --=20 Caleb Epstein caleb dot epstein at gmail dot com |