Re: BUG #4219: fseeko test failure in configure script

From: Nathan Reed <nreed(at)uci(dot)edu>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>, pgsql-bugs(at)postgresql(dot)org
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, nreed(at)uci(dot)edu
Subject: Re: BUG #4219: fseeko test failure in configure script
Date: 2008-06-06 20:16:53
Message-ID: 200806062016.m56KGvmR013889@smtp2.es.uci.edu
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

I have finally gotten cleanly through the configure step. The
documentation for postgres under section 15.5 gives the various
options, one of which is the --with-libraries. This option does not
seem to work correctly for Solaris 10 with various packages added
into /usr/local and /usr/local/ssl. A previous response indicated
that the use of LDFLAGS would solve this. However, the documentation
in section 15.5 does not give any indications or hisnts about what
types of usage are possible. Thus, the suggestion for putting in the
following as a template:
"-R /usr/local/lib:/usr/sfw/lib..." was the ticket. Thus, my script
is as follows:

./configure
--with-openssl
--with-libxml
--with-libxslt
--with-libraries=/usr/lib:/usr/local/ssl/lib:/usr/sfw/lib:
/usr/local/BerkeleyDB.4.2/lib:/usr/ccs/lib:/usr/ucblib
--with-includes=/usr/local/ssl/include:/usr/sfw/include:
/usr/local/BerkeleyDB.4.2/include
LDFLAGS='-R /usr/local/lib:/usr/local/ssl/lib:/usr/sfw/lib:
/usr/local/BerkeleyDB.4.2/lib:/usr/ccs/lib:/usr/ucblib'

++++++++++++++++

The pertinent ENV vars are:

HOSTTYPE=sun4
PATH=/usr/local/bin:/usr/local/sbin:/usr/sbin:/usr/bin:/usr/ccs/bin
PWD=/u1/installs/postgresql-8.3.1
JAVA_HOME=/usr/java
TZ=US/Pacific
PS1=#
SHLVL=2
OSTYPE=solaris
VENDOR=sun
MACHTYPE=sparc

++++++++++++++++++

All of the necessary components with dependencies were brought in
from sunfreeware and installed with pkgadd.
gcc=3.4.6 as the compiler and primary libgcc.

Nathan K. Reed
Programmer/Analyst
Supervisor of Records group
University of California, Irvine
Office of Admissions and Relations with Schools
(949) 824-9631

At 08:56 AM 6/6/2008, Peter Eisentraut wrote:
>Am Freitag, 6. Juni 2008 schrieb Nathan Reed:
> > Does not change anything. I have run the generic configure without
> > any parameters (--with-ssl, etc) and I get the same result. I have
> > done a number of permutations, made sure that bison is in place,
> > etc,etc,etc.
>
>Trying countless permutations of unrelated parameters is not going to get you
>closer to success. And neither is posting generic "I am not getting beyond
>this linker failure on the test of fseeko" error "descriptions" that have
>nothing to do with your problem. If you want to get any useful help, post
>your *exact* command line, and the *exact* output you get on the screen as
>well as the *complete* contents of files that the error message refers you
>to. And leave the interpretation to others. As far as I can tell, the
>problem you post is quite common on Solaris, but without any concrete
>information, I can't tell you how to fix it.

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Alvaro Herrera 2008-06-06 21:42:47 Re: BUG #4116: Cannot create tablespace: could not set permissions on directory
Previous Message Peter Eisentraut 2008-06-06 15:56:57 Re: BUG #4219: fseeko test failure in configure script