US Robotics USR2410 Manuel d'installation Page 32

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 67
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 31
28 5. Debian and other Software Packages
First we have toconfigure the system for this kind of “gendroolification”. To doso, we install some additional
apt packages and pentium-builder:
Debian Packages for Gendroolification:
apt−show−source
apt−show−versions
pentium−builder
We hav e written a small shell script to simplify the configuration of the gcc-wrapper builder-cc. Wecan evaluate
this script from either tcsh- or bash-compatible shells:
Pentium builder activation script:
#!/bin/sh
#bin/build−i686
if [ "$SHELL = "/usr/bin/tcsh" ]; then
echo "setenv DEBIAN_BUILDGCCVER 3.2;"
echo "setenv DEBIAN_BUILDARCH i686;"
else
echo "export DEBIAN_BUILDGCCVER=3.2"
echo "export DEBIAN_BUILDARCH=i686"
exit
Nowwesimply add for (almost) all deb entries in /etc/apt/sources.list a corresponding deb-src entry,sothat we
can download the source packages with apt.
/etc/apt/sources.list:
#LOCAL
deb file:/usr/local/debian woody main
deb file:/usr/local/debian sarge main
#WOODY main contrib non−free
#The following site was benchmarked at 14.49 kB/s
deb ftp://ftp.skynet.be/debian/ woody main contrib non−free
deb−src ftp://ftp.skynet.be/debian/ woody main contrib non−free
#The following site was benchmarked at 14.29 kB/s
deb ftp://ftp.stw−bonn.de/pub/mirror/debian/ woody main contrib non−free
deb−src ftp://ftp.stw−bonn.de/pub/mirror/debian/ woody main contrib non−free
#The following site was benchmarked at 14.29 kB/s
deb ftp://toxo.com.uvigo.es/debian/ woody main contrib non−free
deb−src ftp://toxo.com.uvigo.es/debian/ woody main contrib non−free
#Official Debian Mirror DE
deb ftp://ftp.de.debian.org/debian woody main contrib non−free
deb−src ftp://ftp.de.debian.org/debian woody main contrib non−free
#NON−US main contrib non−free
deb http://non−us.debian.org/debian−non−US woody non−US/main non−US/contrib non−US/non−free
deb−src http://non−us.debian.org/debian−non−US woody non−US/main non−US/contrib non−US/non−free
#SECURITY
deb http://security.debian.org/ stable/updates main contrib non−free
To download, compile and install a source package, e.g. gnupg (and the packages it depends on), we use apt-get,
dpkg-buildpackage and dpkg.
Getting, compiling and installing Debian source packages:
#> cd /usr/local/debian/dists/woody/main/source
#>
#> eval ‘build−i686‘
#>
#> apt−get source gnupg
#> apt−get build−dep gnupg
#>
#> apt−get source zlib1g
#> apt−get build−dep zlib1g
#> cd zlib−1.1.4
#> dpkg−buildpackage
#> cd ..
Vue de la page 31
1 2 ... 27 28 29 30 31 32 33 34 35 36 37 ... 66 67

Commentaires sur ces manuels

Pas de commentaire