No make command in Lubuntu 12.04
Compiling a driver for a wireless lan usb adapter fails with;
bash make command not found
Is this an error or is there an equivalent command for lubuntu?
The PC is an emachines EL1200
here is the script install.sh, from the cd supplied :
#!/bin/bash
# Writed by Realtek : willisTang
# September, 1 2010 v 1.0.0
#######
echo " Auto install for 8192cu"
echo " September, 1 2010 v 1.0.0"
cd driver
Drvfoulder=`ls |grep .tar.gz`
tar zxvf $Drvfoulder
Drvfoulder=`ls |grep -iv '.tar.gz'`
echo "$Drvfoulder"
cd $Drvfoulder
echo "Authentication requested [root] for make driver:"
if [ "`uname -r |grep fc`" == " " ]; then
sudo su -c make; Error=$?
else
su -c make; Error=$?
fi
module=`ls |grep -i 'ko'`
if [ "$Error" != 0 ];then
echo "Compile make driver error: $Error, Please check error Mesg"
read REPLY
exit
else
echo "Compile make driver ok!!"
fi
if [ "`uname -r |grep fc`" == " " ]; then
echo "Authentication requested [root] for remove driver:"
sudo su -c "rmmod $module"
echo "Authentication requested [root] for insert driver:"
sudo su -c "insmod $module"
echo "Authentication requested [root] for install driver:"
sudo su -c "make install"
else
echo "Authentication requested [root] for remove driver:"
su -c "rmmod $module"
echo "Authentication requested [root] for insert driver:"
su -c "insmod $module"
echo "Authentication requested [root] for install driver:"
su -c "make install"
fi
echo "######
echo "The Setup Script is completed !"
echo "Plese Press any keyword to exit."
read REPLY
echo "######
it works in ubuntu, from a review of the product:
For info, anyone using Ubuntu ( in this case 10.10) the CD has a Linux folder. I moved this to my desktop as you must always enable eXecution permissions, changed into the Linux folder, issue the command to change run permission (sudo chmod +x ./install.sh) that's lower case i by the way. Then you execute with (sudo ./install.sh) - takes about 2 mins to install. You should then notice the wireless light flashing on it and your wireless icon alive and kicking. Total time to configure and get running about 3 mins. Nice little unit, about 1 cm sticks out so not too bad at all. looks speedy and i'm sure it will do the job.
Question information
- Language:
- English Edit question
- Status:
- Solved
- Assignee:
- No assignee Edit question
- Solved by:
- Warren Hill
- Solved:
- Last query:
- Last reply: