[prev in list] [next in list] [prev in thread] [next in thread] 

List:       dbi-dev
Subject:    RE: Hint in README helps building DBD::Oracle 0.50
From:       Willie duMaine <wdumaine () shlden ! com>
Date:       1998-06-29 21:30:57
[Download RAW message or body]

    *** From dbi-users -- To unsubscribe, see the end of this message. ***

-----Original Message-----
From:	Joern Reder [SMTP:joern@dimedis.de]
Sent:	Monday, June 29, 1998 4:59 AM
To:	dbi-users@fugue.com
Cc:	Tim.Bunce@ig.co.uk
Subject:	Hint in README helps building DBD::Oracle 0.50

Hi Tim,
Hi all members of dbi-users,


I successfully build DBD::Oracle 0.50 after using

	perl Makefile.PL -m 0 -c

The README says you want to know, if one of those special switches
helps, so here is my report.

The build was ok, but 'make test' fails, see the attached output.

I attached some files:

	report-perl-Makefile.gz		Output of "perl Makefile.PL"
	report-perl-Makefile-switch.gz	Output of "perl Makfile.PL -m o -c -v"
	report-make.gz			Output of make with first Makefile
	report-make-switch.gz		Output of make with second Makefile
	replrt-make-test.gz		Output of 'make test' with first Makefile

'make test' with second Makefile runs through, so I omit its output.

I'm using Oracle Version 8.0.4 on Sun Sparc Solaris 2.5.1.

My DBI Version is 0.93.

------------------------------------------------------------------------  
-------------------------------------------


Hello,

I have tried Joern's approaches, and I'm still having trouble building 
DBD::Oracle 0.50.  The only difference is that I'm running Oracle 7.3.3 
compared to his 8.0.4.  The attached is the message I previously sent to 
the list.  Help!

I get "make: *** [Oracle.o] Error 10" when attempting to make 'DBD 0.50' 
for Oracle,
and I'm running the following:

Solaris 2.5.1
Oracle 7.3.3
DBI 0.93

Any help that could resolve this error will be greatly appreciated!

==========
perl5 Makfile.PL -v
==========
Using DBI 0.93 installed in 
/usr/local/lib/perl5/site_perl/sun4-Solaris/auto/DBI

 Configuring DBD::Oracle ...

>>>	Remember to actually *READ* the README file!
   	Especially if you have any problems.

Using Oracle in /opt/oracle
4.0.1.0.0            Oracle Unix Installer
1.0.1.0.0            Oracle On-Line Text Viewer
7.3.3.0.0            ORACLE NLS Libraries and Utilities
7.3.3.0.0            ORACLE Core Libraries
7.3.3.0.0            ORACLE Common RDBMS Libraries and Utilities
7.3.3.0.0            ORACLE PL/SQL Libraries
7.3.3.0.0            ORACLE Common Libraries
7.3.3.0.0            ORACLE Common Precomp Libraries
7.3.3.0.0            ORACLE Common Network Libraries and Utilities
7.3.3.0.0            ORACLE Common Trace Libraries
7.3.3.0.0            ORACLE Common Utilities
7.3.3.0.0            ORACLE Common Libraries and Utilities
7.3.3.0.0            Platform specific Libraries and Utilities
2.3.3.0.0            SQL*Net (V2)
2.3.3.0.0            TCP/IP Protocol Adapter (V2)
1.3.3.0.0            Remote Operations
2.1.4.14.0           ToolKit 2.1 Base
2.3.3.0.0            PL/SQL V2
2.3.3.0.0            Oracle Server Manager
7.3.3.0.0            ORACLE7 Server (RDBMS)
1.0.0.0.1            <Database Startup> Load Files
7.3.3.0.0            Oracle Intelligent Agent
7.3.3                Oracle Trace
1.0.2.0.0            Oracle WebServer
3.3.3.0.0            SQL*Plus
2.1.4.14.0           ToolKit 2.1 Extension
2.0.5.4.0            Multimedia APIs
2.1.1.0.0            Oracle Help
2.1.3.0.0            Oracle Office Automation Core
2.3.3.0.0            Oracle Server Manager (Motif)

