Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

RE: cp: cannot access dbiprof: No such file or directory

0 views
Skip to first unread message

Pravin Baban Bhingare

unread,
Nov 16, 2009, 2:19:31 PM11/16/09
to dbi-...@perl.org, Bhingare, Pravin Baban
HI ,

I am trying to install DBI-1.609 . I am using perl /opt/perl_32/bin . I am using procedure mentioned in last mail to install DBI .

I am getting Following error in


1) make

2) make test

3) make install


Running Mkbootstrap for DBI ()
chmod 644 DBI.bs
rm -f /opt/gpsy/dbdsource/DBI/auto/DBI/DBI.so
LD_RUN_PATH="" /usr/bin/ld -b +vnocompatwarnings -L/usr/lib/hpux32 DBI.o -o /opt/gpsy/dbdsource/DBI/auto/DBI/DBI.so
chmod 755 /opt/gpsy/dbdsource/DBI/auto/DBI/DBI.so
cp DBI.bs /opt/gpsy/dbdsource/DBI/auto/DBI/DBI.bs
chmod 644 /opt/gpsy/dbdsource/DBI/auto/DBI/DBI.bs
/opt/perl_32/bin/perl "-I/opt/gpsy/dbdsource/DBI" "-I/opt/gpsy/dbdsource/DBI" dbiprof.PL dbiprof
Extracted dbiprof from dbiprof.PL with variable substitutions.
Cannot find blib even in /opt/gpsy/dbdsource/DBI/../../../../..
BEGIN failed--compilation aborted.
cp dbiprof /opt/gpsy/dbdsource/DBI/dbiprof
cp: cannot access dbiprof: No such file or directory
*** Error exit code 1


Please help me in solving this issue
Regards
Pravin


From: Bhingare, Pravin Baban
Sent: Friday, November 13, 2009 2:11 PM
To: 'dbi-...@perl.org'
Subject: cp: cannot access dbiprof: No such file or directory

Hi ,

I am trying to install DBI-1.18 on HP-UX 11i v2 . Oracle DB installed is 11g .

I am following below steps to install DBI

1) cd /opt/gpsy/dbdsource/
(Ensure that the downloaded source code .tar.gz file is present in this directory)

2) gzip -dc DBI-1.52.tar.tar | tar -xvf –
3) cp –R DBI-1.52 DBI
4) cd /opt/gpsy/dbdsource/DBI

5) Perform the following:

(i) Ensure that the new Perl v5.8.3 path is present in the $PATH environment variable and that this version of Perl is now the default Perl (hence it should be defined in $PATH variable before /usr/bin)

export ORACLE_HOME=/u01/app/oracle/product/11.1.0/db_1
export ORACLE_BASE=/u01/app/oracle
export PATH=/usr/bin:/opt/gpsy/dbdsource:$ORACLE_HOME:$ORACLE_BASE:$PATH


(ii) In /opt/gpsy/dbdsource/DBI/Makefile.PL add the below parameters after COMPRESS => 'gzip -v9', SUFFIX => 'gz',
},

INST_BIN => "/opt/gpsy/dbdsource/DBI",
INST_EXE => "/opt/gpsy/dbdsource/DBI",
INST_LIB => "/opt/gpsy/dbdsource/DBI",
INST_ARCHLIB => "/opt/gpsy/dbdsource/DBI",
INST_SCRIPT => "/opt/gpsy/dbdsource/DBI",
INST_MAN1DIR => "/opt/gpsy/dbdsource/DBI",
INST_MAN3DIR => "/opt/gpsy/dbdsource/DBI",

(iii) Run:

perl Makefile.PL

Change the macros in the Makefile

From
PERLPREFIX = /opt/perl_32
SITEPREFIX = /opt/perl_32
VENDORPREFIX =/opt/perl_32

To
PERLPREFIX = /opt/gpsy/dbdsource/DBI
SITEPREFIX = /opt/gpsy/dbdsource/DBI
VENDORPREFIX = /opt/gpsy/dbdsource/DBI

(iv) Run:
make

(v) Run:
make test

(vi) make install



I am getting following error in step (iv) Run make



running Mkbootstrap for DBI ()
chmod 644 DBI.bs
rm -f /opt/gpsy/dbds/DBI/auto/DBI/DBI.so
LD_RUN_PATH="" /usr/bin/ld -b +vnocompatwarnings -L/usr/lib/hpux32 DBI.o -o /opt/gpsy/dbds/DBI/auto/DBI/DBI.so
chmod 755 /opt/gpsy/dbds/DBI/auto/DBI/DBI.so
cp DBI.bs /opt/gpsy/dbds/DBI/auto/DBI/DBI.bs
chmod 644 /opt/gpsy/dbds/DBI/auto/DBI/DBI.bs
/opt/perl_32/bin/perl "-I/opt/gpsy/dbds/DBI" "-I/opt/gpsy/dbds/DBI" dbiprof.PL dbiprof
Extracted dbiprof from dbiprof.PL with variable substitutions.
cp dbiprof /opt/gpsy/dbds/DBI/dbiprof
cp: cannot access dbiprof: No such file or directory
*** Error exit code 1



Please help me in resolving this issue.

Thanks
Regards
Pravin
0 new messages