Re: [Quickfix-developers] Compile Errors on Debian unstable
Brought to you by:
orenmnero
From: Paul C. <pau...@op...> - 2008-08-06 16:57:48
|
On Tuesday 05 August 2008 01:19:34 Balwinder S Dheeman wrote: > QuickFIX Documentation: > http://www.quickfixengine.org/quickfix/doc/html/index.html QuickFIX > Support: http://www.quickfixengine.org/services.html > > On 08/05/2008 04:36 AM, Paul Check wrote: > >> Hope that helps, > > > > Indeed, I was able to compile your snapshot using gcc/++ 4.3 and the > > python 2.5 headers, with mysql, python and ruby config options. Very > > nice. > > > > I am still having one problem that is showing up in all versions of > > quickfix that I am trying. When I try the --with-java option my compile > > is getting stuck on the "Building jar....quickfix.jar" line, with a java > > process running. The java process seems to just hang. If I go to > > src/java and do "ant jar" it will build the quickfix.jar in 5 seconds. I > > take it there is something wrong with my system, but I cannot nail it > > down. Any ideas anyone > > Not sure, but may be that you have an older/faster *ant-gcj* installed > in the path, likewise a fastjar (jar-gcj) also; you may check it by > issuing any of the following: > > ant -version > dpkg -l |grep ant > jar --version > > After installing and testing 'ant' (ant-gcj) and fastjar, I have tuned > the requisite java build.sh scripts. Please check out the commitdiff > http://cto.homelinux.net/git?p=quickfix.git;a=commitdiff;h=8dd40e8024d64137 >d949fd6864af2bba9509e9a2 I don´t think that was the problem given that the process was hanging for an hour. But, I took your suggestion and just replaced the java call with an ant call in the build.sh scripts. Also, I deleted all my older java versions as well as ant-gcj, but left fastjar installed. By the way, there is a build.sh in the src directory. I believe your patch missed that one? So there should be four in total. At first I thought your patch wasn´t working, but after patching manually realized there was the additional build.sh . Regards, Paul |