Error building on SCO

From: Sergio Pili <sergiop(at)uolsinectis(dot)com(dot)ar>
To: pgsql-admin(at)postgresql(dot)org
Cc: sergio(dot)pili(at)uolsinectis(dot)com(dot)ar
Subject: Error building on SCO
Date: 2002-09-25 15:06:16
Message-ID: 20020925150616.A326B6D0D5@tino.sinectis.com.ar
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Hi!

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 of configure 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; }

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Jean-Luc Lachance 2002-09-25 16:17:45 Re: command line client on windows?
Previous Message Sergio Pili 2002-09-25 15:00:55 PostgreSQL on SCO