Search Postgresql Archives

Make & Install contrib/tablefunc Problems

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi there,

strange thing, but every time I need to (re)install the tablefunc, I run into problems.

I am using the Kyngchaos packages for Snow Leopard. Everything works smoothly, until I arrive at the additional, manual installation of tablefunc.

I downloaded the correct version of the postgres package (8.4.3), and followed the indicated guidelines: 

------------------------------------------------
You can build extensions for Postgres without fully rebuilding Postgres.  For the "contrib" extensions in the Postgres source, just make sure the pgsql bin folder is in your path and define USE_PGXS before running make.  In a Terminal, cd to the extension source folder and:

export PATH="/usr/local/pgsql/bin:$PATH"
export USE_PGXS=1
make
sudo make install

This will compile for your architecture, but only the 32bit version on Leopard (Snow builds 64bit by default).  If you need to build 64bit (you can check Activity Monitor to see if Postgres is running 64bit), then add this export before running make:

export CUSTOM_COPT="-arch x86_64"
------------------------------------------------

But I get a :

$ sudo make install
Password:
Makefile:17: ../../src/Makefile.global: No such file or directory
Makefile:18: /contrib/contrib-global.mk: No such file or directory
make: *** No rule to make target `/contrib/contrib-global.mk'.  Stop.

I get the same message when doing a "./configure" with the pg_config parameters.

Gush, what am I doing wrong? Thanks a lot for any hints,

Stef


-- 
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux