configure fails on solaris

From: Edwin New <edwin_new(at)toll(dot)com(dot)au>
To: pgsql-ports(at)postgresql(dot)org
Subject: configure fails on solaris
Date: 2004-06-24 07:48:08
Message-ID: 83CE2DFB3E02EF4EAB09B5125EAD011B01234FA2@lavertonexch.toll.com.au
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-ports

I'm trying to run configure on Solaris. At line 13509, conftest fails. I
hope someone can suggest what the problem is.

I'm not running it as root, but as the user teprpg01 in a group that has
write permissions to the directory tree.

Here's an excerpt from config.log with the error at the end (I snipped the
middle):

--------------------------------------------------------------
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by PostgreSQL configure 7.4.2, which was
generated by GNU Autoconf 2.53. Invocation command line was

$ ./configure --with-java --with-pgport=6100 --prefix=/usr/local/teprpg01

## --------- ##
## Platform. ##
## --------- ##

hostname = webm-qa
uname -m = sun4u
uname -r = 5.9
uname -s = SunOS
uname -v = Generic_117171-01

/usr/bin/uname -p = sparc
/bin/uname -X = System = SunOS
Node = webm-qa
Release = 5.9
KernelID = Generic_117171-01
Machine = sun4u
BusType = <unknown>
Serial = <unknown>
Users = <unknown>
OEM# = 0
Origin# = 1
NumCPU = 1

[snip]

configure:13492: checking test program
configure:13504: gcc -o conftest -O2 -fno-strict-aliasing conftest.c -lz
-lreadline -ltermcap -lrt -lresolv -lgen -l
socket -lnsl -ldl -lm >&5
configure:13507: $? = 0
configure:13509: ./conftest
ld.so.1: ./conftest: fatal: libreadline.so.4: open failed: No such file or
directory
./configure: line 1: 26938 Killed ./conftest$ac_exeext
configure:13512: $? = 137
configure: program exited with status 137
configure: failed program was:
#line 13498 "configure"
#include "confdefs.h"
int main() { return 0; }
configure:13521: result: failed
configure:13526: 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.

Responses

Browse pgsql-ports by date

  From Date Subject
Next Message Stergios Zissakis 2004-06-24 08:00:32 Re: configure fails on solaris
Previous Message Henning Klein 2004-06-22 20:11:08 problems with installing postgres