RE: DBD 1.18a make not working



On 27-Sep-2006 Sunil A V wrote:
I installed DBI and everything worked. Now I am trying to install
DBD::Oracle 1.18a on a unix box which has Oracle 10 client and gcc. perl
MakeFile.PL worked fine. But make is giving this error after mentioning
about a string of syntax errors.

cc -c -DUTF8_SUPPORT -DNEW_OCI_INIT -DORA_OCI_VERSION=\"10.2.0.1\"
-I/opt/oracle/product/10.2.0.1.0_64c/rdbms/public
-I/opt/oracle/product/10.2.0.1.0_64c/rdbms/demo
-I/opt/oracle/product/10.2.0.1.0_64c/rdbms/public
-I/opt/oracle/product/10.2.0.1.0_64c/plsql/public
-I/opt/oracle/product/10.2.0.1.0_64c/network/public
-I/data/dq/ip/r4pp/perlmodules/auto/DBI -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -xdepend -DVERSION=\"1.18\" -DXS_VERSION=\"1.18\"
-I/usr/perl5/5.6.1/lib/sun4-solaris-64int/CORE -DUTF8_SUPPORT -DNEW_OCI_INIT
-DORA_OCI_VERSION=\"10.2.0.1\" dbdimp.c
cc: Warning: Optimizer level changed from 0 to 3 to support dependence based
transformations.
"dbdimp.c", line 11: warning: invalid white space character in directive

I think you'll find the file dbdimp.c has DOS line endings. You'll need to
convert it to use unix line feeds instead.

Martin
--
Martin J. Evans
Easysoft Ltd, UK
http://www.easysoft.com

.



Relevant Pages

  • Re: replacing two EOL chars by one
    ... Now there are a slew of perl driviling morons who ... PS pasted below my sig is some meat about unix. ... Subject: unix inanity: shell env syntax ... some command accept the -v for ...
    (comp.lang.perl.misc)
  • Re: replacing two EOL chars by one
    ... Now there are a slew of perl driviling morons who ... PS pasted below my sig is some meat about unix. ... Subject: unix inanity: shell env syntax ... some command accept the -v for ...
    (comp.lang.python)
  • Re: replacing two EOL chars by one
    ... Now there are a slew of perl driviling morons who ... PS pasted below my sig is some meat about unix. ... Subject: unix inanity: shell env syntax ... some command accept the -v for ...
    (comp.lang.lisp)
  • FAQ 3.24 Why dont Perl one-liners work on my DOS/Mac/VMS system?
    ... comes with the standard Perl distribution. ... have rather different ideas about quoting than the Unix shells under ... The perlfaq-workers, a group of volunteers, maintain the perlfaq. ...
    (comp.lang.perl.misc)
  • FAQ 3.24 Why dont Perl one-liners work on my DOS/Mac/VMS system?
    ... comes with the standard Perl distribution. ... have rather different ideas about quoting than the Unix shells under ... The perlfaq-workers, a group of volunteers, maintain the perlfaq. ...
    (comp.lang.perl.misc)