Skip Menu |
 

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the DBD-Oracle CPAN distribution.

Report information
The Basics
Id: 40738
Status: resolved
Priority: 0/
Queue: DBD-Oracle

People
Owner: champoux [...] pythian.com
Requestors: angeloyz [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: Critical
Broken in: 1.22
Fixed in: (no value)



Subject: "ld: fatal error" when linking
MIME-Version: 1.0
X-Mailer: MIME-tools 5.426 (Entity 5.426)
Content-Type: text/plain
Charset: utf8
Content-Disposition: inline
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
Content-Length: 1891
Download (untitled) / with headers
text/plain 1.8k
rm -f blib/arch/auto/DBD/Oracle/Oracle.so LD_RUN_PATH="/opt/app/oracle9i/orabase/product/9.2.0.7/lib32:/opt/app/oracle9i/orabase/product/9.2.0.7/rdbms/lib32" /opt/SUNWspro/bin/cc -G -L/usr/lib -L/usr/ccs/lib -L/opt/SUNWspro/WS6U2/lib Oracle.o dbdimp.o oci8.o cc -Xa -xstrconst -xF -xarch=v8 -xchip=ultra -W2,-AKNR_S -W2,-Rglobal_hoist -Wc,-Qdelay-speculate -Wc,-Qdepgraph-safe_spec_load=3 -W2,-Rloop -errtags=yes -v -K PIC -L/opt/SUNWcluster/lib -R/opt/SUNWcluster/lib -L/opt/app/oracle9i/orabase/product/9.2.0.7/rdbms/lib32/ -L/opt/app/oracle9i/orabase/product/9.2.0.7/lib32/ -lclntsh `cat /opt/app/oracle9i/orabase/product/9.2.0.7/lib32/ldflags` `cat /opt/app/oracle9i/orabase/product/9.2.0.7/lib32/sysliblist` -R/opt/app/oracle9i/orabase/product/9.2.0.7/lib32 -laio -lposix4 -lkstat -lm -lthread -o blib/arch/auto/DBD/Oracle/Oracle.so \ \ ld: fatal: file cc: open failed: No such file or directory ld: fatal: File processing errors. No output written to blib/arch/auto/DBD/Oracle/Oracle.so *** Error code 1 make: Fatal error: Command failed for target `blib/arch/auto/DBD/Oracle/Oracle.so' (I found out that the Makefile generated by Makefile.PL on my machine[sparc/solaris] is wrong : ) OTHERLDFLAGS = cc -Xa -xstrconst -xF -xarch=v8 -xchip=ultra -W2,-AKNR_S -W2,-Rglobal_hoist -Wc,-Qdelay-s peculate -Wc,-Qdepgraph-safe_spec_load=3 -W2,-Rloop -errtags=yes -v -K PIC -L/opt/SUNWcluster/lib -R/opt/SUNW cluster/lib -L/opt/app/oracle9i/orabase/product/9.2.0.7/rdbms/lib32/ -L/opt/app/oracle9i/orabase/product/9.2.0 .7/lib32/ -lclntsh `cat /opt/app/oracle9i/orabase/product/9.2.0.7/lib32/ldflags` `cat /opt/app/oracle9i/or abase/product/9.2.0.7/lib32/sysliblist` -R/opt/app/oracle9i/orabase/product/9.2.0.7/lib32 -laio -lposix4 -lkst at -lm -lthread (Pay attention to the 'cc' after '=', that's the reason while link error occured!!!)
MIME-Version: 1.0
X-Mailer: MIME-tools 5.426 (Entity 5.426)
Content-Disposition: inline
Charset: utf8
Message-Id: <rt-3.6.HEAD-5580-1226050479-219.40738-0-0 [...] rt.cpan.org>
Content-Type: text/plain
Content-Transfer-Encoding: binary
From: angeloyz [...] gmail.com
X-RT-Original-Encoding: utf-8
Content-Length: 2100
在 2008-11-07 04:32:42 星期五 时,angelo 写到: Show quoted text
> rm -f blib/arch/auto/DBD/Oracle/Oracle.so >
LD_RUN_PATH="/opt/app/oracle9i/orabase/product/9.2.0.7/lib32:/opt/app/oracle9i/orabase/product/9.2.0.7/rdbms/lib32" Show quoted text
> /opt/SUNWspro/bin/cc -G -L/usr/lib -L/usr/ccs/lib > -L/opt/SUNWspro/WS6U2/lib Oracle.o dbdimp.o oci8.o cc -Xa > -xstrconst > -xF -xarch=v8 -xchip=ultra -W2,-AKNR_S -W2,-Rglobal_hoist > -Wc,-Qdelay-speculate -Wc,-Qdepgraph-safe_spec_load=3 -W2,-Rloop > -errtags=yes -v -K PIC -L/opt/SUNWcluster/lib -R/opt/SUNWcluster/lib > -L/opt/app/oracle9i/orabase/product/9.2.0.7/rdbms/lib32/ > -L/opt/app/oracle9i/orabase/product/9.2.0.7/lib32/ -lclntsh `cat > /opt/app/oracle9i/orabase/product/9.2.0.7/lib32/ldflags` `cat > /opt/app/oracle9i/orabase/product/9.2.0.7/lib32/sysliblist` > -R/opt/app/oracle9i/orabase/product/9.2.0.7/lib32 -laio -lposix4 > -lkstat -lm -lthread -o blib/arch/auto/DBD/Oracle/Oracle.so \ > \ > > ld: fatal: file cc: open failed: No such file or directory > ld: fatal: File processing errors. No output written to > blib/arch/auto/DBD/Oracle/Oracle.so > *** Error code 1 > make: Fatal error: Command failed for target > `blib/arch/auto/DBD/Oracle/Oracle.so' > > (I found out that the Makefile generated by Makefile.PL on my > machine[sparc/solaris] is wrong : ) > > OTHERLDFLAGS = cc -Xa -xstrconst -xF -xarch=v8 -xchip=ultra > -W2,-AKNR_S -W2,-Rglobal_hoist -Wc,-Qdelay-s > peculate -Wc,-Qdepgraph-safe_spec_load=3 -W2,-Rloop -errtags=yes -v > -K > PIC -L/opt/SUNWcluster/lib -R/opt/SUNW > cluster/lib -L/opt/app/oracle9i/orabase/product/9.2.0.7/rdbms/lib32/ > -L/opt/app/oracle9i/orabase/product/9.2.0 > .7/lib32/ -lclntsh `cat > /opt/app/oracle9i/orabase/product/9.2.0.7/lib32/ldflags` `cat > /opt/app/oracle9i/or > abase/product/9.2.0.7/lib32/sysliblist` > -R/opt/app/oracle9i/orabase/product/9.2.0.7/lib32 -laio -lposix4 > -lkst > at -lm -lthread > > > (Pay attention to the 'cc' after '=', that's the reason while link > error > occured!!!) > >
btw: if the 'cc' is removed in 'OTHERLDFLAGS', make succeeds!
MIME-Version: 1.0
X-Mailer: MIME-tools 5.426 (Entity 5.426)
Content-Disposition: inline
Charset: utf8
Message-Id: <rt-3.6.HEAD-5570-1226060794-1573.40738-0-0 [...] rt.cpan.org>
Content-Type: text/plain
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
Content-Length: 232
Download (untitled) / with headers
text/plain 232b
In order to get to the root of this problem (ie How the Makefile is created) I will need a few more details 1) Operating system 2) version of DBI 3) Version of DBD::Oracle 4) Client version of Oracle 5) output from Perl Makefile.PL
MIME-Version: 1.0
X-Spam-Status: No, hits=0.0 required=8.0 tests=DK_SIGNED,SPF_PASS
In-Reply-To: <rt-3.6.HEAD-5570-1226060794-1573.40738-6-0 [...] rt.cpan.org>
Content-Disposition: inline
References: <RT-Ticket-40738 [...] rt.cpan.org> <rt-3.6.HEAD-5570-1226060794-1573.40738-6-0 [...] rt.cpan.org>
Content-Type: text/plain; charset="utf-8"
X-RT-Original-Encoding: utf-8
Received: from la.mx.develooper.com (x1.develooper.com [63.251.223.170]) by diesel.bestpractical.com (Postfix) with SMTP id 43A584D8005 for <bug-DBD-Oracle [...] rt.cpan.org>; Mon, 10 Nov 2008 02:14:01 -0500 (EST)
Received: (qmail 21160 invoked by uid 103); 10 Nov 2008 07:14:00 -0000
Received: from x16.dev (10.0.100.26) by x1.dev with QMQP; 10 Nov 2008 07:14:00 -0000
Received: from wa-out-1112.google.com (HELO wa-out-1112.google.com) (209.85.146.179) by 16.mx.develooper.com (qpsmtpd/0.43rc1) with ESMTP; Sun, 09 Nov 2008 23:13:57 -0800
Received: by wa-out-1112.google.com with SMTP id n7so1186041wag.13 for <bug-DBD-Oracle [...] rt.cpan.org>; Sun, 09 Nov 2008 23:13:54 -0800 (PST)
Received: by 10.114.169.2 with SMTP id r2mr3971368wae.161.1226301234892; Sun, 09 Nov 2008 23:13:54 -0800 (PST)
Received: by 10.114.73.16 with HTTP; Sun, 9 Nov 2008 23:13:54 -0800 (PST)
Delivered-To: cpan-bug+DBD-Oracle [...] diesel.bestpractical.com
Subject: Re: [rt.cpan.org #40738] "ld: fatal error" when linking
Domainkey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=tlyXk9WtxLPnJ3e/WcXxrEK4j5at+j9q69UQC7y5m9nDhBF4N3p62OqWo3temh+swE TAJhZlc6foLObzuvsbNkz82meGWZWPWfwwjGplw5s2zlEcGv8+g7p14QXa4VQwz10Hhh C6GA5lDZS+Gb7kyZp3Cu+6fake8LM6WCCgkU4=
Return-Path: <angeloyz [...] gmail.com>
Dkim-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=/eCF3zke6+KnwM4SFNVqB0V65y+1tF4anw9XiuAGv1A=; b=oZ0EWQif0B7jLS2QwntwS80V9bRkPHBDK2Ejai0KbtlfI21FZBZNqwX3lFZpNXHUwS OS9RJEC0PyNBtWtM4zlq0yxeh6W9UFNl+ogYu4oK7WEdb/92Xjvi9MAK//BlFhnJH0U/ bxCqINo0o4ADYEK5/0163qf5ugFLd0SeD9doY=
X-Spam-Check-BY: 16.mx.develooper.com
X-Original-To: bug-DBD-Oracle [...] rt.cpan.org
Date: Mon, 10 Nov 2008 15:13:54 +0800
X-Spam-Level: *
Message-Id: <5f112b600811092313n7e294ac3g8ba198e7227d7158 [...] mail.gmail.com>
To: bug-DBD-Oracle [...] rt.cpan.org
Content-Transfer-Encoding: 7bit
From: "Yu Ze" <angeloyz [...] gmail.com>
RT-Message-ID: <rt-3.6.HEAD-5586-1226301247-492.40738-0-0 [...] rt.cpan.org>
Content-Length: 5861
Download (untitled) / with headers
text/plain 5.7k
2008/11/7 Pythian Remote DBA via RT <bug-DBD-Oracle@rt.cpan.org>: Show quoted text
> <URL: http://rt.cpan.org/Ticket/Display.html?id=40738 > > > In order to get to the root of this problem (ie How the Makefile is > created) I will need a few more details > > 1) Operating system
SunOS 5.9 Show quoted text
> 2) version of DBI
DBI-1.607 Show quoted text
> 3) Version of DBD::Oracle
DBD-Oracle-1.22 Show quoted text
> 4) Client version of Oracle
ORACLE_HOME=/opt/app/oracle9i/orabase/product/9.2.0.7 Show quoted text
> 5) output from Perl Makefile.PL >
v490i1:/userhome/tuxopq/DBD-Oracle-1.22$ ../perl5/perl Makefile.PL Using DBI 1.607 (for perl 5.008008 on sun4-solaris) installed in /userhome/tuxopq/perl5/lib/site_perl/5.8.8/sun4-solaris/auto/DBI/ Configuring DBD::Oracle for perl 5.008008 on solaris (sun4-solaris) Remember to actually *READ* the README file! Especially if you have any problems. Installing on a solaris, Ver#2.9 Using Oracle in /opt/app/oracle9i/orabase/product/9.2.0.7 DEFINE _SQLPLUS_RELEASE = "902000700" (CHAR) Oracle version 9.2.0.7 (9.2) Found /opt/app/oracle9i/orabase/product/9.2.0.7/rdbms/demo/demo_rdbms.mk Found /opt/app/oracle9i/orabase/product/9.2.0.7/rdbms/lib/ins_rdbms.mk Found /opt/app/oracle9i/orabase/product/9.2.0.7/precomp/demo/proc/demo_proc.mk Using /opt/app/oracle9i/orabase/product/9.2.0.7/rdbms/demo/demo_rdbms.mk Your LD_LIBRARY_PATH env var is set to '/opt/app/tuxapp/TUX91/tuxedo9.1/lib:/lib:/usr/lib:/usr/java/include:/opt/app/oracle9i/orabase/product/9.2.0.7/lib32:/opt/app/oracle9i/orabase/product/9.2.0.7/rdbms/lib32:/opt/app/tuxapp/tuxopq/lib/log4cplus-1.0.2/src/.libs' Reading /opt/app/oracle9i/orabase/product/9.2.0.7/rdbms/demo/demo_rdbms.mk Reading /opt/app/oracle9i/orabase/product/9.2.0.7/rdbms/lib/env_rdbms.mk Attempting to discover Oracle OCI build32 rules /opt/SUNWspro/bin/cc -c -I/opt/app/oracle9i/orabase/product/9.2.0.7/rdbms/public -I/opt/app/oracle9i/orabase/product/9.2.0.7/rdbms/demo -I/opt/app/oracle9i/orabase/product/9.2.0.7/rdbms/demo -I/opt/app/oracle9i/orabase/product/9.2.0.7/rdbms/public -I/opt/app/oracle9i/orabase/product/9.2.0.7/plsql/public -I/opt/app/oracle9i/orabase/product/9.2.0.7/network/public -I/userhome/tuxopq/perl5/lib/site_perl/5.8.8/sun4-solaris/auto/DBI -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O -DVERSION=\"1.22\" -DXS_VERSION=\"1.22\" -KPIC "-I/userhome/tuxopq/perl5/lib/5.8.8/sun4-solaris/CORE" -DUTF8_SUPPORT -DNEW_OCI_INIT -DORA_OCI_VERSION=\"9.2.0.7\" DBD_ORA_OBJ.c by executing: [make -f /opt/app/oracle9i/orabase/product/9.2.0.7/rdbms/demo/demo_rdbms.mk build32 ECHODO=echo ECHO=echo GENCLNTSH='echo genclntsh' CC=true OPTIMIZE= CCFLAGS= EXE=DBD_ORA_EXE OBJS=DBD_ORA_OBJ.o] Oracle oci build command: [cc -Xa -xstrconst -xF -xarch=v8 -xchip=ultra -W2,-AKNR_S -W2,-Rglobal_hoist -Wc,-Qdelay-speculate -Wc,-Qdepgraph-safe_spec_load=3 -W2,-Rloop -errtags=yes -v -K PIC -L/opt/SUNWcluster/lib -R/opt/SUNWcluster/lib -o build -L/opt/app/oracle9i/orabase/product/9.2.0.7/rdbms/lib32/ -L/opt/app/oracle9i/orabase/product/9.2.0.7/lib32/ -o DBD_ORA_EXE DBD_ORA_OBJ.o -lclntsh `cat /opt/app/oracle9i/orabase/product/9.2.0.7/lib32/ldflags` `cat /opt/app/oracle9i/orabase/product/9.2.0.7/lib32/sysliblist` -R/opt/app/oracle9i/orabase/product/9.2.0.7/lib32 -laio -lposix4 -lkstat -lm -lthread] Found header files in /opt/app/oracle9i/orabase/product/9.2.0.7/rdbms/public /opt/app/oracle9i/orabase/product/9.2.0.7/rdbms/demo. Checking for functioning wait.ph System: perl5.008008 sunos v490i1 5.9 generic_122300-12 sun4u sparc sunw,sun-fire-v490 Compiler: /opt/SUNWspro/bin/cc -O -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 Linker: /usr/ccs/bin/ld Sysliblist: -lnsl -lsocket -lgen -ldl Oracle makefiles would have used these definitions but we override them: CC: cc CFLAGS: $(GFLAG) $(OPTIMIZE) $(CDEBUG) $(CCFLAGS) $(PFLAGS)\ $(SHARED_CFLAG) $(USRFLAGS) [$(GFLAG) -xO3 $(CDEBUG) -Xa $(PROFILE) -xstrconst -dalign -xF $(XS) $(MR) -xildoff -errtags=yes -v -xarch=v9 -xchip=ultra3 -W2,-AKNR_S -Wd,-xsafe=unboundsym -Wc,-Qiselect-funcalign=32 -xcode=abs44 -Wc,-Qgsched-trace_late=1 -Wc,-Qgsched-T5 -xalias_level=weak -D_REENTRANT -DSS_64BIT_SERVER -DBIT64 -DMACHINE64 -K PIC -I/opt/app/oracle9i/orabase/product/9.2.0.7/rdbms/demo -I/opt/app/oracle9i/orabase/product/9.2.0.7/rdbms/public -I/opt/app/oracle9i/orabase/product/9.2.0.7/plsql/public -I/opt/app/oracle9i/orabase/product/9.2.0.7/network/public -DSLMXMX_ENABLE -DSLTS_ENABLE -D_SVID_GETTOD -D_REENTRANT $(LPFLAGS) $(USRFLAGS)] LDFLAGS: -o $@ $(LDPATHFLAG)$(PRODLIBHOME) $(LDPATHFLAG)$(LIBHOME) [-o $@ -L/opt/app/oracle9i/orabase/product/9.2.0.7/rdbms/lib/ -L$(LIBHOME)] Linking with OTHERLDFLAGS = cc -Xa -xstrconst -xF -xarch=v8 -xchip=ultra -W2,-AKNR_S -W2,-Rglobal_hoist -Wc,-Qdelay-speculate -Wc,-Qdepgraph-safe_spec_load=3 -W2,-Rloop -errtags=yes -v -K PIC -L/opt/SUNWcluster/lib -R/opt/SUNWcluster/lib -L/opt/app/oracle9i/orabase/product/9.2.0.7/rdbms/lib32/ -L/opt/app/oracle9i/orabase/product/9.2.0.7/lib32/ -lclntsh `cat /opt/app/oracle9i/orabase/product/9.2.0.7/lib32/ldflags` `cat /opt/app/oracle9i/orabase/product/9.2.0.7/lib32/sysliblist` -R/opt/app/oracle9i/orabase/product/9.2.0.7/lib32 -laio -lposix4 -lkstat -lm -lthread [from 'build32' rule] WARNING: If you have problems you may need to rebuild perl with threading enabled. LD_RUN_PATH=/opt/app/oracle9i/orabase/product/9.2.0.7/lib32:/opt/app/oracle9i/orabase/product/9.2.0.7/rdbms/lib32 Using DBD::Oracle 1.22. Using DBD::Oracle 1.22. Using DBI 1.607 (for perl 5.008008 on sun4-solaris) installed in /userhome/tuxopq/perl5/lib/site_perl/5.8.8/sun4-solaris/auto/DBI/ Writing Makefile for DBD::Oracle *** If you have problems... read all the log printed above, and the README and README.help.txt files. (Of course, you have read README by now anyway, haven't you?) -- hold faith in truth, kindness and love!
MIME-Version: 1.0
X-Mailer: MIME-tools 5.426 (Entity 5.426)
Charset: utf8
Message-Id: <rt-3.6.HEAD-5586-1226665619-223.40738-0-0 [...] rt.cpan.org>
Content-Type: multipart/mixed; boundary="----------=_1226665619-5586-117"
X-RT-Original-Encoding: utf-8
Content-Length: 0
Content-Disposition: inline
Content-Type: text/plain
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
Content-Length: 128
Download (untitled) / with headers
text/plain 128b
Can you run the attached Makefile.PL and put the results in the Ticket I have set up a little debugging messages on it. Cheers
MIME-Version: 1.0
X-Mailer: MIME-tools 5.426 (Entity 5.426)
Content-Type: multipart/mixed; boundary="----------=_1226665619-5586-116"
Charset: utf8
Content-Length: 0
Content-Type: text/plain
Content-Disposition: inline
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: iso-8859-1
Content-Length: 0
Content-Type: application/octet-stream; name="Makefile.PL"
Content-Disposition: inline; filename="Makefile.PL"
Content-Transfer-Encoding: base64
Content-Length: 69861
Download Makefile.PL
text/x-perl 68.2k

