[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Problem making myodbc on Solaris 8
make fails with mksh: Fatal error in reader: = missing from replacement
macro reference
Current working directory
/opt/perlModules/MyODBC-2.50.37
I have ODBC working for SQL Server.
If I do a make -V is leads me to a bad set of lines in Makefile:
DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 ||:)
-include $(DEP_FILES)
If I take out the colon on the :=, I don't get an error.
Is the -include a typo? I don't see a matching subroutine in
Makefile. If I change it to include $(DEP_FILES) it can't find the
files.
DEP_FILES is previously defined as a list of files in .deps.
I am running as root using GCC 2.95. I have a separate build of perl
that I am using instead of /usr/bin/perl on Solaris 8.
The PATH is set to
/usr/local/bin:/usr/local/mysql/bin:/usr/bin:/usr/sbin:/usr/ccs/bin
I am using the make in /usr/ccs/bin.
The LD_LIBRARY_PATH is set to /usr/local/lib:/usr/local/mysq:/usr/lib
The configure command is as follows:
./configure --with-odbc-ini=/etc/odbc.ini
--with-iodbc-includes=/usr/local/openlink/w3configu/include
--with-iodbc-libs=/usr/local/openlink/lib
--with-mysql-dirs=/usr/local/mysql/lib/mysql
--with-mysql-includes=/usr/local/mysql/include/mysql
Matthew Dougherty
mdougher@xxxxxxxx
---------------------------------------------------------------------
Before posting, please check:
http://www.mysql.com/manual.php (the manual)
http://lists.mysql.com/ (the list archive)
To request this thread, e-mail <mysql-thread92918@xxxxxxxxxxxxxxx>
To unsubscribe, e-mail <mysql-unsubscribe-treed=ultraviolet.org@xxxxxxxxxxxxxxx>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php
This mailing list archive is a service of Copilot Consulting.