Thread: [Help] INSTALLing 7.02

[Help] INSTALLing 7.02

From
D Herssein
Date:
Hi,
    If anyone out there would be so kind as to point out what may be the
problem I would appreciate it immensely.
(PS - I tried without the --with-CC and got the same error at the same
place)

 ./configure --with-CC=/usr/opt/SUNWmd/sbin/cc
loading cache ./config.cache
checking host system type... sparc-sun-solaris2.7
checking echo setting...
checking setting template to... solaris_sparc_gcc
checking whether to support locale... disabled
checking whether to support cyrillic recode... disabled
checking whether to support multibyte... disabled
checking setting DEF_PGPORT... 5432
checking setting DEF_MAXBACKENDS... 32
checking setting USE_TCL... disabled
checking setting USE_PERL... disabled
checking setting USE_ODBC... disabled
checking setproctitle... disabled
checking setting ASSERT CHECKING... disabled
checking for gcc... /usr/opt/SUNWmd/sbin/cc
checking whether the C compiler (/usr/opt/SUNWmd/sbin/cc  ) works... no
configure: error: installation or configuration problem: C compiler
cannot create executables.

Re: [Help] INSTALLing 7.02

From
"Oliver Elphick"
Date:
D Herssein wrote:
  >Hi,
  >    If anyone out there would be so kind as to point out what may be the
  >problem I would appreciate it immensely.
  >(PS - I tried without the --with-CC and got the same error at the same
  >place)
  >
  > ./configure --with-CC=/usr/opt/SUNWmd/sbin/cc
...
  >checking for gcc... /usr/opt/SUNWmd/sbin/cc
  >checking whether the C compiler (/usr/opt/SUNWmd/sbin/cc  ) works... no
  >configure: error: installation or configuration problem: C compiler
  >cannot create executables.

Have you compiled anything on this machine before?  Sun and HP and no doubt
others used to supply a default compiler that could only be used for
building kernels; if you wanted a proper compiler you had to pay extra.

If that is your case, you need to download a binary of gcc for your
machine, or pay for the proper Sun compiler.


--
Oliver Elphick                                Oliver.Elphick@lfix.co.uk
Isle of Wight                              http://www.lfix.co.uk/oliver
PGP: 1024R/32B8FAA1: 97 EA 1D 47 72 3F 28 47  6B 7E 39 CC 56 E4 C1 47
GPG: 1024D/3E1D0C1C: CA12 09E0 E8D5 8870 5839  932A 614D 4C34 3E1D 0C1C
                 ========================================
     "I waited patiently for the LORD; and he inclined unto
      me, and heard my cry. He brought me up also out of an
      horrible pit, out of the miry clay, and set my feet
      upon a rock, and established my goings. And he hath
      put a new song in my mouth, even praise unto our God.
      Many shall see it, and fear, and shall trust in the
      LORD."                 Psalms 40:1-3