7.1.3 configure failure on Solaris 2.6

Started by David De Graffover 24 years ago2 messagesgeneral
Jump to latest
#1David De Graff
postgresql@awarehouse.com

Hi,

I've already sent this to pgsql-ports but haven't yet received a response from that, so am posting here.

I'm trying to build 7.1.3 on Solaris 2.6 with gcc 2.95.3. The process is failing when configure tries to run a test program. PG 7.1 was previously installed on this box but I wiped that installation clean since it had not been used. Another administrator (more experienced than I) did the previous install. I have successfully compiled and installed php 4.0.6 today on this server with the same compiler.

The current attempts fail with the following session messages:

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

I have run this several times. First used some configure flags that I read were good for performance while prepping for the php compile (CFLAGS="-O3" CXX=gcc CXXFLAGS="-O3 -fno-exceptions"), along with some PG options that I wanted to have available (--enable-odbc --with-openssl --enable-syslog). Then I dropped the flags and options to a straight ./configure (removing config.log and config.cache for each attempt).

Reading through the config.log file, I saw that the first sign of trouble showed a possible issue with readline missing, so I installed that. First installed it as a package, which generated a slightly different set of errors in config.log. I then removed that package and installed readline from source, which led to another slightly different set of config.log errors.

I have put copies of the config.log files for a few of the configure attempts on the web for diagnostic access.

See:

http://pgsetup.awarehouse.com/pgconfig3.htm
(After installing readline package.)

http://pgsetup.awarehouse.com/pgconfig4.htm
(After removing readline package and installing readline from source.)

The latest configure session text is available at:

http://pgsetup.awarehouse.com/pgconfig4-session.htm

I suspect that the real problem is related to libraries that are missing or are not accessible, like libcompat.*. Not sure where those should be, what paths to set in which parameters, or where to get the libraries if they are in fact missing. (First would need to be able to figure out which ones are missing. This configure program and its log don't make that clear, but then I'm new at this.)

Thanks for any help - am a novice at building and compiling and even more of a newbie with Postgresql.

Best,

David De Graff

#2Stefan Lindner
lindner@visionet.de
In reply to: David De Graff (#1)
Re: 7.1.3 configure failure on Solaris 2.6

I have another problem with 7.1.3 under Solaris 8 for intel. No solution
yet.
It's a compilation error with gcc2.95.3. 7.1.3 works very well. Still
investigating...

""David De Graff"" <postgresql@awarehouse.com> schrieb im Newsbeitrag
news:00be01c176b6$e00e17f0$c81df0cf@Bensf382...

This is a multi-part message in MIME format.

------=_NextPart_000_00BB_01C17673.BE8AAB40
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hi,
=20
I've already sent this to pgsql-ports but haven't yet received a response

f=

rom that, so am posting here.
=20
I'm trying to build 7.1.3 on Solaris 2.6 with gcc 2.95.3. The process is

fa=

iling when configure tries to run a test program. PG 7.1 was previously

ins=

talled on this box but I wiped that installation clean since it had not

bee=

n used. Another administrator (more experienced than I) did the previous

in=

stall. I have successfully compiled and installed php 4.0.6 today on this

s=

erver with the same compiler.
=20
The current attempts fail with the following session messages:
=20
checking test program... failed
configure: error:=20
*** 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.
#=20

I have run this several times. First used some configure flags that I read

=

were good for performance while prepping for the php compile

(CFLAGS=3D"-O3=

" CXX=3Dgcc CXXFLAGS=3D"-O3 -fno-exceptions"), along with some PG options

t=

hat I wanted to have available

(--enable-odbc --with-openssl --enable-syslo=

g). Then I dropped the flags and options to a straight ./configure

(removin=

g config.log and config.cache for each attempt).
=20
Reading through the config.log file, I saw that the first sign of trouble

s=

howed a possible issue with readline missing, so I installed that. First

in=

stalled it as a package, which generated a slightly different set of

errors=

in config.log. I then removed that package and installed readline from

sou=

rce, which led to another slightly different set of config.log errors.
=20
I have put copies of the config.log files for a few of the configure

attemp=

ts on the web for diagnostic access.
=20
See:
=20
http://pgsetup.awarehouse.com/pgconfig3.htm
(After installing readline package.)
=20
http://pgsetup.awarehouse.com/pgconfig4.htm
(After removing readline package and installing readline from source.)
=20
The latest configure session text is available at:
=20
http://pgsetup.awarehouse.com/pgconfig4-session.htm
=20
I suspect that the real problem is related to libraries that are missing

or=

are not accessible, like libcompat.*. Not sure where those should be,

what=

paths to set in which parameters, or where to get the libraries if they

ar=

e in fact missing. (First would need to be able to figure out which ones

ar=

e missing. This configure program and its log don't make that clear, but

th=

en I'm new at this.)
=20
Thanks for any help - am a novice at building and compiling and even more

o=

f a newbie with Postgresql.
=20
Best,
=20
David De Graff

------=_NextPart_000_00BB_01C17673.BE8AAB40
Content-Type: text/html; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html;

charset=3Diso-8859-1">

<META content=3D"MSHTML 5.50.4611.1300" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Hi,<BR>&nbsp;<BR>I've&nbsp;already sent

th=

is=20
to&nbsp;pgsql-ports but haven't yet received a response from that, so am

po=

sting=20
here.<!--StartFragment --></FONT></DIV>
<DIV><FONT face=3DArial size=3D2>&nbsp;<BR>I'm trying to build 7.1.3 on

Sol=

aris 2.6=20
with gcc 2.95.3. The process is failing when configure tries to run a

test=

=20
program. PG 7.1 was previously installed on this box but I wiped that=20
installation clean since it had not been used. Another administrator

(more=

=20
experienced than I) did the previous install. I have successfully compiled

=

and=20
installed php 4.0.6 today on this server with the same=20
compiler.<BR>&nbsp;<BR>The current attempts fail with the following

session=

=20
messages:<BR>&nbsp;<BR>checking test program... failed<BR>configure:

error:=

=20
<BR>*** Could not execute a simple test program.&nbsp; This may be a=20
problem<BR>*** related to locating shared libraries.&nbsp; Check the file=
=20
'config.log'<BR>*** for the exact reason.<BR># </FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>I have run this several times. First used

=

some=20
configure flags that I read were good for performance while prepping for

th=

e php=20
compile (CFLAGS=3D"-O3" CXX=3Dgcc CXXFLAGS=3D"-O3 -fno-exceptions"), along

=

with some=20
PG options that I wanted to have available

(--enable-odbc --with-openssl=20

--enable-syslog). Then I dropped the flags and options to a straight

./conf=

igure=20
(removing config.log and config.cache for each

attempt).<BR>&nbsp;<BR>Readi=

ng=20
through the config.log file, I saw that the first sign of trouble showed

a=

=20
possible issue with readline missing, so I installed that. First installed

=

it as=20
a package, which generated a slightly different set of errors in

config.log=

. I=20
then removed that package and installed readline from source, which led

to=

=20
another slightly different set of config.log errors.<BR>&nbsp;<BR>I have

pu=

t=20
copies of the config.log files for a few of the configure attempts on the

w=

eb=20
for diagnostic access.<BR>&nbsp;<BR>See:<BR>&nbsp;<BR><A=20

href=3D"http://pgsetup.awarehouse.com/pgconfig3.htm&quot;&gt;http://pgsetup.awareho=

use.com/pgconfig3.htm</A><BR>(After=20
installing readline package.)<BR>&nbsp;<BR><A=20

href=3D"http://pgsetup.awarehouse.com/pgconfig4.htm&quot;&gt;http://pgsetup.awareho=

use.com/pgconfig4.htm</A><BR>(After=20
removing &nbsp;readline package and installing readline from=20
source.)<BR>&nbsp;<BR>The latest configure session text is available=20
at:<BR>&nbsp;<BR><A=20

href=3D"http://pgsetup.awarehouse.com/pgconfig4-session.htm&quot;&gt;http://pgsetup=

.awarehouse.com/pgconfig4-session.htm</A><BR>&nbsp;<BR>I=20
suspect that the real problem is related to libraries that are missing or

a=

re=20
not accessible, like libcompat.*. Not sure where those should be, what

path=

s to=20
set in which parameters, or where to get the libraries if they are in

fact=

=20
missing. (First would need to be able to figure out which ones are

missing.=

This=20
configure program and its log don't make that clear, but then I'm new

at=20

this.)<BR>&nbsp;<BR>Thanks for any help - am a novice at building and

compi=

ling=20
and even more of a newbie with

Postgresql.<BR>&nbsp;<BR>Best,<BR>&nbsp;<BR>=

Show quoted text

David=20
De Graff<BR></FONT></DIV></BODY></HTML>

------=_NextPart_000_00BB_01C17673.BE8AAB40--