Re: [Quickfix-users] Building under Mac OS X
Brought to you by:
orenmnero
From: Oren M. <or...@qu...> - 2004-10-05 17:42:54
|
What version of OS/X are you running, and what version of ruby is installed? What results come out of runut_java? Currently the install scripts don't do a perfect job under OS/X, but the test scripts don't rely on this installation since they use the locally built libraries instead of the installed ones. Right now the only OS/X specific install feature the scripts are performing is creating a symlink to libquickfix_jni.dylib called libquickfix_jni.jnilib, since OS/X requires this extension. This symlink is also currently placed in /usr/local/lib. This probably isn't the ideal location as you pointed out, and we can see about installing them as per apple's recommendation. The current installation is basically the default for autotools which I don't think is very aware of how to deploy java in general, and even less so on OS/X. In the meantime it shouldn't particularly matter where the .jar and .jnilib are installed, as long as they get added to your classpath and java.library.path respectively. --oren On Oct 5, 2004, at 12:04 PM, Tahir H Butt wrote: > QuickFIX Documentation: > http://www.quickfixengine.org/quickfix/doc/html/index.html > QuickFIX FAQ: > http://www.quickfixengine.org/wikifix/index.php?QuickFixFAQ > QuickFIX Support: http://www.quickfixengine.org/services.html > > So right now after I do 'make install' -- it put libquickfix_jni.dylib > and quickfix.jar in /usr/local/lib, which isn't what is recommended by > Apple: > > http://developer.apple.com/documentation/Java/Conceptual/ > Java141Development/Core_APIs/chapter_6_section_4.html > > but I would think people have written the Makefile (or patched the > standard one) for OS X such that it compiles and installs properly. > does anyone know what files need to be in /Library/Java/Extensions/? > > i was only able to compile it after I edited the Makefile with the > header path that the Apple jni document notes. > > if i run the test right now, i get: > > $ ./runat_java 81023 > Exception in thread "main" java.lang.NoClassDefFoundError: at > <at> > <test name='definitions/server/fix40/10_MsgSeqNumEqual.def' > result='failure' > > <message> > Invalid argument - "connect(2)" > <line>3</line> > </message> > </test> > > -- tahir > > On Oct 5, 2004, at 12:51 PM, Oren Miller wrote: > >> Can you give some more details about what you mean by "did not work"? >> >> --oren >> >> On Oct 5, 2004, at 11:05 AM, Tahir H Butt wrote: >> >>> Hi, >>> >>> Though I've gotten the C++ code built and installed (and tested), >>> the Java code has given me problems. >>> >>> If anyone can help me, that would be much appreciated. I got the >>> library to compile once I included the Java framework headers, but >>> installing the libraries in /usr/local/lib did not work. Should it >>> be instead installed in some Mac OS X library location? >>> >>> Thanks, >>> -- tahir >>> >>> >>> >>> ------------------------------------------------------- >>> This SF.net email is sponsored by: IT Product Guide on >>> ITManagersJournal >>> Use IT products in your business? Tell us what you think of them. >>> Give us >>> Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find >>> out more >>> http://productguide.itmanagersjournal.com/guidepromo.tmpl >>> _______________________________________________ >>> Quickfix-users mailing list >>> Qui...@li... >>> https://lists.sourceforge.net/lists/listinfo/quickfix-users >>> > > > > ------------------------------------------------------- > This SF.net email is sponsored by: IT Product Guide on > ITManagersJournal > Use IT products in your business? Tell us what you think of them. Give > us > Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out > more > http://productguide.itmanagersjournal.com/guidepromo.tmpl > _______________________________________________ > Quickfix-users mailing list > Qui...@li... > https://lists.sourceforge.net/lists/listinfo/quickfix-users > |