Kubuntu problemi con modem

OS X, Linux e tutti gli altri OS

Kubuntu problemi con modem

Messaggioda fish » dom feb 11, 2007 3:37 pm

Ciao a tutti ho installato kubuntu 6.06 in una nuova partizione ma non riesco a installare i driver del modem, per l'appunto uno Smartlink PCI. Assieme ad esso nel cd ho trovato sia i driver per le varie versioni di Win che quelli per linux con kernel 2.4 e 2.6. Ora, quando do il comando ./Makefile la shell mi restituisce questa cosa:

fish@fish-desktop:~/drivers$ ./Makefile
./Makefile: line 19: shell: command not found
./Makefile: line 19: KERNEL_DIR:=/lib/modules//build: No such file or directory
./Makefile: line 21: obj: command not found
./Makefile: line 21: obj: command not found
./Makefile: line 21: EXTRA_CFLAGS: command not found
./Makefile: line 23: obj-m: command not found
./Makefile: line 25: slamr-objs:=: command not found
./Makefile: line 26: slusb-objs:=: command not found
./Makefile: line 28: ifndef: command not found
./Makefile: line 29: ifndef: command not found
./Makefile: line 31: all: command not found
./Makefile: line 32: MAKE: command not found
./Makefile: line 32: shell: command not found
./Makefile: line 32: KERNEL_VER=: command not found
./Makefile: line 34: install:: command not found
./Makefile: line 35: uninstall:: command not found
./Makefile: line 37: kernel-ver::: command not found
./Makefile: line 38: CC: command not found
./Makefile: line 38: KERNEL_DIR: command not found
./Makefile: line 38: -I/include: No such file or directory
./Makefile: line 40: dep:: command not found
./Makefile: line 41: clean:: command not found
./Makefile: line 42: RM: command not found
./Makefile: line 42: obj-m: command not found
./Makefile: line 42: obj-m:.o=.ko: command not found
./Makefile: line 42: kernel-ver: command not found
./Makefile: line 43: RM: command not found
./Makefile: line 43: -r: command not found
./Makefile: line 45: install-devices:: command not found
./Makefile: line 48: minor: command not found
./Makefile: line 48: minor: command not found
./Makefile: line 48: foreach: command not found
./Makefile: line 50: minor: command not found
./Makefile: line 50: minor: command not found
./Makefile: line 50: foreach: command not found
./Makefile: line 51: remove-devices:: command not found
./Makefile: line 53: RM: command not found
./Makefile: line 53: minor: command not found
./Makefile: line 53: foreach: command not found
./Makefile: line 55: RM: command not found
./Makefile: line 55: minor: command not found
./Makefile: line 55: foreach: command not found
./Makefile: line 57: syntax error near unexpected token `else'
./Makefile: line 57: `else'
fish@fish-desktop:~/drivers$


...non capisco, cos'è che sbaglio? Poi logicamente dando il comando modprobe slamr mi dice che non c'è nessun modem. Qualche utile consiglio? Grazie mille :D
<")))><
Avatar utente
fish

Amico
 
Messaggi: 26
Iscritto il: lun mag 10, 2004 9:53 pm
Località: vr

Messaggioda Blackfede » dom feb 11, 2007 5:20 pm

Dovresti assicurarti di avere gli strumenti di sviluppo...adesso su due piedi non ricordo il nome esatto del pacchetto, ma dovrebbe essere una cosa tipo "devel-base" o simile. Per verificare potresti vedere cosa dice il comando "gcc -v" oppure "make -v". Inoltre non devi dare il comando "./Makefile" ma "make" e basta...poi dovresti trovare un file readme nel cd del modem che spiega come fare con linux...
I troll sono solo dei dementi che finisco in /dev/null
-------------------------------------------
I video giochi non influenzano i bambini. Voglio dire, se Pac-man avesse influenzato la nostra generazione, staremmo tutti saltando in sale scure, masticando pillole magiche e ascoltando musica elettronica ripetitiva...e dopo qualche anno ci furono i rave party!
Avatar utente
Blackfede

