-
ndiswrapper problem
When I try to install it, I keep getting the same message.
Here's my terminal log:
[tyler@localhost tyler]$ tar zxvf ndiswrapper-0.10.tar.gz
ndiswrapper-0.10/
ndiswrapper-0.10/AUTHORS
ndiswrapper-0.10/ChangeLog
ndiswrapper-0.10/INSTALL
ndiswrapper-0.10/Makefile
ndiswrapper-0.10/README
ndiswrapper-0.10/ndiswrapper.spec.in
ndiswrapper-0.10/version
ndiswrapper-0.10/ndiswrapper.8
ndiswrapper-0.10/utils/
ndiswrapper-0.10/utils/Makefile
ndiswrapper-0.10/utils/ndiswrapper
ndiswrapper-0.10/utils/loadndisdriver.c
ndiswrapper-0.10/utils/ndiswrapper-buginfo
ndiswrapper-0.10/driver/
ndiswrapper-0.10/driver/Makefile
ndiswrapper-0.10/driver/coffpe.h
ndiswrapper-0.10/driver/ndiswrapper.h
ndiswrapper-0.10/driver/loader.c
ndiswrapper-0.10/driver/loader.h
ndiswrapper-0.10/driver/ndis.c
ndiswrapper-0.10/driver/ndis.h
ndiswrapper-0.10/driver/hal.c
ndiswrapper-0.10/driver/ntoskernel.c
ndiswrapper-0.10/driver/ntoskernel.h
ndiswrapper-0.10/driver/iw_ndis.c
ndiswrapper-0.10/driver/iw_ndis.h
ndiswrapper-0.10/driver/wrapper.c
ndiswrapper-0.10/driver/wrapper.h
ndiswrapper-0.10/driver/proc.c
ndiswrapper-0.10/driver/misc_funcs.c
ndiswrapper-0.10/driver/divdi3.c
ndiswrapper-0.10/driver/longlong.h
ndiswrapper-0.10/driver/usb.c
ndiswrapper-0.10/driver/usb.h
ndiswrapper-0.10/debian/
ndiswrapper-0.10/debian/Makefile
ndiswrapper-0.10/debian/control.modules
ndiswrapper-0.10/debian/control.utils
ndiswrapper-0.10/debian/copyright
ndiswrapper-0.10/debian/dirs.utils
ndiswrapper-0.10/debian/docs
ndiswrapper-0.10/debian/README.Debian
ndiswrapper-0.10/debian/rules
ndiswrapper-0.10/debian/changelog.template
ndiswrapper-0.10/debian/control.source
ndiswrapper-0.10/debian/postinst.modules
[tyler@localhost tyler]$ cd ndiswrapper-0.10
[tyler@localhost ndiswrapper-0.10]$ su
Password:
[root@localhost ndiswrapper-0.10]# make install
make -C driver install
make[1]: Entering directory `/home/tyler/ndiswrapper-0.10/driver'
make -C /lib/modules/2.6.8-1.521/build SUBDIRS=/home/tyler/ndiswrapper-0.10/driver \
NDISWRAPPER_VERSION=0.10 \
EXTRA_VERSION= modules
/lib/modules/2.6.8-1.521/build/scripts/gcc-version.sh: line 1: gcc: command not found
/lib/modules/2.6.8-1.521/build/scripts/gcc-version.sh: line 1: gcc: command not found
make[2]: Entering directory `/lib/modules/2.6.8-1.521/build'
CC [M] /home/tyler/ndiswrapper-0.10/driver/wrapper.o
/bin/sh: line 1: gcc: command not found
make[3]: *** [/home/tyler/ndiswrapper-0.10/driver/wrapper.o] Error 127
make[2]: *** [_module_/home/tyler/ndiswrapper-0.10/driver] Error 2
make[2]: Leaving directory `/lib/modules/2.6.8-1.521/build'
make[1]: *** [default] Error 2
make[1]: Leaving directory `/home/tyler/ndiswrapper-0.10/driver'
make: *** [install] Error 2
[root@localhost ndiswrapper-0.10]#
----
I have no clue what to do, I even have the newest kernel and nothing. Help plz
-
maybe do ./configure first?
just a thought
-lakerdonald
-
Could you elaborate on that please?
Like, do I type ./configure ndiswrapper-0.10
or what?
Sorry, I just started using Linux Thursday.
-
use the cd command (Change Directory) to the directory ndiswrapper has been extracted to (ex /home/qub333/ndiswrapper) and type ./configure then make then make install
-
[tyler@localhost tyler]$ cd ndiswrapper-0.10
[tyler@localhost ndiswrapper-0.10]$ ./configure
bash: ./configure: No such file or directory
---
I extracted it, and than changed to the directory it was in like above. Than I did ./configure adn it said no file or directory. WTF?
-
well i think i see the problem: according to the output of make install, you don't have gcc (which is a common c-compiler installed) you need to have a compiler installed to compile programs from source, so i suggest you go download a pre-compiled binary of gcc (like an rpm) and try ndiswrapper again
let me know if this solves anything and feel free to let me know if you have any other questions!
good luck
lakerdonald
-
yup yup i agree, in which case, you need to go to the install packages (somewhere) in the menu ... i used to have fedora core 2. and in there you will need to install the developement packages. make sure you have all your cds at the ready! :)
just make sure you go into the dir and type:
./configure (sometimes the file doesnt exist which is fine, just skip)
make
su (if not already su)
make install
just to edit:
looking at the output of your tar extraction configure DOESNT exist in which case, type make to use the Makefile. You should always read the INSTALL file just to make sure!!!!
gedit INSTALL (just in case you didnt know! ;))
--Christopher Guyatt
-
tyrannicide:or you could just download gcc from the internet as an rpm
chris:with nidswrapper there's no ./configure or make, just fyi
-
yeah u could do that too hehe, yeah sorry i just edited my post after realising that! :)
--Christopher Guyatt
-
actually, a safer way to do that would be to do
Code:
cat INSTALL | less
or
cat INSTALL | more
or
less INSTALL
so you don't end up acidentally messing something up, plus it runs quicker ;)