Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the MongoDB CPAN distribution.

Maintainer(s)' notes

Please don't report bugs here. Please use the MongoDB Perl driver issue tracker instead.

Report information
The Basics
Id: 50202
Status: resolved
Priority: 0/
Queue: MongoDB

People
Owner: Nobody in particular
Requestors: heikki.lehvaslaiho [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: installation problems (solvable)
Date: Mon, 5 Oct 2009 11:32:10 +0300
To: bug-MongoDB [...] rt.cpan.org
From: Heikki Lehvaslaiho <heikki.lehvaslaiho [...] gmail.com>
I was trying to install MongoDB from CPAN in ubuntu (This is perl, v5.10.0 built for i486-linux-gnu-thread-multi) using cpan command line tool. The tests did not pass and and I had to do force install. Tests passed after I set environmental variable: export MONGO_SDK=/data/db/ and ran the tests manually. The example code in the MongoDB synopsis worked after I fixed the line: my $connection = MongoDB::Connection->new(host => 'localhost, port => 27017); to read: my $connection = MongoDB::Connection->new(host => 'localhost', port => '27017'); It kind of puts one off the whole thing if install does not work on the first go ! Cheers, -- -Heikki Heikki Lehvaslaiho - skype:heikki_lehvaslaiho cell: +966 545 595 849 office: +966 2 808 2429 Computational Bioscience Research Centre (CBRC), Building #2, Office #4216 4700 King Abdullah University of Science and Technology (KAUST) Thuwal 23955-6900, Kingdom of Saudi Arabia Sent from Jiddah, 02, Saudi Arabia
Sorry about the bad experience! I think all problems you mentioned have been solved in the .24 release (http://search.cpan.org/~kristina/MongoDB/). Tests will only pass with a Mongo database server running, I don't think there's much I can do about that, aside from skipping them all if one isn't. You shouldn't need to set MONGO_SDK anymore. I also fixed the synopsis documentation. Thanks for the feedback! On Mon Oct 05 04:33:09 2009, heikki.lehvaslaiho@gmail.com wrote: Show quoted text
> I was trying to install MongoDB from CPAN in ubuntu (This is perl, > v5.10.0 built for i486-linux-gnu-thread-multi) using cpan command line > tool. > > The tests did not pass and and I had to do force install. Tests passed > after I set environmental variable: > > export MONGO_SDK=/data/db/ > > and ran the tests manually. > > > The example code in the MongoDB synopsis worked after I fixed the line: > > my $connection = MongoDB::Connection->new(host => 'localhost, port > => 27017); > > to read: > > my $connection = MongoDB::Connection->new(host => 'localhost', > port => '27017'); > > > It kind of puts one off the whole thing if install does not work on > the first go ! > > > Cheers, >