Обсуждение: problems installing pg on solaris

Поиск
Список
Период
Сортировка

problems installing pg on solaris

От
Georgi Petrov
Дата:
Hi,

I am using and installing pg on many servers running
FreeBSD and it works perfect.

Now I need to install a brand new Solaris 10 ( from
opensolaris.org) on amd64 (Opteron) and install pg on
it.

Till now I installed pg from source (on FreeBSD and
many linux systems).

My first question :
Is it better to install pg on Solaris from packages or
build it from source?


I am not fmiliar with Solaris and after many attemts
(to set the correct path for gmake,gcc, readline libs
and so on) I got ./configure to go flat.

But after running gmake as (postgres user) I got error
message and do not have idea how to fix it.


./configure --bindir=/usr/bin --libdir=/usr/lib/pgsql

gmake

.........
.........

gmake[1]: Entering directory
`/export/home/postgres/pginst/postgresql-8.1.4/doc'
gmake[1]: Nothing to be done for `all'.
gmake[1]: Leaving directory
`/export/home/postgres/pginst/postgresql-8.1.4/doc'
gmake -C src all
gmake[1]: Entering directory
`/export/home/postgres/pginst/postgresql-8.1.4/src'
gmake -C port all
gmake[2]: Entering directory
`/export/home/postgres/pginst/postgresql-8.1.4/src/port'
ar crs libpgport.a isinf.o qsort.o copydir.o dirmod.o
exec.o noblock.o path.o pipe.o pgsleep.o
pgstrcasecmp.o sprompt.o thread.o
gmake[2]: ar: Command not found
gmake[2]: *** [libpgport.a] Error 127
gmake[2]: Leaving directory
`/export/home/postgres/pginst/postgresql-8.1.4/src/port'
gmake[1]: *** [all] Error 2
gmake[1]: Leaving directory
`/export/home/postgres/pginst/postgresql-8.1.4/src'
gmake: *** [all] Error 2


Pls., help me to resolve this problem or point me to
some detailed docs about installing pg on Solaris.

Many thanks,
ivan.

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

Re: problems installing pg on solaris

От
Michael Fuhr
Дата:
On Thu, Oct 19, 2006 at 01:42:48AM -0700, Georgi Petrov wrote:
> Is it better to install pg on Solaris from packages or
> build it from source?

Define "better."  I prefer to build from source so I know I'm using
the same source code the developers are using and so I can control
the configure settings.

> gmake[2]: ar: Command not found

I don't know where Solaris 10 puts ar but in earlier versions it's
in /usr/ccs/bin.  Try adding that directory to your PATH.

--
Michael Fuhr