... - Mailing list pgsql-admin

From Sergio Pili
Subject ...
Date
Msg-id 20020925141036.A74CC6CC4B@tino.sinectis.com.ar
Whole thread Raw
List pgsql-admin
Hi!

I have compiled PostgreSQL in many versions off linux and all run ok.
Now, i nedd to compile it in SCO but the configure program abort.

Can you help me please?

Thank you!

Regards,

Sergio

OS version (from 'uname')
-------------------------
SCO Open Server 5.0.4
System = SCO_SV
Release = 3.2v5.0.4
KernelID = 97/05/07
Machine = Pentium Pro

gmake version
-------------
3.78.1

gcc version
-----------
2.95 19990728

Postgres version to install
---------------------------
7.2.1

The output is:

checking for sigsetjmp... yes
checking for optreset... no
checking test program... failed
configure: error:
*** Could not execute a simple test program.  This may be a problem
*** related to locating shared libraries.  Check the file 'config.log'
*** for the exact reason.

Last lines of configure log are:

configure:7358: checking for finite
configure:7367: gcc -o conftest -O2     conftest.c -lPW -lgen -lld -lnsl -lsocket -ldl -lm -lreadline -ltermcap  1>&5
configure:7382: checking for sigsetjmp
configure:7391: gcc -o conftest -O2     conftest.c -lPW -lgen -lld -lnsl -lsocket -ldl -lm -lreadline -ltermcap  1>&5
configure:7478: checking for optreset
configure:7490: gcc -o conftest -O2     conftest.c -lPW -lgen -lld -lnsl -lsocket -ldl -lm -lreadline -ltermcap  1>&5
Undefined            first referenced
 symbol                  in file
optreset                            /usr/tmp/ccf1KTPQ.o
conftest: fatal error: Symbol referencing errors. No output written to conftest
collect2: ld returned 1 exit status
configure: failed program was:
#line 7483 "configure"
#include "confdefs.h"
#include <unistd.h>
int main() {
extern int optreset; optreset = 1;
; return 0; }
configure:7516: checking test program
configure:7525: gcc -o conftest -O2     conftest.c -lPW -lgen -lld -lnsl -lsocket -ldl -lm -lreadline -ltermcap  1>&5
configure: failed program was:
#line 7521 "configure"
#include "confdefs.h"
int main() { return 0; }



pgsql-admin by date:

Previous
From: "Garvey, Mary"
Date:
Subject: Readline problems & postgresql-7.2.2
Next
From: Sergio Pili
Date:
Subject: PostgreSQL on SCO