Opened 18 years ago
Last modified 15 years ago
#9949 closed defect
postgresql make fails — at Initial Version
Reported by: | konstantin.pavlovsky@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.2 |
Keywords: | Cc: | ||
Port: |
Description
# port install postgresql ---> Building postgresql with target all Error: Target com.apple.build returned: shell command "cd "/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_databases_postgresql/work/postgresql-7.4.12" && gnumake all" returned error 2 Command output: gnumake[3]: Nothing to be done for `all'. gnumake -C access all gnumake -C common SUBSYS.o gnumake[4]: `SUBSYS.o' is up to date. gnumake -C gist SUBSYS.o gnumake[4]: `SUBSYS.o' is up to date. gnumake -C hash SUBSYS.o gnumake[4]: `SUBSYS.o' is up to date. gnumake -C heap SUBSYS.o gnumake[4]: `SUBSYS.o' is up to date. gnumake -C index SUBSYS.o gnumake[4]: `SUBSYS.o' is up to date. gnumake -C nbtree SUBSYS.o gnumake[4]: `SUBSYS.o' is up to date. gnumake -C rtree SUBSYS.o gnumake[4]: `SUBSYS.o' is up to date. gnumake -C transam SUBSYS.o /usr/bin/gcc-4.0 -no-cpp-precomp -I/opt/local/include -fno-strict-aliasing -Wall -Wmissing-prototypes -Wmissing-declarations -I../../../../src/include -I/opt/local/include -I/opt/local/include -c -o xlog.o xlog.c In file included from ../../../../src/include/storage/spin.h:50,
from xlog.c:35:
../../../../src/include/storage/s_lock.h:543:2: error: #error PostgreSQL does not have native spinlock support on this platform. To continue the compilation, rerun configure using --disable-spinlocks. However, performance will be poor. Please report this to pgsql-bugs@…. In file included from ../../../../src/include/storage/spin.h:50,
from xlog.c:35:
../../../../src/include/storage/s_lock.h:551: error: conflicting types for 'slock_t' ../../../../src/include/pg_config_os.h:11: error: previous declaration of 'slock_t' was here gnumake[4]: * [xlog.o] Error 1 gnumake[3]: * [transam-recursive] Error 2 gnumake[2]: * [access-recursive] Error 2 gnumake[1]: * [all] Error 2 gnumake: * [all] Error 2
Error: /opt/local/bin/port: Status 1 encountered during processing.