Thread: [Quickfix-users] Installing --with-postgresql on a linux redhat box. Error on make
Brought to you by:
orenmnero
From: Alejandro S. <ale...@gm...> - 2008-03-28 22:06:50
|
I am trying to compile quickfix on a linux redhat enterprise box using postgres v.7.2.6 and I don't know which is the right path to configure.I've tried the three following ways after doing ./bootstrap : ./configure --with-postgresql=/usr/share/pgsql ./configure --with-postgresql=/usr/lib/pgsql ./configure --with-postgresql=/var/lib/pgsql and in each case the make program ended with errors and no way to make install. Can someone help me? Thank you very much Alejandro |
From: Mike G. <mg...@co...> - 2008-04-01 18:30:11
|
Alejandro, Do you have the postgresql-devel package installed? -- Mike Gatny Connamara Systems, LLC |
From: Alejandro S. <ale...@gm...> - 2008-04-02 12:43:20
|
I am not sure, since this is a fresh redhat enterprise installation, in which I checked the postgresql installation.Maybe the devel package is missing. I will try to add it. Thank you! Alejandro On Tue, Apr 1, 2008 at 3:26 PM, Mike Gatny <mg...@co...> wrote: > QuickFIX Documentation: > http://www.quickfixengine.org/quickfix/doc/html/index.html > QuickFIX Support: http://www.quickfixengine.org/services.html > > Alejandro, > > Do you have the postgresql-devel package installed? > > -- > Mike Gatny > Connamara Systems, LLC > > > ------------------------------------------------------------------------- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > > http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace > _______________________________________________ > Quickfix-users mailing list > Qui...@li... > https://lists.sourceforge.net/lists/listinfo/quickfix-users > |
From: Mike G. <mg...@co...> - 2008-04-02 16:31:36
|
Alejandro SI wrote: > I am not sure, since this is a fresh redhat enterprise installation, in > which I checked the postgresql installation. Right, if you selected just the top-level postgresql package, redhat won't give you the optional postgresql-devel and postgresql-libs by default. Once you get those dependencies installed, you should be able to simply do: ./configure --with-postgresql -- Mike Gatny Connamara Systems, LLC |
From: Alejandro S. <ale...@gm...> - 2008-04-02 18:50:38
|
Thank you Mike!!!I've reinstalled the RH Enterprice including everything for python and postgres and I did: ./bootstrap ./configure --with-python=/usr/include/python2.3/ --with-postgresql=/usr/lib/pgsql/ ./make su ./make install and everything was ok. Then I run the tests runat 333, and runtu 333 as root. 0 errors on runat, but I got 5 failures out of 167 tests on runut. Is this good or bad? Thank you again. Alejandro On Wed, Apr 2, 2008 at 1:31 PM, Mike Gatny <mg...@co...> wrote: > QuickFIX Documentation: > http://www.quickfixengine.org/quickfix/doc/html/index.html > QuickFIX Support: http://www.quickfixengine.org/services.html > > Alejandro SI wrote: > > I am not sure, since this is a fresh redhat enterprise installation, in > > which I checked the postgresql installation. > > Right, if you selected just the top-level postgresql package, redhat > won't give you the optional postgresql-devel and postgresql-libs by > default. > > Once you get those dependencies installed, you should be able to simply > do: > > ./configure --with-postgresql > > > -- > Mike Gatny > Connamara Systems, LLC > > > ------------------------------------------------------------------------- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > > http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace > _______________________________________________ > Quickfix-users mailing list > Qui...@li... > https://lists.sourceforge.net/lists/listinfo/quickfix-users > |
From: Mike G. <mg...@co...> - 2008-04-03 18:30:03
|
Alejandro SI wrote: > Then I run the tests runat 333, and runtu 333 as root. > 0 errors on runat, but I got 5 failures out of 167 tests on runut. Is > this good or bad? I bet the 5 failures are the 5 MessageStore tests, and here's why: since you built with database support, you need to modify the unit test config file (test/cfg/ut.cfg) to reflect your database setup. You currently get a pretty cryptic unit test error when this happens. I'll rectify that so you'll see the actual error (which is "Configuration failed: Unable to connect to database", by the way). -- Mike Gatny Connamara Systems, LLC http://www.connamara.com |
From: Alejandro S. <ale...@gm...> - 2008-04-04 20:22:50
|
Mmmmmh, I put all the parameters according the database postgresql I've installed and the test runut continue to give 5 errors. This is the error message, any idea? [root@tbd test]# ./runut 127.0.0.1 444 <ut> <output> ................................................................................................................FFFFF.................................................. </output> <results total="167" failures="5"> <failure line= "0" file= "unknown"> <test> <![CDATA[ PN7CPPTest4TestIN3FIX12MessageStoreEEE]]> </test> <text> <![CDATA[ assert(no futher information available)]]> </text> </failure> <failure line= "0" file= "unknown"> <test> <![CDATA[ PN7CPPTest4TestIN3FIX12MessageStoreEEE]]> </test> <text> <![CDATA[ assert(no futher information available)]]> </text> </failure> <failure line= "0" file= "unknown"> <test> <![CDATA[ PN7CPPTest4TestIN3FIX12MessageStoreEEE]]> </test> <text> <![CDATA[ assert(no futher information available)]]> </text> </failure> <failure line= "0" file= "unknown"> <test> <![CDATA[ PN7CPPTest4TestIN3FIX12MessageStoreEEE]]> </test> <text> <![CDATA[ assert(no futher information available)]]> </text> </failure> <failure line= "0" file= "unknown"> <test> <![CDATA[ PN7CPPTest4TestIN3FIX12MessageStoreEEE]]> </test> <text> <![CDATA[ assert(no futher information available)]]> </text> </failure> </results> </ut> [root@tbd test]# On Thu, Apr 3, 2008 at 3:29 PM, Mike Gatny <mg...@co...> wrote: > QuickFIX Documentation: > http://www.quickfixengine.org/quickfix/doc/html/index.html > QuickFIX Support: http://www.quickfixengine.org/services.html > > Alejandro SI wrote: > > Then I run the tests runat 333, and runtu 333 as root. > > 0 errors on runat, but I got 5 failures out of 167 tests on runut. Is > > this good or bad? > > I bet the 5 failures are the 5 MessageStore tests, and here's why: > since you built with database support, you need to modify the unit test > config file (test/cfg/ut.cfg) to reflect your database setup. > > You currently get a pretty cryptic unit test error when this happens. > I'll rectify that so you'll see the actual error (which is > "Configuration failed: Unable to connect to database", by the way). > > -- > Mike Gatny > Connamara Systems, LLC > http://www.connamara.com > > > ------------------------------------------------------------------------- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > > http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace > _______________________________________________ > Quickfix-users mailing list > Qui...@li... > https://lists.sourceforge.net/lists/listinfo/quickfix-users > |