Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#1 Le 12/01/2008, à 19:51

TSSI

Comment compiler un logiciel compressé tar.gz sous ubuntu ?

Bonjour,

Je suis débutant en Linux, j'ai téléchargé un driver pour ma carte réseau sous format .tar.gz , je l'ai decompréssé, j'ai maintenant qu'un simple dossier avec des fichier dedans, je ne sais pas comment procéder à  l'installation ou en fait la compliation.

Merçi

Hors ligne

#2 Le 12/01/2008, à 19:53

Michel38

Re : Comment compiler un logiciel compressé tar.gz sous ubuntu ?

Bonsoir,
Il y a certainement un fichier README qui explique ce qu'il faut faire


LM18.3 - Kernel: 4.4.0-53-generic i686 (32 bit gcc: 5.4.0) - Cinnamon 3.4.6 (Gtk 3.18.9-1ubuntu3.3)
System: CLEVO (portable)
CPU    : Dual core Intel Core i5-3230M
Card    : Intel 3rd Gen Core processor Graphics Controller

Hors ligne

#3 Le 12/01/2008, à 20:22

TSSI

Re : Comment compiler un logiciel compressé tar.gz sous ubuntu ?

Oui, j'ai trouvé le fichier mais je ne comprends rien à ces lignes

Building and Installation
=========================

( Etape pour compilation sans problèmes )

puis ça :

3. Change to the driver src directory:
cd e1000-x.x.x/src/
4. Compile the driver module:
  make install
The binary will be installed as:
  /lib/modules/<KERNEL VERSION>/kernel/drivers/net/e1000/e1000.[k]o
  The install locations listed above are the default locations.  They    might not be correct for certain Linux distributions. 
5. Load the module using either the insmod or modprobe command:
modprobe e1000  insmod e1000
Note that for 2.6 kernels the insmod command can be used if the full
path to the driver module is specified.  For example:
insmod /lib/modules/<KERNEL VERSION>/kernel/drivers/net/e1000/e1000.ko
With 2.6 based kernels also make sure that older e1000 drivers are 
   removed from the kernel, before loading the new module:
rmmod e1000; modprobe e1000
6. Assign an IP address to the interface by entering the following, where
   x is the interface number:
   ifconfig ethx <IP_address>
7. Verify that the interface works.  Enter the following, where <IP_address>
   is the IP address for another machine on the same subnet as the
   interface that is being tested:     ping  <IP_address>   


sad:( Ya quelqu'un pour m'exmpliquer ?

Hors ligne

#4 Le 12/01/2008, à 20:58

TSSI

Re : Comment compiler un logiciel compressé tar.gz sous ubuntu ?

En fait c'est un driver de la carte réseau , j'ai plus internet sur mon PC, je vous écris d'un autre.

Hors ligne

#5 Le 13/01/2008, à 10:13

Michel38

Re : Comment compiler un logiciel compressé tar.gz sous ubuntu ?

Bonjour,
Y-a-t-il un fichier configure ?
Si oui se placer dans la directory puis

./configure
make
sudo make install

il te faudra peut-être installer avant build-essential, le paquet contenant les bases de compilation.
La doc est ici http://doc.ubuntu-fr.org/projets/paquets/compiler_un_programme

Dernière modification par Michel38 (Le 13/01/2008, à 10:15)


LM18.3 - Kernel: 4.4.0-53-generic i686 (32 bit gcc: 5.4.0) - Cinnamon 3.4.6 (Gtk 3.18.9-1ubuntu3.3)
System: CLEVO (portable)
CPU    : Dual core Intel Core i5-3230M
Card    : Intel 3rd Gen Core processor Graphics Controller

Hors ligne

#6 Le 13/01/2008, à 11:30

TSSI

Re : Comment compiler un logiciel compressé tar.gz sous ubuntu ?

C'est quoi directory ?

J'ai - après décompression - un dossier nommé e1000-7.6.12 avec des fichier ( contenant le README ) puis au même niveau j'ai un dossier  src qui contient pleins de fichiers développés en langage C , je ne vois pas de fichier configure.


Merçi

Hors ligne