EnterpriseDB / mysql_fdw

PostgreSQL foreign data wrapper for MySQL
Other
530 stars 162 forks source link

Missing compile instructions for Debian 8 #134

Open lyjia opened 7 years ago

lyjia commented 7 years ago

Hello,

Just wanted to note that your compilation instructions are missing a step for Debian users installing from jessie-pdgd (https://wiki.postgresql.org/wiki/Apt) -- attempting so results in:

Makefile:47: /usr/lib/postgresql/9.6/lib/pgxs/src/makefiles/pgxs.mk: No such file or directory

This appears because Debian's Postgres package does not include development headers. Instead they are found by installing postgresql-server-dev-9.6, as such:

sudo apt-get install postgresql-contrib postgresql-server-dev-9.6 (I'm not sure if contrib is required here or not)

Thanks! And thanks for this lovely code :)