Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 14 Jan 2001 11:51:06 -0800 (PST)
From:      opentrax@email.com
To:        gianluca@parkinson.it
Cc:        freebsd-database@FreeBSD.ORG
Subject:   Re: Postgresql compile error
Message-ID:  <200101141951.LAA01733@spammie.svbug.com>
In-Reply-To: <3A584DF2.32A69D78@parkinson.it>

next in thread | previous in thread | raw e-mail | index | archive | help
Has anyone responded to your request?
If not, email back with the remaining message.

				Jessem.



On  7 Jan, Gianluca Sordiglioni wrote:
> 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
> 
> 




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?200101141951.LAA01733>