Hello,
For the future, the solution to my previous problem was to add -lpcre to my export statement, and to add it to my LD_LIBRARY_PATH.
export "pcre_LIBS=-L/home/john/monetdb_prereq/pcre/lib -lpcre"
export LD_LIBRARY_PATH=/home/john/monetdb_prereq/pcre/lib:$LD_LIBRARY_PATH
Now I'm able to configure:
./configure --prefix=/home/john/monetdb --enable-sql --enable-geom --with-geos=/home/john/GEOS/
However, during make I get an error with jdbc and odbc. Temporarily I've disabled them with --disable-odbc --disable-jdbc
/bin/sh ../../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H
-I. -I../../.. -I. -I../../mapilib -I./../../mapilib
-I../../../common/options -I./../../../common/options -DLIBMONETODBC
-g -O2 -c -o libMonetODBC_la-SQLGetFunctions.lo `test -f
'SQLGetFunctions.c' || echo './'`SQLGetFunctions.c
libtool: compile:
gcc -DHAVE_CONFIG_H -I. -I../../.. -I. -I../../mapilib
-I./../../mapilib -I../../../common/options -I./../../../common/options
-DLIBMONETODBC -g -O2 -c SQLGetFunctions.c -fPIC -DPIC -o
.libs/libMonetODBC_la-SQLGetFunctions.o
/bin/sh ../../../libtool
--tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../.. -I.
-I../../mapilib -I./../../mapilib -I../../../common/options
-I./../../../common/options -DLIBMONETODBC -g -O2 -c -o
libMonetODBC_la-SQLGetInfo.lo `test -f 'SQLGetInfo.c' || echo
'./'`SQLGetInfo.c
libtool: compile: gcc -DHAVE_CONFIG_H -I.
-I../../.. -I. -I../../mapilib -I./../../mapilib
-I../../../common/options -I./../../../common/options -DLIBMONETODBC -g
-O2 -c SQLGetInfo.c -fPIC -DPIC -o .libs/libMonetODBC_la-SQLGetInfo.o
SQLGetInfo.c: In function ‘MNDBGetInfo’:
SQLGetInfo.c:221: error: ‘SQL_CVT_GUID’ undeclared (first use in this function)
SQLGetInfo.c:221: error: (Each undeclared identifier is reported only once
SQLGetInfo.c:221: error: for each function it appears in.)
SQLGetInfo.c:311: error: ‘SQL_CONVERT_GUID’ undeclared (first use in this function)
make[7]: *** [libMonetODBC_la-SQLGetInfo.lo] Error 1
make[7]: Leaving directory `/home/john/MonetDB-11.21.17/clients/odbc/driver'
make[6]: *** [all] Error 2
make[6]: Leaving directory `/home/john/MonetDB-11.21.17/clients/odbc/driver'
make[5]: *** [all-recursive] Error 1
make[5]: Leaving directory `/home/john/MonetDB-11.21.17/clients/odbc'
make[4]: *** [all] Error 2
make[4]: Leaving directory `/home/john/MonetDB-11.21.17/clients/odbc'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/john/MonetDB-11.21.17/clients'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/john/MonetDB-11.21.17/clients'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/john/MonetDB-11.21.17'
make: *** [all] Error 2
Any advise?
Thanks,
John