Hi all,
I'm running into an error that completely has me stumped. Trying to
install DBD-Oracle-1.14, I'm getting this error when I run make:
Makefile:857: *** missing separator. Stop.
I understand the usual symptoms of this problem (I think), and it's none of
those. There are not spaces in place of a tab in the Makefile, and the
file gives the same error whether I run with it in Unix or DOS format.
I've read all the readme's, searched for the error all over the web, read
the GNU make docs, to no avail. Here's my platform info:
Windows 2000 Professional
ActiveState ActivePerl 5.8
Cygwin
DBI 1.37
Oracle 9.2 client
There are a few interesting messages that come out of perl Makefile.PL, but
I don't know whether they are significant or not. First, just running perl
Makefile.PL generates the following log with errors:
Using DBI 1.37 installed in c:/Perl/site/lib/auto/DBI
Configuring DBD::Oracle ...
>>> Remember to actually *READ* the README file!
Especially if you have any problems.
Using Oracle in C:/ORA920
Found header files in rdbms/demo.
*********************************************************
I can't find the header files I need in your Oracle installation.
You probably need to install some more Oracle components.
I'll keep going, but the compile will probably fail.See README.clients
for more information.
*********************************************************
Found oci directory
Using OCI directory 'oci'
Found oci/lib/MSVC/oramts.lib library
Unable to find required Oracle OCI files for the build. Please
check
that you have your OCI installed in your oracle home (C:/ORA920)
directory and that it has the following files (and probably more):
C:/ORA920\oci\include\oratypes.h
C:/ORA920\oci\lib\MSVC\.lib
Please install OCI or send comments back to [EMAIL PROTECTED]
if you have an OCI directory other than oci.
at Makefile.PL line 259.
Wasn't sure what to do here, but since trouble seemed to start with the
header files and I could see in the scripts where this error was coming
from, I copied the *.h files in found in the oci/include directory to
rdbms/demo directory, which seemed to clear up the first error. I then run
makefile.PL and get the following log, which seems to be ok:
Using DBI 1.37 installed in c:/Perl/site/lib/auto/DBI
Configuring DBD::Oracle ...
>>> Remember to actually *READ* the README file!
Especially if you have any problems.
Using Oracle in C:/ORA920
Found header files in rdbms/demo.
Found oci directory
Using OCI directory 'oci'
Found oci/lib/MSVC/oci.lib library
Found oci/lib/MSVC/ociw32.lib library
Found oci/lib/MSVC/oramts.lib library
Found oci/lib/MSVC/oraocci9.lib library
Using oci/lib/MSVC/OCI.lib
System: perl5.008
Compiler: cl -MD -Zi -DNDEBUG -O1 -nologo -Gf -W3 -MD -Zi -DNDEBUG -O1
-DWIN32 -D_CONSOLE -DNO_STRICT -DHAVE_DES_FCRYPT
-DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DUSE_PERLIO
-DPERL_MSVCRT_READFIX
Linker: <ld not found>
Sysliblist:
Note (probably harmless): No library found for 'oldnames.lib'
Note (probably harmless): No library found for 'kernel32.lib'
Note (probably harmless): No library found for 'user32.lib'
Note (probably harmless): No library found for 'gdi32.lib'
Note (probably harmless): No library found for 'winspool.lib'
Note (probably harmless): No library found for 'comdlg32.lib'
Note (probably harmless): No library found for 'advapi32.lib'
Note (probably harmless): No library found for 'shell32.lib'
Note (probably harmless): No library found for 'ole32.lib'
Note (probably harmless): No library found for 'oleaut32.lib'
Note (probably harmless): No library found for 'netapi32.lib'
Note (probably harmless): No library found for 'uuid.lib'
Note (probably harmless): No library found for 'wsock32.lib'
Note (probably harmless): No library found for 'mpr.lib'
Note (probably harmless): No library found for 'winmm.lib'
Note (probably harmless): No library found for 'version.lib'
Note (probably harmless): No library found for 'odbc32.lib'
Note (probably harmless): No library found for 'odbccp32.lib'
Note (probably harmless): No library found for 'msvcrt.lib'
LD_RUN_PATH=C:/ORA920/lib:C:/ORA920/rdbms/lib
Using DBD::Oracle 1.14.
Using DBD::Oracle 1.14.
Using DBI 1.37 installed in c:/Perl/site/lib/auto/DBI
Writing Makefile for DBD::Oracle
*** If you have problems...
read all the log printed above, and the README and README.help
files.
(Of course, you have read README by now anyway, haven't you?)
However, then I run make and get the following:
Makefile:857: *** missing separator. Stop.
I've done all I can to try and figure out the problem, but I've no idea. I
tried DBD-Oracle-1.13, same error. I tried using Oracle client 8.16
(thinking file locations may have changed between 8 and 9), but no luck.
Anyone know what my problem is?
Thanks,
Tim Green
ADP, Inc.
DBI works fine via an ODBC connection.