Ticket #9798: darwinports-postgres-python-transcript.txt

File darwinports-postgres-python-transcript.txt, 6.2 KB (added by walker.hale.iv@…, 18 years ago)

Transcript of installation

Line 
1ttyp1$ sudo port install python24
2--->  Fetching python24
3--->  Attempting to fetch Python-2.4.3.tar.bz2 from http://www.python.org//ftp/python/2.4.3/
4--->  Verifying checksum(s) for python24
5--->  Extracting python24
6--->  Applying patches to python24
7--->  Configuring python24
8--->  Building python24 with target all
9--->  Staging python24 into destroot
10--->  Packaging tgz archive for python24 2.4.3_1
11--->  Installing python24 2.4.3_1
12--->  Activating python24 2.4.3_1
13--->  Cleaning python24
14
15
16ttyp1$ sudo port install postgresql81 +python
17--->  Fetching bison
18--->  Attempting to fetch bison-2.2.tar.bz2 from ftp://ftp.gnu.org/gnu/bison
19--->  Verifying checksum(s) for bison
20--->  Extracting bison
21--->  Configuring bison
22--->  Building bison with target all
23--->  Staging bison into destroot
24--->  Packaging tgz archive for bison 2.2_0
25--->  Installing bison 2.2_0
26--->  Activating bison 2.2_0
27--->  Cleaning bison
28--->  Fetching zlib
29--->  Attempting to fetch zlib-1.2.3.tar.bz2 from http://www.zlib.net/
30--->  Verifying checksum(s) for zlib
31--->  Extracting zlib
32--->  Configuring zlib
33--->  Building zlib with target all
34--->  Staging zlib into destroot
35--->  Packaging tgz archive for zlib 1.2.3_0
36--->  Installing zlib 1.2.3_0
37--->  Activating zlib 1.2.3_0
38--->  Cleaning zlib
39--->  Fetching openssl
40--->  Attempting to fetch openssl-0.9.8b.tar.gz from http://www.openssl.org/source/
41--->  Verifying checksum(s) for openssl
42--->  Extracting openssl
43--->  Applying patches to openssl
44--->  Configuring openssl
45--->  Building openssl with target all
46--->  Staging openssl into destroot
47--->  Packaging tgz archive for openssl 0.9.8b_0
48--->  Installing openssl 0.9.8b_0
49--->  Activating openssl 0.9.8b_0
50--->  Cleaning openssl
51--->  Fetching postgresql81
52--->  Attempting to fetch postgresql-base-8.1.4.tar.bz2 from ftp://ftp2.ch.postgresql.org/mirror/postgresql/source/v8.1.4
53--->  Attempting to fetch postgresql-opt-8.1.4.tar.bz2 from ftp://ftp2.ch.postgresql.org/mirror/postgresql/source/v8.1.4
54--->  Attempting to fetch postgresql-test-8.1.4.tar.bz2 from ftp://ftp2.ch.postgresql.org/mirror/postgresql/source/v8.1.4
55--->  Verifying checksum(s) for postgresql81
56--->  Extracting postgresql81
57--->  Configuring postgresql81
58--->  Building postgresql81
59Error: 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_postgresql81/work/postgresql-8.1.4" && gnumake" returned error 2
60Command output: gcc -no-cpp-precomp -I/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_databases_postgresql81/work/postgresql-8.1.4/src/interfaces/libpq -I/opt/local/include -Wall -Wmissing-prototypes -Wpointer-arith -Winline -Wendif-labels -fno-strict-aliasing  -I. -I../../../../src/include -I/opt/local/include  -I/opt/local/include  -c -o pl_funcs.o pl_funcs.c
61ar crs libplpgsql.a `lorder pl_gram.o pl_handler.o pl_comp.o pl_exec.o pl_funcs.o | tsort`
62tsort: cycle in data
63tsort: pl_gram.o
64tsort: pl_comp.o
65ranlib libplpgsql.a
66gcc -no-cpp-precomp -I/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_databases_postgresql81/work/postgresql-8.1.4/src/interfaces/libpq -I/opt/local/include -Wall -Wmissing-prototypes -Wpointer-arith -Winline -Wendif-labels -fno-strict-aliasing  -bundle  pl_gram.o pl_handler.o pl_comp.o pl_exec.o pl_funcs.o  -L../../../../src/port -L/opt/local/lib -L/opt/local/lib -bundle_loader ../../../../src/backend/postgres  -o libplpgsql.1.0.so
67ld: warning -prebind has no effect with -bundle
68rm -f libplpgsql.1.so
69ln -s libplpgsql.1.0.so libplpgsql.1.so
70rm -f libplpgsql.so
71ln -s libplpgsql.1.0.so libplpgsql.so
72gcc -no-cpp-precomp -I/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_databases_postgresql81/work/postgresql-8.1.4/src/interfaces/libpq -I/opt/local/include -Wall -Wmissing-prototypes -Wpointer-arith -Winline -Wendif-labels -fno-strict-aliasing  -I. -I/opt/local/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4 -I../../../src/include -I/opt/local/include  -I/opt/local/include  -c -o plpython.o plpython.c
73In file included from /opt/local/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/Python.h:77,
74                 from plpython.c:37:
75/opt/local/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/objimpl.h:255: warning: use of `long double' type; its size may change in a future release
76/opt/local/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/objimpl.h:255: warning: (Long double usage is reported only once for each file.
77/opt/local/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/objimpl.h:255: warning: To disable this warning, use -Wno-long-double.)
78ar crs libplpython.a `lorder plpython.o | tsort`
79ranlib libplpython.a
80gcc -no-cpp-precomp -I/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_databases_postgresql81/work/postgresql-8.1.4/src/interfaces/libpq -I/opt/local/include -Wall -Wmissing-prototypes -Wpointer-arith -Winline -Wendif-labels -fno-strict-aliasing  -bundle  plpython.o  -L../../../src/port -L/opt/local/lib -L/opt/local/lib -bundle_loader ../../../src/backend/postgres -framework Python  -o libplpython.0.0.so
81ld: warning -prebind has no effect with -bundle
82ld: Undefined symbols:
83_fstatvfs referenced from Python expected to be defined in libSystem
84_lchown referenced from Python expected to be defined in libSystem
85_statvfs referenced from Python expected to be defined in libSystem
86gnumake[3]: *** [libplpython.0.0.so] Error 1
87gnumake[2]: *** [all] Error 1
88gnumake[1]: *** [all] Error 2
89gnumake: *** [all] Error 2
90
91Error: /opt/local/bin/port: Status 1 encountered during processing.
92
93
94ttyp1$ sudo port install postgresql81 
95Password:
96--->  Fetching postgresql81
97--->  Verifying checksum(s) for postgresql81
98--->  Extracting postgresql81
99--->  Configuring postgresql81
100--->  Building postgresql81
101--->  Staging postgresql81 into destroot
102--->  Packaging tgz archive for postgresql81 8.1.4_0
103--->  Installing postgresql81 8.1.4_0
104
105To use the postgresql server, install the postgresql81-server port
106--->  Activating postgresql81 8.1.4_0
107--->  Cleaning postgresql81