Обсуждение: PostgreSQL 6.5 on Solaris 2.6 successfully installed

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

PostgreSQL 6.5 on Solaris 2.6 successfully installed

От
Reiner Schulz
Дата:
Whoever has had problems, here's a general advice:

Make sure the dir containing Sun's c compiler and linker precedes any
other dir containing any other c compiler (such as gcc) in your PATH
environment variable.
Otherwise you're doomed to fail even if you use the solaris_sparc_cc
template. It's NOT a guarantee that configure really picks Sun's cc and
linker.
If you pick the right compiler, but the wrong linker it won't compile.
In my case it stopped building libpq.
If you pick the wrong compiler (gcc) and the right linker it will
compile, but i experienced problems with tcp/ip connections (setsockopt
errno=22) afterwards.

reiner
--
(*)->[]->()->[]->(**)->[]->()->[]->(*)->[]->()->[]->()->[]->()->[]->()->[]
                     3                2
(Humboldt University Berlin, Germany)->[]->(University of Maryland, USA)

Re: [PORTS] PostgreSQL 6.5 on Solaris 2.6 successfully installed

От
Bruce Momjian
Дата:
Please supply a context diff against the Solaris FAQ, or write to the
Solaris FAQ maintainer.

> Whoever has had problems, here's a general advice:
>
> Make sure the dir containing Sun's c compiler and linker precedes any
> other dir containing any other c compiler (such as gcc) in your PATH
> environment variable.
> Otherwise you're doomed to fail even if you use the solaris_sparc_cc
> template. It's NOT a guarantee that configure really picks Sun's cc and
> linker.
> If you pick the right compiler, but the wrong linker it won't compile.
> In my case it stopped building libpq.
> If you pick the wrong compiler (gcc) and the right linker it will
> compile, but i experienced problems with tcp/ip connections (setsockopt
> errno=22) afterwards.
>
> reiner
> --
> (*)->[]->()->[]->(**)->[]->()->[]->(*)->[]->()->[]->()->[]->()->[]->()->[]
>                      3                2
> (Humboldt University Berlin, Germany)->[]->(University of Maryland, USA)
>
> ************
>
>


--
  Bruce Momjian                        |  http://www.op.net/~candle
  maillist@candle.pha.pa.us            |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026