Thread: Error installing Postgres 8.2.4
Hi,
I am getting an error while running gmake on postgres8.2.4. Here is the list of steps that I followed
Platform is Solaris 10 for x86
1. Downloaded postgresql-8.2.4.tar from ftp://ftp.postgresql.org/pub/source/v8.2.4/postgresql-8.2.4.tar.gz
2. gunzip postgresql-8.2.4.tar.gz
3. tar -xvf postgresql-8.2.4.tar
4. cd postgresql-8.2.4
5. executed configure first, it was giving readline error therefore used configure --without-readline
6. The error that I am getting is
bash-3.00$ gmake
gmake -C doc all
gmake[1]: Entering directory `/export/home/Jenny/postgresql-8.2.4/doc'
gmake[1]: Nothing to be done for `all'.
gmake[1]: Leaving directory `/export/home/Jenny/postgresql-8.2.4/doc'
gmake -C src all
gmake[1]: Entering directory `/export/home/Jenny/postgresql-8.2.4/src'
gmake -C port all
gmake[2]: Entering directory `/export/home/Jenny/postgresql-8.2.4/src/port'
ar crs libpgport.a isinf.o inet_aton.o copydir.o dirmod.o exec.o noblock.o path.o pipe.o pgsleep.o pgstrcasecmp.o qsort.o qsort_arg.o sprompt.o thread.o
gmake[2]: ar: Command not found
gmake[2]: *** [libpgport.a] Error 127
gmake[2]: Leaving directory `/export/home/Jenny/postgresql-8.2.4/src/port'
gmake[1]: *** [all] Error 2
gmake[1]: Leaving directory `/export/home/Jenny/postgresql-8.2.4/src'
gmake: *** [all] Error 2
Please advise.
Thanks
Jenny
Pinpoint customers who are looking for what you sell.
Hi, On Wed, 2007-09-12 at 01:04 -0700, Jenny Nickel wrote: > gmake[2]: ar: Command not found Either install ar or if it is installed, add it to your $PATH. Regards, -- Devrim GÜNDÜZ PostgreSQL Replication, Consulting, Custom Development, 24x7 support Managed Services, Shared and Dedicated Hosting Co-Authors: plPHP, ODBCng - http://www.commandprompt.com/
Attachment
Devrim =?ISO-8859-1?Q?G=DCND=DCZ?= <devrim@CommandPrompt.com> writes: > On Wed, 2007-09-12 at 01:04 -0700, Jenny Nickel wrote: >> gmake[2]: ar: Command not found > Either install ar or if it is installed, add it to your $PATH. A look at the Solaris machines in the build farm suggests that ar is likely to be found in /usr/ccs/bin or maybe /usr/sfw/bin on that platform. regards, tom lane