« cache programming | Main | Beginning the year with mixed events »

January 15, 2009

TrackBack

TrackBack URL for this entry:
http://www.typepad.com/services/trackback/6a00d83452386969e2010536d34912970c

Listed below are links to weblogs that reference FIX, third party software and adoption.:

Comments

Neil

Hi.

I have the same problem. I am running Ubuntu 8.10. I had a look at the links in your post. However I am still not sure what is wrong. It appears from my limited understanding that the C++ header files or something changed which caused a compatibility issue.

Could you perhaps help me a little more if you have found the cause to the problem?

Thanks
Neil
*Nix Converted 09!

Hiran Ramankutty

Neil,

Add 2 headers in src/C++/Utility.h

`cstring` and `cstdlib`.

And do not add `.h`.

This worked for me.

Neil

Hi Hiran

Yeah I figured the cstring and cstdlib problem out after reading your posts. Very helpfull thanks. I am now experiencing problems with mysql.h files. I copied them from my /usr/include directory to the c++ directory. However there is still a problem.

I am busy with some product rollouts will get back to you if needs be.

Thanks for the help

Nei

Neil

Hi Hiran

Thanks for the pointers so far. I got Quickfix to compile with mysql support. I did however stumble into a new problem. I would like to use it with java. When I include the --with-java option during the make process I get the following error: error: jni.h: No such file or directory. I am running Ubuntu 8.10 Intrepid. When I do a locate jni.h I do find the file but it is under a openjava-sdk folder. I suspect that QuickFix is looking for the proper aka Sun java class files under a different directory and this is causing me problems. I tried installing the Sun JAva SDK but it seems like the Ubuntu repository mirrors are down here in sunny old South Africa.

So my question is (sorry I am a newbie) how would I get Quickfix to use the openjava sdk or do I need to get the Sun Java SDK. Once again I appreciate all your help.

Or how do I add the openjava sdk to the system PATHS so it can find the jni.h file? Like I said I can do it on windows( a habit I am trying to get rid of) but have no idea on how to do it on *Nix!

Regards
Neil

Hiran Ramankutty

check if the environment variable `JAVA_HOME` (echo $JAVA_HOME) is set. I am using the Sun Java sdk and in my system JAVA_HOME is set as

`/usr/lib/jvm/java-6-sun`

I have not tried with open java sdk, and not sure also, whether it will work with it or not.

May be you can try setting the environment variable like:

export JAVA_HOME=

and try it out.

Let me see if it works with open java or not.

Neil

Hi Hiran

Major thanks for all the help so far.I got quickfix compiled and running. JAva support is enabled. Just trying to figure out how to get the quickfix packages imported into NetBeans so I can start using it.

Hiran if you are ever in South Africa give me a shout I would definately show you around. I am trying to start a business implementing FIX here in SA and you have helped me with the first step. Thanks so much for the help.

Kind Regards
Neil

Hiran Ramankutty

Dear Neil,

First of all congratulations on getting `quickfix` compiled and second of having migrated to Linux. Hope you have lots of fun learning.

Thanks for your offer on showing me around South Africa.

All the best in your business initiatives.

software distributor

Kudos on quickfix that's been compile and transfer to linux.

Verify your Comment

Previewing your Comment

This is only a preview. Your comment has not yet been posted.

Working...
Your comment could not be posted. Error type:
Your comment has been posted. Post another comment

The letters and numbers you entered did not match the image. Please try again.

As a final step before posting your comment, enter the letters and numbers you see in the image below. This prevents automated programs from posting comments.

Having trouble reading this image? View an alternate.

Working...

Post a comment