Unable to locate an oracle.mk, proc.mk or other suitable *.mk
------_=_NextPart_001_01C89D41.AD9BDC66
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Hi,
I'm having problem of compiling Perl DBD::Oracle-1.19 with InstantClient
11 .1.0.1 on Ubuntu platform.
pow [at] ubunt:~/DBD/DBD-Oracle-1.19$ perl Makefile.PL
Argument "6.30_01" isn't numeric in subroutine entry at Makefile.PL line
8
main::BEGIN() called at /usr/share/perl/5.8/ExtUtils/MakeMaker.pm line 8
eval {...} called at /usr/share/perl/5.8/ExtUtils/MakeMaker.pm line 8
Using DBI 1.57 (for perl 5.008008 on i486-linux-gnu-thread-multi)
installed in / usr/lib/perl5/auto/DBI/
Argument "6.30_01" isn't numeric in numeric ge (>=3D) at Makefile.PL line
59.
Configuring DBD::Oracle for perl 5.008008 on linux
(i486-linux-gnu-thread-multi)
Remember to actually *READ* the README file! Especially if you have any
problems .
Using Oracle in /usr/lib/oracle/11.1.0.1/client
DEFINE _SQLPLUS_RELEASE =3D "1101000600" (CHAR)
Oracle version 11.1.0.6 (11.1)
Unable to locate an oracle.mk, proc.mk or other suitable *.mk
file in your Oracle installation. (I looked in
/usr/lib/oracle/11.1.0.1/client/rdbms/demo/demo_xe.mk /usr/lib/oracle/11
..1.0.1/client/rdbms/lib/oracle.mk
/usr/lib/oracle/11.1.0.1/client/rdbms/demo/ora cle.mk
/usr/lib/oracle/11.1.0.1/client/rdbms/demo/demo_rdbms.mk
/usr/lib/oracle/ 11.1.0.1/client/precomp/demo/proc/proc.mk
/usr/lib/oracle/11.1.0.1/client/precom p/demo/proc/demo_proc.mk
/usr/lib/oracle/11.1.0.1/client/proc/lib/proc.mk /usr/l
ib/oracle/11.1.0.1/client/proc16/lib/proc16.mk under
/usr/lib/oracle/11.1.0.1/cl ient)
The oracle.mk (or demo_rdbms.mk) file is part of the Oracle
RDBMS product. The proc.mk (or demo_proc.mk) file is part of
the Oracle Pro*C product. You need to build DBD::Oracle on a
system which has one of these Oracle components installed.
(Other *.mk files such as the env_*.mk files will not work.)
Alternatively you can use Oracle Instant Client.
In the unlikely event that a suitable *.mk file is installed
somewhere non-standard you can specify where it is using the -m option:
perl Makefile.PL -m /path/to/your.mk
See README.clients.txt for more information and some alternatives.
at Makefile.PL line 1072.
I dont have any folder name with 'rdbms' and 'precomp'under my
'installation /usr/lib/oracle/11.1.0.1/client'. But according to
README.linux file , its not required for instanct client. What is should
install to get all these required files oracle.mk, proc.mk or other
suitable *.mk ?
Could you please advice to solve the above issues
Thanks & Regards,
ElayaRaja
This message contains information that may be privileged or confidential an=
d is the property of the Capgemini Group. It is
intended only for the person to whom it is addressed. If you are not the in=
tended recipient, you are not authorized to
read, print, retain, copy, disseminate, distribute, or use this message or =
any part thereof. If you receive this message
in error, please notify the sender immediately and delete all copies of thi=
s message.
------_=_NextPart_001_01C89D41.AD9BDC66--
Re: Unable to locate an oracle.mk, proc.mk or other suitable *.mk
Sathasivam, Elayaraja wrote:
>
>
> Hi,
>
> I'm having problem of compiling Perl DBD::Oracle-1.19 with InstantClient
> 11 .1.0.1 on Ubuntu platform.
>
> pow [at] ubunt:~/DBD/DBD-Oracle-1.19$ perl Makefile.PL
> Argument "6.30_01" isn't numeric in subroutine entry at Makefile.PL line
> 8
> main::BEGIN() called at /usr/share/perl/5.8/ExtUtils/MakeMaker.pm line 8
> eval {...} called at /usr/share/perl/5.8/ExtUtils/MakeMaker.pm line 8
> Using DBI 1.57 (for perl 5.008008 on i486-linux-gnu-thread-multi)
> installed in / usr/lib/perl5/auto/DBI/
> Argument "6.30_01" isn't numeric in numeric ge (>=) at Makefile.PL line
> 59.
>
> Configuring DBD::Oracle for perl 5.008008 on linux
> (i486-linux-gnu-thread-multi)
>
> Remember to actually *READ* the README file! Especially if you have any
> problems .
>
> Using Oracle in /usr/lib/oracle/11.1.0.1/client
> DEFINE _SQLPLUS_RELEASE = "1101000600" (CHAR)
> Oracle version 11.1.0.6 (11.1)
>
> Unable to locate an oracle.mk, proc.mk or other suitable *.mk
> file in your Oracle installation. (I looked in
> /usr/lib/oracle/11.1.0.1/client/rdbms/demo/demo_xe.mk /usr/lib/oracle/11
> .1.0.1/client/rdbms/lib/oracle.mk
> /usr/lib/oracle/11.1.0.1/client/rdbms/demo/ora cle.mk
> /usr/lib/oracle/11.1.0.1/client/rdbms/demo/demo_rdbms.mk
> /usr/lib/oracle/ 11.1.0.1/client/precomp/demo/proc/proc.mk
> /usr/lib/oracle/11.1.0.1/client/precom p/demo/proc/demo_proc.mk
> /usr/lib/oracle/11.1.0.1/client/proc/lib/proc.mk /usr/l
> ib/oracle/11.1.0.1/client/proc16/lib/proc16.mk under
> /usr/lib/oracle/11.1.0.1/cl ient)
>
> The oracle.mk (or demo_rdbms.mk) file is part of the Oracle
> RDBMS product. The proc.mk (or demo_proc.mk) file is part of
> the Oracle Pro*C product. You need to build DBD::Oracle on a
> system which has one of these Oracle components installed.
> (Other *.mk files such as the env_*.mk files will not work.)
> Alternatively you can use Oracle Instant Client.
>
> In the unlikely event that a suitable *.mk file is installed
> somewhere non-standard you can specify where it is using the -m option:
> perl Makefile.PL -m /path/to/your.mk
>
> See README.clients.txt for more information and some alternatives.
>
> at Makefile.PL line 1072.
>
>
> I dont have any folder name with 'rdbms' and 'precomp'under my
> 'installation /usr/lib/oracle/11.1.0.1/client'. But according to
> README.linux file , its not required for instanct client. What is should
> install to get all these required files oracle.mk, proc.mk or other
> suitable *.mk ?
>
> Could you please advice to solve the above issues
>
>
>
>
>
> Thanks & Regards,
>
> ElayaRaja
>
>
>
>
>
>
>
> This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is
> intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to
> read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message
> in error, please notify the sender immediately and delete all copies of this message.
>
Have you installed all 3 instant client packages:
instantclient-basic-linux32
instantclient-sdk-linux32
instantclient-sqlplus-linux32
If not, you need to. I would also recommend also using 1.21 of
DBD::Oracle for some of the latest features.
Martin
--
Martin J. Evans
Easysoft Limited
http://www.easysoft.com