View previous topic :: View next topic |
Author |
Message |
SAngeli l33t
Joined: 16 Apr 2004 Posts: 904 Location: Italy
|
Posted: Fri Mar 11, 2005 7:55 pm Post subject: !!! ERROR: dev-lang/perl-5.8.5-r5 failed |
|
|
Hi,
Prior to installing kde, I did the following:
- First I did emerge --update --deep --newuse world with emerge --depclean and revdep-rebuild. ll whent well.
- Then, I did a emerge sync, system, and now world and 1/2 way through I got stuck here:
Code: | Extracting lib.pm (with variable substitutions)
AutoSplitting perl library
./miniperl -Ilib -e 'use AutoSplit; \
autosplit_lib_modules(@ARGV)' lib/*.pm
Errno architecture (i686-linux-2.6.9-gentoo-r1) does not match executable architecture (i686-linux-2.6.10-gentoo-r6) at /usr/lib/perl5/5.8.5/i686-linux/Errno.pm line 11.
Compilation failed in require at lib/File/Path.pm line 166.
BEGIN failed--compilation aborted at lib/File/Path.pm line 166.
Compilation failed in require at lib/AutoSplit.pm line 8.
BEGIN failed--compilation aborted at lib/AutoSplit.pm line 8.
Compilation failed in require at -e line 1.
BEGIN failed--compilation aborted at -e line 1.
make: *** [preplibrary] Error 9
!!! ERROR: dev-lang/perl-5.8.5-r5 failed.
!!! Function src_compile, Line 246, Exitcode 2
!!! Unable to make
!!! If you need support, post the topmost build error, NOT this status message. |
I tried to compile perl by itself but I got the same error.
I could not figure out what is causing this or what the error is.
Can anyone tell me what is causing this and most important how to fix it?
Thank you,
Spiro |
|
Back to top |
|
|
AlterEgo Veteran
Joined: 25 Apr 2002 Posts: 1619
|
|
Back to top |
|
|
SAngeli l33t
Joined: 16 Apr 2004 Posts: 904 Location: Italy
|
Posted: Fri Mar 11, 2005 9:10 pm Post subject: |
|
|
Hi,
ha, this makes me fell better, thinking that I did not screw-up but that something else is chasing my PC.
Now, here is the last comment to the but list:
Quote: | The problem is the patch uses ENOENT on line 166, which requires Errno.pm. Since that hasn't been built when AutoSplit uses File::Path, it ends up using the already installed version of it. This checks it's hardcoded $Config{'osver'} with the current one, failing if you previously installed perl while using a different kernel. I'm not sure if you can build Errno.pm before it gets to this point, so really the only option is to not use ENOENT. |
Now, I bet the only way to get away with this is "the only option is to not use ENOENT"
But, how do I translate this in actions? And, is this is?
Please AlterEgo, if you could explain what to do next because I do not have a feeling for this. Do I have to edit some files and remove ENOENT? Please advice...
Thank you,
Spiro |
|
Back to top |
|
|
WladyX Guru
Joined: 25 Nov 2004 Posts: 503 Location: Romania
|
Posted: Fri Mar 11, 2005 11:05 pm Post subject: |
|
|
I edited the file and changed the kernel version, before i saw this thread.Anyway it bugged me big time!! _________________ We are not alone. |
|
Back to top |
|
|
SAngeli l33t
Joined: 16 Apr 2004 Posts: 904 Location: Italy
|
Posted: Sat Mar 12, 2005 7:02 am Post subject: |
|
|
Hi,
I did edit this file /usr/lib/perl5/5.8.5/i686-linux/Errno.pm and modified the Linux version to my current one (retrieved by uname -a).
It now compiles fine.
Thank you for your always courtesy and prompt support.
Spiro |
|
Back to top |
|
|
kallamej Administrator
Joined: 27 Jun 2003 Posts: 4975 Location: Gothenburg, Sweden
|
|
Back to top |
|
|
|