Quantcast
Channel: MySQL Forums - MySQL Workbench
Viewing all articles
Browse latest Browse all 3724

psqlODBC on macOS fails to build (sql.h not found) (no replies)

$
0
0
Following your instructions here: https://dev.mysql.com/doc/workbench/en/wb-migration-database-postgresql-drivers-osx.html

To convert from postgresql to mysql with workbench

xcode command line tools insalled

OSx 10.14 (mojave)
psqlodbc-07.03.0100

CFLAGS="-arch i386 -arch x86_64" make
/Applications/Xcode.app/Contents/Developer/usr/bin/make all-am
if /bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -MT info.lo -MD -MP -MF ".deps/info.Tpo" \
-c -o info.lo `test -f 'info.c' || echo './'`info.c; \
then mv ".deps/info.Tpo" ".deps/info.Plo"; \
else rm -f ".deps/info.Tpo"; exit 1; \
fi
gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -MT info.lo -MD -MP -MF .deps/info.Tpo -c info.c -fno-common -DPIC -o info.lo
In file included from info.c:19:
./psqlodbc.h:41:10: fatal error: 'sql.h' file not found
#include <sql.h>
^~~~~~~
1 error generated.
make[1]: *** [info.lo] Error 1
make: *** [all] Error 2

Viewing all articles
Browse latest Browse all 3724

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>