Compiling PostgreSQL 7.4 under Panther...
02/12/03 11:16
How to compile PosgreSQL under X with a maximum of options ?
Here is a tested configure script: |
Authored by: Anonymous on Monday, April 26 2004 @ 05:28 AM BST
Although Bison compiles and installs fine, readline is a bit more troublesome
to install on OSX Panther. Here is a synopsis and solution to that problem:
There appears to be a framework for readline, but at least on my system it is
empty, and there's nothing in /usr/lib/ either. If you go to the readline
download site, the main link appears broken. But you can click on "older
versions" and nevertheless find version 4.3.
Download that, and extract it. Now configure it with
./configure --with-curses
and then (stealing a trick from Fink) edit shlib/Makefile to replace
SHLIB_LIBS = -lSystem
with
SHLIB_LIBS = -lSystem -lcc_dynamic -lncurses
Without this trick, you will encounter various undefined symbols.
Now you can make && make install.
- Brian K. Boonstra
- Update for Tiger and version 8.1.2 - Authored by: brianboonstra on Sunday, January 29 2006 @ 06:34 PM GMT
- Update for Tiger and version 8.1.2 - Authored by: Admin on Tuesday, January 31 2006 @ 10:16 AM GMT
- Update for Tiger and version 8.1.2 - Authored by: brianboonstra on Monday, April 24 2006 @ 06:19 PM BST
- Update for Tiger and version 8.1.2 - Authored by: brianboonstra on Sunday, February 11 2007 @ 12:23 AM GMT
Authored by: Anonymous on Sunday, June 13 2004 @ 08:55 PM BST
I did that, installed bison, and set my YACC env var, and when I do the
make (postgresql 7.4.2) I get ::::
--------------------------------------------------
make[4]: `SUBSYS.o' is up to date.
make -C transam SUBSYS.o
gcc -no-cpp-precomp -O2 -fno-strict-aliasing -Wall -Wmissing-prototypes
-Wmissing-declarations -I../../../../src/include -I/sw/include -c -o xlog.o
xlog.c
/var/tmp/ccsKkaaa.s:2139:Parameter error: r0 not allowed for parameter 2
(code as 0 not r0)
make[4]: *** [xlog.o] Error 1
make[3]: *** [transam-recursive] Error 2
make[2]: *** [access-recursive] Error 2
make[1]: *** [all] Error 2
make: *** [all] Error 2