From: | Gary Chambers <gwchamb(at)gmail(dot)com> |
---|---|
To: | gabrielle <gorthx(at)gmail(dot)com> |
Cc: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: Solaris install - "cannot compute sizeof (off_t)" error - readline issue? |
Date: | 2010-10-22 21:51:10 |
Message-ID: | AANLkTikS5R=8L7ed4XiO4B63CKag-=6J=YH5odsXL4Xb@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
Gabrielle,
> I'm trying to install postgres 8.4.5 on Solaris 10 (Sun):
> ./configure --prefix=/app/postgres-8.4.5 \
> --with-libs=/app/usr/local/lib \
> --with-includes=/app/usr/local/include
First and foremost, I would highly recommend that you use the Sun
compiler to build it. Jignesh Shah had (prior to his departure from
the once-great Sun Microsystems) written a couple of informative
articles that provided the most effective options to use depending on
your architecture. Google his name and postgresql and I'm fairly
certain you'll get some good hits. I believe he's working for VMware,
so if you're on an x86 system, he may have even more up-to-date
information building with the Sun compiler.
It's been many months since I've had to deal with compiling software
on Solaris, but IIRC I had to pass a few options in CFLAGS before
calling configure. I also had a completely clean environment (i.e.
very minimal PATH, no LD_LIBRARY_PATH). In the case of
LD_LIBRARY_PATH, check the output of crle to see if the admins have
added anything to the system runtime link path.
Try:
CC=/your/path/to/suncc CFLAGS="-I/your/non-standard/include
-L/your/non-standard/lib -R/your/non-standard/lib ..." \
./configure ...
-- Gary Chambers
/* Nothing fancy and nothing Microsoft! */
From | Date | Subject | |
---|---|---|---|
Next Message | Tim Uckun | 2010-10-22 22:03:32 | Re: Updates, deletes and inserts are very slow. What can I do make them bearable? |
Previous Message | Tom Lane | 2010-10-22 21:31:11 | Re: auto fill serial id field with default value in copy operation |