public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
From: oupegt@hotmail.com.nospam
To: help-gcc@gnu.org
Subject: Re: gcc:installation problem
Date: Mon, 11 Oct 1999 12:54:00 -0000	[thread overview]
Message-ID: <38023734.23266742@news.interpath.net> (raw)
In-Reply-To: <p53dvlr0w0.fsf@baynetworks.com>

I used "find" to locate cpp in the
/opt/local/lib/gcc-lib/sparc-sun-solaris2.6/2.7.2.2 directory so I
added a symlink /opt/local/lib2 to that directory. I then included the
symlink to my path and tried to configure again:

	sun1% ../gcc2951/configure
	Configuring for a sparc-sun-solaris2.6 host.
	Created "Makefile" in /data2/home/thomas/misc/compdir/gccod
	using "mh-frag"
	ld: fatal: file crt1.o: open failed: No such file or directory
	ld: fatal: file crti.o: open failed: No such file or directory
	ld: fatal: file crtbegin.o: open failed: No such file or
	directory
	ld: fatal: library -lgcc: not found
	ld: fatal: library -lgcc: not found
	ld: fatal: file crtend.o: open failed: No such file or
	directory
	ld: fatal: file crtn.o: open failed: No such file or directory
	ld: fatal: File processing errors. No output written to
	conftest
	*** The command 'gcc -o conftest -g -O2   conftest.c' failed.
	*** You must set the environment variable CC to a working
	compiler.


This is what I get when I type the command:

	sun1% /opt/local/bin/gcc -v -o conftest -g conftest.c
	gcc: conftest.c: No such file or directory
	gcc version 2.7.2.2

these are the permissions on my /opt/local directories:

-rw-r--r--   1 bin      bin          345 Feb 25  1997
README.gcc.solaris
drwxr-xr-x   2 bin      bin     bin
drwxr-xr-x   2 bin      bin     doc
drwxr-xr-x   2 bin      bin     include
drwxr-xr-x   2 bin      bin     info
drwxr-xr-x   3 bin      bin     lib
lrwxrwxrwx   1 root     other   lib2 ->
/opt/local/lib/gcc-lib/sparc-sun-solaris2.6/2.7.2.2
drwxr-xr-x   3 bin      bin     man
drwxr-xr-x   3 bin      bin     sparc-sun-solaris2.6

My path has been set up in the following way:

sun1% echo $path
/bin /usr/bin /etc /usr/local/bin /opt/local/bin /usr/ccs/bin
/opt/local/lib2 /usr/ccs/lib /usr/include /usr/ucb

The directory /opt/local/lib2 is just a link to
/opt/local/lib/gcc-lib/sparc-sun-solaris2.6/2.7.2.2:

	sun1% pwd
	/opt/local/lib/gcc-lib/sparc-sun-solaris2.6/2.7.2.2
	sun1% ls
	SYSCALLS.c.X	cc1plus		crtbegin.o	crtn.o
	libgcc.a	cc1	cppcrtend.o	gmon.o	
	libobjc.a		cc1obj		crt1.o		crti.o
	include       specs

	sun1% ls -ld .
	drwxr-xr-x   3 bin      bin          512 Oct  7 14:47 .

I am now completely confused.

Emile G. Thomas
to send e-mail, remove ".nospam" from the address.

On 08 Oct 1999 17:35:59 -0400, psmith@baynetworks.com (Paul D. Smith)
wrote:

>%% 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: oupegt@hotmail.com.nospam
To: help-gcc@gnu.org
Subject: Re: gcc:installation problem
Date: Sun, 31 Oct 1999 13:57:00 -0000	[thread overview]
Message-ID: <38023734.23266742@news.interpath.net> (raw)
Message-ID: <19991031135700.ePq4fdHHL8eJFW_IQCNNuvVYqcTkH2Pbm7jOZTb5dWk@z> (raw)
In-Reply-To: <p53dvlr0w0.fsf@baynetworks.com>

I used "find" to locate cpp in the
/opt/local/lib/gcc-lib/sparc-sun-solaris2.6/2.7.2.2 directory so I
added a symlink /opt/local/lib2 to that directory. I then included the
symlink to my path and tried to configure again:

	sun1% ../gcc2951/configure
	Configuring for a sparc-sun-solaris2.6 host.
	Created "Makefile" in /data2/home/thomas/misc/compdir/gccod
	using "mh-frag"
	ld: fatal: file crt1.o: open failed: No such file or directory
	ld: fatal: file crti.o: open failed: No such file or directory
	ld: fatal: file crtbegin.o: open failed: No such file or
	directory
	ld: fatal: library -lgcc: not found
	ld: fatal: library -lgcc: not found
	ld: fatal: file crtend.o: open failed: No such file or
	directory
	ld: fatal: file crtn.o: open failed: No such file or directory
	ld: fatal: File processing errors. No output written to
	conftest
	*** The command 'gcc -o conftest -g -O2   conftest.c' failed.
	*** You must set the environment variable CC to a working
	compiler.


This is what I get when I type the command:

	sun1% /opt/local/bin/gcc -v -o conftest -g conftest.c
	gcc: conftest.c: No such file or directory
	gcc version 2.7.2.2

these are the permissions on my /opt/local directories:

-rw-r--r--   1 bin      bin          345 Feb 25  1997
README.gcc.solaris
drwxr-xr-x   2 bin      bin     bin
drwxr-xr-x   2 bin      bin     doc
drwxr-xr-x   2 bin      bin     include
drwxr-xr-x   2 bin      bin     info
drwxr-xr-x   3 bin      bin     lib
lrwxrwxrwx   1 root     other   lib2 ->
/opt/local/lib/gcc-lib/sparc-sun-solaris2.6/2.7.2.2
drwxr-xr-x   3 bin      bin     man
drwxr-xr-x   3 bin      bin     sparc-sun-solaris2.6

My path has been set up in the following way:

sun1% echo $path
/bin /usr/bin /etc /usr/local/bin /opt/local/bin /usr/ccs/bin
/opt/local/lib2 /usr/ccs/lib /usr/include /usr/ucb

The directory /opt/local/lib2 is just a link to
/opt/local/lib/gcc-lib/sparc-sun-solaris2.6/2.7.2.2:

	sun1% pwd
	/opt/local/lib/gcc-lib/sparc-sun-solaris2.6/2.7.2.2
	sun1% ls
	SYSCALLS.c.X	cc1plus		crtbegin.o	crtn.o
	libgcc.a	cc1	cppcrtend.o	gmon.o	
	libobjc.a		cc1obj		crt1.o		crti.o
	include       specs

	sun1% ls -ld .
	drwxr-xr-x   3 bin      bin          512 Oct  7 14:47 .

I am now completely confused.

Emile G. Thomas
to send e-mail, remove ".nospam" from the address.

On 08 Oct 1999 17:35:59 -0400, psmith@baynetworks.com (Paul D. Smith)
wrote:

>%% 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-11 12:54 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
1999-10-11 12:54   ` oupegt [this message]
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=38023734.23266742@news.interpath.net \
    --to=oupegt@hotmail.com.nospam \
    --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).