Re: pkg of 7.0.2 for SunOS 5.6? - Mailing list pgsql-ports

From Pete Forman
Subject Re: pkg of 7.0.2 for SunOS 5.6?
Date
Msg-id 14771.21447.998570.147497@kryten.bedford.waii.com
Whole thread Raw
In response to pkg of 7.0.2 for SunOS 5.6?  (David Wetzel <dave@turbocat.de>)
List pgsql-ports
David Wetzel writes:
 > has someone here made binaries for SunOS 5.6 (Sparc)?

Yes, I have.   They are not packaged up though.


There was one problem in building it.  The configure script tests for
the availability of libraries, -lld amongst them.  There is an odd
problem with that library, it links fine but fails to run.  configure
adds -lld to its list of libs which makes later tests fail.

I hacked the configure to bypass the problem.

$ diff configure configure.hack
3159c3159
< if { (eval echo configure:3160: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
---
> if { (eval echo configure:3160: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && false;
then


A better fix would be to beef up the configure test so that tests for
libs make sure that the test executables run as well as link.


There were various random failures on the regression tests.  This is
probably due to the poor UNIX domain sockets on Solaris.  Using TCP/IP
there were no problems.
--
Pete Forman                 -./\.- Disclaimer: This post is originated
Western Geophysical           -./\.-  by myself and does not represent
pete.forman@westgeo.com         -./\.-  the opinion of Baker Hughes or
http://www.crosswinds.net/~petef  -./\.-  its divisions.

pgsql-ports by date:

Previous
From: David Wetzel
Date:
Subject: pkg of 7.0.2 for SunOS 5.6?
Next
From: kenneth.leung@nadii.Novartis.com
Date:
Subject: Installation problem...