Postgresql-7.4beta1 compilation error

From: Thierry Missimilly <THIERRY(dot)MISSIMILLY(at)BULL(dot)NET>
To: postgres general <pgsql-general(at)postgresql(dot)org>
Subject: Postgresql-7.4beta1 compilation error
Date: 2003-08-19 09:38:43
Message-ID: 3F41F023.91307749@BULL.NET
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi,

I've got the tar ball postgresql-7.4beta1.tar.gz and tried to build it
on i686-pc-linux with a RedHat 7.3.

1) configure --with-tcl --enable-thread-safety
(see the attach file for results)

2) gmake

[postgres(at)tux3 postgresql-7.4beta1]$ gmake
gmake -C doc all
gmake[1]: Entering directory `/home/postgres/postgresql-7.4beta1/doc'
gzip -d -c man.tar.gz | /bin/tar xf -
for file in man1/*.1; do \
mv $file $file.bak && \
sed -e 's/\\fR(l)/\\fR(7)/' $file.bak >$file && \
rm -f $file.bak || exit; \
done
/bin/sh ../config/mkinstalldirs man7
mkdir man7
for file in manl/*.l; do \
sed -e '/^\.TH/s/"l"/"7"/' \
-e 's/\\fR(l)/\\fR(7)/' \
$file >man7/`basename $file | sed 's/.l$/.7/'` || exit; \
done
gmake[1]: Leaving directory `/home/postgres/postgresql-7.4beta1/doc'
gmake -C src all
gmake[1]: Entering directory `/home/postgres/postgresql-7.4beta1/src'
gmake -C port all
gmake[2]: Entering directory
`/home/postgres/postgresql-7.4beta1/src/port'
gcc -O2 -Wall -Wmissing-prototypes -Wmissing-declarations
-I../../src/include -c -o path.o path.c
gcc -O2 -Wall -Wmissing-prototypes -Wmissing-declarations
-I../../src/include -c -o threads.o threads.c
threads.c: In function `pqGetpwuid':
threads.c:49: too few arguments to function `getpwuid_r'
threads.c:49: warning: assignment makes pointer from integer without a
cast
threads.c: In function `pqGethostbyname':
threads.c:74: warning: passing arg 5 of `gethostbyname_r' from
incompatible pointer type
threads.c:74: too few arguments to function `gethostbyname_r'
threads.c:74: warning: assignment makes pointer from integer without a
cast
gmake[2]: *** [threads.o] Error 1
gmake[2]: Leaving directory
`/home/postgres/postgresql-7.4beta1/src/port'
gmake[1]: *** [all] Error 2
gmake[1]: Leaving directory `/home/postgres/postgresql-7.4beta1/src'
gmake: *** [all] Error 2
[postgres(at)tux3 postgresql-7.4beta1]$

Any ideas from that problem ?

Thierry

Attachment Content-Type Size
conf.log application/x-unknown-content-type-txtfile 10.6 KB
THIERRY.MISSIMILLY.vcf text/x-vcard 327 bytes

Browse pgsql-general by date

  From Date Subject
Next Message Erwin Brandstetter 2003-08-19 10:10:52 Re: Example Database
Previous Message HansH 2003-08-19 09:17:59 Re: move to usenet?