POSTGRES 7.2 or 7.2.1 on HPUX11.1i

Поиск
Список
Период
Сортировка
От Herve CADROY
Тема POSTGRES 7.2 or 7.2.1 on HPUX11.1i
Дата
Msg-id 000901c1ec2b$a625ab80$720106c0@veveportable
обсуждение исходный текст
Список 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 по дате отправления:

Предыдущее
От: Warwick Hunter
Дата:
Сообщение: Re: PostgreSQL 7.2.1-2PGDG RPMs available for RedHat-skipjack
Следующее
От: Aleksander Wala
Дата:
Сообщение: question?