Re: [Quickfix-developers] Fedora 9 x86_64 install -- Solved
Brought to you by:
orenmnero
From: George H. <ge...@so...> - 2008-07-18 16:33:04
|
Ok, for anyone working with Fedora 9 x86_64, this is how I got the software to compile: First, run: > ./configure --prefix=/opt/FIXX/quickfix-build --with-mysql=/usr -- with-boost=/usr Aftreward, edit "conf.status" and change the two lines below: s,@LIBS@,|#_!!_#|-lpthread -lxml2 -lz -lm -L/usr/lib64/mysql - lmysqlclient -liberty,g s,@MYSQL_LIBS@,|#_!!_#|-L/usr/lib64/mysql -lmysqlclient,g Then run: > ./conf.status Then: > make -j8 It should compile nicely. -George On Jul 17, 2008, at 5:04 PM, George Hrysanthopoulos wrote: > QuickFIX Documentation: http://www.quickfixengine.org/quickfix/doc/html/index.html > QuickFIX Support: http://www.quickfixengine.org/services.html > > Has anyone here compiled, "quickfix-1.12.4" under Fedora 9, x86_64? > > This is the error I am getting: > > > ./configure --prefix=/opt/FIXX/quickfix-build --with-ruby --with- > mysql=/usr > > ... > ... > > > make > make all-recursive > make[1]: Entering directory `/opt/FIXX/quickfix' > Making all in src > make[2]: Entering directory `/opt/FIXX/quickfix/src' > Making all in C++ > make[3]: Entering directory `/opt/FIXX/quickfix/src/C++' > Making all in test > make[4]: Entering directory `/opt/FIXX/quickfix/src/C++/test' > if /bin/sh ../../../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. - > I. -I../../.. -I.. -O2 -march=native -pipe -g -O2 -Wall -ansi - > Wpointer-arith -Wwrite-strings -I/usr/include/mysql -I/usr/mysql/ > include -I/usr/include/libxml2 -I/usr/lib64/ruby/1.8/x86_64- > linux -O0 -g -MT FieldBaseTestCase.lo -MD -MP -MF ".deps/ > FieldBaseTestCase.Tpo" \ > -c -o FieldBaseTestCase.lo `test -f 'FieldBaseTestCase.cpp' || > echo './'`FieldBaseTestCase.cpp; \ > then mv ".deps/FieldBaseTestCase.Tpo" ".deps/ > FieldBaseTestCase.Plo"; \ > else rm -f ".deps/FieldBaseTestCase.Tpo"; exit 1; \ > fi > mkdir .libs > g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I.. -O2 -march=native -pipe > -g -O2 -Wall -ansi -Wpointer-arith -Wwrite-strings -I/usr/include/ > mysql -I/usr/mysql/include -I/usr/include/libxml2 -I/usr/lib64/ruby/ > 1.8/x86_64-linux -O0 -g -MT FieldBaseTestCase.lo -MD -MP -MF .deps/ > FieldBaseTestCase.Tpo -c FieldBaseTestCase.cpp -fPIC -DPIC -o .libs/ > FieldBaseTestCase.o > In file included from ../FieldTypes.h:29, > from ../FieldConvertors.h:25, > from ../Field.h:32, > from FieldBaseTestCase.h:26, > from FieldBaseTestCase.cpp:27: > ../Utility.h:179: error: 'std::strcmp' has not been declared > ../Utility.h:181: error: 'std::strlen' has not been declared > ../Utility.h:184: error: 'std::memcpy' has not been declared > ../Utility.h:185: error: 'std::memset' has not been declared > ../Utility.h:189: error: 'std::strerror' has not been declared > In file included from ../FieldConvertors.h:26, > from ../Field.h:32, > from FieldBaseTestCase.h:26, > from FieldBaseTestCase.cpp:27: > ../Exceptions.h: In member function 'std::string > FIX::SocketException::errorToWhat()': > ../Exceptions.h:253: error: 'strerror' was not declared in this scope > In file included from FieldBaseTestCase.h:26, > from FieldBaseTestCase.cpp:27: > ../Field.h: In member function 'void FIX::FieldBase::calculate() > const': > ../Field.h:110: error: 'memcpy' was not declared in this scope > make[4]: *** [FieldBaseTestCase.lo] Error 1 > make[4]: Leaving directory `/opt/FIXX/quickfix/src/C++/test' > make[3]: *** [all-recursive] Error 1 > make[3]: Leaving directory `/opt/FIXX/quickfix/src/C++' > make[2]: *** [all-recursive] Error 1 > make[2]: Leaving directory `/opt/FIXX/quickfix/src' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/opt/FIXX/quickfix' > make: *** [all] Error 2 > > Looks like I might be missing an RPM? > > -George H > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win > great prizes > Grand prize is a trip for two to an Open Source event anywhere in > the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/_______________________________________________ > Quickfix-developers mailing list > Qui...@li... > https://lists.sourceforge.net/lists/listinfo/quickfix-developers |