Zur Zeit lässt sich PostgreSQL 8.2 mit MacPorts nicht fehlerfrei kompilieren. Der Vorgang wird mit folgender Fehlermeldung abgebrochen:
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.
org_release_ports_databases_postgresql82/work/postgresql-8.2.5" && gnumake " returned error 2
Command output: "_boot_yylval", referenced from:
_boot_yylval$non_lazy_ptr in SUBSYS.o
Das Problem lässt sich aber einfach umgehen. Einfach mit MacPorts den alten Build löschen und neu konfigurieren:
sudo port [Users/michi] > clean postgresql82 ---> Cleaning postgresql82 [Users/michi] > configure postgresql82 ---> Fetching postgresql82 ---> Verifying checksum(s) for postgresql82 ---> Extracting postgresql82 ---> Applying patches to postgresql82 ---> Configuring postgresql82
und danach direkt in einem anderen Terminal den Build anstossen:
cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.\\ macports.org_release_ports_databases_postgresql82/work/postgresql-8.2.5 sudo make
Jetzt kann PostgreSQl 8.2 mit MacPorts normal installiert werden.
sudo port [Users/michi] > install postgresql82 ---> Building postgresql82 ---> Staging postgresql82 into destroot ---> Installing postgresql82 8.2.5_0+darwin_9 To use the postgresql server, install the postgresql82-server port ---> Activating postgresql82 8.2.5_0+darwin_9 ---> Cleaning postgresql82
Fertig…

















Dank dir
Durch deine Anleitung habe ich zwar nicht PostgreSQL aber Fox via Ports installiert bekommen. Gleiche Fehlermeldung vom Compiler.