Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 07 Jan 2001 12:07:30 +0100
From:      Gianluca Sordiglioni <gianluca@parkinson.it>
To:        freebsd-database@freebsd.org
Subject:   Postgresql compile error
Message-ID:  <3A584DF2.32A69D78@parkinson.it>

next in thread | raw e-mail | index | archive | help
Trying to compile postgresql7 on FreeBSD 4.2 with different options I
always get this error:

gmake[2]: Entering directory
`/usr/ports/databases/postgresql7/work/postgresql-7.0.3/src/interfaces/perl5'
gmake[2]: Leaving directory
`/usr/ports/databases/postgresql7/work/postgresql-7.0.3/src/interfaces/perl5'
gmake -C odbc all
gmake[2]: Entering directory
`/usr/ports/databases/postgresql7/work/postgresql-7.0.3/src/interfaces/odbc'
cc -I../../include -I../../backend   -I/usr/local/include
-I/usr/local/include/tcl8.3 -I/usr/local/include/tk8.3 -O -pipe
-march=pentiumpro -DUSE_SSL -I. -DHAVE_CONFIG_H -fpic -DPIC   -c -o
tuplelist.o tuplelist.c
In file included from tuplelist.c:16:
/usr/local/include/malloc.h:81: syntax error before `*'
/usr/local/include/malloc.h:82: syntax error before `*'
/usr/local/include/malloc.h:87: syntax error before `*'
gmake[2]: *** [tuplelist.o] Error 1
gmake[2]: Leaving directory
`/usr/ports/databases/postgresql7/work/postgresql-7.0.3/src/interfaces/odbc'
gmake[1]: *** [all] Error 2
gmake[1]: Leaving directory
`/usr/ports/databases/postgresql7/work/postgresql-7.0.3/src/interfaces'
gmake: *** [all] Error 2
*** Error code 2

Stop in /usr/ports/databases/postgresql7. 


Okay, so I edited tuplelist.c and commented out #include <malloc.h> :
the result is it compiles, but won't start.

I took a look to malloc.h, seems ok.

Any idea?


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-database" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3A584DF2.32A69D78>