Problem compiling postgresql81
Ashley Moran
work at ashleymoran.me.uk
Wed Nov 29 03:48:38 PST 2006
I just tried compiling the postgres client tools and it failed
(postgres8 fails in a similar way).
I don't know if it's of any consequence, but I also get this:
$ port installed | grep postgres
postgresql8 @8.1.3_0+darwin_8 (active)
postgresql81 @8.1.4_0+darwin_8 (active)
$ sudo port uninstall postgres81
Error: port uninstall failed: Registry error: postgres81 not
registered as installed.
likewise for postgres8. I don't know how to clear this out manually.
Any ideas why it's not working?
Ashley
Here is the full output:
hal:~/Documents/Development/cap/cap_data_web_service ashleymoran$
sudo port install postgresql81Password:
---> Fetching postgresql81
---> Attempting to fetch postgresql-base-8.1.5.tar.bz2 from ftp://
ftp2.ch.postgresql.org/mirror/postgresql/source/v8.1.5
---> Attempting to fetch postgresql-opt-8.1.5.tar.bz2 from ftp://
ftp2.ch.postgresql.org/mirror/postgresql/source/v8.1.5
---> Attempting to fetch postgresql-test-8.1.5.tar.bz2 from ftp://
ftp2.ch.postgresql.org/mirror/postgresql/source/v8.1.5
---> Verifying checksum(s) for postgresql81
---> Extracting postgresql81
---> Configuring postgresql81
---> Building postgresql81
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_dp
orts_databases_postgresql81/work/postgresql-8.1.5" && gnumake"
returned error 2
Command output: rm -f libecpg.dylib
ln -s libecpg.5.1.dylib libecpg.dylib
gnumake -C compatlib all
/usr/bin/gcc-4.0 -no-cpp-precomp -I/opt/local/var/db/dports/build/
_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dp
orts_databases_postgresql81/work/postgresql-8.1.5/src/interfaces/
libpq -I/opt/local/include -Wall -Wmissing-prototypes -Wpointer-arith
-Winline -Wdeclaration-after-statement -Wendif-labels -fno-strict-
aliasing -D_REENTRANT -D_THREAD_SAFE -D_POSIX_PTHREAD_SEMANTICS -
I../../../../src/interfaces/ecpg/include -I../../../../src/interfaces/
libpq -I../../../../src/include/utils -I../../../../src/include -I/
opt/local/include -I/opt/local/include -c -o informix.o informix.c
informix.c: In function 'deccall3':
informix.c:67: error: 'CDECIMALTYPE' undeclared (first use in this
function)
informix.c:67: error: (Each undeclared identifier is reported only once
informix.c:67: error: for each function it appears in.)
informix.c: In function 'deccvasc':
informix.c:171: error: 'CDECIMALTYPE' undeclared (first use in this
function)
informix.c:172: error: 'CSTRINGTYPE' undeclared (first use in this
function)
informix.c: In function 'deccvdbl':
informix.c:215: error: 'CDECIMALTYPE' undeclared (first use in this
function)
informix.c:216: error: 'CDOUBLETYPE' undeclared (first use in this
function)
informix.c: In function 'deccvint':
informix.c:237: error: 'CDECIMALTYPE' undeclared (first use in this
function)
informix.c:238: error: 'CINTTYPE' undeclared (first use in this
function)
informix.c: In function 'deccvlong':
informix.c:259: error: 'CDECIMALTYPE' undeclared (first use in this
function)
informix.c:260: error: 'CLONGTYPE' undeclared (first use in this
function)
informix.c: In function 'dectoasc':
informix.c:348: error: 'CSTRINGTYPE' undeclared (first use in this
function)
informix.c:349: error: 'CDECIMALTYPE' undeclared (first use in this
function)
informix.c: In function 'rstrdate':
informix.c:480: error: 'CDATETYPE' undeclared (first use in this
function)
gnumake[4]: *** [informix.o] Error 1
gnumake[3]: *** [all] Error 2
gnumake[2]: *** [all] Error 2
gnumake[1]: *** [all] Error 2
gnumake: *** [all] Error 2
More information about the macports-users
mailing list