public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* i need help
@ 2003-10-10  6:38 Stefanus Eddy
  2003-10-10  8:50 ` Erik Christiansen
  0 siblings, 1 reply; 5+ messages in thread
From: Stefanus Eddy @ 2003-10-10  6:38 UTC (permalink / raw)
  To: gcc-help

dear all,

i'm new bie in linux RH 9.0 (shrike) with kernel 2.4.20-20.9. i want to 
install new GNU to my linux box. but before install new gnu version in 
my linux box already have GNU coming from RH CD-ROM. i'm download GNU 
new version with CVS, and put in directory /gcc-3.3.1/gcc-3/gcc and 
running ./configure and get this error below

[root@internet gcc]# ./configure
loading cache ./config.cache
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking build system type... i686-pc-linux-gnu
checking for a BSD compatible install... /usr/bin/install -c
gcc: installation problem, cannot exec `cc1': No such file or directory
gcc: installation problem, cannot exec `cc1': No such file or directory
*** The command 'gcc -o conftest -g   conftest.c' failed.
*** You must set the environment variable CC to a working compiler.
[root@internet gcc]#


can someone help me????.


thanks advance


regards,



eddy

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: i need help
  2003-10-10  6:38 i need help Stefanus Eddy
@ 2003-10-10  8:50 ` Erik Christiansen
  2003-10-13  5:05   ` GCC 3.3.1 error Stefanus Eddy
  0 siblings, 1 reply; 5+ messages in thread
From: Erik Christiansen @ 2003-10-10  8:50 UTC (permalink / raw)
  To: Stefanus Eddy; +Cc: gcc-help

On Fri, Oct 10, 2003 at 01:39:15PM +0700, Stefanus Eddy wrote:
> [root@internet gcc]# ./configure
> loading cache ./config.cache

   Try deleting config.cache. This may obviate the later problem, since
configure will then take a fresh look at what you have on the box,
rather than try to save time by remembering old results.

> can someone help me????.

   Yes, even to the extent of offering some useful hints:

 o Be patient. Repeat posting within minutes only clutters the world's
   inboxes. (And may irritate those whose help is sought.)

 o A subject line which relates to the specific problem is more likely
   to induce an informed reader to spend time on your problem.

Good luck,
Erik

^ permalink raw reply	[flat|nested] 5+ messages in thread

* GCC 3.3.1 error
  2003-10-10  8:50 ` Erik Christiansen
@ 2003-10-13  5:05   ` Stefanus Eddy
  2003-10-13 12:34     ` Claudio Bley
  0 siblings, 1 reply; 5+ messages in thread
From: Stefanus Eddy @ 2003-10-13  5:05 UTC (permalink / raw)
  To: gcc-help; +Cc: erik

i have problem when upgrade from gcc-3.2.2 to gcc-3.3.1. and now i can't 
compile any source code with gcc. what is wrong???. when i try to 
compile any source code example : xbase project using "./configure and 
make" i gets error like this:
//
[root@internet clip]# make
[ -d charsets ] || ln -s screen/install/charsets .
gcc -Wall -I. -I./include -g    -c lex.hash.c
cc1: Unrecognized option `-D__GNUC__=3'
cc1: Unrecognized option `-D__GNUC_MINOR__=3'
cc1: Unrecognized option `-D__GNUC_PATCHLEVEL__=1'
cc1: Unrecognized option `-auxbase'
cc1: lex.hash: No such file or directory
make: *** [lex.hash.o] Error 1
//

i only upgrade  rpm package in list below:
[root@internet root]# rpm -qa gcc*
gcc-g77-3.3.1-6
gcc-c++-3.3.1-6
gcc-objc-3.3.1-6
gcc-gnat-3.3.1-6
gcc-java-3.3.1-6
gcc-3.3.1-6

and my linux version is: RH 9.0 (shrike)
[root@internet root]# uname -r
2.4.20-20.9
[root@internet root]# uname -a
Linux internet.zebranusantara.co.id 2.4.20-20.9 #1 Mon Aug 18 11:45:58 
EDT 2003
i686 i686 i386 GNU/Linux

i find "cc1" in folder : /usr/lib/gcc-lib/i386-redhat-linux7/2.96. why 
not in folder "/usr/lib/gcc-lib/i386-redhat-linux/3.3.1" ???

what the bests solution??? or have any idea???

 
thanks advance


regards,


