On Tue, 25 Jul 2006, Voytek Eymont wrote:

Use the function in Perl Makefile.PL that sets the -I<include> path,
or the GNU CPPFLAGS env variable.

Likewise, make sure your ldso.conf is setup to help find libdb-4.x.so
and so on....


rachel

> I'm trying to install Perl BerkeleyDB module, but, get this:
>
> any thought what I can do to get it installed ?
>
> # perl -MCPAN -e shell
>
> cpan shell -- CPAN exploration and modules installation (v1.87)
> ReadLine support enabled
>                                                                               
>   cpan>
> install
> BerkeleyDB
> CPAN: Storable loaded ok
> Going to read /root/.cpan/Metadata
>   Database was generated on Tue, 25 Jul 2006 06:29:11 GMT
> Running install for module BerkeleyDB
> Running make for P/PM/PMQS/BerkeleyDB-0.29.tar.gz
> CPAN: Digest::SHA loaded ok
> CPAN: Module::Signature loaded ok
> WARNING: This key is not certified with a trusted signature!
> Primary key fingerprint: 2E66 557A B97C 19C7 91AF  8E20 328D A867 450F 89EC
> Signature for /root/.cpan/sources/authors/id/P/PM/PMQS/CHECKSUMS ok
> CPAN: Compress::Zlib loaded ok
> Checksum for
> /root/.cpan/sources/authors/id/P/PM/PMQS/BerkeleyDB-0.29.tar.gz ok
> Scanning cache /root/.cpan/build for sizes
> Deleting from cache: /root/.cpan/build/IO-Multiplex-1.08 (10.3>10.0 MB)
> Deleting from cache: /root/.cpan/build/Digest-SHA-5.41 (10.2>10.0 MB)
> Can't stat tmp (No such file or directory) at /usr/lib/perl5/5.6.1/CPAN.pm
> line 4373
> BerkeleyDB-0.29/
> BerkeleyDB-0.29/t/
> BerkeleyDB-0.29/t/join.t
> BerkeleyDB-0.29/t/encrypt.t
> BerkeleyDB-0.29/t/util.pm
> BerkeleyDB-0.29/t/examples3.t
> BerkeleyDB-0.29/t/Test/
> BerkeleyDB-0.29/t/Test/More.pm
> BerkeleyDB-0.29/t/Test/Builder.pm
> BerkeleyDB-0.29/t/db-3.2.t
> BerkeleyDB-0.29/t/mldbm.t
> BerkeleyDB-0.29/t/examples.t
> BerkeleyDB-0.29/t/db-4.4.t
> BerkeleyDB-0.29/t/txn.t
> BerkeleyDB-0.29/t/queue.t
> BerkeleyDB-0.29/t/subdb.t
> BerkeleyDB-0.29/t/pod.t
> BerkeleyDB-0.29/t/strict.t
> BerkeleyDB-0.29/t/filter.t
> BerkeleyDB-0.29/t/db-3.1.t
> BerkeleyDB-0.29/t/hash.t
> BerkeleyDB-0.29/t/btree.t
> BerkeleyDB-0.29/t/examples3.t.T
> BerkeleyDB-0.29/t/destroy.t
> BerkeleyDB-0.29/t/cds.t
> BerkeleyDB-0.29/t/recno.t
> BerkeleyDB-0.29/t/examples.t.T
> BerkeleyDB-0.29/t/env.t
> BerkeleyDB-0.29/t/db-3.3.t
> BerkeleyDB-0.29/t/unknown.t
> BerkeleyDB-0.29/t/db-3.0.t
> BerkeleyDB-0.29/dbinfo
> BerkeleyDB-0.29/constants.xs
> BerkeleyDB-0.29/patches/
> BerkeleyDB-0.29/patches/5.6.0
> BerkeleyDB-0.29/patches/5.005_03
> BerkeleyDB-0.29/patches/5.004_05
> BerkeleyDB-0.29/patches/5.004_02
> BerkeleyDB-0.29/patches/5.005_01
> BerkeleyDB-0.29/patches/5.004_04
> BerkeleyDB-0.29/patches/5.004
> BerkeleyDB-0.29/patches/5.005_02
> BerkeleyDB-0.29/patches/5.004_03
> BerkeleyDB-0.29/patches/5.004_01
> BerkeleyDB-0.29/patches/5.005
> BerkeleyDB-0.29/Changes
> BerkeleyDB-0.29/hints/
> BerkeleyDB-0.29/hints/irix_6_5.pl
> BerkeleyDB-0.29/hints/dec_osf.pl
> BerkeleyDB-0.29/hints/solaris.pl
> BerkeleyDB-0.29/MANIFEST
> BerkeleyDB-0.29/typemap
> BerkeleyDB-0.29/BerkeleyDB.pod
> BerkeleyDB-0.29/BerkeleyDB.pod.P
> BerkeleyDB-0.29/BerkeleyDB/
> BerkeleyDB-0.29/BerkeleyDB/Btree.pm
> BerkeleyDB-0.29/BerkeleyDB/Hash.pm
> BerkeleyDB-0.29/META.yml
> BerkeleyDB-0.29/scan
> BerkeleyDB-0.29/constants.h
> BerkeleyDB-0.29/mkpod
> BerkeleyDB-0.29/BerkeleyDB.xs
> BerkeleyDB-0.29/BerkeleyDB.pm
> BerkeleyDB-0.29/ppport.h
> BerkeleyDB-0.29/config.in
> BerkeleyDB-0.29/Todo
> BerkeleyDB-0.29/mkconsts
> BerkeleyDB-0.29/Makefile.PL
> BerkeleyDB-0.29/README
> Removing previously used /root/.cpan/build/BerkeleyDB-0.29
> Package came without SIGNATURE
>
>
>   CPAN.pm: Going to build P/PM/PMQS/BerkeleyDB-0.29.tar.gz
>
> Parsing config.in...
> Looks Good.
> Checking if your kit is complete...
> Looks good
> Writing Makefile for BerkeleyDB
> cp BerkeleyDB.pod blib/lib/BerkeleyDB.pod
> cp BerkeleyDB/Hash.pm blib/lib/BerkeleyDB/Hash.pm
> cp BerkeleyDB.pm blib/lib/BerkeleyDB.pm
> AutoSplitting blib/lib/BerkeleyDB.pm (blib/lib/auto/BerkeleyDB)
> cp BerkeleyDB/Btree.pm blib/lib/BerkeleyDB/Btree.pm
> /usr/bin/perl -I/usr/lib/perl5/5.6.1/i386-linux -I/usr/lib/perl5/5.6.1
> /usr/lib/perl5/5.6.1/ExtUtils/xsubpp -noprototypes -typemap
> /usr/lib/perl5/5.6.1/ExtUtils/typemap -typemap typemap BerkeleyDB.xs >
> BerkeleyDB.xsc && mv BerkeleyDB.xsc BerkeleyDB.c
> gcc -c -I/usr/local/BerkeleyDB/include -fno-strict-aliasing
> -I/usr/local/include -O2 -march=i386 -mcpu=i686   -DVERSION=\"0.29\"
> -DXS_VERSION=\"0.29\" -fPIC -I/usr/lib/perl5/5.6.1/i386-linux/CORE
> BerkeleyDB.c
> BerkeleyDB.xs: In function `XS_BerkeleyDB__Common_compact':
> BerkeleyDB.xs:3565: parse error before `end_key'
> BerkeleyDB.c:5161: `end_key' undeclared (first use in this function)
> BerkeleyDB.c:5161: (Each undeclared identifier is reported only once
> BerkeleyDB.c:5161: for each function it appears in.)
> make: *** [BerkeleyDB.o] Error 1
>   /usr/bin/make  -- NOT OK
> Running make test
>   Can't test without successful make
> Running make install
>   make had returned bad status, install seems impossible
> Failed during this command:
>   PMQS/BerkeleyDB-0.29.tar.gz                  : make NO
>
>
>

-- 
Rachel Polanskis                 Kingswood, Greater Western Sydney, Australia
[EMAIL PROTECTED]                http://www.zeta.org.au/~grove/grove.html
        "They who would give up an essential liberty for temporary security,
        deserve neither liberty or security" - Benjamin Franklin, 1759
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to