Open neurotico opened 9 years ago
More specifically:
Make install writes pg_amqp.so to /usr/lib64/pgsql/pg_amqp.so It should write pg_amqp.so to /usr/pgsql-9.3/lib/pg_amqp.so
Make install writes amqp.control to /usr/share/pgsql/extension/amqp.control It should write amqp.control to /usr/pgsql-9.3/share/extension/amqp.control
Make install writes amqp--0.3.0.sql to /usr/share/pgsql/extension/amqp--0.3.0.sql It should write amqp--0.3.0.sql to /usr/pgsql-9.3/share/extension/amqp--0.3.0.sql
Make install writes amqp--unpackaged--0.3.0.sql to /usr/share/pgsql/extension/amqp--unpackaged--0.3.0.sql It should write amqp--unpackaged--0.3.0.sql to /usr/pgsql-9.3/share/extension/amqp--unpackaged--0.3.0.sql
Make install writes amqp.md to /usr/share/doc/pgsql/extension/amqp.md It is not apparent where amqp.md should be written in the pgsql-9.3 file structure, and this causes no apparent errors, but it follows the previous pattern of incorrect write locations and should probably be checked out.
Furthermore, make install tries to write amqp--unpackaged--0.3.0.sql twice. This causes make install to fail and prevents the installation of amqp.db.
This bug - or at least the misplaced write error - occurs because PostgreSQL's file structure is different for different PostgreSQL versions AND different Linux distributions. As such, I think it's unlikely that this bug is specific to Fedora 21.
It tries to write files to the wrong location.