Re: [Quickfix-users] Examples wont' build on Ubuntu
Brought to you by:
orenmnero
From: vincegat <vin...@gm...> - 2011-06-29 18:14:00
|
I am giving up building example projects using provided tools, I am going to write my own Makefiles to build those. The question I still have is where do I get the input config file for tradeclient? Thank you! vincegat wrote: > > So, freshly extracted quickfix-1.13.3.tar.gz > > applied all patches > > I ran ./config -- it went alright. > > I ran make -- I get error: > > korben@fxbrain:~/Documents/CPlusPlus/quickfix$ make > CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/bash > /home/korben/.local/share/Trash/files/quickfix.2/config/missing --run > aclocal-1.11 > cd . && /bin/bash > /home/korben/.local/share/Trash/files/quickfix.2/config/missing --run > automake-1.11 --foreign > src/python/Makefile.am:15: required file `config/py-compile' not found > src/python/Makefile.am:15: `automake --add-missing' can install > `py-compile' > make: *** [Makefile.in] Error 1 > > what do I do? > > > > > > > vincegat wrote: >> >> Martin, >> >> 1) I freshly extracted quickfix-1.13.3.tar.gz >> >> patch -p1 < quickfix-autotools-bootstrap.patch -- ran alright. >> >> patch -p1 < quickfix-autotools-bootstrap.patch -- I got one error: >> >> patching file aclocal.m4 >> patching file bin/cfg/Makefile.in >> patching file bin/Makefile.in >> patching file config/config.guess >> patching file config/config.sub >> patching file config/ltmain.sh >> patching file doc/html/Makefile.in >> patching file doc/Makefile.in >> patching file examples/executor/C++/Makefile.in >> patching file examples/executor/Makefile.in >> patching file examples/Makefile.in >> patching file examples/ordermatch/Makefile.in >> patching file examples/ordermatch/test/Makefile.in >> patching file examples/tradeclient/Makefile.in >> patching file examples/tradeclientgui/banzai/Makefile.in >> patching file examples/tradeclientgui/banzai/src/Makefile.in >> patching file >> examples/tradeclientgui/banzai/src/quickfix/banzai/Makefile.in >> patching file >> examples/tradeclientgui/banzai/src/quickfix/banzai/ui/Makefile.in >> patching file examples/tradeclientgui/banzai/src/quickfix/Makefile.in >> patching file examples/tradeclientgui/banzai/test/Makefile.in >> patching file examples/tradeclientgui/Makefile.in >> patching file Makefile.in >> patching file spec/Makefile.in >> patching file src/C++/Makefile.in >> patching file src/C++/test/Makefile.in >> Hunk #2 FAILED at 100. >> 1 out of 5 hunks FAILED -- saving rejects to file >> src/C++/test/Makefile.in.rej >> patching file src/Makefile.in >> patching file src/python/Makefile.in >> patching file src/ruby/Makefile.in >> patching file test/atrun/Makefile.in >> patching file test/cfg/Makefile.in >> patching file test/definitions/Makefile.in >> patching file test/definitions/server/future/Makefile.in >> patching file test/definitions/server/Makefile.in >> patching file test/Makefile.in >> >> So, which patches do I need, do I need all of them to build examples? >> >> >> 2) tradeclient config input file is certainly not in tradeclient folder. >> I expect the config file look something like: >> >> # default settings for sessions >> [DEFAULT] >> ConnectionType=initiator >> ReconnectInterval=30 >> SenderCompID=MBTDEMO >> >> but I do not see anything similar. >> >> THX!! >> >> >> >> >> Martin Dengler wrote: >>> >>> QuickFIX Documentation: >>> http://www.quickfixengine.org/quickfix/doc/html/index.html >>> QuickFIX Support: http://www.quickfixengine.org/services.html >>> >>> >>> On Wed, Jun 29, 2011 at 07:48:48AM -0700, vincegat wrote: >>>> 1) Which patches do I need to fix only examples in C++? >>>> >>>> 2) When I run command: >>>> patch -p1 < quickfix-src-examples-autotools-patches.patch >>>> I get: Reversed (or previously applied) patch detected! Assume >>>> -R? >>>> [n] >>>> So, what so I do in this case, just say Y? >>> >>> Are you sure you didn't patch the sources already? The quickfix-src* >>> files are the patches I made to the source code files itself; due to >>> the way autotools works, the other patches are to the >>> untar-ed, post-autotools-bootstrap source code. >>> >>> Here's what I just tried and it worked fine; not sure what's going >>> wrong for you: >>> >>> $ rm -rf quickfix/ >>> $ tar xzf ~/rpmbuild/SOURCES/quickfix-1.13.3.tar.gz >>> $ cd quickfix/ >>> $ patch -p1 < >>> [...]/patches-20110529/quickfix-src-examples-autotools-patches.patch >>> patching file examples/executor/C++/Makefile.am >>> patching file examples/ordermatch/Makefile.am >>> patching file examples/tradeclient/Makefile.am >>> patching file examples/tradeclientgui/banzai/Makefile.am >>> $ >>> >>>> 2) tradeclient example needs the input config file. Where do I get this >>>> file? >>> >>> Isn't it in the source tarfile? >>> >>>> Thank you! >>> >>> Martin >>> >>> >>> ------------------------------------------------------------------------------ >>> All of the data generated in your IT infrastructure is seriously >>> valuable. >>> Why? It contains a definitive record of application performance, >>> security >>> threats, fraudulent activity, and more. Splunk takes this data and makes >>> sense of it. IT sense. And common sense. >>> http://p.sf.net/sfu/splunk-d2d-c2 >>> _______________________________________________ >>> Quickfix-users mailing list >>> Qui...@li... >>> https://lists.sourceforge.net/lists/listinfo/quickfix-users >>> >>> >> >> > > -- View this message in context: http://old.nabble.com/Examples-wont%27-build-on-Ubuntu-tp31949358p31957128.html Sent from the QuickFIX - User mailing list archive at Nabble.com. |