Page 1 of 2
Comando Make non trovato
Posted: Thu Mar 23, 2006 10:54 am
by dennyxx82
ho necessità di installare dei driver attraverso terminale, fra le istruzioni mi chiede di digitare "make", però mi dice che il comando non è stato trovato, come posso fare a risolvere il problema
Posted: Thu Mar 23, 2006 8:13 pm
by flashcream
probabilmente è make install.... e si fa da root
quindi
make
sudo make install
anche preceduto da ./configure o da cd
se dai qualche indicazione in più si controlla
per esempio:
tar zxvf nomefile.tar.gz
cd nomefile
sudo ./configure
sudo make
sudo make install
cosi si decomprime il file, si entra nella sua cartella, si configura e si installa
Posted: Thu Mar 23, 2006 9:15 pm
by dennyxx82
si è make install
io ho fatto così:
mi sono loggato come root
ho digitato make
ma mi dice command not found
come devo fare
Posted: Thu Mar 23, 2006 9:26 pm
by flashcream
ci fai leggere le istruzioni di installazione?
è evidente che salti un passaggio
Posted: Thu Mar 23, 2006 10:02 pm
by dennyxx82
ok più tardi le posto
Posted: Fri Mar 24, 2006 4:44 am
by dennyxx82
ecco quello che devo fare
first step is to download the firmware at
http://ipw2200.sourceforge.net/firmware.php (i used version 2.4) and copy the ipw-*.fw files into iwi2000/firmware/. In that directory you will find a file called hex2string. hex2string will generate a C-String headers out of the firmware files: All you need to do is:
$> cd iwi2200/firmware
$iwi2200/firmware> ./hex2string ipw-2.4-boot.fw iwi_boot > iwi_boot.fw.h
$iwi2200/firmware> ./hex2string ipw-2.4-bss.fw iwi_bss > iwi_bss.fw.h
$iwi2200/firmware> ./hex2string ipw-2.4-bss_ucode.fw iwi_ucode_bss > iwi_ucode_bss.fw.h
(If you use a different version from 2.4 just replace the 2.4 with the version you downloaded.)
once you've created the required headers return back to the root of the iwi2200 directory with
$iwi2200/firmware> cd ..
now its time to compile the actual driver by using the Makefile:
$iwi22000> make
If this was successful then you got lucky!! To load the driver type:
$iwi2200> ./load
and you should read something like this:
kextunload: unload kext ./build/Default/iwi2200.kext failed
kextload: ./build/Default/iwi2200.kext loaded successfully
check dmesg for the driver generated output and check if your device shows up in ifconfig by typing:
$iwi2200> dmesg
$iwi2200> ifconfig -a
Good Luck, happy hacking...
Posted: Fri Mar 24, 2006 5:13 am
by flashcream
cosi ad occhio mi pare roba solo linux.... e hai un macintel?
Posted: Fri Mar 24, 2006 5:16 am
by Gran Maestro
dennyxx82 wrote:si è make install
io ho fatto così:
mi sono loggato come root
ho digitato make
ma mi dice command not found
come devo fare
Lascia perdere root, non occorre disturbarlo per compilare un programmino; basta e avanza sudo come ti ha anticipato il buon flashcream.
(se hai i privilegi nelle directory in cui scrive il compiler, probabilmente non occorre neanche quello)
/P
Posted: Fri Mar 24, 2006 5:44 am
by imattg5
dennyxx82 wrote:
now its time to compile the actual driver by using the Makefile:
$iwi22000> make
If this was successful then you got lucky!!
E beh, se va a fortuna, si vede che tu non sei stato fortunato...

Posted: Fri Mar 24, 2006 6:02 am
by dennyxx82
si ho un macintel, cmq ha fortuna va l'installazione del driver.
Il problema cmq è che il mio terminale mi dice che il comando make non è stato trovato, influisce il fatto che non ho xcode