eddy


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: GCC 3.3.1 error
  2003-10-13  5:05   ` GCC 3.3.1 error Stefanus Eddy
@ 2003-10-13 12:34     ` Claudio Bley
  0 siblings, 0 replies; 5+ messages in thread
From: Claudio Bley @ 2003-10-13 12:34 UTC (permalink / raw)
  To: Stefanus Eddy; +Cc: gcc-help, erik

On Mon, Oct 13, 2003 at 12:06:07PM +0700, Stefanus Eddy wrote:
> i have problem when upgrade from gcc-3.2.2 to gcc-3.3.1. and now i can't 
> compile any source code with gcc. what is wrong???. when i try to 
> compile any source code example : xbase project using "./configure and 
> make" i gets error like this:
> //
> [root@internet clip]# make
> [ -d charsets ] || ln -s screen/install/charsets .
> gcc -Wall -I. -I./include -g    -c lex.hash.c
> cc1: Unrecognized option `-D__GNUC__=3'
> cc1: Unrecognized option `-D__GNUC_MINOR__=3'
> cc1: Unrecognized option `-D__GNUC_PATCHLEVEL__=1'
> cc1: Unrecognized option `-auxbase'
> cc1: lex.hash: No such file or directory
> make: *** [lex.hash.o] Error 1
> //
> 
> i only upgrade  rpm package in list below:
> [root@internet root]# rpm -qa gcc*
> gcc-g77-3.3.1-6
> gcc-c++-3.3.1-6
> gcc-objc-3.3.1-6
> gcc-gnat-3.3.1-6
> gcc-java-3.3.1-6
> gcc-3.3.1-6
> 
> and my linux version is: RH 9.0 (shrike)
> [root@internet root]# uname -r
> 2.4.20-20.9
> [root@internet root]# uname -a
> Linux internet.zebranusantara.co.id 2.4.20-20.9 #1 Mon Aug 18 11:45:58 
> EDT 2003
> i686 i686 i386 GNU/Linux
> 
> i find "cc1" in folder : /usr/lib/gcc-lib/i386-redhat-linux7/2.96. why 
> not in folder "/usr/lib/gcc-lib/i386-redhat-linux/3.3.1" ???
> 
> what the bests solution??? or have any idea???

This seems to be a packaging error of the vendor of the RPMs. As 
http://rpmfind.net/linux/RPM/rawhide/1.0/i386/RedHat/RPMS/gcc-3.3.1-6.i386.html
states:

* Wed Jul 09 2003 Jakub Jelinek  <jakub@redhat.com> 3.3-13
 move cc1 to cpp package, so that cpp can work even when gcc
     and devel packages aren't installed

you apparently would need to install / upgrade to cpp-3.3.1 also. Of course
when gcc-3.3.1 can't work without the correct cpp package installed it should
depend on even this cpp package. You may want to report that to Redhat as a
bug. 

HTH
-- 
Claudio Bley                                 ASCII ribbon campaign (")
Debian GNU/Linux user                         - against HTML email  X 
http://www.cs.uni-magdeburg.de/~bley/                     & vCards / \

^ permalink raw reply	[flat|nested] 5+ messages in thread

* i need help
@ 2003-10-10  6:53 Stefanus Eddy
  0 siblings, 0 replies; 5+ messages in thread
From: Stefanus Eddy @ 2003-10-10  6:53 UTC (permalink / raw)
  To: gcc-help

dear all,

i'm new bie in linux RH 9.0 (shrike) with kernel 2.4.20-20.9. i want to
install new GNU to my linux box. but before install new gnu version in
my linux box already have GNU coming from RH CD-ROM. i'm download GNU
new version with CVS, and put in directory /gcc-3.3.1/gcc-3/gcc and
running ./configure and get this error below

[root@internet gcc]# ./configure
loading cache ./config.cache
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking build system type... i686-pc-linux-gnu
checking for a BSD compatible install... /usr/bin/install -c
gcc: installation problem, cannot exec `cc1': No such file or directory
gcc: installation problem, cannot exec `cc1': No such file or directory
*** The command 'gcc -o conftest -g   conftest.c' failed.
*** You must set the environment variable CC to a working compiler.
[root@internet gcc]#


can someone help me????.


thanks advance


regards,


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2003-10-13 12:34 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-10-10  6:38 i need help Stefanus Eddy
2003-10-10  8:50 ` Erik Christiansen
2003-10-13  5:05   ` GCC 3.3.1 error Stefanus Eddy
2003-10-13 12:34     ` Claudio Bley
2003-10-10  6:53 i need help Stefanus Eddy

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).