Eroe
 
Messaggi: 1227
Iscritto il: gio gen 16, 2003 10:18 am
Località: Parma

Messaggioda AmigaCori » lun feb 12, 2007 1:36 pm

Blackfede ha scritto:Dovresti assicurarti di avere gli strumenti di sviluppo...adesso su due piedi non ricordo il nome esatto del pacchetto, ma dovrebbe essere una cosa tipo "devel-base" o simile. Per verificare potresti vedere cosa dice il comando "gcc -v" oppure "make -v". Inoltre non devi dare il comando "./Makefile" ma "make" e basta...poi dovresti trovare un file readme nel cd del modem che spiega come fare con linux...


Inoltre dovrebbe assicurarsi se deve dare quei comandi come user normale o come root, beh nel readme come suggerito da Blackfede ci dovrebbe essere scritto.
Admin. di NSA www.NonSoloAmiga.com
Twitter: https://twitter.com/NonSoloAmiga
Facebook: http://www.facebook.com/NonSoloAmiga
Gruppo FB: http://www.facebook.com/groups/NonSoloAmiga/
Youube: http://www.youtube.com/user/NonSoloAmiga
AmigaCori

Supremo
 
Messaggi: 4527
Iscritto il: gio feb 26, 2004 4:48 pm

Messaggioda fish » lun feb 12, 2007 7:25 pm

Quindi se nessuno dei due comandi funziona ( gcc -v e make -v ) vuol dire che mi manca un pacchetto giusto? A me pareva di aver fatto giusto dando il comando ./make ma visto che non me lo prende ho dato ./Makefile ( e non makefile ) la shell mi ha poi risposto così. Il file readme è molto esplicito, una volta scompattato tutto si da il comando e morta là.

Installation
============

1. Unpack tar.gz package file:

$ gzip -dc slmodem-2.9.X.tar.gz | tar xf -

2. 'cd' to package directory:

$ cd slmodem-2.9.X

3. Review and edit 'Makefile' (if need):

In many cases you will need to correct path to your local kernel
source tree:

KERNEL_DIR=/path/to/linux

Default KERNEL_DIR is '/lib/modules/<kerne-version>/build'. Many Linux
Distributions use directory '/usr/src/linux-<version>' also.

Note: If you are using Linux kernel 2.4, only header files should be
available for build in $(KERNEL_DIR)/include

Another way to pass right value KERNEL_DIR is to use command line
parameter while running 'make':

$ make KERNEL_DIR=/path/to/linux ...

4. Run 'make' command to compile package:

$ make

5. Install. As 'root' user run:

# make install


...dove posso reperire info sul pacchetto mancante?
<")))><
Avatar utente
fish

Amico
 
Messaggi: 26
Iscritto il: lun mag 10, 2004 9:53 pm
Località: vr

Messaggioda Blackfede » mar mar 06, 2007 12:21 am

Ti chiedo scusa per il grosso ritardo....Allora il comando giusto è 'make' senza il ./ davanti...il ogni caso il pacchetto che ti serve si chiama 'build-essential'. Ti segnalo inoltre anche questo:
http://help.ubuntu-it.org/6.10/ubuntu/d ... mming.html
I troll sono solo dei dementi che finisco in /dev/null
-------------------------------------------
I video giochi non influenzano i bambini. Voglio dire, se Pac-man avesse influenzato la nostra generazione, staremmo tutti saltando in sale scure, masticando pillole magiche e ascoltando musica elettronica ripetitiva...e dopo qualche anno ci furono i rave party!
Avatar utente
Blackfede

Eroe
 
Messaggi: 1227
Iscritto il: gio gen 16, 2003 10:18 am
Località: Parma


Torna a Altri sistemi operativi

Chi c’è in linea

Visitano il forum: Nessuno e 2 ospiti