7.1.3 fails to configure on Solaris 2.7

From: "Henry B(dot) Hotz" <hotz(at)jpl(dot)nasa(dot)gov>
To: pgsql-ports(at)postgresql(dot)org
Subject: 7.1.3 fails to configure on Solaris 2.7
Date: 2001-12-04 00:03:45
Message-ID: p05100306b831bfdfc4e0@[137.78.212.225]
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches pgsql-ports

postgres 7.1.3
Solaris 2.7, 64-bit
gcc 2.95.3 from sunfreeware.com
gmake 3.79.1 (named gmake so it doesn't conflict with /usr/ccs/bin/make)
tcl&tk 8.3.4
readline 4.2a
openssl 0.9.6b
perl 5.6.1 available in AFS space
openafs, gzip, zlib, rsync, and rdist also installed but shouldn't matter
PATH is:
/usr/ccs/bin:/usr/local/bin:/usr/ucb:/bin:/usr/bin:/usr/sbin:/usr/dt/bin:/usr/openwin/bin:/usr/afsws/bin:/usr/ets/bin
(last two are via AFS)
ln -s /usr/local/bin/gcc /usr/ucb/cc

./configure [no options whatever]
...
checking for optreset... no
checking test program... failed

tail config.log
...
configure:6806: gcc -o conftest conftest.c -lz -lresolv -lgen -lnsl
-lsocket -ldl -lm -lreadline -ltermcap 1>&5
configure: failed program was:
#line 6802 "configure"
#include "confdefs.h"
int main() { return 0; }

I can put those 3 lines in a file and use those gcc options and it
compiles just fine thank you. All of the above typed by hand.
Caveats.
--
The opinions expressed in this message are mine,
not those of Caltech, JPL, NASA, or the US Government.
Henry(dot)B(dot)Hotz(at)jpl(dot)nasa(dot)gov, or hbhotz(at)oxy(dot)edu

In response to

Responses

Browse pgsql-patches by date

  From Date Subject
Next Message Tom Lane 2001-12-04 01:26:04 Re: 7.1.3 fails to configure on Solaris 2.7
Previous Message Tom Lane 2001-12-03 22:09:23 Re: date formatting and tab-complete patch

Browse pgsql-ports by date

  From Date Subject
Next Message Henry B. Hotz 2001-12-04 00:10:00 Darwin/MacOSX 10.1.1 configure issues with b3
Previous Message Henry B. Hotz 2001-12-03 18:05:19 Re: Darwin/MacOSX 10.1.1 configure issues with 7.2b3