Thread: Help compiling postgres

Help compiling postgres

From
"Jesus M. Milan-Franco"
Date:
Hi all
 
I'm trying to compile an old version of Postgres and suddenly I've got the folloging error message:
 
make[2]: Cambiando a directorio `/home/jmilan/postgres-r/src/backend/port'
gcc -I../../include -I../../backend   -O2  -Wall -Wmissing-prototypes -I..   -c -o dynloader.o dynloader.c
gcc -I../../include -I../../backend   -O2  -Wall -Wmissing-prototypes -I..   -c -o inet_aton.o inet_aton.c
inet_aton.c:58: warning: no previous prototype for `inet_aton'
gcc -I../../include -I../../backend   -O2  -Wall -Wmissing-prototypes -I..   -c -o isinf.o isinf.c
isinf.c:8:20: ieeefp.h: No existe el fichero o el directorio
make[2]: *** [isinf.o] Error 1
make[2]: Saliendo directorio `/home/jmilan/postgres-r/src/backend/port'
make[1]: *** [port.dir] Error 2
make[1]: Saliendo directorio `/home/jmilan/postgres-r/src/backend'
make: *** [all] Error 2
It is a modified version of Postgres to accept replication. Can anyone help me?
 
Thanks to all
 
J.M. Milan

Re: Help compiling postgres

From
JT MacNeil
Date:
    Check to see if you have ieeefp.h in your include path (../../include, ../../backend, /usr/include, etc).
    It may be that your system doesn't have ieeefp.h, some versions of FreeBSD, HPUX, OSF1, Solaris, and SunOS don't. In this case, try including <math.h>, it should have the functions you're looking for.
 

J-T MacNeil
Design Team Member, Connect 24 Division
Digital Security Controls
e-Mail: macneiljt@dscltd.com

-----Original Message-----
From: Jesus M. Milan-Franco [mailto:milanjm@terra.es]
Sent: Sunday, October 27, 2002 3:31 AM
To: pgsql-interfaces@postgresql.org
Subject: [INTERFACES] Help compiling postgres [fadr]

Hi all
 
I'm trying to compile an old version of Postgres and suddenly I've got the folloging error message:
 
make[2]: Cambiando a directorio `/home/jmilan/postgres-r/src/backend/port'
gcc -I../../include -I../../backend   -O2  -Wall -Wmissing-prototypes -I..   -c -o dynloader.o dynloader.c
gcc -I../../include -I../../backend   -O2  -Wall -Wmissing-prototypes -I..   -c -o inet_aton.o inet_aton.c
inet_aton.c:58: warning: no previous prototype for `inet_aton'
gcc -I../../include -I../../backend   -O2  -Wall -Wmissing-prototypes -I..   -c -o isinf.o isinf.c
isinf.c:8:20: ieeefp.h: No existe el fichero o el directorio
make[2]: *** [isinf.o] Error 1
make[2]: Saliendo directorio `/home/jmilan/postgres-r/src/backend/port'
make[1]: *** [port.dir] Error 2
make[1]: Saliendo directorio `/home/jmilan/postgres-r/src/backend'
make: *** [all] Error 2
It is a modified version of Postgres to accept replication. Can anyone help me?
 
Thanks to all
 
J.M. Milan