Re: Installing on SCO OpenServer 3.2v5.0.5

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Marco Otilio Peña Diaz <motilio(at)avantel(dot)net>
Cc: <pgsql-ports(at)postgresql(dot)org>
Subject: Re: Installing on SCO OpenServer 3.2v5.0.5
Date: 2001-04-22 10:47:15
Message-ID: Pine.LNX.4.30.0104221239210.758-200000@peter.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)gmx(dot)net http://funkturm.homeip.net/~peter

Attachment Content-Type Size
sco.patch text/plain 2.3 KB

In response to

Browse pgsql-ports by date

  From Date Subject
Next Message Peter Eisentraut 2001-04-22 11:12:29 Re: PostgreSQL 7.1 now in OpenBSD ports/packages
Previous Message Peter Galbavy 2001-04-22 10:02:54 PostgreSQL 7.1 now in OpenBSD ports/packages