Found direct-link candidates: libclntsh.so
Oracle sysliblist: -lsocket -lnsl -lm -ldl -lposix4 -lsunmath
Found rdbms/demo/ocidfn.h
Found rdbms/demo/ocidem.h
Found rdbms/demo/ociapr.h
Found rdbms/demo/ocikpr.h
Found rdbms/demo/oratypes.h
Found header files in rdbms/demo.

System: perl5.00404 sunos 5.5.1 generic_103640-14 sun4m sparc 
sunw,sparcstation-20
Compiler: cc -O
Linker:   /usr/ucb/ld

Linking with -lclntsh.

MakeMaker (v5.42)
Checking if your kit is complete...
Looks good
	DIR => []
	INC => q[-I/opt/oracle/rdbms/demo 
-I/usr/local/lib/perl5/site_perl/sun4-solaris/auto/DBI]
	LIBS => [q[-L/opt/oracle/lib -lclntsh -lsocket -lnsl -lm -ldl -lposix4 
-lsunmath ]]
	NAME => q[DBD::Oracle]
	OBJECT => q[$(O_FILES)]
	PREREQ_PM => {  }
	VERSION_FROM => q[Oracle.pm]
	clean => { FILES=>q[Oracle.xsi] }
	dist => { DIST_DEFAULT=>q[clean distcheck disttest ci tardist], 
COMPRESS=>q[gzip -v9], SUFFIX=>q[gz], PREOP=>q[$(MAKE) -f Makefile.old 
distdir] }
	dynamic_lib => { OTHERLDFLAGS=>q[] }
Using PERL=/usr/local/bin/perl5

Warning: By default new modules are installed into your 'site_lib'
directories. Since site_lib directories come after the normal library
directories you must delete any old DBD::Oracle files and directories from
your 'privlib' and 'archlib' directories and their auto subdirectories.
Here's a list of probable old files and directories:
 /usr/local/lib/perl5/DBD-Oracle-0.50/Oracle.h
 /usr/local/lib/perl5/DBD-Oracle-0.50/Oracle.pm
 /usr/local/lib/perl5/DBD-Oracle-0.50/Oracle.xs

Using DBD::Oracle 0.50.
Using DBI 0.93 installed in 
/usr/local/lib/perl5/site_perl/sun4-solaris/auto/DBI
Writing Makefile for DBD::Oracle

Potential libraries are '-L/opt/oracle/lib -lclntsh -lsocket -lnsl -lm -ldl 
-lposix4 -lsunmath':
'-lclntsh' found at /opt/oracle/lib/libclntsh.so.1.0
socket not found in /opt/oracle/lib
socket not found in /usr/local/lib
'-lsocket' found at /lib/libsocket.so.1
nsl not found in /opt/oracle/lib
nsl not found in /usr/local/lib
'-lnsl' found at /lib/libnsl.so.1
m not found in /opt/oracle/lib
m not found in /usr/local/lib
'-lm' found at /lib/libm.so.1
dl not found in /opt/oracle/lib
dl not found in /usr/local/lib
'-ldl' found at /lib/libdl.so.1
posix4 not found in /opt/oracle/lib
posix4 not found in /usr/local/lib
'-lposix4' found at /lib/libposix4.so.1
'-lsunmath' found at /opt/oracle/lib/libsunmath.so.1

