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