error in running configure and compile of myodbc
am 08.03.2006 17:35:09 von venkatesh.iyerI am trying to run configure with the following options.
./configure --prefix=/home/viyer/mysqlconnect/mysql-odbc --with-iodbc=/vobs/securities/SECURITIES_EPS_COMMON/Source/D atabase/libodbcxx0_2_3 --with-mysql-path=/app/mySql-4.1/mysql-4.1.13 --with-unixODBC-includes=/vobs/securities/SECURITIES_EPS_COM MON/Source/Database/Test/CacheTests/cppclient/thirdparty/uni xODBC/include --without-qt_includes --disable-gui --disable-test --without-samples --with-unixODBC=/vobs/securities/SECURITIES_EPS_COMMON/Sourc e/Database/Test/CacheTests/cppclient/thirdparty/unixODBC
The issue I am facing is that the script fails as it fails to find the library libltdl. I removed entry for this library from the configure scipt and I was able to run the script successfully.
But when I tried to run make, it gave the following error while compiling catalog.c
/bin/bash ../libtool --tag=CC --mode=compile /sw/workshop6u2/SUNWspro/bin/cc -DHAVE_CONFIG_H -I. -I. -I. -I/vobs/securities/SECURITIES_EPS_COMMON/Source/Database/Tes t/CacheTests/cppclient/thirdparty/unixODBC/include -O -DDBUG_OFF -I/app/mySql-4.1/mysql-4.1.13/include -Xa -xstrconst -mt -D_FORTEC_ -xarch=v8 -c -o catalog.lo catalog.c
/sw/workshop6u2/SUNWspro/bin/cc -DHAVE_CONFIG_H -I. -I. -I. -I/vobs/securities/SECURITIES_EPS_COMMON/Source/Database/Tes t/CacheTests/cppclient/thirdparty/unixODBC/include -O -DDBUG_OFF -I/app/mySql-4.1/mysql-4.1.13/include -Xa -xstrconst -mt -D_FORTEC_ -xarch=v8 -c catalog.c -KPIC -DPIC -o .libs/catalog.o
"./myodbc3.h", line 101: cannot find include file:
"catalog.c", line 91: warning: argument #1 is incompatible with prototype:
prototype: pointer to const char : "/usr/include/iso/string_iso.h", line 70
argument : pointer to unsigned char
"catalog.c", line 92: warning: argument #1 is incompatible with prototype:
prototype: pointer to char : "/app/mySql-4.1/mysql-4.1.13/include/m_string.h", line 173
argument : pointer to unsigned char
"catalog.c", line 92: warning: argument #2 is incompatible with prototype:
prototype: pointer to const char : "/app/mySql-4.1/mysql-4.1.13/include/m_string.h", line 173
argument : pointer to unsigned char
.................
...............
It is unable to find the header file ltdl.h.
My question is on the solaris 2.8, from which path I can get this file and library. If not available what are my options. Can I download it from another location. Can I disable the use of this header and libary in configure, if it is not required.
Your insights will be highly appreciated.
Thanks,
Venky
============================================================ ==================
Please access the attached hyperlink for an important electronic communications disclaimer:
http://www.credit-suisse.com/legal/en/disclaimer_email_ib.ht ml
============================================================ ==================
--
MySQL ODBC Mailing List
For list archives: http://lists.mysql.com/myodbc
To unsubscribe: http://lists.mysql.com/myodbc?unsub=gcdmo-myodbc@m.gmane.org