$ sudo make ~/compat_wireless_make_error.txt /bin/sh: line 0: test: -le: unary operator expected /bin/sh: line 0: test: -ge: unary operator expected /bin/sh: line 0: test: -le: unary operator expected /bin/sh: line 0: test: -le: unary operator expected /bin/sh: line 0: test: -le: unary operator expected make: Warning: File `Makefile' has modification time 4e+04 s in the future make: *** /lib/modules/2.6.27.5-117.fc10.i686/build: No such file or directory. Stop. make: *** [modules] Error 2
make error with compat wireless
Started by
ruckus2112
, Jul 17 2009 12:20 PM
3 replies to this topic
#1
Posted 17 July 2009 - 12:20 PM
Downloaded the compat-wireless source into /usr/src, but when I go into the directory to run make I get this error. I googled it and the common response to it was to install kernel headers (which I did). Anyone have any ideas?
#2
Posted 01 August 2009 - 12:46 AM
Downloaded the compat-wireless source into /usr/src, but when I go into the directory to run make I get this error. I googled it and the common response to it was to install kernel headers (which I did). Anyone have any ideas?
$ sudo make ~/compat_wireless_make_error.txt /bin/sh: line 0: test: -le: unary operator expected /bin/sh: line 0: test: -ge: unary operator expected /bin/sh: line 0: test: -le: unary operator expected /bin/sh: line 0: test: -le: unary operator expected /bin/sh: line 0: test: -le: unary operator expected make: Warning: File `Makefile' has modification time 4e+04 s in the future make: *** /lib/modules/2.6.27.5-117.fc10.i686/build: No such file or directory. Stop. make: *** [modules] Error 2
What *nix are you running?
on most posix compliant systems you have to run ./configure before make
http://tldp.org/LDP/LG/current/smith.html
#3
Posted 01 August 2009 - 03:42 AM
Yes, run configure. It looks like it's setting your shell as /bin/sh, when it should be using /bin/bash.
#4
Posted 05 August 2009 - 12:38 PM
you also shouldn't be running make as root(sudo).
BinRev is hosted by the great people at Lunarpages!











