POSTGRES 7.2 or 7.2.1 on HPUX11.1i - Mailing list pgsql-ports

From Herve CADROY
Subject POSTGRES 7.2 or 7.2.1 on HPUX11.1i
Date
Msg-id 000901c1ec2b$a625ab80$720106c0@veveportable
Whole thread Raw
List pgsql-ports
Hello, postgres 7.2 or 7.2.1 do not comile under HPUX11.11i
 
for compiling postgres 7.2 or 7.2.1 on HPUX11.11
 run ./configure
=> checking types of arguments for accept()... configure: error: could not determine argument types
open configure file : vi configure
find this line :
 cat >> confdefs.h <<EOF
 #define PG_VERSION "$VERSION"
 EOF
and repalce by
 cat >> confdefs.h <<EOF
 #define _XOPEN_SOURCE_EXTENDED
 #define PG_VERSION "$VERSION"
 EOF
 
and run agin ./configure
now open src/Makefile.global
find the line begin by CFLAGS=
and add in this line :
 -D_XOPEN_SOURCE_EXTENDED
 
After this step you need to modify 3 files
 ->src/backend/libpq/pqformat.c
 ->src/interfaces/libpq/fe-misc.c
 ->src/interfaces/odbc/socket.c
for adding : 
 #include <arpa/inet.h>
 #include <netinet/in.h>
 
and Run gmake...
 
PS: i'm sorry for my bad english ;)
 
Hervé CADROY

 

pgsql-ports by date:

Previous
From: Warwick Hunter
Date:
Subject: Re: PostgreSQL 7.2.1-2PGDG RPMs available for RedHat-skipjack
Next
From: Aleksander Wala
Date:
Subject: question?