Re: [Quickfix-developers] linux compilation
Brought to you by:
orenmnero
|
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
|