Skip site navigation (1) Skip section navigation (2)

POSTGRES 7.2 or 7.2.1 on HPUX11.1i

From: "Herve CADROY" <hcadroy(at)gertrude(dot)fr>
To: <pgsql-ports(at)postgresql(dot)org>
Subject: POSTGRES 7.2 or 7.2.1 on HPUX11.1i
Date: 2002-04-25 07:34:04
Message-ID: 000901c1ec2b$a625ab80$720106c0@veveportable (view raw or flat)
Thread:
Lists: 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

Next:From: Aleksander WalaDate: 2002-04-25 18:59:57
Subject: question?
Previous:From: Warwick HunterDate: 2002-04-19 05:25:58
Subject: Re: PostgreSQL 7.2.1-2PGDG RPMs available for RedHat-skipjack

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group