RE: [Quickfix-developers] Version 1.1.0 is available!
Brought to you by:
orenmnero
From: Justin P. <jp...@fs...> - 2002-06-13 01:48:26
|
Oi! Your suggestion worked and I got it compiled and installed (I only have libxml2 installed btw and I have /usr/local/share/aclocal/libxml.m4) I no longer have the segfault problem (except when I run tradeclient without a file (once by mistake)). Now, however, I have a new problem. I run ordermatch and tradeclient and it connects and tradeclient sends login and stuff and after I enter an order tradeclient does the: OUT: 8=FIX.4.19=9135=D34=249=direct5752=20020612-23:40:1756=IB11=000021=138=1 040=154=155=rhat59=010=164 and ordermatch does nothing other than display: Logout - BeginString: FIX.4.1, SenderCompID: IB, TargetCompID: direct57 Logout - BeginString: FIX.4.1, SenderCompID: IB, TargetCompID: direct57 I checked ordermatches log and I came up with this: 8=FIX.4.19=6135=A34=149=IB52=20020612-23:40:0156=direct5798=0108=3010=14 98=FIX.4.19=8235=334=249=IB52=20020612-23:40:1756=direct5745=258=Unsuppo rted message type10=141 Any ideas? Thanks, Justin -----Original Message----- From: OM...@th... [mailto:OM...@th...] Sent: Wednesday, June 12, 2002 6:07 PM To: jp...@fs... Cc: qui...@li...; qui...@li... Subject: RE: [Quickfix-developers] Version 1.1.0 is available! heh, kind of funny. libxml does the installation, checks it, and says the installation is wrong. Looks kind of like immovable object meets irresistable force. I'd like to hear from anyone else who has seen this. Do you have libxml and libxml-devel installed, or just libxml? Also check to see if you have libxml.m4 somewhere on your system. I just want to know so I have the information. In the interim you can probably just disable the script and not worry about it. In the confiure.in, comment out the AM_PATH_XML2 call, and just manually set XML_LIBS and XML_CFLAGS manually. AM_PATH_XML2 calls xml2-config --libs and xml2-config --cflags respectively to set these values. So just set them to whatever you get when you run these on the command line. So basically change the configure.in from this: AM_PATH_XML2(2.0.0, , AC_MSG_ERROR(libxml2 must be installed.)) LIBS="$LIBS $XML_LIBS" # gcc flags CXXFLAGS="-Wall -fexceptions -D_XOPEN_SOURCE=500 $XML_CFLAGS" to this: #AM_PATH_XML2(2.0.0, , AC_MSG_ERROR(libxml2 must be installed.)) XML_LIBS="whatever you get from xml2-config --libs" XML_CFLAGS="whatever you get from xml2-config --cflags" LIBS="$LIBS $XML_LIBS" # gcc flags CXXFLAGS="-Wall -fexceptions -D_XOPEN_SOURCE=500 $XML_CFLAGS" now run the ./bootstrap script and try building again. Not ideal but should get you going until we can figure out what the deal is with your libxml2. --oren Justin Pauley <jp...@fs...> To: OM...@th... cc: qui...@li..., 06/12/2002 03:32 qui...@li... PM Subject: RE: [Quickfix-developers] Version 1.1.0 is available! [root@eats quickfix]# xml2-config --version 2.4.22 [root@eats quickfix]# xml2-config --cflags -I/usr/local/include/libxml2 [root@eats quickfix]# xml2-config --libs -L/usr/local/lib -lxml2 -lz -lm Basically, I just did the configure;make;make install Any ideas? Justin -----Original Message----- From: OM...@th... [mailto:OM...@th...] Sent: Wednesday, June 12, 2002 1:49 PM To: jp...@fs... Cc: qui...@li...; qui...@li... Subject: RE: [Quickfix-developers] Version 1.1.0 is available! Well the second problem you have is probably another symptom of the first warning you were given. It looks like it is having difficulty located your libxml2 package, or at least parts of it. What is your output when you type 'xml2-config --version --cflags --libs', the output should look something like this... -I/usr/include/libxml2/libxml -I/usr/include/libxml2 -L/usr/lib -lxml2 -lz -lm 2.4.16 Also, how did you install libxml2. I see it is in local, did you install with a tar.gz file? The script doing the checking was written by the libxml guys so I would imagine it is trying to tell us something about your installation. --oren |---------+-----------------------------------------------> | | Justin Pauley <jp...@fs...> | | | Sent by: | | | qui...@li...ur| | | ceforge.net | | | | | | | | | 06/12/2002 02:04 PM | | | | |---------+-----------------------------------------------> >----------------------------------------------------------------------- -----------------------| | | | To: OM...@th... | | cc: qui...@li... | | Subject: RE: [Quickfix-developers] Version 1.1.0 is available! | >----------------------------------------------------------------------- -----------------------| I am having a problem installing it: I have libxml2 installed however I get the following error message during a ./configure: checking for xml2-config... (cached) /usr/local/bin/xml2-config checking for libxml - version >= 2.0.0... no *** Could not run libxml test program, checking why... *** The test program failed to compile or link. See the file config.log for the *** exact error that occured. This usually means LIBXML was incorrectly installed *** or that you have moved LIBXML since it was installed. In the latter case, you *** may want to edit the xml2-config script: /usr/local/bin/xml2-config configure: error: libxml2 must be installed. I checked config.log and I saw: configure:2317: gcc -o conftest -g -O2 -I/usr/local/include/libxml2 conftest.c -L/usr/local/lib -lxml2 -lz -lm 1>&5 configure:2309:24: xmlversion.h: No such file or directory I found xmlversion.h in /usr/local/include/libxml2/libxml (default install directory) So I ( I know this is bad practice but nothing else worked!) : cp /usr/local/include/libxml2/libxml/* /usr/local/include/libxml2 Which got rid of the problem during the configure, however, when I did the make I get: [root@eats quickfix]# make cd . && aclocal aclocal: configure.in: 20: macro `AM_PATH_XML2' not found in library make: *** [aclocal.m4] Error 1 Any ideas?? And thanks for the upgrade!! Justin Pauley -----Original Message----- From: qui...@li... [mailto:qui...@li...] On Behalf Of OM...@th... Sent: Wednesday, June 12, 2002 10:43 AM To: qui...@li... Subject: [Quickfix-developers] Version 1.1.0 is available! Version 1.1.0, our first really major release since 1.0.0, is now available from http://quickfix.thoughtworks.com. Thank you to everyone who provided feedback, and submitted patches. This version has major new functionality, bug fixes, more compliance fixes, and performance enhancements. The release notes are posted below, but first a couple words for people planning on upgrading. First of all, this release is most important for people who plan on doing a lot of throughput and maintain many sessions. The new filestore is much more efficient memory wise, and the addition of the ThreadedSocketInitiator and ThreadedSocketAcceptor provide much better performance and scalability. When upgrading, please keep in mind the following: - QuickFIX now uses libxml2. The folks at libxml has requested all new projects stop using libxml1 and we are complying with this. You will need libxml2 installed to build newer versions. - The signitures for toApp and toAdmin in the Application interface has changed. Your applications will need to reflect this change to compile. The message class is no longer const, this allows you to add fields to a message before it is sent out. Ideal for adding additional fields to messages like Logons and such. - FileStore has been rewritten. As a result, the file format has changed. You should not mix QuickFIX logs from earlier versions with 1.1.0. - PosDup message are now passed to the application callbacks. You will now need to have your application verify whether it wants to process a particular message that may be a duplicate. Other than that, here are the release notes. Please provide everyone with feedback about this version on this list. RELEASE NOTES ________________ 1.1.0 ----- Added support for messages with repeating groups. Added ThreadedSocketInitiator and ThreadedSocketAcceptor. Each session has it own thread for listening on a socket and one for processing messages. The signature for toApp and toAdmin have changed from ( const Message&, const SessionID& ) to ( Message&, const SessionID& ). This allows applications to add fields to messages before they are sent out. Particularly useful for administrative messages that need fields that arn't added by default. Filestore is much more memory efficient. Only file offsets are stored in memory and messages are retreived on in as needed basis. This keeps memory use way down and also is a little faster for normal operations. On Linux and Solaris upgraded from libxml to libxml2. It is recomended by the libxml guys that all new applications use libxml2. configure will verify that libxml is installed on a system and automatically add the necessary command line parameters. Possible duplicate messages are now passed to the fromAdmin and fromApp application callbacks. Applications must now check for this field and determine how possible duplicate messages should be handled. Values.h correctly generated enumerations for fields of type INT. Validation works with STRING enumerations, not just CHAR and INT. Sockets are now properly closed if a connection fails. This fixes a leak in socket resources that appeared after a large number of reconnect attempts. RefTagID, RefMsgType are no longer added to reject message in versions of FIX 4.1 and earlier. BusinessMessageReject no longer used in FIX versions 4.1 and earlier. Improved DataDictionary generation. More enumerations are listed. --oren _______________________________________________________________ Sponsored by: ThinkGeek at http://www.ThinkGeek.com/ _______________________________________________ Quickfix-developers mailing list Qui...@li... https://lists.sourceforge.net/lists/listinfo/quickfix-developers _______________________________________________________________ Sponsored by: ThinkGeek at http://www.ThinkGeek.com/ _______________________________________________ Quickfix-developers mailing list Qui...@li... https://lists.sourceforge.net/lists/listinfo/quickfix-developers |