[EMAIL PROTECTED] 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