Re: Failed compile on Sun

From: Justin Clift <justin(at)postgresql(dot)org>
To: Adam Witney <awitney(at)sghms(dot)ac(dot)uk>
Cc: pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Re: Failed compile on Sun
Date: 2002-05-01 11:16:31
Message-ID: 3CCFCE8F.D42AF143@postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers

Hi Adam,

Are you using the Solaris compilation instructions from?

http://techdocs.postgresql.org/installguides.php#solaris

They're known to work.

:-)

Regards and best wishes,

Justin Clift

Adam Witney wrote:
>
> Hi
>
> I am fairly new to PostgreSQL. I have been trying to install
> PostgreSQL-7.2.1 on my Sun server, however it fails at this point:
>
> ...
> ...
>
> gcc -Wall -Wmissing-prototypes -Wmissing-declarations -fPIC -I.
> -I../../../src/include -DFRONTEND -DSYSCONFDIR='"/usr/local/pgsql/etc"' -c
> -o pqsignal.o pqsignal.c
> ar crs libpq.a fe-auth.o fe-connect.o fe-exec.o fe-misc.o fe-print.o
> fe-lobj.o pqexpbuffer.o dllist.o md5.o pqsignal.o
> make[3]: ar: Command not found
> make[3]: *** [libpq.a] Error 127
> make[3]: Leaving directory
> `/usr/local/install/postgresql-7.2/src/interfaces/libpq'
> make[2]: *** [all] Error 2
> make[2]: Leaving directory
> `/usr/local/install/postgresql-7.2/src/interfaces'
> make[1]: *** [all] Error 2
> make[1]: Leaving directory `/usr/local/install/postgresql-7.2/src'
> make: *** [all] Error 2
>
> System details:
>
> bash-2.03$ uname -a
> SunOS webdev1 5.8 Generic_108528-12 sun4u sparc SUNW,UltraAX-i2
>
> Is this a common problem on this platform? Or am I doing something wrong.
>
> Any help in getting this working would be greatly appreciated.
>
> Thanks
>
> Adam
>
> ---------------------------(end of broadcast)---------------------------
> TIP 6: Have you searched our list archives?
>
> http://archives.postgresql.org

--
"My grandfather once told me that there are two kinds of people: those
who work and those who take the credit. He told me to try to be in the
first group; there was less competition there."
- Indira Gandhi

In response to

Browse pgsql-general by date

  From Date Subject
Next Message pgsql-gen Newsgroup (@Basebeans.com) 2002-05-01 11:25:01 Re: Failed compile on Sun
Previous Message Adam Witney 2002-05-01 10:38:26 Failed compile on Sun

Browse pgsql-hackers by date

  From Date Subject
Next Message Magnus Naeslund(f) 2002-05-01 12:23:49 Re: Problem with restoring a 7.1 dump
Previous Message Adam Witney 2002-05-01 10:38:26 Failed compile on Sun