Message body is not shown because it is too large.

MIME-Version: 1.0
X-Spam-Status: No, hits=0.0 required=8.0 tests=DK_SIGNED,HTML_MESSAGE,NORMAL_HTTP_TO_IP,SPF_PASS
In-Reply-To: <rt-3.6.HEAD-5586-1226665619-223.40738-6-0 [...] rt.cpan.org>
References: <RT-Ticket-40738 [...] rt.cpan.org> <rt-3.6.HEAD-5586-1226665619-223.40738-6-0 [...] rt.cpan.org>
X-Virus-Checked: Checked by ClamAV on 16.mx.develooper.com
Content-Type: multipart/alternative; boundary="----=_Part_19934_32278809.1226914575583"
Received: from la.mx.develooper.com (x1.develooper.com [63.251.223.170]) by diesel.bestpractical.com (Postfix) with SMTP id D5C274D8015 for <bug-DBD-Oracle [...] rt.cpan.org>; Mon, 17 Nov 2008 04:36:26 -0500 (EST)
Received: (qmail 18739 invoked by uid 103); 17 Nov 2008 09:36:26 -0000
Received: from x16.dev (10.0.100.26) by x1.dev with QMQP; 17 Nov 2008 09:36:26 -0000
Received: from wa-out-1112.google.com (HELO wa-out-1112.google.com) (209.85.146.178) by 16.mx.develooper.com (qpsmtpd/0.43rc1) with ESMTP; Mon, 17 Nov 2008 01:36:19 -0800
Received: by wa-out-1112.google.com with SMTP id n7so1248446wag.13 for <bug-DBD-Oracle [...] rt.cpan.org>; Mon, 17 Nov 2008 01:36:16 -0800 (PST)
Received: by 10.115.32.1 with SMTP id k1mr2384733waj.66.1226914575570; Mon, 17 Nov 2008 01:36:15 -0800 (PST)
Received: by 10.114.73.16 with HTTP; Mon, 17 Nov 2008 01:36:15 -0800 (PST)
Delivered-To: cpan-bug+DBD-Oracle [...] diesel.bestpractical.com
Subject: Re: [rt.cpan.org #40738] "ld: fatal error" when linking
Domainkey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:references; b=mpggT1zSTIQ6h0LZgNNSkseQpA5W8zVz7XzBHgTdSQcRlKovyN4jnn6aRjlFhdb2HM Eci+19KUeL40CAv7o5pIS0PQjVoNzqWjhTHc0hQdn5up6yexfs6f15SVBQ2UZsyFEACg UoFWCrgxOoqfsaRxMYYQp269vde1fhiuGNcvc=
Return-Path: <angeloyz [...] gmail.com>
Dkim-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type:references; bh=lVhM21ai2n5qbeXtw/XAd6FCNmQtP0iWRLAPozm87AM=; b=ru5IovAC3elFLGlZkp8rUnT5XGnW/UOLS/mDuS8wUUa2ul+zbkaenGwZdd/N9+AIFA AuYwM7Gxi3H22HFv7vOJzg7wmiD9yZhe57/27jqIFKqTD6hBBIgMsKMhKx0GZMh5qIqL YY2ZjkRuEj4kdgZJ7GRhUFmFc5wjXUuiyNk7w=
X-Spam-Check-BY: 16.mx.develooper.com
X-Original-To: bug-DBD-Oracle [...] rt.cpan.org
Date: Mon, 17 Nov 2008 17:36:15 +0800
X-Spam-Level: *
Message-Id: <5f112b600811170136u3ca42253o21922ecea13ca743 [...] mail.gmail.com>
To: bug-DBD-Oracle [...] rt.cpan.org
From: "Yu Ze" <angeloyz [...] gmail.com>
RT-Message-ID: <rt-3.6.HEAD-5580-1226914593-770.40738-0-0 [...] rt.cpan.org>
Content-Length: 0
Content-Type: text/plain; charset="utf-8"
Content-Disposition: inline
Content-Transfer-Encoding: 7bit
X-RT-Original-Encoding: utf-8
Content-Length: 5582
Download (untitled) / with headers
text/plain 5.4k
*here is the result of the new Makefile.PL:* DBD-Oracle-1.22$ ../perl5/perl Makefile.PL Using DBI 1.607 (for perl 5.008008 on sun4-solaris) installed in /userhome/tuxopq/perl5/lib/site_perl/5.8.8/sun4-solaris/auto/DBI/ Configuring DBD::Oracle for perl 5.008008 on solaris (sun4-solaris) Remember to actually *READ* the README file! Especially if you have any problems. Installing on a solaris, Ver#2.9 Using Oracle in /opt/app/oracle9i/orabase/product/9.2.0.7 DEFINE _SQLPLUS_RELEASE = "902000700" (CHAR) Oracle version 9.2.0.7 (9.2) os ='solaris' Found /opt/app/oracle9i/orabase/product/9.2.0.7/rdbms/demo/demo_rdbms.mk Found /opt/app/oracle9i/orabase/product/9.2.0.7/rdbms/lib/ins_rdbms.mk Found /opt/app/oracle9i/orabase/product/ 9.2.0.7/precomp/demo/proc/demo_proc.mk Using /opt/app/oracle9i/orabase/product/9.2.0.7/rdbms/demo/demo_rdbms.mk Trawl guts of Oracle Your LD_LIBRARY_PATH env var is set to '/opt/app/tuxapp/TUX91/tuxedo9.1/lib:/lib:/usr/lib:/usr/java/include:/opt/app/oracle9i/orabase/product/ 9.2.0.7/lib32:/opt/app/oracle9i/orabase/product/9.2.0.7/rdbms/lib32:/opt/app/tuxapp/tuxopq/lib/log4cplus-1.0.2/src/.libs ' Reading /opt/app/oracle9i/orabase/product/9.2.0.7/rdbms/demo/demo_rdbms.mk Reading /opt/app/oracle9i/orabase/product/9.2.0.7/rdbms/lib/env_rdbms.mk Attempting to discover Oracle OCI build32 rules /opt/SUNWspro/bin/cc -c -I/opt/app/oracle9i/orabase/product/ 9.2.0.7/rdbms/public -I/opt/app/oracle9i/orabase/product/9.2.0.7/rdbms/demo-I. -I/opt/app/oracle9i/orabase/product/ 9.2.0.7/precomp/public -I/opt/app/oracle9i/orabase/product/ 9.2.0.7/rdbms/public -I/opt/app/oracle9i/orabase/product/9.2.0.7/rdbms/demo-I/opt/app/oracle9i/orabase/product/ 9.2.0.7/plsql/public -I/opt/app/oracle9i/orabase/product/ 9.2.0.7/network/public-I/userhome/tuxopq/perl5/lib/site_perl/5.8.8/sun4-solaris/auto/DBI -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O -DVERSION=\"1.22\" -DXS_VERSION=\"1.22\" -KPIC "-I/userhome/tuxopq/perl5/lib/5.8.8/sun4-solaris/CORE" -DUTF8_SUPPORT -DNEW_OCI_INIT -DORA_OCI_VERSION=\"9.2.0.7\" DBD_ORA_OBJ.c by executing: [make -f /opt/app/oracle9i/orabase/product/ 9.2.0.7/rdbms/demo/demo_rdbms.mk build32 ECHODO=echo ECHO=echo GENCLNTSH='echo genclntsh' CC=true OPTIMIZE= CCFLAGS= EXE=DBD_ORA_EXE OBJS=DBD_ORA_OBJ.o] Oracle oci build command: [cc -Xa -xstrconst -xF -xarch=v8 -xchip=ultra -W2,-AKNR_S -W2,-Rglobal_hoist -Wc,-Qdelay-speculate -Wc,-Qdepgraph-safe_spec_load=3 -W2,-Rloop -errtags=yes -v -K PIC -L/opt/SUNWcluster/lib -R/opt/SUNWcluster/lib -o build -L/opt/app/oracle9i/orabase/product/ 9.2.0.7/rdbms/lib32/ -L/opt/app/oracle9i/orabase/product/9.2.0.7/lib32/ -o DBD_ORA_EXE DBD_ORA_OBJ.o -lclntsh `cat /opt/app/oracle9i/orabase/product/ 9.2.0.7/lib32/ldflags` `cat /opt/app/oracle9i/orabase/product/ 9.2.0.7/lib32/sysliblist` -R/opt/app/oracle9i/orabase/product/9.2.0.7/lib32-laio -lposix4 -lkstat -lm -lthread] The simple approach Found header files in /opt/app/oracle9i/orabase/product/9.2.0.7/rdbms/public/opt/app/oracle9i/orabase/product/ 9.2.0.7/rdbms/demo. Checking for functioning wait.ph System: perl5.008008 sunos v490i1 5.9 generic_122300-12 sun4u sparc sunw,sun-fire-v490 Compiler: /opt/SUNWspro/bin/cc -O -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 Linker: /usr/ccs/bin/ld Sysliblist: -lnsl -lsocket -lgen -ldl Oracle makefiles would have used these definitions but we override them: CC: cc CFLAGS: $(GFLAG) $(OPTIMIZE) $(CDEBUG) $(CCFLAGS) $(PFLAGS)\ $(SHARED_CFLAG) $(USRFLAGS) [$(GFLAG) -xO3 $(CDEBUG) -Xa $(PROFILE) -xstrconst -dalign -xF $(XS) $(MR) -xildoff -errtags=yes -v -xarch=v9 -xchip=ultra3 -W2,-AKNR_S -Wd,-xsafe=unboundsym -Wc,-Qiselect-funcalign=32 -xcode=abs44 -Wc,-Qgsched-trace_late=1 -Wc,-Qgsched-T5 -xalias_level=weak -D_REENTRANT -DSS_64BIT_SERVER -DBIT64 -DMACHINE64 -K PIC -I/opt/app/oracle9i/orabase/product/9.2.0.7/rdbms/demo-I/opt/app/oracle9i/orabase/product/ 9.2.0.7/rdbms/public -I/opt/app/oracle9i/orabase/product/ 9.2.0.7/plsql/public -I/opt/app/oracle9i/orabase/product/ 9.2.0.7/network/public -DSLMXMX_ENABLE -DSLTS_ENABLE -D_SVID_GETTOD -D_REENTRANT $(LPFLAGS) $(USRFLAGS)] LDFLAGS: -o $@ $(LDPATHFLAG)$(PRODLIBHOME) $(LDPATHFLAG)$(LIBHOME) [-o $@ -L/opt/app/oracle9i/orabase/product/9.2.0.7/rdbms/lib/-L$(LIBHOME)] Linking with OTHERLDFLAGS = cc -Xa -xstrconst -xF -xarch=v8 -xchip=ultra -W2,-AKNR_S -W2,-Rglobal_hoist -Wc,-Qdelay-speculate -Wc,-Qdepgraph-safe_spec_load=3 -W2,-Rloop -errtags=yes -v -K PIC -L/opt/SUNWcluster/lib -R/opt/SUNWcluster/lib -L/opt/app/oracle9i/orabase/product/9.2.0.7/rdbms/lib32/-L/opt/app/oracle9i/orabase/product/ 9.2.0.7/lib32/ -lclntsh `cat /opt/app/oracle9i/orabase/product/ 9.2.0.7/lib32/ldflags` `cat /opt/app/oracle9i/orabase/product/ 9.2.0.7/lib32/sysliblist` -R/opt/app/oracle9i/orabase/product/9.2.0.7/lib32-laio -lposix4 -lkstat -lm -lthread [from 'build32' rule] WARNING: If you have problems you may need to rebuild perl with threading enabled. LD_RUN_PATH=/opt/app/oracle9i/orabase/product/ 9.2.0.7/lib32:/opt/app/oracle9i/orabase/product/9.2.0.7/rdbms/lib32 Using DBD::Oracle 1.22. Using DBD::Oracle 1.22. Using DBI 1.607 (for perl 5.008008 on sun4-solaris) installed in /userhome/tuxopq/perl5/lib/site_perl/5.8.8/sun4-solaris/auto/DBI/ Writing Makefile for DBD::Oracle *** If you have problems... read all the log printed above, and the README and README.help.txt files. (Of course, you have read README by now anyway, haven't you?) *BTW: I installed perl 5.8 & DBI in my home directory , as u can see in the above output.*
Content-Type: text/html; charset="utf-8"
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
X-RT-Original-Encoding: utf-8
Content-Length: 7935
MIME-Version: 1.0
X-Mailer: MIME-tools 5.427 (Entity 5.427)
Content-Disposition: inline
Content-Type: text/plain; charset="UTF-8"
Message-ID: <rt-3.8.HEAD-26540-1271275268-60.40738-0-0 [...] rt.cpan.org>
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
Content-Length: 59
Well over two years old now so i will drop it from the list
MIME-Version: 1.0
X-Mailer: MIME-tools 5.427 (Entity 5.427)
Content-Disposition: inline
Content-Type: text/plain; charset="UTF-8"
Message-ID: <rt-3.8.HEAD-26540-1272039801-1252.40738-0-0 [...] rt.cpan.org>
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
Content-Length: 20
Too stale to work on


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.