After 5 seconds of intense thought, I suggest that you
check the privileges on your compiler stuff.
Please keep posting and let us know how you fared.
-----Original Message-----
From: pgsql-general-owner@postgresql.org [mailto:pgsql-general-owner@postgresql.org] On Behalf Of Aly Dharshi
Sent: Wednesday, May 25, 2005 4:12 PM
To: pgsql-general@postgresql.org
Subject: [GENERAL] Compiling Postgresql 8.0.3 on Solaris 10
Hello Folks,
I hope that you are well. I tried compiling Postgres 8.0.3 on Solaris 10 and
encountered the following problem, has anybody else had problems. I know that I
have gcc3 installed and working, compiled apache with it as well as a small test
program. This is a Sun Blade 150 with about 1GB RAM.
[dharshi::02:03 PM::~/downloads/postgresql-8.0.3]$ ./configure
rm: remove conftest.sh (yes/no)? y
rm: remove conf29127 (yes/no)? y
rm: remove conf29127.file (yes/no)? y
rm: remove conftest.c (yes/no)? y
rm: remove confdefs.h (yes/no)? y
checking build system type... sparc-sun-solaris2.10
checking host system type... sparc-sun-solaris2.10
checking which template to use... solaris
checking whether to build with 64-bit integer date/time support... no checking whether NLS is wanted... no checking for
defaultport number... 5432 checking for C compiler default output... -rwx------ checking whether the C compiler
works...configure: error: cannot run C compiled programs. If you meant to cross compile, use `--host'.
rm: remove conftest.c (yes/no)? y
rm: remove confdefs.h (yes/no)? y
rm: remove a.out (yes/no)? y
Any help would be appreciated.
Cheers,
Aly.
---
Aly Dharshi
aly.dharshi@telus.net
"A good speech is like a good dress
that's short enough to be interesting
and long enough to cover the subject"
---------------------------(end of broadcast)---------------------------
TIP 6: Have you searched our list archives?
http://archives.postgresql.org