Thread: pgsql for Solaris 8 (SPARC)

pgsql for Solaris 8 (SPARC)

From
"Adonis Damian"
Date:
Hi,
    Where can I find a compiled version of PostGreSQL 7.2.1 for
Solaris 8 (SPARC)?


Regards,
Adonis.

Re: pgsql for Solaris 8 (SPARC)

From
Tim Ellis
Date:
On Mon, 5 Aug 2002 19:18:56 +0300
"Adonis Damian" <Adonis.Damian@infopulse.ro> wrote:

>     Where can I find a compiled version of PostGreSQL 7.2.1 for
> Solaris 8 (SPARC)?

Here's what I recommend (based on actually DOING THIS):

1. Have your Solaris admin install the GNU tools in /usr/local/bin. You
want at least GCC, autoconf, and make. Postgres main page may tell you the
exhaustive list of tools you need (it's not more than about 12). Safe bet,
install everything at www.sunfreeware.com.

2. Install Postgres source code.

3. export PATH=/usr/local/bin:$PATH

4. ./configure ; make ; make install

Yes, that's it. It compiled TRIVIALLY for me after GNU tools were
installed. Any Solaris admin worth a shaker of salt will be able to
install the GNU tools in a short afternoon. They're all on
http://www.sunfreeware.com.

I DON'T recommend getting some precompiled binaries.

--
Tim Ellis
Senior Database Architect
Gamet, Inc.

Re: pgsql for Solaris 8 (SPARC)

From
Andrew Sullivan
Date:
On Mon, Aug 05, 2002 at 10:24:43AM -0700, Tim Ellis wrote:
> 3. export PATH=/usr/local/bin:$PATH

Actually, you frequently need to add

    /usr/ccs/bin

to the PATH as well.  You may find ar in there, and depending on
whether you installed the GNU ld package, you'll probably need it.
Add that bit to the end of the PATH, because if ar is installed, so
is the Sun version of make, which doesn't work with PostgreSQL.

A

--
----
Andrew Sullivan                               87 Mowat Avenue
Liberty RMS                           Toronto, Ontario Canada
<andrew@libertyrms.info>                              M6K 3E3
                                         +1 416 646 3304 x110