Compiling dbd-oracle on hpux64
Compiling dbd-oracle on hpux64
am 09.11.2005 01:26:25 von markus.trenkle
Hello all,
once again I have to build a perl/oracle10g/apache2/ssl system on hpux
using the openview compiler, this time it needs to be 64bit clean. While
I'm nearly done with it I still face some problems, I hope somebody here
can help me.
For some reason, the compiler options leak into the linker options, so
in the generated Makefile for DBD-Oracle there is the line
OTHERLDFLAGS = -Wl,+s -Wl,+n +DA2.0W +DS2.0
which leads to this error:
ld: Unrecognized argument: -Wl,+s
Fatal error.
Maybe this isn't related to perl or dbd-oracle at all because I have a
similar error with +DD64 while compiling mod_perl. If this finally works
and there is some interest I will gladly publish what I have done.
Thanks,
Markus
Info:
hpux 11
oracle 10g
openview compiler
perl 5.8.7
dbi 1.48
dbd-oracle 1.16
Re: Compiling dbd-oracle on hpux64
am 09.11.2005 18:39:45 von Tim.Bunce
On Wed, Nov 09, 2005 at 01:26:25AM +0100, Markus Trenkle wrote:
> Hello all,
>
> once again I have to build a perl/oracle10g/apache2/ssl system on hpux
> using the openview compiler, this time it needs to be 64bit clean. While
> I'm nearly done with it I still face some problems, I hope somebody here
> can help me.
>
> For some reason, the compiler options leak into the linker options, so
> in the generated Makefile for DBD-Oracle there is the line
>
> OTHERLDFLAGS = -Wl,+s -Wl,+n +DA2.0W +DS2.0
>
> which leads to this error:
>
> ld: Unrecognized argument: -Wl,+s
> Fatal error.
>
> Maybe this isn't related to perl or dbd-oracle at all because I have a
> similar error with +DD64 while compiling mod_perl. If this finally works
> and there is some interest I will gladly publish what I have done.
Of course, please do. A patch to Makefile.PL would be nice.
Tim.
Re: Compiling dbd-oracle on hpux64
am 09.11.2005 19:54:03 von markus.trenkle
Tim Bunce wrote:
> Of course, please do. A patch to Makefile.PL would be nice.
That's my problem. I don't speak perl, I'm merely the unix admin who has
to install the software. I corrected the generated Makefiles by
skript/hand. This seems to be successfull.
Markus
Re: Compiling dbd-oracle on hpux64
am 16.11.2005 05:04:07 von lab
On Wed, 2005-11-09 at 19:54 +0100, Markus Trenkle wrote:
> Tim Bunce wrote:
>
> > Of course, please do. A patch to Makefile.PL would be nice.
>
> That's my problem. I don't speak perl, I'm merely the unix admin who has
> to install the software. I corrected the generated Makefiles by
> skript/hand. This seems to be successfull.
>
> Markus
>
If you are willing to test a new Makefile.PL after I update it, (since I
am already familiar with it), send me a context diff of the original
(generated Makefile), and the version you hacked that worked.
If I can figure out what you did, and you will test the resulting
Makefile.PL, I will take a stab at it.
Lincoln
Can"t connect to MySQL server (99)
am 16.11.2005 23:54:58 von badaiaqrandista
Hi All,
I am using Apache::DBI in a mod_perl environment. Intermittently, I get the
following error message:
DBI connect('host=db-server.net;database=elres','elres',...) failed: Can't
connect to MySQL server on 'db-server.net' (99)
I read in MySQL documentation that their server error codes are between 1000
to 1999 and client error codes are between 2000 to 2999.
Does anyone know what does this error mean? Or can anyone point me to where
I can get more information?
Thanks...
---
Badai Aqrandista
Cheepy (?)
>From: "Lincoln A. Baxter"
>Reply-To: lab@lincolnbaxter.com
>To: Markus Trenkle
>CC: dbi-users@perl.org
>Subject: Re: Compiling dbd-oracle on hpux64
>Date: Tue, 15 Nov 2005 23:04:07 -0500
>
>On Wed, 2005-11-09 at 19:54 +0100, Markus Trenkle wrote:
> > Tim Bunce wrote:
> >
> > > Of course, please do. A patch to Makefile.PL would be nice.
> >
> > That's my problem. I don't speak perl, I'm merely the unix admin who has
> > to install the software. I corrected the generated Makefiles by
> > skript/hand. This seems to be successfull.
> >
> > Markus
> >
>If you are willing to test a new Makefile.PL after I update it, (since I
>am already familiar with it), send me a context diff of the original
>(generated Makefile), and the version you hacked that worked.
>
>If I can figure out what you did, and you will test the resulting
>Makefile.PL, I will take a stab at it.
>
>Lincoln
>
>
____________________________________________________________ _____
SEEK: Over 80,000 jobs across all industries at Australia's #1 job site.
http://ninemsn.seek.com.au?hotmail
Re: Can"t connect to MySQL server (99)
am 17.11.2005 00:22:36 von mickalo
System error: 99 = Cannot assign requested address. are you using the correct host??
Badai Aqrandista wrote:
> Hi All,
>
> I am using Apache::DBI in a mod_perl environment. Intermittently, I get
> the following error message:
>
> DBI connect('host=db-server.net;database=elres','elres',...) failed:
> Can't connect to MySQL server on 'db-server.net' (99)
>
> I read in MySQL documentation that their server error codes are between
> 1000 to 1999 and client error codes are between 2000 to 2999.
>
> Does anyone know what does this error mean? Or can anyone point me to
> where I can get more information?
>
> Thanks...
>
> ---
> Badai Aqrandista
> Cheepy (?)
>
>
>
>
>
>> From: "Lincoln A. Baxter"
>> Reply-To: lab@lincolnbaxter.com
>> To: Markus Trenkle
>> CC: dbi-users@perl.org
>> Subject: Re: Compiling dbd-oracle on hpux64
>> Date: Tue, 15 Nov 2005 23:04:07 -0500
>>
>> On Wed, 2005-11-09 at 19:54 +0100, Markus Trenkle wrote:
>> > Tim Bunce wrote:
>> >
>> > > Of course, please do. A patch to Makefile.PL would be nice.
>> >
>> > That's my problem. I don't speak perl, I'm merely the unix admin who
>> has
>> > to install the software. I corrected the generated Makefiles by
>> > skript/hand. This seems to be successfull.
>> >
>> > Markus
>> >
>> If you are willing to test a new Makefile.PL after I update it, (since I
>> am already familiar with it), send me a context diff of the original
>> (generated Makefile), and the version you hacked that worked.
>>
>> If I can figure out what you did, and you will test the resulting
>> Makefile.PL, I will take a stab at it.
>>
>> Lincoln
>>
>>
>
> ____________________________________________________________ _____
> SEEK: Over 80,000 jobs across all industries at Australia's #1 job
> site. http://ninemsn.seek.com.au?hotmail
>
>
>
--
Mike(mickalo)Blezien
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Thunder Rain Internet Publishing
Providing Internet Solutions that work!
http://thunder-rain.com/
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Re: Can"t connect to MySQL server (99)
am 17.11.2005 00:54:38 von badaiaqrandista
>System error: 99 = Cannot assign requested address. are you using the
>correct host??
Yes, definitely. This error occurs intermittently. Most of the time the code
works, but sometime it doesn't and throws this error. I don't think it is
related to load because sometime this error happens in off-peak period.
Do you have any other idea why this is happening? I've been chasing this
error for a week. Previously, another error came up often: 'fetch() without
execute()'. Then I started using 'Apache::DBI' and then that error disappear
and this error starts to happen.
Thanks...
>
>
>
>Badai Aqrandista wrote:
>>Hi All,
>>
>>I am using Apache::DBI in a mod_perl environment. Intermittently, I get
>>the following error message:
>>
>>DBI connect('host=db-server.net;database=elres','elres',...) failed: Can't
>>connect to MySQL server on 'db-server.net' (99)
>>
>>I read in MySQL documentation that their server error codes are between
>>1000 to 1999 and client error codes are between 2000 to 2999.
>>
>>Does anyone know what does this error mean? Or can anyone point me to
>>where I can get more information?
>>
>>Thanks...
>>
>>---
>>Badai Aqrandista
>>Cheepy (?)
>>
>>
>>
>>
>>
>>>From: "Lincoln A. Baxter"
>>>Reply-To: lab@lincolnbaxter.com
>>>To: Markus Trenkle
>>>CC: dbi-users@perl.org
>>>Subject: Re: Compiling dbd-oracle on hpux64
>>>Date: Tue, 15 Nov 2005 23:04:07 -0500
>>>
>>>On Wed, 2005-11-09 at 19:54 +0100, Markus Trenkle wrote:
>>> > Tim Bunce wrote:
>>> >
>>> > > Of course, please do. A patch to Makefile.PL would be nice.
>>> >
>>> > That's my problem. I don't speak perl, I'm merely the unix admin who
>>>has
>>> > to install the software. I corrected the generated Makefiles by
>>> > skript/hand. This seems to be successfull.
>>> >
>>> > Markus
>>> >
>>>If you are willing to test a new Makefile.PL after I update it, (since I
>>>am already familiar with it), send me a context diff of the original
>>>(generated Makefile), and the version you hacked that worked.
>>>
>>>If I can figure out what you did, and you will test the resulting
>>>Makefile.PL, I will take a stab at it.
>>>
>>>Lincoln
>>>
>>>
>>
>>__________________________________________________________ _______
>>SEEK: Over 80,000 jobs across all industries at Australia's #1 job site.
>>http://ninemsn.seek.com.au?hotmail
>>
>>
>>
>
>
>--
>Mike(mickalo)Blezien
>=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
>Thunder Rain Internet Publishing
>Providing Internet Solutions that work!
>http://thunder-rain.com/
>=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
>
---
Badai Aqrandista
Cheepy (?)
____________________________________________________________ _____
REALESTATE: biggest buy/rent/share listings
http://ninemsn.realestate.com.au
Re: Can"t connect to MySQL server (99)
am 17.11.2005 02:19:26 von garbaro
Where is the database located? Is it local or remote? You might be
experiencing lost of connection to the host. If your using a URL
instead of the IP address you should check that the DNS server you are
using works fine, etc. In resume, it could be a lot of things related
to connectivity.
2005/11/16, Badai Aqrandista :
> >System error: 99 =3D Cannot assign requested address. are you using the
> >correct host??
>
> Yes, definitely. This error occurs intermittently. Most of the time the c=
ode
> works, but sometime it doesn't and throws this error. I don't think it is
> related to load because sometime this error happens in off-peak period.
>
> Do you have any other idea why this is happening? I've been chasing this
> error for a week. Previously, another error came up often: 'fetch() witho=
ut
> execute()'. Then I started using 'Apache::DBI' and then that error disapp=
ear
> and this error starts to happen.
>
> Thanks...
>
> >
> >
> >
> >Badai Aqrandista wrote:
> >>Hi All,
> >>
> >>I am using Apache::DBI in a mod_perl environment. Intermittently, I get
> >>the following error message:
> >>
> >>DBI connect('host=3Ddb-server.net;database=3Delres','elres',...) failed=
: Can't
> >>connect to MySQL server on 'db-server.net' (99)
> >>
> >>I read in MySQL documentation that their server error codes are between
> >>1000 to 1999 and client error codes are between 2000 to 2999.
> >>
> >>Does anyone know what does this error mean? Or can anyone point me to
> >>where I can get more information?
> >>
> >>Thanks...
> >>
> >>---
> >>Badai Aqrandista
> >>Cheepy (?)
> >>
> >>
> >>
> >>
> >>
> >>>From: "Lincoln A. Baxter"
> >>>Reply-To: lab@lincolnbaxter.com
> >>>To: Markus Trenkle
> >>>CC: dbi-users@perl.org
> >>>Subject: Re: Compiling dbd-oracle on hpux64
> >>>Date: Tue, 15 Nov 2005 23:04:07 -0500
> >>>
> >>>On Wed, 2005-11-09 at 19:54 +0100, Markus Trenkle wrote:
> >>> > Tim Bunce wrote:
> >>> >
> >>> > > Of course, please do. A patch to Makefile.PL would be nice.
> >>> >
> >>> > That's my problem. I don't speak perl, I'm merely the unix admin wh=
o
> >>>has
> >>> > to install the software. I corrected the generated Makefiles by
> >>> > skript/hand. This seems to be successfull.
> >>> >
> >>> > Markus
> >>> >
> >>>If you are willing to test a new Makefile.PL after I update it, (since=
I
> >>>am already familiar with it), send me a context diff of the original
> >>>(generated Makefile), and the version you hacked that worked.
> >>>
> >>>If I can figure out what you did, and you will test the resulting
> >>>Makefile.PL, I will take a stab at it.
> >>>
> >>>Lincoln
> >>>
> >>>
> >>
> >>__________________________________________________________ _______
> >>SEEK: Over 80,000 jobs across all industries at Australia's #1 job site=
..
> >>http://ninemsn.seek.com.au?hotmail
> >>
> >>
> >>
> >
> >
> >--
> >Mike(mickalo)Blezien
> >=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D -=3D-=3D-=3D-=
=3D-=3D
> >Thunder Rain Internet Publishing
> >Providing Internet Solutions that work!
> >http://thunder-rain.com/
> >=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D -=3D-=3D-=3D-=
=3D-=3D
> >
>
>
> ---
> Badai Aqrandista
> Cheepy (?)
>
> ____________________________________________________________ _____
> REALESTATE: biggest buy/rent/share listings
> http://ninemsn.realestate.com.au
>
>
Re: Can"t connect to MySQL server (99)
am 17.11.2005 04:54:10 von badaiaqrandista
>Where is the database located? Is it local or remote? You might be
>experiencing lost of connection to the host. If your using a URL
>instead of the IP address you should check that the DNS server you are
>using works fine, etc. In resume, it could be a lot of things related
>to connectivity.
It's local. I think I'll just use IP address to prevent name resolving
issues to come up.
Thanks a lot.
---
Badai Aqrandista
Cheepy (?)
____________________________________________________________ _____
REALESTATE: biggest buy/rent/share listings
http://ninemsn.realestate.com.au
Re: Compiling dbd-oracle on hpux64
am 17.11.2005 20:02:01 von scoles
I am collecting and writing a new version of the Makefile.pl for Oracle 10
XE I was just wondering if I could get a copy of your version of your
makefile and any instaltion notes you might have. I am working with Tim
Bunce on this project.
Cheers John Scoles
Re: Compiling dbd-oracle on hpux64
am 21.11.2005 22:20:14 von markus.trenkle
Lincoln,
Am 16.11.2005 um 05:04 schrieb Lincoln A. Baxter:
> If you are willing to test a new Makefile.PL after I update it,
I will do so. My modifications to the Makefile are simple, I only
removed the compiler options in the linker flags. For some reason the
newly generated Makefile is completely different, so I have to
describe what I did. The original options are still in the comments
at the beginning of the file. There it reads
# dynamic_lib => { OTHERLDFLAGS=>q[ -Wl,+s -Wl,+n +DA2.0W +DS2.0
-L/sorry/oracle/app/oracle/product/10.1.0/rdbms/lib/ -L/sorry/oracle/
app/oracle/product/10.1.0/lib/ -lclntsh `cat /sorry/oracle/app/
oracle/product/10.1.0/lib/ldflags` `cat /sorry/oracle/app/oracle/
product/10.1.0/lib/sysliblist` -lm ] }
I changed the line further down to
OTHERLDFLAGS = +s +n -L/sorry/oracle/app/oracle/product/10.1.0/rdbms/
lib/ -L/sorry/oracle/app/oracle/product/10.1.0/lib/ -lclntsh `cat /
sorry/oracle/app/oracle/product/10.1.0/lib/ldflags` `cat /sorry/
oracle/app/oracle/product/10.1.0/lib/sysliblist` -lm
If this is not enough, I will reproduce what I did in the first
place. But I dont have access to the server now.
Markus
Re: Compiling dbd-oracle on hpux64
am 23.11.2005 01:17:24 von lab
On Mon, 2005-11-21 at 22:20 +0100, Markus Trenkle wrote:
> Lincoln,
>
> Am 16.11.2005 um 05:04 schrieb Lincoln A. Baxter:
>
> > If you are willing to test a new Makefile.PL after I update it,
>
> I will do so. My modifications to the Makefile are simple, I only
> removed the compiler options in the linker flags. For some reason the
> newly generated Makefile is completely different, so I have to
> describe what I did. The original options are still in the comments
> at the beginning of the file. There it reads
>
> # dynamic_lib => { OTHERLDFLAGS=>q[ -Wl,+s -Wl,+n +DA2.0W +DS2.0
> -L/sorry/oracle/app/oracle/product/10.1.0/rdbms/lib/ -L/sorry/oracle/
> app/oracle/product/10.1.0/lib/ -lclntsh `cat /sorry/oracle/app/
> oracle/product/10.1.0/lib/ldflags` `cat /sorry/oracle/app/oracle/
> product/10.1.0/lib/sysliblist` -lm ] }
>
> I changed the line further down to
>
> OTHERLDFLAGS = +s +n -L/sorry/oracle/app/oracle/product/10.1.0/rdbms/
> lib/ -L/sorry/oracle/app/oracle/product/10.1.0/lib/ -lclntsh `cat /
> sorry/oracle/app/oracle/product/10.1.0/lib/ldflags` `cat /sorry/
> oracle/app/oracle/product/10.1.0/lib/sysliblist` -lm
>
> If this is not enough, I will reproduce what I did in the first
> place. But I dont have access to the server now.
>
> Markus
>
Ok, so it looks like the Makefile.PL did not recognize that you were
using the gcc (linker) instead of ld or the linker the HP C compilers
(like the soft bench compiler) invoke.
Question: If you no long have access to the server how would you test
anything I produce? By the way, for what it's worth, I no longer have
access to any HP machines. So, while I still know some things about
them, with out the ability to test, I can not do much serious
development. As it is I would only be able to make minor changes,
which OTHERS would have to test.
Let me know how you want to proceed.
Lincoln
Re: Compiling dbd-oracle on hpux64
am 23.11.2005 07:48:36 von markus.trenkle
Am 23.11.2005 um 01:17 schrieb Lincoln A. Baxter:
> Ok, so it looks like the Makefile.PL did not recognize that you were
> using the gcc (linker) instead of ld or the linker the HP C compilers
> (like the soft bench compiler) invoke.
On the contrary, I'm using the softbench compiler and ld. I will
append the complete Makefile to the mail. The options I omitted are
cc options. For example -Wl,+s should tell the compiler to pass +s
to the linker.
> Question: If you no long have access to the server how would you test
> anything I produce?
I was writing this at home, the hp box is our customer's. So I can
test but not instantly. My messages to the group take some days
anyway so speed is no matter here...
> Lincoln
Markus
# This Makefile is for the DBD::Oracle extension to perl.
#
# It was generated automatically by MakeMaker version
# 6.17 (Revision: 1.133) from the contents of
# Makefile.PL. Don't edit this file, edit Makefile.PL instead.
#
# ANY CHANGES MADE HERE WILL BE LOST!
#
# MakeMaker ARGV: (q[PREFIX=/sorry/web/perl])
#
# MakeMaker Parameters:
# ABSTRACT_FROM => q[Oracle.pm]
# AUTHOR => q[Tim Bunce (dbi-users@perl.org)]
# DEFINE => q[ -DUTF8_SUPPORT -DNEW_OCI_INIT -DORA_OCI_VERSION=
\"10.1.0.4\"]
# DIR => []
# EXE_FILES => [q[ora_explain]]
# INC => q[-I/sorry/oracle/app/oracle/product/10.1.0/rdbms/demo -
I/sorry/oracle/app/oracle/product/10.1.0/rdbms/public -I/sorry/oracle/
app/oracle/product/10.1.0/plsql/public -I/sorry/oracle/app/oracle/
product/10.1.0/network/public -I/sorry/oracle/app/oracle/product/
10.1.0/rdbms/demo -I/sorry/oracle/app/oracle/product/10.1.0/plsql/
public -I/sorry/oracle/app/oracle/product/10.1.0/rdbms/public -I/
sorry/web/perl/lib/site_perl/5.8.7/PA-RISC2.0-LP64/auto/DBI/ ]
# NAME => q[DBD::Oracle]
# OBJECT => q[$(O_FILES)]
# PREREQ_PM => { DBI=>q[0] }
# VERSION_FROM => q[Oracle.pm]
# clean => { FILES=>q[xstmp.c Oracle.xsi dll.base dll.exp
sqlnet.log libOracle.def ora_explain mk.pm] }
# dist => { DIST_DEFAULT=>q[clean distcheck disttest tardist],
COMPRESS=>q[gzip -v9], PREOP=>q[$(MAKE) -f Makefile.old distdir],
SUFFIX=>q[gz] }
# dynamic_lib => { OTHERLDFLAGS=>q[ -Wl,+s -Wl,+n +DA2.0W +DS2.0
-L/sorry/oracle/app/oracle/product/10.1.0/rdbms/lib/ -L/sorry/oracle/
app/oracle/product/10.1.0/lib/ -lclntsh `cat /sorry/oracle/app/
oracle/product/10.1.0/lib/ldflags` `cat /sorry/oracle/app/oracle/
product/10.1.0/lib/sysliblist` -lm ] }
# --- MakeMaker post_initialize section:
# --- MakeMaker const_config section:
# These definitions are from config.sh (via /sorry/web/perl/lib/5.8.7/
PA-RISC2.0-LP64/Config.pm)
# They may have been overridden via Makefile.PL or on the command line
AR = ar
CC = /opt/softbench/bin/cc
CCCDLFLAGS = +Z
CCDLFLAGS = -Wl,-E -Wl,-B,deferred
DLEXT = sl
DLSRC = dl_hpux.xs
LD = /usr/bin/ld
LDDLFLAGS = -b +vnocompatwarnings -L/usr/local/lib -L/lib/pa20_64
LDFLAGS = +DD64 -L/usr/local/lib -L/lib/pa20_64
LIBC = /lib/pa20_64/libc.sl
LIB_EXT = .a
OBJ_EXT = .o
OSNAME = hpux
OSVERS = 11.11
RANLIB = :
SITELIBEXP = /sorry/web/perl/lib/site_perl/5.8.7
SITEARCHEXP = /sorry/web/perl/lib/site_perl/5.8.7/PA-RISC2.0-LP64
SO = sl
EXE_EXT =
FULL_AR = /usr/bin/ar
VENDORARCHEXP = $(VENDORPREFIX)/lib/5.8.7/PA-RISC2.0-LP64
VENDORLIBEXP = $(VENDORPREFIX)/lib
# --- MakeMaker constants section:
AR_STATIC_ARGS = cr
DIRFILESEP = /
NAME = DBD::Oracle
NAME_SYM = DBD_Oracle
VERSION = 1.16
VERSION_MACRO = VERSION
VERSION_SYM = 1_16
DEFINE_VERSION = -D$(VERSION_MACRO)=\"$(VERSION)\"
XS_VERSION = 1.16
XS_VERSION_MACRO = XS_VERSION
XS_DEFINE_VERSION = -D$(XS_VERSION_MACRO)=\"$(XS_VERSION)\"
INST_ARCHLIB = blib/arch
INST_SCRIPT = blib/script
INST_BIN = blib/bin
INST_LIB = blib/lib
INST_MAN1DIR = blib/man1
INST_MAN3DIR = blib/man3
MAN1EXT = 1
MAN3EXT = 3
INSTALLDIRS = site
DESTDIR =
PREFIX = /sorry/web/perl
PERLPREFIX = $(PREFIX)
SITEPREFIX = $(PREFIX)
VENDORPREFIX = $(PREFIX)
INSTALLPRIVLIB = $(PERLPREFIX)/lib/5.8.7
DESTINSTALLPRIVLIB = $(DESTDIR)$(INSTALLPRIVLIB)
INSTALLSITELIB = $(SITEPREFIX)/lib/site_perl/5.8.7
DESTINSTALLSITELIB = $(DESTDIR)$(INSTALLSITELIB)
INSTALLVENDORLIB = $(VENDORPREFIX)/lib
DESTINSTALLVENDORLIB = $(DESTDIR)$(INSTALLVENDORLIB)
INSTALLARCHLIB = $(PERLPREFIX)/lib/5.8.7/PA-RISC2.0-LP64
DESTINSTALLARCHLIB = $(DESTDIR)$(INSTALLARCHLIB)
INSTALLSITEARCH = $(SITEPREFIX)/lib/site_perl/5.8.7/PA-RISC2.0-LP64
DESTINSTALLSITEARCH = $(DESTDIR)$(INSTALLSITEARCH)
INSTALLVENDORARCH = $(VENDORPREFIX)/lib/5.8.7/PA-RISC2.0-LP64
DESTINSTALLVENDORARCH = $(DESTDIR)$(INSTALLVENDORARCH)
INSTALLBIN = $(PERLPREFIX)/bin
DESTINSTALLBIN = $(DESTDIR)$(INSTALLBIN)
INSTALLSITEBIN = $(SITEPREFIX)/bin
DESTINSTALLSITEBIN = $(DESTDIR)$(INSTALLSITEBIN)
INSTALLVENDORBIN = $(VENDORPREFIX)/bin
DESTINSTALLVENDORBIN = $(DESTDIR)$(INSTALLVENDORBIN)
INSTALLSCRIPT = $(PERLPREFIX)/bin
DESTINSTALLSCRIPT = $(DESTDIR)$(INSTALLSCRIPT)
INSTALLMAN1DIR = $(PERLPREFIX)/man/man1
DESTINSTALLMAN1DIR = $(DESTDIR)$(INSTALLMAN1DIR)
INSTALLSITEMAN1DIR = $(SITEPREFIX)/man/man1
DESTINSTALLSITEMAN1DIR = $(DESTDIR)$(INSTALLSITEMAN1DIR)
INSTALLVENDORMAN1DIR = $(VENDORPREFIX)/man/man1
DESTINSTALLVENDORMAN1DIR = $(DESTDIR)$(INSTALLVENDORMAN1DIR)
INSTALLMAN3DIR = $(PERLPREFIX)/man/man3
DESTINSTALLMAN3DIR = $(DESTDIR)$(INSTALLMAN3DIR)
INSTALLSITEMAN3DIR = $(SITEPREFIX)/man/man3
DESTINSTALLSITEMAN3DIR = $(DESTDIR)$(INSTALLSITEMAN3DIR)
INSTALLVENDORMAN3DIR = $(VENDORPREFIX)/man/man3
DESTINSTALLVENDORMAN3DIR = $(DESTDIR)$(INSTALLVENDORMAN3DIR)
PERL_LIB = /sorry/web/perl/lib/5.8.7
PERL_ARCHLIB = /sorry/web/perl/lib/5.8.7/PA-RISC2.0-LP64
LIBPERL_A = libperl.a
FIRST_MAKEFILE = Makefile
MAKEFILE_OLD = $(FIRST_MAKEFILE).old
MAKE_APERL_FILE = $(FIRST_MAKEFILE).aperl
PERLMAINCC = $(CC)
PERL_INC = /sorry/web/perl/lib/5.8.7/PA-RISC2.0-LP64/CORE
PERL = /sorry/web/perl/bin/perl
FULLPERL = /sorry/web/perl/bin/perl
ABSPERL = $(PERL)
PERLRUN = $(PERL)
FULLPERLRUN = $(FULLPERL)
ABSPERLRUN = $(ABSPERL)
PERLRUNINST = $(PERLRUN) "-I$(INST_ARCHLIB)" "-I$(INST_LIB)"
FULLPERLRUNINST = $(FULLPERLRUN) "-I$(INST_ARCHLIB)" "-I$(INST_LIB)"
ABSPERLRUNINST = $(ABSPERLRUN) "-I$(INST_ARCHLIB)" "-I$(INST_LIB)"
PERL_CORE = 0
PERM_RW = 644
PERM_RWX = 755
MAKEMAKER = /sorry/web/perl/lib/5.8.7/ExtUtils/MakeMaker.pm
MM_VERSION = 6.17
MM_REVISION = 1.133
# FULLEXT = Pathname for extension directory (eg Foo/Bar/Oracle).
# BASEEXT = Basename part of FULLEXT. May be just equal FULLEXT. (eg
Oracle)
# PARENT_NAME = NAME without BASEEXT and no trailing :: (eg Foo::Bar)
# DLBASE = Basename part of dynamic library. May be just equal BASEEXT.
FULLEXT = DBD/Oracle
BASEEXT = Oracle
PARENT_NAME = DBD
DLBASE = $(BASEEXT)
VERSION_FROM = Oracle.pm
INC = -I/sorry/oracle/app/oracle/product/10.1.0/rdbms/demo -I/sorry/
oracle/app/oracle/product/10.1.0/rdbms/public -I/sorry/oracle/app/
oracle/product/10.1.0/plsql/public -I/sorry/oracle/app/oracle/product/
10.1.0/network/public -I/sorry/oracle/app/oracle/product/10.1.0/rdbms/
demo -I/sorry/oracle/app/oracle/product/10.1.0/plsql/public -I/sorry/
oracle/app/oracle/product/10.1.0/rdbms/public -I/sorry/web/perl/lib/
site_perl/5.8.7/PA-RISC2.0-LP64/auto/DBI/
DEFINE = -DUTF8_SUPPORT -DNEW_OCI_INIT -DORA_OCI_VERSION=\"10.1.0.4\"
OBJECT = $(O_FILES)
LDFROM = $(OBJECT)
LINKTYPE = dynamic
# Handy lists of source code files:
XS_FILES = Oracle.xs
C_FILES = Oracle.c \
dbdimp.c \
oci8.c
O_FILES = Oracle.o \
dbdimp.o \
oci8.o
H_FILES = Oracle.h \
dbdimp.h \
dbivport.h \
ocitrace.h
MAN1PODS = ora_explain
MAN3PODS = Oracle.pm \
Oraperl.pm
# Where is the Config information that we are using/depend on
CONFIGDEP = $(PERL_ARCHLIB)$(DIRFILESEP)Config.pm $(PERL_INC)$
(DIRFILESEP)config.h
# Where to build things
INST_LIBDIR = $(INST_LIB)/DBD
INST_ARCHLIBDIR = $(INST_ARCHLIB)/DBD
INST_AUTODIR = $(INST_LIB)/auto/$(FULLEXT)
INST_ARCHAUTODIR = $(INST_ARCHLIB)/auto/$(FULLEXT)
INST_STATIC = $(INST_ARCHAUTODIR)/$(BASEEXT)$(LIB_EXT)
INST_DYNAMIC = $(INST_ARCHAUTODIR)/$(DLBASE).$(DLEXT)
INST_BOOT = $(INST_ARCHAUTODIR)/$(BASEEXT).bs
# Extra linker info
EXPORT_LIST =
PERL_ARCHIVE =
PERL_ARCHIVE_AFTER =
TO_INST_PM = Oracle.h \
Oracle.pm \
Oraperl.pm \
dbdimp.h \
lib/DBD/Oracle/GetInfo.pm \
mk.pm \
ocitrace.h \
oraperl.ph
PM_TO_BLIB = Oracle.h \
$(INST_ARCHAUTODIR)/Oracle.h \
Oracle.pm \
$(INST_LIB)/DBD/Oracle.pm \
dbdimp.h \
$(INST_ARCHAUTODIR)/dbdimp.h \
oraperl.ph \
$(INST_LIB)/oraperl.ph \
ocitrace.h \
$(INST_ARCHAUTODIR)/ocitrace.h \
Oraperl.pm \
$(INST_LIB)/Oraperl.pm \
lib/DBD/Oracle/GetInfo.pm \
blib/lib/DBD/Oracle/GetInfo.pm \
mk.pm \
$(INST_ARCHAUTODIR)/mk.pm
# --- MakeMaker platform_constants section:
MM_Unix_VERSION = 1.42
PERL_MALLOC_DEF = -DPERL_EXTMALLOC_DEF -Dmalloc=Perl_malloc -
Dfree=Perl_mfree -Drealloc=Perl_realloc -Dcalloc=Perl_calloc
# --- MakeMaker tool_autosplit section:
# Usage: $(AUTOSPLITFILE) FileToSplit AutoDirToSplitInto
AUTOSPLITFILE = $(PERLRUN) -e 'use AutoSplit; autosplit($$ARGV[0], $
$ARGV[1], 0, 1, 1)'
# --- MakeMaker tool_xsubpp section:
XSUBPPDIR = /sorry/web/perl/lib/5.8.7/ExtUtils
XSUBPP = $(XSUBPPDIR)/xsubpp
XSPROTOARG =
XSUBPPDEPS = /sorry/web/perl/lib/5.8.7/ExtUtils/typemap typemap $
(XSUBPP)
XSUBPPARGS = -typemap /sorry/web/perl/lib/5.8.7/ExtUtils/typemap -
typemap typemap
XSUBPP_EXTRA_ARGS =
# --- MakeMaker tools_other section:
SHELL = /bin/sh
CHMOD = chmod
CP = cp
MV = mv
NOOP = $(SHELL) -c true
NOECHO = @
RM_F = rm -f
RM_RF = rm -rf
TEST_F = test -f
TOUCH = touch
UMASK_NULL = umask 0
DEV_NULL = > /dev/null 2>&1
MKPATH = $(PERLRUN) "-MExtUtils::Command" -e mkpath
EQUALIZE_TIMESTAMP = $(PERLRUN) "-MExtUtils::Command" -e eqtime
ECHO = echo
ECHO_N = echo -n
UNINST = 0
VERBINST = 0
MOD_INSTALL = $(PERLRUN) -MExtUtils::Install -e 'install({@ARGV},
'\''$(VERBINST)'\'', 0, '\''$(UNINST)'\'');'
DOC_INSTALL = $(PERLRUN) "-MExtUtils::Command::MM" -e perllocal_install
UNINSTALL = $(PERLRUN) "-MExtUtils::Command::MM" -e uninstall
WARN_IF_OLD_PACKLIST = $(PERLRUN) "-MExtUtils::Command::MM" -e
warn_if_old_packlist
# --- MakeMaker makemakerdflt section:
makemakerdflt: all
$(NOECHO) $(NOOP)
# --- MakeMaker dist section:
TAR = tar
TARFLAGS = cvf
ZIP = zip
ZIPFLAGS = -r
COMPRESS = gzip -v9
SUFFIX = gz
SHAR = shar
PREOP = $(MAKE) -f Makefile.old distdir
POSTOP = $(NOECHO) $(NOOP)
TO_UNIX = $(NOECHO) $(NOOP)
CI = ci -u
RCS_LABEL = rcs -Nv$(VERSION_SYM): -q
DIST_CP = best
DIST_DEFAULT = clean distcheck disttest tardist
DISTNAME = DBD-Oracle
DISTVNAME = DBD-Oracle-1.16
# --- MakeMaker macro section:
# --- MakeMaker depend section:
# --- MakeMaker cflags section:
CCFLAGS = +z -Ae -D_HPUX_SOURCE -Wl,+vnocompatwarnings +DD64 -I/usr/
local/include
OPTIMIZE = +O2 +Onolimit
PERLTYPE =
MPOLLUTE =
# --- MakeMaker const_loadlibs section:
# DBD::Oracle might depend on some other libraries:
# See ExtUtils::Liblist for details
#
EXTRALIBS = -L$(LIBHOME) -Wl,+s -Wl,+n +DA2.0W +DS2.0 -L/sorry/
oracle/app/oracle/product/10.1.0/rdbms/lib/ -L/sorry/oracle/app/
oracle/product/10.1.0/lib/ -lclntsh `cat /sorry/oracle/app/oracle/
product/10.1.0/lib/ldflags` `cat /sorry/oracle/app/oracle/product/
10.1.0/lib/sysliblist` -lm
LD_RUN_PATH=/sorry/oracle/app/oracle/product/10.1.0/lib:/sor ry/oracle/
app/oracle/product/10.1.0/rdbms/lib
# --- MakeMaker const_cccmd section:
CCCMD = $(CC) -c $(PASTHRU_INC) $(INC) \
$(CCFLAGS) $(OPTIMIZE) \
$(PERLTYPE) $(MPOLLUTE) $(DEFINE_VERSION) \
$(XS_DEFINE_VERSION)
# --- MakeMaker post_constants section:
# --- MakeMaker pasthru section:
PASTHRU = LIB="$(LIB)"\
LIBPERL_A="$(LIBPERL_A)"\
LINKTYPE="$(LINKTYPE)"\
PREFIX="$(PREFIX)"\
OPTIMIZE="$(OPTIMIZE)"\
PASTHRU_DEFINE="$(PASTHRU_DEFINE)"\
PASTHRU_INC="$(PASTHRU_INC)"
# --- MakeMaker special_targets section:
..SUFFIXES: .xs .c .C .cpp .i .s .cxx .cc $(OBJ_EXT)
..PHONY: all config static dynamic test linkext manifest
# --- MakeMaker c_o section:
..c.i:
cc -E -Aa -D__STDC_EXT__ -c $(PASTHRU_INC) $(INC) \
$(CCFLAGS) $(OPTIMIZE) \
$(PERLTYPE) $(MPOLLUTE) $(DEFINE_VERSION) \
$(XS_DEFINE_VERSION) $(CCCDLFLAGS) "-I$(PERL_INC)" $
(PASTHRU_DEFINE) $(DEFINE) $*.c > $*.i
..c.s:
$(CCCMD) -S $(CCCDLFLAGS) "-I$(PERL_INC)" $(PASTHRU_DEFINE) $
(DEFINE) $*.c
..c$(OBJ_EXT):
$(CCCMD) $(CCCDLFLAGS) "-I$(PERL_INC)" $(PASTHRU_DEFINE) $
(DEFINE) $*.c
..C$(OBJ_EXT):
$(CCCMD) $(CCCDLFLAGS) "-I$(PERL_INC)" $(PASTHRU_DEFINE) $
(DEFINE) $*.C
..cpp$(OBJ_EXT):
$(CCCMD) $(CCCDLFLAGS) "-I$(PERL_INC)" $(PASTHRU_DEFINE) $
(DEFINE) $*.cpp
..cxx$(OBJ_EXT):
$(CCCMD) $(CCCDLFLAGS) "-I$(PERL_INC)" $(PASTHRU_DEFINE) $
(DEFINE) $*.cxx
..cc$(OBJ_EXT):
$(CCCMD) $(CCCDLFLAGS) "-I$(PERL_INC)" $(PASTHRU_DEFINE) $
(DEFINE) $*.cc
# --- MakeMaker xs_c section:
..xs.c:
$(PERLRUN) $(XSUBPP) $(XSPROTOARG) $(XSUBPPARGS) $
(XSUBPP_EXTRA_ARGS) $*.xs > $*.xsc && $(MV) $*.xsc $*.c
# --- MakeMaker xs_o section:
..xs$(OBJ_EXT):
$(PERLRUN) $(XSUBPP) $(XSPROTOARG) $(XSUBPPARGS) $*.xs > $*.xsc
&& $(MV) $*.xsc $*.c
$(CCCMD) $(CCCDLFLAGS) "-I$(PERL_INC)" $(PASTHRU_DEFINE) $
(DEFINE) $*.c
# --- MakeMaker top_targets section:
all :: pure_all manifypods
$(NOECHO) $(NOOP)
pure_all :: config pm_to_blib subdirs linkext
$(NOECHO) $(NOOP)
subdirs :: $(MYEXTLIB)
$(NOECHO) $(NOOP)
config :: $(FIRST_MAKEFILE) $(INST_LIBDIR)$(DIRFILESEP).exists
$(NOECHO) $(NOOP)
config :: $(INST_ARCHAUTODIR)$(DIRFILESEP).exists
$(NOECHO) $(NOOP)
config :: $(INST_AUTODIR)$(DIRFILESEP).exists
$(NOECHO) $(NOOP)
$(INST_AUTODIR)/.exists :: /sorry/web/perl/lib/5.8.7/PA-RISC2.0-LP64/
CORE/perl.h
$(NOECHO) $(MKPATH) $(INST_AUTODIR)
$(NOECHO) $(EQUALIZE_TIMESTAMP) /sorry/web/perl/lib/5.8.7/PA-
RISC2.0-LP64/CORE/perl.h $(INST_AUTODIR)/.exists
-$(NOECHO) $(CHMOD) $(PERM_RWX) $(INST_AUTODIR)
$(INST_LIBDIR)/.exists :: /sorry/web/perl/lib/5.8.7/PA-RISC2.0-LP64/
CORE/perl.h
$(NOECHO) $(MKPATH) $(INST_LIBDIR)
$(NOECHO) $(EQUALIZE_TIMESTAMP) /sorry/web/perl/lib/5.8.7/PA-
RISC2.0-LP64/CORE/perl.h $(INST_LIBDIR)/.exists
-$(NOECHO) $(CHMOD) $(PERM_RWX) $(INST_LIBDIR)
$(INST_ARCHAUTODIR)/.exists :: /sorry/web/perl/lib/5.8.7/PA-RISC2.0-
LP64/CORE/perl.h
$(NOECHO) $(MKPATH) $(INST_ARCHAUTODIR)
$(NOECHO) $(EQUALIZE_TIMESTAMP) /sorry/web/perl/lib/5.8.7/PA-
RISC2.0-LP64/CORE/perl.h $(INST_ARCHAUTODIR)/.exists
-$(NOECHO) $(CHMOD) $(PERM_RWX) $(INST_ARCHAUTODIR)
config :: $(INST_MAN1DIR)$(DIRFILESEP).exists
$(NOECHO) $(NOOP)
$(INST_MAN1DIR)/.exists :: /sorry/web/perl/lib/5.8.7/PA-RISC2.0-LP64/
CORE/perl.h
$(NOECHO) $(MKPATH) $(INST_MAN1DIR)
$(NOECHO) $(EQUALIZE_TIMESTAMP) /sorry/web/perl/lib/5.8.7/PA-
RISC2.0-LP64/CORE/perl.h $(INST_MAN1DIR)/.exists
-$(NOECHO) $(CHMOD) $(PERM_RWX) $(INST_MAN1DIR)
config :: $(INST_MAN3DIR)$(DIRFILESEP).exists
$(NOECHO) $(NOOP)
$(INST_MAN3DIR)/.exists :: /sorry/web/perl/lib/5.8.7/PA-RISC2.0-LP64/
CORE/perl.h
$(NOECHO) $(MKPATH) $(INST_MAN3DIR)
$(NOECHO) $(EQUALIZE_TIMESTAMP) /sorry/web/perl/lib/5.8.7/PA-
RISC2.0-LP64/CORE/perl.h $(INST_MAN3DIR)/.exists
-$(NOECHO) $(CHMOD) $(PERM_RWX) $(INST_MAN3DIR)
$(O_FILES): $(H_FILES)
help:
perldoc ExtUtils::MakeMaker
# --- MakeMaker linkext section:
linkext :: $(LINKTYPE)
$(NOECHO) $(NOOP)
# --- MakeMaker dlsyms section:
# --- MakeMaker dynamic section:
dynamic :: $(FIRST_MAKEFILE) $(INST_DYNAMIC) $(INST_BOOT)
$(NOECHO) $(NOOP)
# --- MakeMaker dynamic_bs section:
BOOTSTRAP = $(BASEEXT).bs
# As Mkbootstrap might not write a file (if none is required)
# we use touch to prevent make continually trying to remake it.
# The DynaLoader only reads a non-empty file.
$(BOOTSTRAP): $(FIRST_MAKEFILE) $(BOOTDEP) $(INST_ARCHAUTODIR)$
(DIRFILESEP).exists
$(NOECHO) $(ECHO) "Running Mkbootstrap for $(NAME) ($(BSLOADLIBS))"
$(NOECHO) $(PERLRUN) \
"-MExtUtils::Mkbootstrap" \
-e "Mkbootstrap('$(BASEEXT)','$(BSLOADLIBS)');"
$(NOECHO) $(TOUCH) $(BOOTSTRAP)
$(CHMOD) $(PERM_RW) $@
$(INST_BOOT): $(BOOTSTRAP) $(INST_ARCHAUTODIR)$(DIRFILESEP).exists
$(NOECHO) $(RM_RF) $(INST_BOOT)
-$(CP) $(BOOTSTRAP) $(INST_BOOT)
$(CHMOD) $(PERM_RW) $@
# --- MakeMaker dynamic_lib section:
# This section creates the dynamically loadable $(INST_DYNAMIC)
# from $(OBJECT) and possibly $(MYEXTLIB).
ARMAYBE = :
OTHERLDFLAGS = +s +n -L/sorry/oracle/app/oracle/product/10.1.0/rdbms/
lib/ -L/sorry/oracle/app/oracle/product/10.1.0/lib/ -lclntsh `cat /
sorry/oracle/app/oracle/product/10.1.0/lib/ldflags` `cat /sorry/
oracle/app/oracle/product/10.1.0/lib/sysliblist` -lm
INST_DYNAMIC_DEP =
INST_DYNAMIC_FIX =
$(INST_DYNAMIC): $(OBJECT) $(MYEXTLIB) $(BOOTSTRAP) $
(INST_ARCHAUTODIR)$(DIRFILESEP).exists $(EXPORT_LIST) $(PERL_ARCHIVE)
$(PERL_ARCHIVE_AFTER) $(INST_DYNAMIC_DEP)
$(RM_F) $@
$(LD) +b "$(LD_RUN_PATH)" $(LDDLFLAGS) $(LDFROM) $
(OTHERLDFLAGS) -o $@ $(MYEXTLIB) $(PERL_ARCHIVE) $(LDLOADLIBS) $
(PERL_ARCHIVE_AFTER) $(EXPORT_LIST) $(INST_DYNAMIC_FIX)
$(CHMOD) $(PERM_RWX) $@
# --- MakeMaker static section:
## $(INST_PM) has been moved to the all: target.
## It remains here for awhile to allow for old usage: "make static"
static :: $(FIRST_MAKEFILE) $(INST_STATIC)
$(NOECHO) $(NOOP)
# --- MakeMaker static_lib section:
$(INST_STATIC): $(OBJECT) $(MYEXTLIB) $(INST_ARCHAUTODIR)$
(DIRFILESEP).exists
$(RM_RF) $@
$(FULL_AR) $(AR_STATIC_ARGS) $@ $(OBJECT) && $(RANLIB) $@
$(CHMOD) $(PERM_RWX) $@
$(NOECHO) $(ECHO) "$(EXTRALIBS)" > $(INST_ARCHAUTODIR)/extralibs.ld
# --- MakeMaker manifypods section:
POD2MAN_EXE = $(PERLRUN) "-MExtUtils::Command::MM" -e pod2man "--"
POD2MAN = $(POD2MAN_EXE)
manifypods : pure_all \
ora_explain \
Oracle.pm \
Oraperl.pm \
Oracle.pm \
Oraperl.pm
$(NOECHO) $(POD2MAN) --section=1 --perm_rw=$(PERM_RW)\
ora_explain $(INST_MAN1DIR)/ora_explain.$(MAN1EXT)
$(NOECHO) $(POD2MAN) --section=3 --perm_rw=$(PERM_RW)\
Oracle.pm $(INST_MAN3DIR)/DBD::Oracle.$(MAN3EXT) \
Oraperl.pm $(INST_MAN3DIR)/DBD::Oraperl.$(MAN3EXT)
# --- MakeMaker processPL section:
all :: ora_explain
$(NOECHO) $(NOOP)
ora_explain :: ora_explain.PL
$(PERLRUNINST) ora_explain.PL ora_explain
# --- MakeMaker installbin section:
$(INST_SCRIPT)/.exists :: /sorry/web/perl/lib/5.8.7/PA-RISC2.0-LP64/
CORE/perl.h
$(NOECHO) $(MKPATH) $(INST_SCRIPT)
$(NOECHO) $(EQUALIZE_TIMESTAMP) /sorry/web/perl/lib/5.8.7/PA-
RISC2.0-LP64/CORE/perl.h $(INST_SCRIPT)/.exists
-$(NOECHO) $(CHMOD) $(PERM_RWX) $(INST_SCRIPT)
EXE_FILES = ora_explain
FIXIN = $(PERLRUN) "-MExtUtils::MY" -e "MY->fixin(shift)"
pure_all :: $(INST_SCRIPT)/ora_explain
$(NOECHO) $(NOOP)
realclean ::
$(RM_F) $(INST_SCRIPT)/ora_explain
$(INST_SCRIPT)/ora_explain: ora_explain $(FIRST_MAKEFILE) $
(INST_SCRIPT)/.exists
$(NOECHO) $(RM_F) $(INST_SCRIPT)/ora_explain
$(CP) ora_explain $(INST_SCRIPT)/ora_explain
$(FIXIN) $(INST_SCRIPT)/ora_explain
-$(NOECHO) $(CHMOD) $(PERM_RWX) $(INST_SCRIPT)/ora_explain
# --- MakeMaker subdirs section:
# none
# --- MakeMaker clean_subdirs section:
clean_subdirs :
$(NOECHO) $(NOOP)
# --- MakeMaker clean section:
# Delete temporary files but do not touch installed files. We don't
delete
# the Makefile here so a later make realclean still has a makefile to
use.
clean :: clean_subdirs
-$(RM_RF) Oracle.c xstmp.c Oracle.xsi dll.base dll.exp
sqlnet.log libOracle.def ora_explain mk.pm ./blib $(MAKE_APERL_FILE) $
(INST_ARCHAUTODIR)/extralibs.all $(INST_ARCHAUTODIR)/extralibs.ld
perlmain.c tmon.out mon.out so_locations pm_to_blib *$(OBJ_EXT) *$
(LIB_EXT) perl.exe perl perl$(EXE_EXT) $(BOOTSTRAP) $(BASEEXT).bso $
(BASEEXT).def lib$(BASEEXT).def $(BASEEXT).exp $(BASEEXT).x core
core.*perl.*.? *perl.core core.[0-9] core.[0-9][0-9] core.[0-9][0-9]
[0-9] core.[0-9][0-9][0-9][0-9] core.[0-9][0-9][0-9][0-9][0-9]
-$(MV) $(FIRST_MAKEFILE) $(MAKEFILE_OLD) $(DEV_NULL)
# --- MakeMaker realclean_subdirs section:
realclean_subdirs :
$(NOECHO) $(NOOP)
# --- MakeMaker realclean section:
# Delete temporary files (via clean) and also delete installed files
realclean purge :: clean realclean_subdirs
$(RM_RF) $(INST_AUTODIR) $(INST_ARCHAUTODIR)
$(RM_RF) $(DISTVNAME)
$(RM_F) $(INST_DYNAMIC) $(INST_BOOT)
$(RM_F) $(INST_STATIC)
$(RM_F) $(INST_ARCHAUTODIR)/ocitrace.h $(INST_ARCHAUTODIR)/
mk.pm $(INST_ARCHAUTODIR)/dbdimp.h $(MAKEFILE_OLD) blib/lib/DBD/
Oracle/GetInfo.pm $(INST_LIB)/oraperl.ph $(INST_LIB)/Oraperl.pm $
(FIRST_MAKEFILE)
$(RM_F) $(INST_ARCHAUTODIR)/Oracle.h $(INST_LIB)/DBD/Oracle.pm
# --- MakeMaker metafile section:
metafile :
$(NOECHO) $(ECHO) '# http://module-build.sourceforge.net/META-
spec.html' > META.yml
$(NOECHO) $(ECHO) '#XXXXXXX This is a prototype!!! It will
change in the future!!! XXXXX#' >> META.yml
$(NOECHO) $(ECHO) 'name: DBD-Oracle' >> META.yml
$(NOECHO) $(ECHO) 'version: 1.16' >> META.yml
$(NOECHO) $(ECHO) 'version_from: Oracle.pm' >> META.yml
$(NOECHO) $(ECHO) 'installdirs: site' >> META.yml
$(NOECHO) $(ECHO) 'requires:' >> META.yml
$(NOECHO) $(ECHO) ' DBI: 0' >>
META.yml
$(NOECHO) $(ECHO) '' >> META.yml
$(NOECHO) $(ECHO) 'distribution_type: module' >> META.yml
$(NOECHO) $(ECHO) 'generated_by: ExtUtils::MakeMaker version
6.17' >> META.yml
# --- MakeMaker metafile_addtomanifest section:
metafile_addtomanifest:
$(NOECHO) $(PERLRUN) -MExtUtils::Manifest=maniadd -e 'eval
{ maniadd({q{META.yml} => q{Module meta-data (added by
MakeMaker)}}) } ' \
-e ' or print "Could not add META.yml to MANIFEST: $$
{'\''@'\''}\n"'
# --- MakeMaker dist_basics section:
distclean :: realclean distcheck
$(NOECHO) $(NOOP)
distcheck :
$(PERLRUN) "-MExtUtils::Manifest=fullcheck" -e fullcheck
skipcheck :
$(PERLRUN) "-MExtUtils::Manifest=skipcheck" -e skipcheck
manifest :
$(PERLRUN) "-MExtUtils::Manifest=mkmanifest" -e mkmanifest
veryclean : realclean
$(RM_F) *~ *.orig */*~ */*.orig
# --- MakeMaker dist_core section:
dist : $(DIST_DEFAULT) $(FIRST_MAKEFILE)
$(NOECHO) $(PERLRUN) -l -e 'print '\''Warning: Makefile possibly
out of date with $(VERSION_FROM)'\''' \
-e ' if -e '\''$(VERSION_FROM)'\'' and -M '\''$
(VERSION_FROM)'\'' < -M '\''$(FIRST_MAKEFILE)'\'';'
tardist : $(DISTVNAME).tar$(SUFFIX)
$(NOECHO) $(NOOP)
uutardist : $(DISTVNAME).tar$(SUFFIX)
uuencode $(DISTVNAME).tar$(SUFFIX) $(DISTVNAME).tar$(SUFFIX) > $
(DISTVNAME).tar$(SUFFIX)_uu
$(DISTVNAME).tar$(SUFFIX) : distdir
$(PREOP)
$(TO_UNIX)
$(TAR) $(TARFLAGS) $(DISTVNAME).tar $(DISTVNAME)
$(RM_RF) $(DISTVNAME)
$(COMPRESS) $(DISTVNAME).tar
$(POSTOP)
zipdist : $(DISTVNAME).zip
$(NOECHO) $(NOOP)
$(DISTVNAME).zip : distdir
$(PREOP)
$(ZIP) $(ZIPFLAGS) $(DISTVNAME).zip $(DISTVNAME)
$(RM_RF) $(DISTVNAME)
$(POSTOP)
shdist : distdir
$(PREOP)
$(SHAR) $(DISTVNAME) > $(DISTVNAME).shar
$(RM_RF) $(DISTVNAME)
$(POSTOP)
# --- MakeMaker distdir section:
distdir : metafile metafile_addtomanifest
$(RM_RF) $(DISTVNAME)
$(PERLRUN) "-MExtUtils::Manifest=manicopy,maniread" \
-e "manicopy(maniread(),'$(DISTVNAME)', '$(DIST_CP)');"
# --- MakeMaker dist_test section:
disttest : distdir
cd $(DISTVNAME) && $(ABSPERLRUN) Makefile.PL
cd $(DISTVNAME) && $(MAKE) $(PASTHRU)
cd $(DISTVNAME) && $(MAKE) test $(PASTHRU)
# --- MakeMaker dist_ci section:
ci :
$(PERLRUN) "-MExtUtils::Manifest=maniread" \
-e "@all = keys %{ maniread() };" \
-e "print(qq{Executing $(CI) @all\n}); system(qq{$(CI) @all});" \
-e "print(qq{Executing $(RCS_LABEL) ...\n}); system(qq{$
(RCS_LABEL) @all});"
# --- MakeMaker install section:
install :: all pure_install doc_install
install_perl :: all pure_perl_install doc_perl_install
install_site :: all pure_site_install doc_site_install
install_vendor :: all pure_vendor_install doc_vendor_install
pure_install :: pure_$(INSTALLDIRS)_install
doc_install :: doc_$(INSTALLDIRS)_install
pure__install : pure_site_install
$(NOECHO) $(ECHO) INSTALLDIRS not defined, defaulting to
INSTALLDIRS=site
doc__install : doc_site_install
$(NOECHO) $(ECHO) INSTALLDIRS not defined, defaulting to
INSTALLDIRS=site
pure_perl_install ::
$(NOECHO) $(MOD_INSTALL) \
read $(PERL_ARCHLIB)/auto/$(FULLEXT)/.packlist \
write $(DESTINSTALLARCHLIB)/auto/$(FULLEXT)/.packlist \
$(INST_LIB) $(DESTINSTALLPRIVLIB) \
$(INST_ARCHLIB) $(DESTINSTALLARCHLIB) \
$(INST_BIN) $(DESTINSTALLBIN) \
$(INST_SCRIPT) $(DESTINSTALLSCRIPT) \
$(INST_MAN1DIR) $(DESTINSTALLMAN1DIR) \
$(INST_MAN3DIR) $(DESTINSTALLMAN3DIR)
$(NOECHO) $(WARN_IF_OLD_PACKLIST) \
$(SITEARCHEXP)/auto/$(FULLEXT)
pure_site_install ::
$(NOECHO) $(MOD_INSTALL) \
read $(SITEARCHEXP)/auto/$(FULLEXT)/.packlist \
write $(DESTINSTALLSITEARCH)/auto/$(FULLEXT)/.packlist \
$(INST_LIB) $(DESTINSTALLSITELIB) \
$(INST_ARCHLIB) $(DESTINSTALLSITEARCH) \
$(INST_BIN) $(DESTINSTALLSITEBIN) \
$(INST_SCRIPT) $(DESTINSTALLSCRIPT) \
$(INST_MAN1DIR) $(DESTINSTALLSITEMAN1DIR) \
$(INST_MAN3DIR) $(DESTINSTALLSITEMAN3DIR)
$(NOECHO) $(WARN_IF_OLD_PACKLIST) \
$(PERL_ARCHLIB)/auto/$(FULLEXT)
pure_vendor_install ::
$(NOECHO) $(MOD_INSTALL) \
read $(VENDORARCHEXP)/auto/$(FULLEXT)/.packlist \
write $(DESTINSTALLVENDORARCH)/auto/$(FULLEXT)/.packlist \
$(INST_LIB) $(DESTINSTALLVENDORLIB) \
$(INST_ARCHLIB) $(DESTINSTALLVENDORARCH) \
$(INST_BIN) $(DESTINSTALLVENDORBIN) \
$(INST_SCRIPT) $(DESTINSTALLSCRIPT) \
$(INST_MAN1DIR) $(DESTINSTALLVENDORMAN1DIR) \
$(INST_MAN3DIR) $(DESTINSTALLVENDORMAN3DIR)
doc_perl_install ::
$(NOECHO) $(ECHO) Appending installation info to $
(DESTINSTALLARCHLIB)/perllocal.pod
-$(NOECHO) $(MKPATH) $(DESTINSTALLARCHLIB)
-$(NOECHO) $(DOC_INSTALL) \
"Module" "$(NAME)" \
"installed into" "$(INSTALLPRIVLIB)" \
LINKTYPE "$(LINKTYPE)" \
VERSION "$(VERSION)" \
EXE_FILES "$(EXE_FILES)" \
>> $(DESTINSTALLARCHLIB)/perllocal.pod
doc_site_install ::
$(NOECHO) $(ECHO) Appending installation info to $
(DESTINSTALLARCHLIB)/perllocal.pod
-$(NOECHO) $(MKPATH) $(DESTINSTALLARCHLIB)
-$(NOECHO) $(DOC_INSTALL) \
"Module" "$(NAME)" \
"installed into" "$(INSTALLSITELIB)" \
LINKTYPE "$(LINKTYPE)" \
VERSION "$(VERSION)" \
EXE_FILES "$(EXE_FILES)" \
>> $(DESTINSTALLARCHLIB)/perllocal.pod
doc_vendor_install ::
$(NOECHO) $(ECHO) Appending installation info to $
(DESTINSTALLARCHLIB)/perllocal.pod
-$(NOECHO) $(MKPATH) $(DESTINSTALLARCHLIB)
-$(NOECHO) $(DOC_INSTALL) \
"Module" "$(NAME)" \
"installed into" "$(INSTALLVENDORLIB)" \
LINKTYPE "$(LINKTYPE)" \
VERSION "$(VERSION)" \
EXE_FILES "$(EXE_FILES)" \
>> $(DESTINSTALLARCHLIB)/perllocal.pod
uninstall :: uninstall_from_$(INSTALLDIRS)dirs
uninstall_from_perldirs ::
$(NOECHO) $(UNINSTALL) $(PERL_ARCHLIB)/auto/$(FULLEXT)/.packlist
uninstall_from_sitedirs ::
$(NOECHO) $(UNINSTALL) $(SITEARCHEXP)/auto/$(FULLEXT)/.packlist
uninstall_from_vendordirs ::
$(NOECHO) $(UNINSTALL) $(VENDORARCHEXP)/auto/$(FULLEXT)/.packlist
# --- MakeMaker force section:
# Phony target to force checking subdirectories.
FORCE:
$(NOECHO) $(NOOP)
# --- MakeMaker perldepend section:
PERL_HDRS = \
$(PERL_INC)/EXTERN.h \
$(PERL_INC)/INTERN.h \
$(PERL_INC)/XSUB.h \
$(PERL_INC)/av.h \
$(PERL_INC)/cc_runtime.h \
$(PERL_INC)/config.h \
$(PERL_INC)/cop.h \
$(PERL_INC)/cv.h \
$(PERL_INC)/dosish.h \
$(PERL_INC)/embed.h \
$(PERL_INC)/embedvar.h \
$(PERL_INC)/fakethr.h \
$(PERL_INC)/form.h \
$(PERL_INC)/gv.h \
$(PERL_INC)/handy.h \
$(PERL_INC)/hv.h \
$(PERL_INC)/intrpvar.h \
$(PERL_INC)/iperlsys.h \
$(PERL_INC)/keywords.h \
$(PERL_INC)/mg.h \
$(PERL_INC)/nostdio.h \
$(PERL_INC)/op.h \
$(PERL_INC)/opcode.h \
$(PERL_INC)/patchlevel.h \
$(PERL_INC)/perl.h \
$(PERL_INC)/perlio.h \
$(PERL_INC)/perlsdio.h \
$(PERL_INC)/perlsfio.h \
$(PERL_INC)/perlvars.h \
$(PERL_INC)/perly.h \
$(PERL_INC)/pp.h \
$(PERL_INC)/pp_proto.h \
$(PERL_INC)/proto.h \
$(PERL_INC)/regcomp.h \
$(PERL_INC)/regexp.h \
$(PERL_INC)/regnodes.h \
$(PERL_INC)/scope.h \
$(PERL_INC)/sv.h \
$(PERL_INC)/thrdvar.h \
$(PERL_INC)/thread.h \
$(PERL_INC)/unixish.h \
$(PERL_INC)/util.h
$(OBJECT) : $(PERL_HDRS)
Oracle.c : $(XSUBPPDEPS)
# --- MakeMaker makefile section:
$(OBJECT) : $(FIRST_MAKEFILE)
# We take a very conservative approach here, but it's worth it.
# We move Makefile to Makefile.old here to avoid gnu make looping.
$(FIRST_MAKEFILE) : Makefile.PL $(CONFIGDEP)
$(NOECHO) $(ECHO) "Makefile out-of-date with respect to $?"
$(NOECHO) $(ECHO) "Cleaning current config before rebuilding
Makefile..."
$(NOECHO) $(RM_F) $(MAKEFILE_OLD)
$(NOECHO) $(MV) $(FIRST_MAKEFILE) $(MAKEFILE_OLD)
-$(MAKE) -f $(MAKEFILE_OLD) clean $(DEV_NULL) || $(NOOP)
$(PERLRUN) Makefile.PL "PREFIX=/sorry/web/perl"
$(NOECHO) $(ECHO) "==> Your Makefile has been rebuilt. <=="
$(NOECHO) $(ECHO) "==> Please rerun the make command. <=="
false
# --- MakeMaker staticmake section:
# --- MakeMaker makeaperl section ---
MAP_TARGET = perl
FULLPERL = /sorry/web/perl/bin/perl
$(MAP_TARGET) :: static $(MAKE_APERL_FILE)
$(MAKE) -f $(MAKE_APERL_FILE) $@
$(MAKE_APERL_FILE) : $(FIRST_MAKEFILE)
$(NOECHO) $(ECHO) Writing \"$(MAKE_APERL_FILE)\" for this $
(MAP_TARGET)
$(NOECHO) $(PERLRUNINST) \
Makefile.PL DIR= \
MAKEFILE=$(MAKE_APERL_FILE) LINKTYPE=static \
MAKEAPERL=1 NORECURS=1 CCCDLFLAGS= \
PREFIX=/sorry/web/perl
# --- MakeMaker test section:
TEST_VERBOSE=0
TEST_TYPE=test_$(LINKTYPE)
TEST_FILE = test.pl
TEST_FILES = t/*.t
TESTDB_SW = -d
testdb :: testdb_$(LINKTYPE)
test :: $(TEST_TYPE)
test_dynamic :: pure_all
PERL_DL_NONLAZY=1 $(FULLPERLRUN) "-MExtUtils::Command::MM" "-e"
"test_harness($(TEST_VERBOSE), '$(INST_LIB)', '$(INST_ARCHLIB)')" $
(TEST_FILES)
PERL_DL_NONLAZY=1 $(FULLPERLRUN) "-I$(INST_LIB)" "-I$
(INST_ARCHLIB)" $(TEST_FILE)
testdb_dynamic :: pure_all
PERL_DL_NONLAZY=1 $(FULLPERLRUN) $(TESTDB_SW) "-I$(INST_LIB)" "-I
$(INST_ARCHLIB)" $(TEST_FILE)
test_ : test_dynamic
test_static :: pure_all $(MAP_TARGET)
PERL_DL_NONLAZY=1 ./$(MAP_TARGET) "-MExtUtils::Command::MM" "-e"
"test_harness($(TEST_VERBOSE), '$(INST_LIB)', '$(INST_ARCHLIB)')" $
(TEST_FILES)
PERL_DL_NONLAZY=1 ./$(MAP_TARGET) "-I$(INST_LIB)" "-I$
(INST_ARCHLIB)" $(TEST_FILE)
testdb_static :: pure_all $(MAP_TARGET)
PERL_DL_NONLAZY=1 ./$(MAP_TARGET) $(TESTDB_SW) "-I$(INST_LIB)" "-
I$(INST_ARCHLIB)" $(TEST_FILE)
# --- MakeMaker ppd section:
# Creates a PPD (Perl Package Description) for a binary distribution.
ppd:
$(NOECHO) $(ECHO) '
VERSION="1,16,0,0">' > $(DISTNAME).ppd
$(NOECHO) $(ECHO) '
$(DISTNAME)' >> $
(DISTNAME).ppd
$(NOECHO) $(ECHO) ' Oracle database driver for the
DBI module' >> $(DISTNAME).ppd
$(NOECHO) $(ECHO) ' Tim Bunce (dbi-users@perl.org)
AUTHOR>' >> $(DISTNAME).ppd
$(NOECHO) $(ECHO) ' ' >> $(DISTNAME).ppd
$(NOECHO) $(ECHO) '
VERSION="0,0,0,0" />' >> $(DISTNAME).ppd
$(NOECHO) $(ECHO) ' ' >> $
(DISTNAME).ppd
$(NOECHO) $(ECHO) '
>' >> $(DISTNAME).ppd
$(NOECHO) $(ECHO) ' ' >> $(DISTNAME).ppd
$(NOECHO) $(ECHO) ' ' >> $(DISTNAME).ppd
$(NOECHO) $(ECHO) '' >> $(DISTNAME).ppd
# --- MakeMaker pm_to_blib section:
pm_to_blib: $(TO_INST_PM)
$(NOECHO) $(PERLRUN) -MExtUtils::Install -e 'pm_to_blib({@ARGV},
'\''$(INST_LIB)/auto'\'', '\''$(PM_FILTER)'\'')'\
Oracle.h $(INST_ARCHAUTODIR)/Oracle.h \
Oracle.pm $(INST_LIB)/DBD/Oracle.pm \
dbdimp.h $(INST_ARCHAUTODIR)/dbdimp.h \
oraperl.ph $(INST_LIB)/oraperl.ph \
ocitrace.h $(INST_ARCHAUTODIR)/ocitrace.h \
Oraperl.pm $(INST_LIB)/Oraperl.pm \
lib/DBD/Oracle/GetInfo.pm blib/lib/DBD/Oracle/GetInfo.pm \
mk.pm $(INST_ARCHAUTODIR)/mk.pm
$(NOECHO) $(TOUCH) $@
# --- MakeMaker selfdocument section:
# --- MakeMaker postamble section:
# --- This section was generated by DBI::DBD::dbd_postamble()
DBI_INSTARCH_DIR=/sorry/web/perl/lib/site_perl/5.8.7/PA-RISC 2.0-LP64/
auto/DBI/
DBI_DRIVER_XST=$(DBI_INSTARCH_DIR)/Driver.xst
# The main dependancy (technically correct but probably not used)
$(BASEEXT).c: $(BASEEXT).xsi
# This dependancy is needed since MakeMaker uses the .xs.o rule
$(BASEEXT)$(OBJ_EXT): $(BASEEXT).xsi
$(BASEEXT).xsi: $(DBI_DRIVER_XST) $(DBI_INSTARCH_DIR)/Driver_xst.h
$(PERL) -p -e "s/~DRIVER~/$(BASEEXT)/g" $(DBI_DRIVER_XST) > $
(BASEEXT).xsi
# ---
# End.