public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] error when emerge -e system && etc-update && source /etc/profile
@ 2005-07-10  0:10 yance_kowara
  2005-07-10  2:38 ` Zac Medico
  2005-07-10 14:39 ` Edward Catmur
  0 siblings, 2 replies; 3+ messages in thread
From: yance_kowara @ 2005-07-10  0:10 UTC (permalink / raw
  To: gentoo-user

Hi all,

I am a gentoo noob. When I run the command emerge -e system && etc-update
&& source /etc/profile, the make reported the following error:

make[1]: Entering directory
`/var/tmp/portage/ncurses-5.4.20050319/work/narrowc/c++'
cd ../obj_s;   -I../c++ -I../include
-I/var/tmp/portage/ncurses-5.4.20050319/work/ncurses-5.4/c++
-DHAVE_CONFIG_H
-I/var/tmp/portage/ncurses-5.4.20050319/work/ncurses-5.4/c++/../include
-I. -I../include  -D_GNU_SOURCE -DNDEBUG -march=i686 -O3 -pipe -fPIC -c
/var/tmp/portage/ncurses-5.4.20050319/work/ncurses-5.4/c++/cursesf.cc
cd ../obj_s;   -I../c++ -I../include
-I/var/tmp/portage/ncurses-5.4.20050319/work/ncurses-5.4/c++
-DHAVE_CONFIG_H
-I/var/tmp/portage/ncurses-5.4.20050319/work/ncurses-5.4/c++/../include
-I. -I../include  -D_GNU_SOURCE -DNDEBUG -march=i686 -O3 -pipe -fPIC -c
/var/tmp/portage/ncurses-5.4.20050319/work/ncurses-5.4/c++/cursesm.cc
/bin/sh: line 1: -I../c++: No such file or directory
/bin/sh: line 1: -I../c++: No such file or directory
make[1]: *** [../obj_s/cursesf.o] Error 127
make[1]: *** Waiting for unfinished jobs....
make[1]: *** [../obj_s/cursesm.o] Error 127
make[1]: Leaving directory
'var/tmp/portage/ncurses-5.4.20050319/work/narrowc/c++'
make: *** [all] Error 2

!!! ERROR: sys-libs/ncurses-5.4.20050319 failed.
!!! Function do_compile, Line 94, Exitcode 2
!!! make failed

I am installing Gentoo using Knoppix 3.6 live CD. I can't use Gentoo
CD/DVD to bootup the system because it set the wrong screen resolution,
i.e the LCD only shows "out of range" error.

The box is an old Celeron 667Mhz.

Any pointer appreciated.

Thank you.

-- 
gentoo-user@gentoo.org mailing list



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

* Re: [gentoo-user] error when emerge -e system && etc-update && source /etc/profile
  2005-07-10  0:10 [gentoo-user] error when emerge -e system && etc-update && source /etc/profile yance_kowara
@ 2005-07-10  2:38 ` Zac Medico
  2005-07-10 14:39 ` Edward Catmur
  1 sibling, 0 replies; 3+ messages in thread
From: Zac Medico @ 2005-07-10  2:38 UTC (permalink / raw
  To: gentoo-user

yance_kowara@exemail.com.au wrote:
> Hi all,
> 
> I am a gentoo noob. When I run the command emerge -e system && etc-update
> && source /etc/profile, the make reported the following error:
> 
> make[1]: Entering directory
> `/var/tmp/portage/ncurses-5.4.20050319/work/narrowc/c++'
> cd ../obj_s;   -I../c++ -I../include
> -I/var/tmp/portage/ncurses-5.4.20050319/work/ncurses-5.4/c++
> -DHAVE_CONFIG_H
> -I/var/tmp/portage/ncurses-5.4.20050319/work/ncurses-5.4/c++/../include
> -I. -I../include  -D_GNU_SOURCE -DNDEBUG -march=i686 -O3 -pipe -fPIC -c
> /var/tmp/portage/ncurses-5.4.20050319/work/ncurses-5.4/c++/cursesf.cc
> cd ../obj_s;   -I../c++ -I../include
> -I/var/tmp/portage/ncurses-5.4.20050319/work/ncurses-5.4/c++
> -DHAVE_CONFIG_H
> -I/var/tmp/portage/ncurses-5.4.20050319/work/ncurses-5.4/c++/../include
> -I. -I../include  -D_GNU_SOURCE -DNDEBUG -march=i686 -O3 -pipe -fPIC -c
> /var/tmp/portage/ncurses-5.4.20050319/work/ncurses-5.4/c++/cursesm.cc
> /bin/sh: line 1: -I../c++: No such file or directory
> /bin/sh: line 1: -I../c++: No such file or directory
> make[1]: *** [../obj_s/cursesf.o] Error 127
> make[1]: *** Waiting for unfinished jobs....
> make[1]: *** [../obj_s/cursesm.o] Error 127
> make[1]: Leaving directory
> 'var/tmp/portage/ncurses-5.4.20050319/work/narrowc/c++'
> make: *** [all] Error 2
> 
> !!! ERROR: sys-libs/ncurses-5.4.20050319 failed.
> !!! Function do_compile, Line 94, Exitcode 2
> !!! make failed
> 

If your MAKEOPTS setting is to large it can lead to "No such file or directory" errors.  MAKEOPTS="-j1" is always safe.

As a side note, I'd recommend a lower level of optimization such as -02 or -Os.

> I am installing Gentoo using Knoppix 3.6 live CD. I can't use Gentoo
> CD/DVD to bootup the system because it set the wrong screen resolution,
> i.e the LCD only shows "out of range" error.
> 
> The box is an old Celeron 667Mhz.
> 
> Any pointer appreciated.
> 
> Thank you.
> 

Maybe you can use the gentoo-nofb option or pick a different VGA vesa mode before boot.

Zac
-- 
gentoo-user@gentoo.org mailing list



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

* Re: [gentoo-user] error when emerge -e system && etc-update && source /etc/profile
  2005-07-10  0:10 [gentoo-user] error when emerge -e system && etc-update && source /etc/profile yance_kowara
  2005-07-10  2:38 ` Zac Medico
@ 2005-07-10 14:39 ` Edward Catmur
  1 sibling, 0 replies; 3+ messages in thread
From: Edward Catmur @ 2005-07-10 14:39 UTC (permalink / raw
  To: gentoo-user

On Sun, 2005-07-10 at 10:10 +1000, yance_kowara@exemail.com.au wrote:
> Hi all,
> 
> I am a gentoo noob. When I run the command emerge -e system && etc-update
> && source /etc/profile, the make reported the following error:
> 
> make[1]: Entering directory
> `/var/tmp/portage/ncurses-5.4.20050319/work/narrowc/c++'
> cd ../obj_s;   -I../c++ -I../include
> -I/var/tmp/portage/ncurses-5.4.20050319/work/ncurses-5.4/c++
> -DHAVE_CONFIG_H
> -I/var/tmp/portage/ncurses-5.4.20050319/work/ncurses-5.4/c++/../include
> -I. -I../include  -D_GNU_SOURCE -DNDEBUG -march=i686 -O3 -pipe -fPIC -c
> /var/tmp/portage/ncurses-5.4.20050319/work/ncurses-5.4/c++/cursesf.cc
> cd ../obj_s;   -I../c++ -I../include
> -I/var/tmp/portage/ncurses-5.4.20050319/work/ncurses-5.4/c++
> -DHAVE_CONFIG_H
> -I/var/tmp/portage/ncurses-5.4.20050319/work/ncurses-5.4/c++/../include
> -I. -I../include  -D_GNU_SOURCE -DNDEBUG -march=i686 -O3 -pipe -fPIC -c
> /var/tmp/portage/ncurses-5.4.20050319/work/ncurses-5.4/c++/cursesm.cc
> /bin/sh: line 1: -I../c++: No such file or directory
> /bin/sh: line 1: -I../c++: No such file or directory
> make[1]: *** [../obj_s/cursesf.o] Error 127

The error is that 'gcc' is missing from the beginning of the compile
line. Difficult to say why that's happened, but I guess it has to do
with it being a Knoppix system. You might consider starting from a
different stage tarball.

Ed

-- 
gentoo-user@gentoo.org mailing list



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

end of thread, other threads:[~2005-07-10 14:44 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-07-10  0:10 [gentoo-user] error when emerge -e system && etc-update && source /etc/profile yance_kowara
2005-07-10  2:38 ` Zac Medico
2005-07-10 14:39 ` Edward Catmur

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox