7.1.3 configure failure on Solaris 2.6

From: "David De Graff" <postgresql(at)awarehouse(dot)com>
To: <pgsql-ports(at)postgresql(dot)org>
Subject: 7.1.3 configure failure on Solaris 2.6
Date: 2001-11-26 07:12:26
Message-ID: 001001c17649$b4177190$1a76aa40@Bensf382
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-ports

Hi,

Not sure if this address is for configure problems or only compile (make) trouble, but here goes...

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

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

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

Responses

Browse pgsql-ports by date

  From Date Subject
Next Message Tom Lane 2001-11-26 22:48:27 Re: 7.1.3 configure failure on Solaris 2.6
Previous Message Tom Lane 2001-11-23 16:37:18 Re: PostGreSQL 7.1.3 & SCO OpenServer 5.0.6 problems