Home > Archive > PostgreSQL Discussion > April 2006 > pg 8.1.3 on AIX









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author pg 8.1.3 on AIX
Gavin Hamill

2006-03-22, 7:31 am

Hullo :)

We're a Linux shop, and are getting an IBM pSeries 650 with AIX
preloaded on Friday - I have no AIX experience, and was looking for info
about compiling pg 8.1.3 on AIX, since it's the only app that will run
on the machine. First, are there any precompiled packages? :))

Basically, is it currently a matter of ./configure, make, make install ?
We can have whatever AIX version we want up to 5.3, so I'm looking for
advice on which provides the path of least resistance..

I've been reading through
http://archives.free.net.ph/message...0a268bc.en.html and
http://www.postgresql.org/docs/faqs.FAQ_AIX.html

What's the popular concensus of using gcc versus AIX's native 'cc' ?

Is a pg install likely to just be a case of installing libedit and
perhaps using the 8.2devel backend Makefle as the FAQ_AIX suggests?

Sorry for being so green, but I really am in a corner needing to get
things moving ASAP :(

Cheers,
Gavin.


---------------------------(end of broadcast)---------------------------
TIP 4: Have you searched our list archives?

http://archives.postgresql.org

Tom Lane

2006-03-22, 9:28 am

Gavin Hamill <gdh@laterooms.com> writes:
> Basically, is it currently a matter of ./configure, make, make install ?


Should be, modulo whatever FAQ_AIX tells you.

> We can have whatever AIX version we want up to 5.3, so I'm looking for
> advice on which provides the path of least resistance..


With old AIX versions there seems to be a problem with gcc not liking
the system headers (see recent thread), but we know 5.2 builds PG OK
with either gcc or cc; there are a couple of 5.2 machines in the
buildfarm. I'd go with the latest system release if I were you,
barring very concrete reasons not to.

regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 5: don't forget to increase your free space map settings

Seneca Cunningham

2006-03-22, 11:30 am

Gavin Hamill wrote:
> We're a Linux shop, and are getting an IBM pSeries 650 with AIX
> preloaded on Friday - I have no AIX experience, and was looking for info
> about compiling pg 8.1.3 on AIX, since it's the only app that will run
> on the machine. First, are there any precompiled packages? :))


None that I know of. The usual sources for precompiled AIX packages
don't have postgres.

> Basically, is it currently a matter of ./configure, make, make install ?
> We can have whatever AIX version we want up to 5.3, so I'm looking for
> advice on which provides the path of least resistance..
>
> I've been reading through
> http://archives.free.net.ph/message...0a268bc.en.html and
> http://www.postgresql.org/docs/faqs.FAQ_AIX.html
>
> What's the popular concensus of using gcc versus AIX's native 'cc' ?


I'm not certain, I've only used gcc. Don't install GNU binutils,
though. Use AIX's native tools (you can't even bootstrap gcc with
binutils).

> Is a pg install likely to just be a case of installing libedit and
> perhaps using the 8.2devel backend Makefle as the FAQ_AIX suggests?


You don't actually need libedit, but unlike readline it hasn't caused
any segfaults. If you want to use libedit, follow option 2 from the FAQ
as readline would probably be installed already through IBM's rpms. If
you want to use readline, follow option 1 (and I only tested the
procedure with revision 1.112 of the backend Makefile). If you don't
care about tab-completion, history, and anything else readline provides,
it's easier to leave everything vanilla and add --without-readline to
the configure flags (option 3 from the FAQ). (And yes, I do now realize
that the optional nature of this matter could have been better expressed
in the FAQ by using something other than unadorned numbers to label the
options. They're options, not steps)

--
Seneca Cunningham
scunning@ca.afilias.info

---------------------------(end of broadcast)---------------------------
TIP 2: Don't 'kill -9' the postmaster

Gavin Hamill

2006-03-23, 3:30 am

Tom + Seneca,

Thank you for your sage advice - hopefully I will have enough Linux +
compilation experience to bridge the AIX gap - no doubt if I run into
big problems, you'll hear about it soon! :)

Cheers,
Gavin,


---------------------------(end of broadcast)---------------------------
TIP 6: explain analyze is your friend

Bruce Momjian

2006-04-05, 8:25 pm

Seneca Cunningham wrote:
> the configure flags (option 3 from the FAQ). (And yes, I do now realize
> that the optional nature of this matter could have been better expressed
> in the FAQ by using something other than unadorned numbers to label the
> options. They're options, not steps)


AIX FAQ updated for clarity that these are options.

--
Bruce Momjian http://candle.pha.pa.us

+ If your life is a hard drive, Christ can be your backup. +

---------------------------(end of broadcast)---------------------------
TIP 4: Have you searched our list archives?

http://archives.postgresql.org

Sponsored Links





Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive | Programming forum archive

Copyright 2008 droptable.com