==========
make
==========
mkdir ./blib
mkdir ./blib/lib
mkdir ./blib/lib/DBD
mkdir ./blib/arch
mkdir ./blib/arch/auto
mkdir ./blib/arch/auto/DBD
mkdir ./blib/arch/auto/DBD/Oracle
mkdir ./blib/lib/auto
mkdir ./blib/lib/auto/DBD
mkdir ./blib/lib/auto/DBD/Oracle
mkdir ./blib/man3
cp Oraperl.pm ./blib/lib/Oraperl.pm
cp Oracle.pm ./blib/lib/DBD/Oracle.pm
cp oraperl.ph ./blib/lib/oraperl.ph
/usr/local/bin/perl5 -p -e "s/~DRIVER~/Oracle/g" < 
/usr/local/lib/perl5/site_perl/sun4-solaris/auto/DBI/Driver.xst > 
Oracle.xsi
/usr/local/bin/perl5 -I/usr/local/lib/perl5/sun4-solaris/5.00404 
-I/usr/local/lib/perl5 /usr/local/lib/perl5/ExtUtils/xsubpp  -typemap 
/usr/local/lib/perl5/ExtUtils/typemap Oracle.xs >Oracle.tc && mv Oracle.tc 
Oracle.c
cc -c -I/opt/oracle/rdbms/demo 
-I/usr/local/lib/perl5/site_perl/sun4-solaris/auto/DBI  -O 
   -DVERSION=\"0.50\" -DXS_VERSION=\"0.50\" -Kpic 
-I/usr/local/lib/perl5/sun4-solaris/5.00404/CORE  Oracle.c

"/opt/oracle/rdbms/demo/oratypes.h", line 84: warning: signed is a keyword 
in ANSI C
"/opt/oracle/rdbms/demo/oratypes.h", line 84: undefined or not a type: 
signed
"/opt/oracle/rdbms/demo/oratypes.h", line 84: warning: "typedef" valid only 
for function declaration
"/opt/oracle/rdbms/demo/oratypes.h", line 84: parameter not in identifier 
list: sword
"/opt/oracle/rdbms/demo/oratypes.h", line 109: warning: only "register" 
valid as formal parameter storage class
"/opt/oracle/rdbms/demo/oratypes.h", line 111: warning: only "register" 
valid as formal parameter storage class
"/opt/oracle/rdbms/demo/oratypes.h", line 112: warning: only "register" 
valid as formal parameter storage class
"/opt/oracle/rdbms/demo/oratypes.h", line 112: syntax error before or at: 
char
"/opt/oracle/rdbms/demo/oratypes.h", line 112: parameter not in identifier 
list: sb1
"/opt/oracle/rdbms/demo/oratypes.h", line 147: warning: only "register" 
valid as formal parameter storage class
"/opt/oracle/rdbms/demo/oratypes.h", line 151: warning: only "register" 
valid as formal parameter storage class
"/opt/oracle/rdbms/demo/oratypes.h", line 152: warning: only "register" 
valid as formal parameter storage class
"/opt/oracle/rdbms/demo/oratypes.h", line 153: warning: only "register" 
valid as formal parameter storage class
"/opt/oracle/rdbms/demo/oratypes.h", line 153: invalid type combination
"/opt/oracle/rdbms/demo/oratypes.h", line 202: warning: only "register" 
valid as formal parameter storage class
"/opt/oracle/rdbms/demo/oratypes.h", line 203: warning: only "register" 
valid as formal parameter storage class
"/opt/oracle/rdbms/demo/oratypes.h", line 204: warning: only "register" 
valid as formal parameter storage class
"/opt/oracle/rdbms/demo/oratypes.h", line 204: invalid type combination
"/opt/oracle/rdbms/demo/oratypes.h", line 226: warning: only "register" 
valid as formal parameter storage class
"/opt/oracle/rdbms/demo/oratypes.h", line 227: warning: only "register" 
valid as formal parameter storage class
"/opt/oracle/rdbms/demo/oratypes.h", line 227: invalid type combination
"/opt/oracle/rdbms/demo/oratypes.h", line 290: warning: only "register" 
valid as formal parameter storage class
"/opt/oracle/rdbms/demo/ocidfn.h", line 47: warning: dubious struct 
declaration; use tag only: cda_head
"/opt/oracle/rdbms/demo/ocidfn.h", line 57: syntax error before or at: 
sword
"/opt/oracle/rdbms/demo/ocidfn.h", line 57: cannot recover from previous 
errors
make: *** [Oracle.o] Error 10



------------------------------------------------------------------------------
To unsubscribe from this list, please visit http://www.fugue.com/dbi
If you are without web access, or if you are having trouble with the web page,
please send mail to dbi-request@fugue.com.   Please try to use the web
page first - it will take a long time for your request to be processed by hand.
------------------------------------------------------------------------------

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic