I'm trying to install DBD-ODBC-1.06 for Perl 5.8.0 which is included
with the standard RH 9.0 distribution packaged on a CD. As the following
out shows, 'Makefile.PL' successfully generates a 'Makefile' for the
iODBC driver manager:
== START LOG ================================
[EMAIL PROTECTED] DBD-ODBC-1.06]# perl Makefile.PL
Configuring DBD::ODBC ...
>>> Remember to actually *READ* the README file!
And re-read it if you have any problems.
Using DBI 1.39 installed in
/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/auto/DBI
Using ODBC in /usr
Umm, this looks like a iodbc type of driver manager.
We expect to find the isql.h, isqlext.h and iodbc.h files (which were
supplied with iODBC) in $ODBCHOME/include directory alongside
the /usr/lib/libiodbc.a /usr/lib/libiodbc.so /usr/lib/libiodbcadm.a
/usr/lib/libiodbcadm.so /usr/lib/libiodbcinst.a /usr/lib/libiodbcinst.so
library.
Checking if your kit is complete...
Looks good
Injecting selected odbc driver into cc command
Injecting selected odbc driver into cc command
Using DBI 1.39 installed in
/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/auto/DBI
Writing Makefile for DBD::ODBC
The DBD::ODBC tests will use these values for the database connection:
DBI_DSN=dbi:ODBC:test01 e.g. dbi:ODBC:demo
DBI_USER=gary
DBI_PASS=moi
=== END LOG ==================================
However, 'make' throws the following error:
== START LOG ================================
[EMAIL PROTECTED] DBD-ODBC-1.06]# make
Makefile:90: *** missing separator. Stop.
=== END LOG ==================================
Line 90 contains:
installman1
You can hack around this one by completing the variable assignment to
installman1='' (not a good idea if 'make' needs this variable ...) but
the same type of error is found on line 100 which contains:
sit
Using the same hack to set 'sit' to null, and re-running 'make' throws
yet another error:
Makefile:334: *** missing separator. Stop.
where 'config :: $(changes_pm)
@$(NOOP)' are lines 333 and 334
At this, further hacking the Makefile made no sense. Any ideas? It's
probably blindingly obvious to everybody but a newbie like myself.
Thanks!
Gary