From: Thomas O. <ot...@fi...> - 2004-03-22 13:37:59
|
Alberto - I think you installed the perlmodul with the root user. The error message: The ORACLE_HOME environment variable must be set. It must be set to hold the path to an Oracle installation directory on this machine (or a machine with a compatible architecture). See the README.clients file for more information. ABORTED! looks like, that you have also to set the $ORACLE_HOME variable for this user. This seem to be the reason for the abort. Cheers, Thomas Alberto Davila wrote: >Hi, > >When trying to install GUS, I needed the following module: > >"Perl-DBD-Oracle" > >I found it in RPMSeek and RPMFind, but trying to install it I got the >following errors: > >[root@genome download]# rpm -ivh perl-DBD-Oracle-1.03-1.i386.rpm >warning: perl-DBD-Oracle-1.03-1.i386.rpm: V3 DSA signature: NOKEY, key >ID bfbaf0e8 >error: Failed dependencies: > libclntsh.so.8.0 is needed by perl-DBD-Oracle-1.03-1 > libskgxp8.so is needed by perl-DBD-Oracle-1.03-1 > >Someone suggested me to use the CPAN2RPM tool, I did and got the errors >listed below. > >I use: > >Fedora Core 1 >Kernel: kernel-2.4.22-1.2174.nptl >Perl: This is perl, v5.8.3 built for i386-linux-thread-multi > >and have Oracle9i installed with all the environment variables >configured. > >Would you have any tips to provide ? > > >Thanks and best regards, Alberto > >********** > > >[root@tryps script]# cpan2rpm --version 1.15 >http://search.cpan.org/CPAN/authors/id/T/TI/TIMB/DBD-Oracle-1.15.tar.gz > >-- cpan2rpm - Ver: 2.026 -- >Signatures not set up >Upgrade check >CPAN+ not found - using old interface > >-- module: >http://search.cpan.org/CPAN/authors/id/T/TI/TIMB/DBD-Oracle-1.15.tar.gz -- >Metadata retrieval >Tarball extraction: [/usr/src/redhat/SOURCES/DBD-Oracle-1.15.tar.gz] >Generating spec file >SPEC: /usr/src/redhat/SPECS/DBD-Oracle.spec >Generating package >Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.50893 >+ umask 022 >+ cd /usr/src/redhat/BUILD >+ LANG=C >+ export LANG >+ unset DISPLAY >+ cd /usr/src/redhat/BUILD >+ rm -rf DBD-Oracle-1.15 >+ /usr/bin/gzip -dc /usr/src/redhat/SOURCES/DBD-Oracle-1.15.tar.gz >+ tar -xf - >+ STATUS=0 >+ '[' 0 -ne 0 ']' >+ cd DBD-Oracle-1.15 >++ /usr/bin/id -u >+ '[' 0 = 0 ']' >+ /bin/chown -Rhf root . >++ /usr/bin/id -u >+ '[' 0 = 0 ']' >+ /bin/chgrp -Rhf root . >+ /bin/chmod -Rf a+rX,g-w,o-w . >+ chmod -R u+w /usr/src/redhat/BUILD/DBD-Oracle-1.15 >+ exit 0 >Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.9207 >+ umask 022 >+ cd /usr/src/redhat/BUILD >+ cd DBD-Oracle-1.15 >+ LANG=C >+ export LANG >+ unset DISPLAY >+ grep -rsl '^#!.*perl' . >+ grep -v '.bak$' >+ xargs --no-run-if-empty /usr/bin/perl -MExtUtils::MakeMaker -e >'MY->fixin(@ARGV)' >+ CFLAGS=-O2 -g -pipe -march=i386 -mcpu=i686 >++ /usr/bin/perl -MExtUtils::MakeMaker -e ' print >qq|PREFIX=/var/tmp/perl-DBD-Oracle-1.15-root/usr| if >$ExtUtils::MakeMaker::VERSION =~ /5\.9[1-6]|6\.0[0-5]/ ' >+ /usr/bin/perl Makefile.PL >Using DBI 1.37 installed in >/usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi/auto/DBI > > Configuring DBD::Oracle ... > > > >>>> Remember to actually *READ* the README file! >>>> >>>> > Especially if you have any problems. > > The ORACLE_HOME environment variable must be set. > It must be set to hold the path to an Oracle installation directory > on this machine (or a machine with a compatible architecture). > See the README.clients file for more information. > ABORTED! >error: Bad exit status from /var/tmp/rpm-tmp.9207 (%build) > > >RPM build errors: > Bad exit status from /var/tmp/rpm-tmp.9207 (%build) >RPM build failed [1] at /usr/bin/cpan2rpm line 1044. >-- Done -- > > > > >------------------------------------------------------- >This SF.Net email is sponsored by: IBM Linux Tutorials >Free Linux tutorial presented by Daniel Robbins, President and CEO of >GenToo technologies. Learn everything from fundamentals to system >administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click >_______________________________________________ >Gusdev-gusdev mailing list >Gus...@li... >https://lists.sourceforge.net/lists/listinfo/gusdev-gusdev > > > |