View previous topic :: View next topic |
Author |
Message |
TuLiss n00b
Joined: 10 Mar 2006 Posts: 31
|
Posted: Sat Mar 11, 2006 4:49 pm Post subject: Error: Unable to locate installed Perl libraries or Perl |
|
|
stage1-x86-2006.0.tar.bz2
emerge -e system
----------------------------------------------------------------------------------------------------------
Looks Good
Warning: prerequisite Test::Harness 2.03 not Found
`LICENSE` is not know MakeMaker parametr name.
Error: Unable to locate installed Perl libraries or Perl Source code.
(You get this message, because MakeMaker could not find "/usr/lib/perl5/5.8.7/i386-linux/CORE/perl.h")
make: **** NoTargets specified and no makefile founf. Stop.
!!! ERROR: perl-core/Test-Simple-0.62 failed
!!! Function perl-module_src_compile, Line 124, Exitcode 2
!!! complilation failed
---------------------------------------------------------------------------------------------------------------------------
CFLAGS="-O2 -march=pentium-m -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"
MAKEOPTS="-j2"
AUTOCLEAN="yes"
ACCEPT_KEYWORDS="~x86"
LINGUAS="en ru"
emerge libperl && emerge libperl && emerge system (not helping)
HELP |
|
Back to top |
|
|
cyrillic Watchman
Joined: 19 Feb 2003 Posts: 7313 Location: Groton, Massachusetts USA
|
Posted: Sat Mar 11, 2006 5:48 pm Post subject: Re: Error: Unable to locate installed Perl libraries or Perl |
|
|
TuLiss wrote: | stage1-x86-2006.0.tar.bz2
emerge -e system |
It looks like you are following the wrong stage1 instructions.
Take a look at this thread :
2005.1 stage 1 install guide |
|
Back to top |
|
|
TuLiss n00b
Joined: 10 Mar 2006 Posts: 31
|
Posted: Sat Mar 11, 2006 8:51 pm Post subject: Re: Error: Unable to locate installed Perl libraries or Perl |
|
|
cyrillic wrote: | TuLiss wrote: | stage1-x86-2006.0.tar.bz2
emerge -e system |
It looks like you are following the wrong stage1 instructions.
|
tar xvjpf stage1
tar xvjf portage
today i`m downloaded final portage, it wants to add USE="nptl nptlonly"
bootstrap.sh
but all in normal state here
emerge -e system
Shows an Error |
|
Back to top |
|
|
cyrillic Watchman
Joined: 19 Feb 2003 Posts: 7313 Location: Groton, Massachusetts USA
|
Posted: Sun Mar 12, 2006 12:14 am Post subject: |
|
|
"emerge -e system" is used for rebuilding once you have the base system installed. Dependencies are not calculated correctly if the base system is incomplete (as it would be during a stage1 installation).
When you are first installing the base system, you should use "emerge system". Then, if you want to rebuild it (with different CFLAGS, for example), you can use "emerge -e system". |
|
Back to top |
|
|
linuxdork n00b
Joined: 09 Apr 2005 Posts: 38
|
Posted: Sun Mar 12, 2006 3:08 am Post subject: |
|
|
not to hijack the thread but i'm having the same error in trying to emerge grub. There is not perl.h in that location. How can I resolve this? |
|
Back to top |
|
|
TuLiss n00b
Joined: 10 Mar 2006 Posts: 31
|
Posted: Sun Mar 12, 2006 9:05 am Post subject: |
|
|
cyrillic wrote: | "emerge -e system" is used for rebuilding once you have the base system installed. Dependencies are not calculated correctly if the base system is incomplete (as it would be during a stage1 installation).
When you are first installing the base system, you should use "emerge system". Then, if you want to rebuild it (with different CFLAGS, for example), you can use "emerge -e system". |
emerge system && emerge -e system ?
not helping )+ |
|
Back to top |
|
|
TuLiss n00b
Joined: 10 Mar 2006 Posts: 31
|
Posted: Sun Mar 12, 2006 10:06 am Post subject: |
|
|
emerge --resume --skipfirst world -ep > build.lst
emerge -O libperl
emerge -O perl
for I in $( cut -f2 -d "]" -s build.lst | cut -f1 -d "["); do emerge oneshot =$I; done
---------------------------------------------------------------------
emerge -O libperl #OK
emerge -O perl
[GDBM_File.o] Error 1
Leaving directory /var/tmp/portage/perl-5.8.8/work/perl-5.8.8/ect/GDBM_File
[lib/auto/GDBM_File/GDBM_File.so] Error 2
!!! Error: dev-lang/perl-5.8.8 failed
Call stack:
ebild.sh line 1933 Called dyn_compile
ebuld.sh line 971 Called src_compile |
|
Back to top |
|
|
TuLiss n00b
Joined: 10 Mar 2006 Posts: 31
|
Posted: Mon Mar 13, 2006 12:43 am Post subject: |
|
|
emerge -O libperl
emerge -O perl
emerge -O gdbm | or | `USE="-gdbm" emerge -O perl` | If it is not necessary GNU database libraries|
emerge -O shadow
emerge -e system
i`m shocked |
|
Back to top |
|
|
TuLiss n00b
Joined: 10 Mar 2006 Posts: 31
|
Posted: Thu Mar 16, 2006 9:37 pm Post subject: |
|
|
HI!
the i install gentoo from stage1,
executing
scripts/bootstrap.sh
all good here.
Next
emerge --sync
emerge -e system
here i have problems:
Quote: |
Warning: prerequisite Test::Harness 2.03 not Found
`LICENSE` is not know MakeMaker parametr name.
Error: Unable to locate installed Perl libraries or Perl Source code.
(You get this message, because MakeMaker could not find "/usr/lib/perl5/5.8.7/i386-linux/CORE/perl.h")
make: **** NoTargets specified and no makefile founf. Stop.
!!! ERROR: perl-core/Test-Simple-0.62 failed
!!! Function perl-module_src_compile, Line 124, Exitcode 2
!!! complilation failed |
Quote: |
>>> Source unpacked.
* Using ExtUtils::MakeMaker
Can't locate ExtUtils/MakeMaker.pm in @INC (@INC contains: /etc/perl /usr/lib/perl5/site_perl/5.8.6/i586-linux /usr/lib/perl5/site_perl/5.8.6 /usr/lib/perl5/site_perl /usr/perl5/vendor_perl/5.8.6/i586-linux /usr/lib/perl5/vendor_perl/5.8.6 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.6/i586-linux /usr/lib/perl5/5.8.6 /usr/local/lib/site_perl .) at Makefile.PL line 1.
BEGIN failed--compilation aborted at Makefile.PL line 1.
make: *** No targets specified and no makefile found. Stop.
!!! ERROR: dev-perl/Local-gettext-1.03 failed.
!!! Function perl-module_src_compile. Line 119. Exit code 2
!!! compilation failed
!!! If you need support, post topmost build error, NOT this status message. |
and so on...
I solved them with these commands:
emerge -O libperl
emerge -O gdbm
emerge -O perl
emerge -O shadow
emerge -e system
Why are they occured? |
|
Back to top |
|
|
cyrillic Watchman
Joined: 19 Feb 2003 Posts: 7313 Location: Groton, Massachusetts USA
|
Posted: Fri Mar 17, 2006 1:11 am Post subject: |
|
|
The way I usually do it is like this :
emerge --sync
scripts/bootstrap.sh
If there was an upgrade from gcc-3.3 -> gcc-3.4 or from gcc-3.4 -> gcc-4.0 , then you need to switch to the new compiler using gcc-config and run bootstrap.sh again.
Next :
Now your base system should be complete, and up to date.
If you want to rebuild your system with different flags, or if you just want to rebuild it for fun :
|
|
Back to top |
|
|
|