Currently working on setting up a django app that needs a mssql database connection. The mssql library (posted below) operates off of Pyodbc. Pyodbc has a requirement of unixodbc. Unfortunately, Im having issues with getting this requirement installed.
https://github.com/ESSolutions/django-mssql-backend
https://github.com/mkleehammer/pyodbc
http://www.unixodbc.org/
Currently trying to following to get the dependency installed.
export LD_LIBRARY_PATH=$LIBDIR:/app/unixODBC-2.3.7
wget http://www.unixodbc.org/unixODBC-2.3.7.tar.gz
gunzip unixODBC*.tar.gz
tar xvf unixODBC*.tar
cd unixODBC*
mkdir /app/unixODBC-2.3.7/etc
./configure --prefix=/app/unixODBC-2.3.7 --sysconfdir=/app/unixODBC-2.3.7
make
make install
The last error Im getting is below.
make[2]: Nothing to be done for 'install-exec-am'.
/bin/mkdir -p '/app/unixODBC-2.3.7/include'
/usr/bin/install -c -m 644 odbcinst.h odbcinstext.h sql.h sqlext.h sqltypes.h sqlucode.h sqlspi.h autotest.h uodbc_stats.h uodbc_extras.h '/app/unixODBC-2.3.7/include'
W: /usr/bin/install: 'odbcinst.h' and '/app/unixODBC-2.3.7/include/odbcinst.h' are the same file
W: /usr/bin/install: 'odbcinstext.h' and '/app/unixODBC-2.3.7/include/odbcinstext.h' are the same file
W: /usr/bin/install: 'sql.h' and '/app/unixODBC-2.3.7/include/sql.h' are the same file
W: /usr/bin/install: 'sqlext.h' and '/app/unixODBC-2.3.7/include/sqlext.h' are the same file
W: /usr/bin/install: 'sqltypes.h' and '/app/unixODBC-2.3.7/include/sqltypes.h' are the same file
W: /usr/bin/install: 'sqlucode.h' and '/app/unixODBC-2.3.7/include/sqlucode.h' are the same file
W: /usr/bin/install: 'sqlspi.h' and '/app/unixODBC-2.3.7/include/sqlspi.h' are the same file
W: /usr/bin/install: 'autotest.h' and '/app/unixODBC-2.3.7/include/autotest.h' are the same file
W: /usr/bin/install: 'uodbc_stats.h' and '/app/unixODBC-2.3.7/include/uodbc_stats.h' are the same file
W: /usr/bin/install: 'uodbc_extras.h' and '/app/unixODBC-2.3.7/include/uodbc_extras.h' are the same file
W: make[2]: *** [install-includeHEADERS] Error 1
Makefile:409: recipe for target 'install-includeHEADERS' failed
make[2]: Leaving directory '/app/unixODBC-2.3.7/include'
W: make[1]: *** [install-am] Error 2
Makefile:525: recipe for target 'install-am' failed
make[1]: Leaving directory '/app/unixODBC-2.3.7/include'
W: make: *** [install-recursive] Error 1
Makefile:548: recipe for target 'install-recursive' failed
Any help with getting this dependency installed would be much appreciated.