Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
emerge cpufrequtils fails on command not found
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
manx801
n00b
n00b


Joined: 28 Apr 2006
Posts: 21

PostPosted: Thu Jul 13, 2006 9:06 pm    Post subject: emerge cpufrequtils fails on command not found Reply with quote

Upon emerging cpufrequtils I get the following error:

Code:

i386-pc-linux-gnu-ar cru .libs/libcpufreq.a  lib/cpufreq.o lib/proc.o lib/sysfs.o
/usr/bin/libtool: line 5966: i386-pc-linux-gnu-ar: command not found
make: *** [libcpufreq.la] Error 127

!!! ERROR: sys-power/cpufrequtils-001 failed.
Call stack:
  ebuild.sh, line 1539:   Called dyn_compile
  ebuild.sh, line 939:   Called src_compile
  cpufrequtils-001.ebuild, line 33:   Called die


Any ideas how I might fix this? Thanks.
Back to top
View user's profile Send private message
gami
Apprentice
Apprentice


Joined: 02 Jun 2006
Posts: 297

PostPosted: Fri Jul 14, 2006 6:19 am    Post subject: Reply with quote

"ar" should have been installed by sys-devel/binutils. Do you have /usr/bin/ar?
Code:
ls -l /usr/bin/ar

If it isn't there at all try re-emerging sys-devel/binutils.
Back to top
View user's profile Send private message
manx801
n00b
n00b


Joined: 28 Apr 2006
Posts: 21

PostPosted: Fri Jul 14, 2006 11:02 pm    Post subject: Reply with quote

ar seems to be installed. Here is the output:


Code:

lrwxrwxrwx 1 root root 20 Jul 10 23:46 /usr/bin/ar -> i686-pc-linux-gnu-ar
Back to top
View user's profile Send private message
gami
Apprentice
Apprentice


Joined: 02 Jun 2006
Posts: 297

PostPosted: Fri Jul 14, 2006 11:24 pm    Post subject: Reply with quote

Have you ever changed your CHOST from "i386-pc-linux-gnu" to "i686-pc-linux-gnu"? If yes, some tools such as libtool haven't recognized this yet.

Maybe these topics have some useful information for you.

The --oldarch option of fix_libtool_files.sh may be useful to you, too.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum