Re: Installing on SCO OpenServer 3.2v5.0.5 - Mailing list pgsql-ports

From Peter Eisentraut
Subject Re: Installing on SCO OpenServer 3.2v5.0.5
Date
Msg-id Pine.LNX.4.30.0104221239210.758-200000@peter.localdomain
Whole thread Raw
In response to Installing on SCO OpenServer 3.2v5.0.5  (Marco Otilio Peña Diaz <motilio@avantel.net>)
List pgsql-ports
Marco Otilio Peña Diaz writes:

> configure: error: installation or configuration problem: C compiler cannot
> create executables.

This is because PostgreSQL is set up to use the SCO compiler suite, not
GCC.  Please try the attached patch; it will allow GCC and also give you
shared library support.  (Note that I'm completely making this up from the
SCO man pages.)  If you have the SCO compiler available, please also try
that, and while you're at it run the regression tests so we can mark your
platform as supported.

> 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.

Can't tell from the config.log.  Please try this by hand:

echo "int main() { return 0; }" > conftest.c
gcc -o conftest      conftest.c -lPW -lgen -lld -lnsl -lsocket -ldl -lm
./conftest

If there are problems, try removing some of the libraries (-lxxx) from the
compilation command.

--
Peter Eisentraut   peter_e@gmx.net   http://funkturm.homeip.net/~peter

Attachment

pgsql-ports by date:

Previous
From: Peter Galbavy
Date:
Subject: PostgreSQL 7.1 now in OpenBSD ports/packages
Next
From: Peter Eisentraut
Date:
Subject: Re: PostgreSQL 7.1 now in OpenBSD ports/packages