Thread: PostgreSQL on SCO

PostgreSQL on SCO

From
Sergio Pili
Date:
Hi!

I nedd to compile it in SCO but the configure program abort.

Can you help me please?

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


Re: PostgreSQL on SCO

From
Adam Walczykiewicz
Date:
Sergio Pili wrote:

>Hi!
>
>I nedd to compile it in SCO but the configure program abort.
>
>Can you help me please?
>
>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; }
>
>
>---------------------------(end of broadcast)---------------------------
>TIP 2: you can get off all lists at once with the unregister command
>    (send "unregister YourEmailAddressHere" to majordomo@postgresql.org)
>
>.
>
There is a compiled version of Postgresql on skunkware in .vol
 packages, why don't use it.

Adam