Dear sir,

Thank you for your response :)
I tried all your steps but still not working, I know there is something a
tiny one but not getting it,
Yes I am using virtual machine for centOS over windows
I tried it on fedora also, I was trying to do it since last 20 days but
still on the same condition.. :(

[root@localhost ~]# pushd mongo-c-driver
[root@localhost mongo-c-driver]# mkdir -p
/var/tmp/root/usr/local/include/mongo
[root@localhost mongo-c-driver]# mkdir -p /var/tmp/root/usr/local/lib
[root@localhost mongo-c-driver]# cp libmongoc.*
/var/tmp/root/usr/local/lib/.
[root@localhost mongo-c-driver]# cp src/*.h
/var/tmp/root/usr/local/include/mongo/.
[root@localhost ~]# popd
[root@localhost kannel-mongodb]#  ./configure --with-mongodb
checking git checkout revision... 885aaaad
Configuring for Kannel gateway version git-885aaaad ...
Running system checks ...
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for gcc option to accept ISO C99... -std=gnu99
checking for a BSD-compatible install... /usr/bin/install -c
checking for ranlib... ranlib
checking for bison... bison -y
checking for flex... flex
checking lex output file root... lex.yy
checking lex library... -lfl
checking whether yytext is a pointer... yes
checking for ar... ar
checking for convert... no
checking for perl... /usr/bin/perl
checking for inline... inline
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking how to run the C preprocessor... gcc -std=gnu99 -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking size of short... 2
checking size of int... 4
checking size of long... 8
checking size of long long... 8
checking for log in -lm... yes
checking for accept in -lsocket... no
checking for inet_ntoa in -lnsl... yes
checking for inet_ntop in -lresolv... yes
checking for inet_ntop in -lbind... no
checking for pthread_exit in -lpthread... yes
checking for ANSI C header files... (cached) yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for sys/types.h... (cached) yes
checking for unistd.h... (cached) yes
checking sys/poll.h usability... yes
checking sys/poll.h presence... yes
checking for sys/poll.h... yes
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking getopt.h usability... yes
checking getopt.h presence... yes
checking for getopt.h... yes
checking syslog.h usability... yes
checking syslog.h presence... yes
checking for syslog.h... yes
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking execinfo.h usability... yes
checking execinfo.h presence... yes
checking for execinfo.h... yes
checking for stdlib.h... (cached) yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/sockio.h usability... no
checking sys/sockio.h presence... no
checking for sys/sockio.h... no
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking for net/if.h... yes
checking sys/ucontext.h usability... yes
checking sys/ucontext.h presence... yes
checking for sys/ucontext.h... yes
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for shared library run path origin... done
checking for iconv... yes
checking for working iconv... yes
checking for iconv declaration... install-shextern size_t iconv (iconv_t
cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t
*outbytesleft);
checking for gettimeofday... yes
checking for select... yes
checking for socket... yes
checking for strdup... yes
checking for getopt_long... yes
checking for localtime_r... yes
checking for gmtime_r... yes
checking for backtrace... yes
checking for srandom... yes
checking for initgroups... yes
checking for strtoll... yes
checking for strtoq... yes
checking for getopt... yes
checking for gethostbyname_r... yes
checking for which type of gethostbyname_r... 6
checking for socklen_t in <sys/socket.h>... yes
checking for getopt in <stdio.h>... no
checking for getopt in <unistd.h>... yes
checking regex.h usability... yes
checking regex.h presence... yes
checking for regex.h... yes
checking for regcomp... yes

Checking for POSIX threads support ...
checking for working pthreads... yes
checking for pthread_spinlock support... yes
checking for pthread_rwlock support... yes
checking for sem_init in -lrt... yes
checking for semaphore support... yes

Checking for libxml2 support ...
checking for xml2-config... /usr/bin/xml2-config
checking libxml version... 2.6.26

Configuring for PCRE support ...
checking whether to compile with PCRE support... disabled

Configuring DocBook support ...
checking for jade... jade
checking for jadetex... jadetex
checking for pdfjadetex... pdfjadetex
checking for dvips... dvips
checking for fig2dev... fig2dev
checking for convert... no
checking for
/usr/lib/sgml/stylesheet/dsssl/docbook/nwalsh/html/docbook.dsl... no
checking for /usr/lib/sgml/stylesheets/nwalsh-modular/html/docbook.dsl... no
checking for
/usr/share/sgml/docbook/dsssl-stylesheets-1.79/html/docbook.dsl... yes
checking for
/usr/lib/sgml/stylesheet/dsssl/docbook/nwalsh/print/docbook.dsl... no
checking for /usr/lib/sgml/stylesheets/nwalsh-modular/print/docbook.dsl...
no
checking for
/usr/share/sgml/docbook/dsssl-stylesheets-1.79/print/docbook.dsl... yes
Not building documentation.

Configuring parameters ...
checking which malloc to use... native malloc
enabling local time
enabling cookies
enabling HTTP/1.1 keep-alive

Configuring OpenSSL support ...
checking whether to compile with SSL support... trying /usr/lib64
/usr/include/openssl
checking for openssl... /usr/bin/openssl
checking for CRYPTO_lock in -lcrypto... yes
checking for SSL_library_init in -lssl... yes
checking for SSL_connect in -lssl... yes
checking openssl/x509.h usability... yes
checking openssl/x509.h presence... yes
checking for openssl/x509.h... yes
checking openssl/rsa.h usability... yes
checking openssl/rsa.h presence... yes
checking for openssl/rsa.h... yes
checking openssl/crypto.h usability... yes
checking openssl/crypto.h presence... yes
checking for openssl/crypto.h... yes
checking openssl/pem.h usability... yes
checking openssl/pem.h presence... yes
checking for openssl/pem.h... yes
checking openssl/ssl.h usability... yes
checking openssl/ssl.h presence... yes
checking for openssl/ssl.h... yes
checking openssl/err.h usability... yes
checking openssl/err.h presence... yes
checking for openssl/err.h... yes
checking openssl/hmac.h usability... yes
checking openssl/hmac.h presence... yes
checking for openssl/hmac.h... yes
checking whether the OpenSSL library is multithread-enabled... yes
checking whether to compile with SSL support... yes

Configuring DB support ...
checking whether to compile with MySQL support... disabled
checking whether to compile with LibSDB support... disabled
checking whether to compile with SQLite2 support... disabled
checking whether to compile with SQLite3 support... disabled
checking whether to compile with Oracle support... disabled
checking whether to compile with PostgresSQL support... disabled
checking whether to compile with MongoDB support... searching
checking mongo/mongo.h usability... yes
checking mongo/mongo.h presence... yes
checking for mongo/mongo.h... yes
checking for mongo_connect in -lmongoc... no
configure: error: Unable to find MongoDB client libraries


On Tue, Apr 3, 2012 at 11:49 PM, Benjamin Lee <[email protected]>wrote:

> On Wednesday, 2012-04-04 at 03:15:32 PM, Garima Tiwari scribbled:
>
> [...]
>
>
> > [root@localhost mongo-c-driver]# md5sum /usr/local/include/mongo/bson.h
> > md5sum: /usr/local/include/mongo/bson.h: No such file or directory
>
>           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> Garima, the solution is to install the @mongo-c-driver@ as Roman's
> @configure@ script expects.
>
> [...]
>
> If you copy and paste my commands... you will have to patch
> @configure.in@. Just copy and paste the diff from my previous email.
>
> [...]
>
> > [root@localhost ~]#  pushd mongo-c-driver
> > ~/mongo-c-driver ~
> > [root@localhost mongo-c-driver]# mkdir -p
> > /var/tmp/root/usr/local/include/mongo
> > [root@localhost mongo-c-driver]# mkdir -p /var/tmp/root/usr/local/lib
> > [root@localhost mongo-c-driver]# cp libmongoc.*
> > /var/tmp/root/usr/local/lib/.
> > [root@localhost mongo-c-driver]# cp src/*.h
> > /var/tmp/root/usr/local/include/mongo/.
> > [root@localhost mongo-c-driver]# popd
>
> [...]
>
> By the way, you should *probably not* work on your system as root
> (unless it is a snapshot-ed virtual machine). ;-O
>
> Good luck. Peace out.
>
> --
> Benjamin Lee                           mailto:[email protected]
> Melbourne, Australia                            http://www.realthought.net
> Linux / BSD / GNU                                     tel:+61 4 16 BEN LEE
>
> Open Source               "invest in your world"
> __________________________________________________________________________
> It is equally bad when one speeds on the guest unwilling to go, and when he
> holds back one who is hastening.  Rather one should befriend the guest who
> is there, but speed him when he wishes.
>                -- Homer, "The Odyssey"
>
>        [Quoted in "VMS Internals and Data Structures", V4.4, when
>         referring to scheduling.]
>



-- 
*Thanks & Regards
Garima Tiwari
HostNsoft
(Walkover Web Solutions Ltd)
*

Reply via email to