Re: 8.2beta1 does not compile for me on Solaris 10

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: Joseph S <jks(at)selectacast(dot)net>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: 8.2beta1 does not compile for me on Solaris 10
Date: 2006-10-10 21:59:04
Message-ID: 452C17A8.2090508@dunslane.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Joseph S wrote:
> Tom Lane wrote:
>> Joseph S <jks(at)selectacast(dot)net> writes:
>>
>>> Anyway I installed the readline package from blastwave but the
>>> configure script still didn't find it.
>>
>>
>> Where does blastwave put it? You likely need --with-includes and/or
>> --with=libraries switches to tell configure where to look.
>>
>> regards, tom lane
>
> If I run:
>
> ./configure --enable-debug --with-cassert
> --with-includes=/opt/csw/include --with-libraries=/opt/csw/lib
>
> it gets past the readline problem, but fails later with:
>
> checking for _LARGEFILE_SOURCE value needed for large files... no
> checking for fseeko... (cached) yes
> 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.
>
> $ tail config.log
> #define PACKAGE_NAME "PostgreSQL"
> #define PACKAGE_STRING "PostgreSQL 8.2beta1"
> #define PACKAGE_TARNAME "postgresql"
> #define PACKAGE_VERSION "8.2beta1"
> #define PG_KRB_SRVNAM "postgres"
> #define PG_VERSION "8.2beta1"
> #define PG_VERSION_NUM 80200
> #define PG_VERSION_STR "PostgreSQL 8.2beta1 on i386-pc-solaris2.10,
> compiled by GCC gcc (GCC) 3.4.3 (csl-sol210-3_4-branch+sol_rpath)"
>
> configure: exit 1
>

I had similar issues, which is why I installed a private copy of readline.

See working config at
http://www.pgbuildfarm.org/cgi-bin/show_stage_log.pl?nm=hyena&dt=2006-10-10%20012001&stg=config

cheers

andrew

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Josh Berkus 2006-10-10 22:07:23 Re: 8.2beta1 does not compile for me on Solaris 10
Previous Message Peter Eisentraut 2006-10-10 21:57:54 Re: Updated version of FAQ_Solaris