Return-Path: X-Original-To: apmail-perl-dev-archive@www.apache.org Delivered-To: apmail-perl-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 66CA46B55 for ; Fri, 29 Jul 2011 06:17:53 +0000 (UTC) Received: (qmail 52033 invoked by uid 500); 29 Jul 2011 06:17:52 -0000 Delivered-To: apmail-perl-dev-archive@perl.apache.org Received: (qmail 51814 invoked by uid 500); 29 Jul 2011 06:17:36 -0000 Mailing-List: contact dev-help@perl.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list dev@perl.apache.org Received: (qmail 51791 invoked by uid 99); 29 Jul 2011 06:17:30 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 29 Jul 2011 06:17:30 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [209.85.218.49] (HELO mail-yi0-f49.google.com) (209.85.218.49) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 29 Jul 2011 06:17:24 +0000 Received: by yib17 with SMTP id 17so3407651yib.22 for ; Thu, 28 Jul 2011 23:17:03 -0700 (PDT) MIME-Version: 1.0 Received: by 10.150.254.20 with SMTP id b20mr350263ybi.91.1311920221670; Thu, 28 Jul 2011 23:17:01 -0700 (PDT) Received: by 10.147.82.17 with HTTP; Thu, 28 Jul 2011 23:17:01 -0700 (PDT) In-Reply-To: References: <20110727191503.9B83C2388894@eris.apache.org> <4E312105.7010702@msg.com.mx> Date: Thu, 28 Jul 2011 23:17:01 -0700 Message-ID: Subject: Re: Fwd: svn commit: r1151596 - in /perl/modperl/branches/1.x: Changes Symbol/Symbol.xs src/modules/perl/Constants.xs src/modules/perl/Log.xs src/modules/perl/mod_perl.c src/modules/perl/mod_perl.h src/modules/perl/perl_config.c From: Fred Moyer To: peng wei Cc: mod_perl Dev Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org You probably want to contact the DBD::Oracle maintainer, his contact info is here - https://metacpan.org/module/DBD::Oracle This list is for mod_perl development issues, so there isn't a lot of DBD::Oracle expertise here. On Thu, Jul 28, 2011 at 10:17 PM, peng wei wrote: > Hi All, > I am sorry to sent this mail to want to get help from you. > Anyway.... I am install the perl module of DBD::Oracle on one 64 bit RedH= at > Vmware, > I have installed the Oracle Instant Client, and can use sql*plus to conne= ct > to remote Database to fetch data. > But when I use cpanp to install DBD::Oracle, it alarms below info: > ********************************************************************** > =A0=A0 CPAN Terminal> i DBD::Oracle > > [MSG] No '/root/.cpanplus/custom-sources' dir, skipping custom sources > [MSG] No '/root/.cpanplus/custom-sources' dir, skipping custom sources > [MSG] No '/root/.cpanplus/custom-sources' dir, skipping custom sources > Installing DBD::Oracle (1.28) > Running [/usr/bin/perl /usr/bin/cpanp-run-perl > /root/.cpanplus/5.8.8/build/DBD-Oracle-1.28/Makefile.PL]... > Using DBI 1.616 (for perl 5.008008 on x86_64-linux-thread-multi) installe= d > in /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/auto/DBI/ > > Configuring DBD::Oracle for perl 5.008008 on linux > (x86_64-linux-thread-multi) > > Remember to actually *READ* the README file! Especially if you have any > problems. > > Installing on a linux, Ver#2.6 > Using Oracle in /home/oracle > Multiple copies of Driver.xst found in: > /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/auto/DBI/ > /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi/auto/DBI/ at > /root/.cpanplus/5.8.8/build/DBD-Oracle-1.28/Makefile.PL line 37 > SP2-1503: Unable to initialize Oracle call interface > SP2-0152: ORACLE may not be functioning properly > > =A0 =A0 =A0 =A0=A0 =A0=A0=A0If sqlplus failed due to a linker/symbol/relo= cation/library > error or similar problem > =A0 =A0 =A0 =A0=A0 =A0=A0=A0then it's likely that you've not configured y= our environment > correctly. > =A0 =A0 =A0 =A0=A0 =A0=A0=A0Specifically, your LD_LIBRARY_PATH environmen= t variable > =A0 =A0 =A0 =A0=A0 =A0=A0=A0set to include the directory containing the O= racle libraries. > > I'm having trouble finding your Oracle version number... trying harder > > WARNING: I could not determine Oracle client version so I'll just > default to version 8.0.0.0. Some features of DBD::Oracle may not work. > Oracle version based logic in Makefile.PL may produce erroneous results. > You can use "perl Makefile.PL -V X.Y.Z" to specify a your client version. > > Oracle version 8.0.0.0 (8.0) > DBD::Oracle no longer supports Oracle client versions before 9.2 > Try a version before 1.25 for 9 and 1.18 for 8! at > /root/.cpanplus/5.8.8/build/DBD-Oracle-1.28/Makefile.PL line 175. > BEGIN failed--compilation aborted at /usr/bin/cpanp-run-perl line 8. > [ERROR] Could not run '/usr/bin/perl Makefile.PL': Using DBI 1.616 (for p= erl > 5.008008 on x86_64-linux-thread-multi) installed in > /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/auto/DBI/ > > Configuring DBD::Oracle for perl 5.008008 on linux > (x86_64-linux-thread-multi) > > Remember to actually *READ* the README file! Especially if you have any > problems. > > Installing on a linux, Ver#2.6 > Using Oracle in /home/oracle > Multiple copies of Driver.xst found in: > /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/auto/DBI/ > /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi/auto/DBI/ at > /root/.cpanplus/5.8.8/build/DBD-Oracle-1.28/Makefile.PL line 37 > SP2-1503: Unable to initialize Oracle call interface > SP2-0152: ORACLE may not be functioning properly > > =A0 =A0 =A0 =A0=A0 =A0=A0=A0If sqlplus failed due to a linker/symbol/relo= cation/library > error or similar problem > =A0 =A0 =A0 =A0=A0 =A0=A0=A0then it's likely that you've not configured y= our environment > correctly. > =A0 =A0 =A0 =A0=A0 =A0=A0=A0Specifically, your LD_LIBRARY_PATH environmen= t variable > =A0 =A0 =A0 =A0=A0 =A0=A0=A0set to include the directory containing the O= racle libraries. > > I'm having trouble finding your Oracle version number... trying harder > > WARNING: I could not determine Oracle client version so I'll just > default to version 8.0.0.0. Some features of DBD::Oracle may not work. > Oracle version based logic in Makefile.PL may produce erroneous results. > You can use "perl Makefile.PL -V X.Y.Z" to specify a your client version. > > Oracle version 8.0.0.0 (8.0) > DBD::Oracle no longer supports Oracle client versions before 9.2 > Try a version before 1.25 for 9 and 1.18 for 8! at > /root/.cpanplus/5.8.8/build/DBD-Oracle-1.28/Makefile.PL line 175. > BEGIN failed--compilation aborted at /usr/bin/cpanp-run-perl line 8. > -- cannot continue > > [ERROR] Unable to create a new distribution object for 'DBD::Oracle' -- > cannot continue > > *** Install log written to: > =A0=A0/root/.cpanplus/install-logs/DBD-Oracle-1.28-1311839802.log > > Error installing 'DBD::Oracle' > Problem installing one or more modules > *** You can view the complete error buffer by pressing 'p' *** > > CPAN Terminal> > ********************************************************************** > > 2011/7/28 Salvador Ortiz Garcia >> >> The commited patch has two typos: >> >> On 07/27/2011 02:15 PM, phred@apache.org wrote: >>> >>> --- perl/modperl/branches/1.x/src/modules/perl/mod_perl.h (original) >>> +++ perl/modperl/branches/1.x/src/modules/perl/mod_perl.h Wed Jul 27 >>> 19:15:01 2011 >>> @@ -1026,6 +1026,14 @@ else { \ >>> =A0#define PERL_HEADER_PARSER_CREATE(s) >>> =A0#endif >>> >>> +#ifndef GvCV_set >>> +#define GvCV_set(gv, cv) (GvCV(gv) =3D (cv)) >>> +#endif >>> + >>> +#ifndef GvCV_set >> >> s/GvCV/CvGV/ >>> >>> +#define CvGV_set(gv, cv) (CvVG(gv) =3D (cv)) >> >> s/VG/GV/ >>> >>> +#endif >>> + >>> =A0typedef struct { >>> =A0 =A0 array_header *PerlPassEnv; >>> =A0 =A0 array_header *PerlRequire; >> >> Btw, Wade's patch, posted on Jul 11, is very similar to mine, posted on >> Jun 28. >> >> Regards. >> >> Salvador Ortiz. >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org >> For additional commands, e-mail: dev-help@perl.apache.org >> > > --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org For additional commands, e-mail: dev-help@perl.apache.org