File: INSTALL

package info (click to toggle)
libmongodb-perl 0.45-1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 1,960 kB
  • sloc: perl: 2,664; ansic: 1,694; makefile: 2
file content (142 lines) | stat: -rw-r--r-- 3,307 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
Installation Instructions
-------------------------

If they aren't already installed, you will need the following modules:
  sudo cpan Module::Install
  sudo cpan Test::Exception
  sudo cpan Any::Moose
  sudo cpan Class::Method::Modifiers
  sudo cpan Tie::IxHash (most db commands, MongoDBensure_index)

A couple methods (that you might not run into) require:
  sudo cpan boolean (MongoDB::Collection::ensure_index)
  sudo cpan Digest::MD5 (MongoDB::Connection::authenticate)

Packages needed for different types:
  dates: DateTime
  booleans: boolean


Then do:
  $ perl Makefile.PL
  $ make
  $ make test
  $ make install


Big Endian Machines
-------------------

MongoDB cannot run on a big endian machine, but the driver can.  If you have a
little endian machine available, you can connect to that remotely and develop on
your big endian machine.  

To run the tests using a remote database, make sure mongod is running on it and 
then do:

  $ MONGOD=example.com make test

where example.com is the hostname for your machine running mongod.  The driver 
will use the value of $ENV{MONGOD} as the host if you provide it, otherwise it 
will try to connect to localhost.


A Full List of Required Packages
--------------------------------

MongoDB
 - Test::Exception
 --- Sub::Uplevel
 - Module::Build
 --- CPAN::Meta::YAML
 --- ExtUtils::ParseXS
 ----- ExtUtils::CBuilder
 ------- File::Spec
 ------- IPC::Cmd
 --------- Module::Load::Conditional
 ----------- Module::CoreList
 ----------- Module::Load
 --------- Params::Check
 ----------- Locale::Maketext::Simple
 --- Perl::OSType
 --- version
 --- Module::Metadata
 --- IO::File*
 --- Archive::Tar*
 ----- Compress::Zlib
 ------- Compress::Raw::Bzip2
 ------- Compress::Raw::Zlib
 ----- IO::Compress::Base
 ----- IO::Compress::Bzip2
 ----- IO::Compress::Gzip
 ----- IO::Zlib
 ----- Package::Constants
 ----- Text::Diff*
 ------- Algorithm::Diff 1.9
 --- Module::Signature*
 ----- Crypt::OpenPGP*
 --- Pod::Readme*
 ----- Pod::Text
 ------- Pod::Simple
 --------- Pod::Escapes
 --------- Test
 ----- Regexp::Commmon
 --- ExtUtils::Install*
 --- ExtUtils::Installed*
 - Any::Moose
 --- Moose
 ----- Class::MOP
 ------- Data::OptList
 ------- Devel::GlobalDestruction
 --------- Scope::Guard
 ------- MRO::Compat
 --------- Class::C3
 ----------- Algorithm::C3
 ------- Package::Stash
 --------- Dist::CheckConflicts
 ----------- Sub::Exporter
 ------------- Data::OpList
 --------- Package::DeprecationManager
 ----------- List::MoreUtils
 ----------- Params::Util
 ----------- Sub::Install
 --------- Package::Stash::XS
 ------- Sub::Name
 ------- Task::Weaken
 --------- Scalar::Util
 ------- Test::Fatal
 --------- Exporter
 ------- Test::Requires
OR Any::Moose with Mouse:
 --- Mouse
 ----- Devel::PPPort
 ----- XSLoader
 --- Class::Method::Modifiers
 - Try::Tiny
 - Digest::MD5
 - Tie::IxHash
 - DateTime
 --- DateTime::Locale
 --- DateTime::Timezone
 ----- Class::Load
 ----- Class:Singleton
 ----- parent
 --- Params::Validate
 ----- Attribute::Handlers
 - boolean
 - Data::Types
 --- Test::Pod
 - File::Slurp
 - JSON
 - File::Temp .17
 - inc::Module::Install
 --- File::Remove
 --- LWP::UserAgent
 ----- HTML::Parser
 ------- HTML::Tagset
 ----- URI
 --- Module::ScanDeps
 --- PAR::Dist
 --- Parse::CPAN::Meta
 ----- JSON::PP
 --- YAML::Tiny