On 12-Jan-2004 Gary Ebersole wrote: > Thanks, Martin. This fixed the NOOP problem but I still needed to hack > the '*** missing separator' problem in lines 90 and 100. The build now > terminates with ... > > /bin/sh: -c: line 1: unexpected EOF while looking for matching `'' > /bin/sh: -c: line 2: syntax error: unexpected end of file > make: *** [blib/lib/DBD/ODBC/Changes.pm] Error 2 > > Does this have anything to do with my hack to lines 90 and 100? I > changed them to ... > > installman1='' > sit=''
I'd guess so since after the change I highlighted DBD::ODBC 1.06 builds fine for me. What happens when you untar DBD::ODBC and make the single change I refer to? Martin -- Martin J. Evans Easysoft Ltd, UK Development > -----Original Message----- > From: Martin J. Evans [mailto:[EMAIL PROTECTED] > Sent: Monday, January 12, 2004 1:00 AM > To: [EMAIL PROTECTED] > Subject: RE: [dbi] Makefile problems with DBD-ODBC-1.06 > > > Is this the problem you are seeing: > > There is a mistake in the Makefile.PL. Edit the Makefile.PL and search > for "NOOP" to find the line: > > @$(NOOP) > > Replace the spaces in front of "@$(NOOP)" with a <tab> character. Now > rerun perl Makefile.PL. > > Martin > -- > Martin J. Evans > Easysoft Ltd, UK > Development > > On 10-Jan-2004 Gary Ebersole wrote: >> 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