public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
From: psmith@baynetworks.com (Paul D. Smith)
To: help-gcc@gnu.org
Subject: Re: gcc:installation problem
Date: Fri, 08 Oct 1999 14:43:00 -0000	[thread overview]
Message-ID: <p53dvlr0w0.fsf@baynetworks.com> (raw)
In-Reply-To: <37fe39f8.27851908@news.interpath.net>

%% oupegt@hotmail.com.nospam writes:

  o> I'm running a Solaris 2.6 on a Sparc20 and I want to install
  o> gcc-2.9.5.1 from the source code on my machine. I have installed
  o> gcc-2.7.2 in my /opt/local/bin directory from a package I got from
  o> sunfreeware.com. When I run the configure command though, I keep
  o> getting an error.

  o> gcc: installation problem, cannot exec `cpp': No such file or
  o> directory
  o> *** The command '/opt/local/bin/gcc -o conftest -g   conftest.c'
  o> failed.
  o> *** You must set the environment variable CC to a working compiler.

Run this:

  $ /opt/local/bin/gcc -v -o conftest -g conftest.c

It'll print the pathname of the cpp it's trying to execute; it should be
in /opt/local/lib/gcc-lib/... somewhere.

Wherever it is, make sure that exists, the directories are
readable/executable by you, etc. etc.

-- 
-------------------------------------------------------------------------------
 Paul D. Smith <psmith@baynetworks.com>         Network Management Development
 "Please remain calm...I may be mad, but I am a professional." --Mad Scientist
-------------------------------------------------------------------------------
   These are my opinions---Nortel Networks takes no responsibility for them.

WARNING: multiple messages have this Message-ID
From: psmith@baynetworks.com (Paul D. Smith)
To: help-gcc@gnu.org
Subject: Re: gcc:installation problem
Date: Sun, 31 Oct 1999 13:57:00 -0000	[thread overview]
Message-ID: <p53dvlr0w0.fsf@baynetworks.com> (raw)
Message-ID: <19991031135700.RNi-j4PD8s51h4-0IhCjiRgDFnSw51NN3GbjAfliNO0@z> (raw)
In-Reply-To: <37fe39f8.27851908@news.interpath.net>

%% oupegt@hotmail.com.nospam writes:

  o> I'm running a Solaris 2.6 on a Sparc20 and I want to install
  o> gcc-2.9.5.1 from the source code on my machine. I have installed
  o> gcc-2.7.2 in my /opt/local/bin directory from a package I got from
  o> sunfreeware.com. When I run the configure command though, I keep
  o> getting an error.

  o> gcc: installation problem, cannot exec `cpp': No such file or
  o> directory
  o> *** The command '/opt/local/bin/gcc -o conftest -g   conftest.c'
  o> failed.
  o> *** You must set the environment variable CC to a working compiler.

Run this:

  $ /opt/local/bin/gcc -v -o conftest -g conftest.c

It'll print the pathname of the cpp it's trying to execute; it should be
in /opt/local/lib/gcc-lib/... somewhere.

Wherever it is, make sure that exists, the directories are
readable/executable by you, etc. etc.

-- 
-------------------------------------------------------------------------------
 Paul D. Smith <psmith@baynetworks.com>         Network Management Development
 "Please remain calm...I may be mad, but I am a professional." --Mad Scientist
-------------------------------------------------------------------------------
   These are my opinions---Nortel Networks takes no responsibility for them.

  reply	other threads:[~1999-10-08 14:43 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-10-08 11:58 oupegt
1999-10-08 14:43 ` Paul D. Smith [this message]
1999-10-11 12:54   ` oupegt
1999-10-11 14:12     ` Paul D. Smith
1999-10-12 10:35       ` gcc:installation problem -- now make bootstrap fail oupegt
1999-10-12 12:29         ` Paul D. Smith
1999-10-14  6:41           ` oupegt
1999-10-31 13:57             ` oupegt
1999-10-31 13:57           ` Paul D. Smith
1999-10-31 13:57         ` oupegt
1999-10-31 13:57       ` gcc:installation problem Paul D. Smith
1999-10-31 13:57     ` oupegt
1999-10-31 13:57   ` Paul D. Smith
1999-10-31 13:57 ` oupegt
2000-04-05 23:22 gcc installation problem Gilad Even-Tzur
2000-10-20  1:34 GCC Installation Problem TEO Poh Kwee
2001-04-05 18:08 GCC Installation problem kyamada
2001-04-05 19:05 ` Alexandre Oliva
2002-06-30 21:11 gcc installation problem yt wang
     [not found] <616BE6A276E3714788D2AC35C40CD18D6BFC5C@whale.softwire.co.uk>
2002-07-01  1:01 ` Rupert Wood
     [not found] <002801c36407$3ff5fc20$2c7b2e80@ee271dpc5>
2003-08-16 15:08 ` Gcc " Andrew Pinski
2003-08-16 15:14 Long Fei
     [not found] <002a01c36409$72d08fa0$2c7b2e80@ee271dpc5>
2003-08-16 15:30 ` Andrew Pinski

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=p53dvlr0w0.fsf@baynetworks.com \
    --to=psmith@baynetworks.com \
    --cc=help-gcc@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).