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)

Search Discussions

  • Bruce Momjian at Sep 30, 1999 at 6:16 pm
    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

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouppgsql-ports @
categoriespostgresql
postedSep 30, '99 at 1:34p
activeSep 30, '99 at 6:16p
posts2
users2
websitepostgresql.org
irc#postgresql

2 users in discussion

Reiner Schulz: 1 post Bruce Momjian: 1 post

People

Translate

site design / logo © 2022 Grokbase