Operating System - HP-UX
1843965 Members
2055 Online
110226 Solutions
New Discussion

Problem installing Perlmodule DB_File

 
Lars Ebeling
Frequent Advisor

Problem installing Perlmodule DB_File

Hi All,

I use cpan with command cpan> install DB_File

It ends up with this:
gcc -c -I/usr/local/BerkeleyDB/include -mpa-risc-2-0 -D_HPUX_SOURCE -DDEBUGGING
-fno-strict-aliasing -pipe -I/pro/local/include -D_LARGEFILE_SOURCE D_FILE_OFF
SET_BITS=64 -g -O -DVERSION=\"1.814\" -DXS_VERSION=\"1.814\" -fPIC "-I/opt/per
l/lib/5.8.7/PA-RISC2.0/CORE" -D_NOT_CORE -DmDB_Prefix_t=size_t -DmDB_Hash_t=u_
int32_t DB_File.c
Running Mkbootstrap for DB_File ()
chmod 644 DB_File.bs
rm -f blib/arch/auto/DB_File/DB_File.sl
LD_RUN_PATH="/usr/local/lib" /usr/bin/ld -b -L/pro/local/lib version.o DB_File.
o -o blib/arch/auto/DB_File/DB_File.sl \
-ldb \

/usr/bin/ld: Can't find library for -ldb
make: *** [blib/arch/auto/DB_File/DB_File.sl] Error 1
/usr/local/bin/make -- NOT OK
Running make test
Can't test without successful make
Running make install

make had returned bad status, install seems impossible

cpan>

I run perl5.8.7-dor on 32-bits HP-UX 11.11
I have attached a swlist.
I have had it running but unfortunately I destroyed the filesystem without backup.

Regards
Lars

5 REPLIES 5
Steven E. Protter
Exalted Contributor

Re: Problem installing Perlmodule DB_File

Shalom Lars,

Check that requied binaries (which command) are on the PATH before compiling.

Perhaps use the merijn perl http://www.hpux.ws/merijn

make clean

make
make install

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Arunvijai_4
Honored Contributor

Re: Problem installing Perlmodule DB_File

Hi Lars,

You need to install BerkeleyDB for libdb.a or libdb.sl, you can download and install from
http://hpux.connect.org.uk/hppd/hpux/Development/Tools/db-4.3.29/

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
Lars Ebeling
Frequent Advisor

Re: Problem installing Perlmodule DB_File

Hi again,

this is my PATH:

echo# echo $PATH
/usr/sbin:/opt/perl/bin:/usr/local/bin:/usr/local/sbin:/usr/local/pa20_32/bin:/u
sr/bin:/usr/ccs/bin:/usr/contrib/bin:/opt/hparray/bin:/opt/nettladm/bin:/opt/upg
rade/bin:/opt/fcms/bin:/opt/pd/bin:/opt/resmon/bin:/usr/bin/X11:/usr/contrib/bin
/X11:/opt/graphics/common/bin:/opt/gnome/bin:/opt/mozilla:/opt/mx/bin:/usr/sbin/
diag/contrib:/opt/wbem/bin:/opt/wbem/sbin:/opt/ignite/bin:/sbin:/home/root


As you can see in the attachement libdb.sl is installed.

Regards
Lars
Lars Ebeling
Frequent Advisor

Re: Problem installing Perlmodule DB_File

Forgot:

I think I downloaded perl from Merijn's site:

perl.5.8.7-dor

Lars
Lars Ebeling
Frequent Advisor

Re: Problem installing Perlmodule DB_File

No solution