Guest rollingrock Posted May 6, 2003 Report Share Posted May 6, 2003 So I'm trying to build a patched CVS alsa and throughout the output I get a lot of: ./configure: line 1: expr: command not found and it finally craps out on: failed (probably missing /lib/modules/2.4.21-0.13mdk/build/include/linux/version.h) So I assume that there is a prob with expr (not installed maybe?) But I seem to have all of the other related things like test. Any idea what package it is in? Thanks! Edit: Forgot to mention, /lib/modules/.../version.h is present Quote Link to comment Share on other sites More sharing options...
Guest rollingrock Posted May 6, 2003 Report Share Posted May 6, 2003 well I found that _every_ other command in gnu coreutils/shellutils was working so I broke down and just copied the damn thing from another system and it appears to be working, although it would still be nice to know wtf happened to it on my system if anyone has any ideas Quote Link to comment Share on other sites More sharing options...
bvc Posted May 7, 2003 Report Share Posted May 7, 2003 Welcome! maybe the version of coreutils???? That would be strange though. version.h You need kernel-source installed. When you get to "build" in /lib/modules/kernel<version>/"build"...it's a symlink to /usr/src/linux<version>....the kernel-source. I have a feeling once you install the kernel-source the "expr" error will stop...but I'm guessing here. Quote Link to comment Share on other sites More sharing options...
MottS Posted May 7, 2003 Report Share Posted May 7, 2003 Hi [gd@localhost gd]$ which expr /usr/bin/expr [gd@localhost gd]$ rpm -qf /usr/bin/expr sh-utils-2.0.15-2mdk rollingrock, you have to install sh-utils to get the 'expr' command. MOttS Quote Link to comment Share on other sites More sharing options...
bvc Posted May 7, 2003 Report Share Posted May 7, 2003 :shock: [bvc@localhost bvc]$ urpmf exprcoreutils:/usr/bin/expr [bvc@localhost bvc]$ rpm -qf /usr/bin/expr coreutils-4.5.7-1mdk [bvc@localhost bvc]$ not on mandrake :wink: Quote Link to comment Share on other sites More sharing options...
MottS Posted May 7, 2003 Report Share Posted May 7, 2003 not on mandrake :wink: :roll: Login to my server running MDK 9.0 from a machine running MAC OS X: [Ordinateur-de-ViC-BoiVin:~] vic% ssh gd@192.168.1.1 gd@192.168.1.1's password: [gd@localhost gd]$ uname -a Linux localhost.localdomain 2.4.19-16mdksmp #1 SMP Fri Sep 20 16:08:37 CEST 2002 i686 unknown unknown GNU/Linux [gd@localhost gd]$ su Password: [root@localhost gd]# which expr /usr/bin/expr [root@localhost gd]# rpm -qf /usr/bin/expr sh-utils-2.0.15-2mdk [root@localhost gd]# exit exit [gd@localhost gd]$ exit logout Connection to 192.168.1.1 closed. [Ordinateur-de-ViC-BoiVin:~] vic% uname -a Darwin Ordinateur-de-ViC-BoiVin.local. 6.4 Darwin Kernel Version 6.4: Wed Jan 29 18:50:42 PST 2003; root:xnu/xnu-344.26.obj~1/RELEASE_PPC Power Macintosh powerpc [Ordinateur-de-ViC-BoiVin:~] vic% Weird... MOttS Quote Link to comment Share on other sites More sharing options...
bvc Posted May 7, 2003 Report Share Posted May 7, 2003 :? I'm in ML9.1....interesting :? Quote Link to comment Share on other sites More sharing options...
Guest rollingrock Posted May 7, 2003 Report Share Posted May 7, 2003 Well I actually already had the kernel sources installed and it appears that the coreutils rpm But here is something interesting: [root@localhost root]# rpm -q coreutils coreutils-4.5.7-1mdk [root@localhost root]# rpm --verify coreutils missing /usr/bin/expr missing /usr/bin/printf missing /usr/bin/test Something is rotten in the state of localhost... So I did [root@localhost root]# rpm -i --replacepkgs coreutils-4.5.7-1mdk.i586.rpm [root@localhost root]# rpm --verify coreutils Everyone appears happy now :) Interestingly enough, this also fixed problems I had building koffice 1.3beta. Although I fear my hard drive might be going to that big raid in the sky now. Doing rpm --verify --all turned up _alot_ of missing files. I think I'm gonna just wipe it and start anew when I upgrade my hardware. Thanks! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.