On Jul 2, 2011 9:30 AM, "EiTkoCaT" <
eitkocat-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
> Also if I'm doing
> g++ -I .. simple_client_demo.cpp mongo_client_lib.cpp -lboost_thread-
> mt -lboost_filesystem
>
> it gives me some lot of undefined reference to `mongo::OID::init()'
> and other functions...
>
> WTF? Thanks.
>
> On Jul 2, 4:26 pm, EiTkoCaT <
eitko...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
>> OK I followed and installed all OK but when I try to compile it gives
>> me:
>> /usr/bin/ld: cannot find -lmongoclient
>> collect2: ld returned 1 exit status
>>
>> On Jul 2, 3:26 am, Eliot Horowitz <
eliothorow...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
>>
>>
>>
>>
>>
>>
>>
>> > You should follow the instructions here for setting up your environment:
http://www.mongodb.org/display/DOCS/Building+for+Linux
>>
>> > On Fri, Jul 1, 2011 at 8:24 PM, EiTkoCaT <
eitko...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
>> > > OK but now it gives me error..:
>>
>> > > In file included from mongo/client/../db/cursor.h:23,
>> > > from mongo/client/../db/pdfile.h:367,
>> > > from mongo/client/../db/db.h:22,
>> > > from mongo/client/../db/dbhelpers.h:27,
>> > > from mongo/client/clientOnly.cpp:20:
>> > > mongo/client/../db/matcher.h:24:21: error: pcrecpp.h: No such file or
>> > > directory
>> > > In file included from mongo/client/../db/cursor.h:23,
>> > > from mongo/client/../db/pdfile.h:367,
>> > > from mongo/client/../db/db.h:22,
>> > > from mongo/client/../db/dbhelpers.h:27,
>> > > from mongo/client/clientOnly.cpp:20:
>> > > mongo/client/../db/matcher.h:39: error: 'pcrecpp' was not declared in
>> > > this scope
>> > > mongo/client/../db/matcher.h:39: error: template argument 1 is invalid
>> > > scons: *** [mongo/client/clientOnly.o] Error 1
>> > > scons: building terminated because of errors.
>>
>> > > On Jul 2, 3:15 am, Eliot Horowitz <
eliothorow...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
>> > >> You need to install scons.
>> > >> If this is linux, would be either:
>> > >> apt-get install scons
>> > >> or
>> > >> yum install scons
>>
>> > >> On Fri, Jul 1, 2011 at 8:14 PM, EiTkoCaT <
eitko...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
>> > >> > Hey,
>>
>> > >> > OK I have a problem. I've downloaded the c++ driver from
>> > >> >
http://dl.mongodb.org/dl/cxx-driver. I'm following the
>> > >> >
http://www.mongodb.org/pages/viewpage.action?pageId=21266598butwhen
>> > >> > I type "scons" it gives me:
>> > >> > /mongo-cxx-driver-v1.8# scons
>> > >> > -bash: scons: command not found
>>
>> > >> > What to do?
>>
>> > >> > Thanks.
>>
>> > >> > --
>> > >> > You received this message because you are subscribed to the Google Groups "mongodb-user" group.
>> > >> > To post to this group, send email to
mongodb-user-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
>> > >> > To unsubscribe from this group, send email to
mongodb-user+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
>> > >> > For more options, visit this group athttp://
groups.google.com/group/mongodb-user?hl=en.
>>
>> > > --
>> > > You received this message because you are subscribed to the Google Groups "mongodb-user" group.
>> > > To post to this group, send email to
mongodb-user-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
>> > > To unsubscribe from this group, send email to
mongodb-user+unsubscribe <at> googlegroups.com.
>> > > For more options, visit this group athttp://
groups.google.com/group/mongodb-user?hl=en.
>
> --
> You received this message because you are subscribed to the Google Groups "mongodb-user" group.
> To post to this group, send email to
mongodb-user-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
> To unsubscribe from this group, send email to
mongodb-user+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
> For more options, visit this group at
http://groups.google.com/group/mongodb-user?hl=en.
>
You received this message because you are subscribed to the Google Groups "mongodb-user" group.
To post to this group, send email to mongodb-user-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to mongodb-user+unsubscribe <at> googlegroups.com.
For more options, visit this group at http://groups.google.com/group/mongodb-user?hl=en.