[zaptel-commits] tzafrir: branch 1.4 r2707 - /branches/1.4/README

SVN commits to the Zaptel project zaptel-commits at lists.digium.com
Sun Jul 8 14:22:42 CDT 2007


Author: tzafrir
Date: Sun Jul  8 14:22:41 2007
New Revision: 2707

URL: http://svn.digium.com/view/zaptel?view=rev&rev=2707
Log:
Moving specific commands to a distro-specific part.

Modified:
    branches/1.4/README

Modified: branches/1.4/README
URL: http://svn.digium.com/view/zaptel/branches/1.4/README?view=diff&rev=2707&r1=2706&r2=2707
==============================================================================
--- branches/1.4/README (original)
+++ branches/1.4/README Sun Jul  8 14:22:41 2007
@@ -68,6 +68,11 @@
     kernel-devel package. Or if you run kernel-smp or kernel-xen, you
     need kernel-smp-devel or kernel-xen-devel, respectively.
   * On SUSE you seem to need the package kernel-source .
+  * In some distributions (e.g.: in RHEL/CentOS, Fedora, Ubuntu) the 
+    installation of the kernel-devel / kernel-headers package will 
+    be of a version that is newer than the one you currently run. In 
+    such a case you may need to upgrade the kernel package itself as 
+    well and reboot.
 - To point explicitly to a different build tree: set KSRC to the kernel 
   source tree and KVERS to the exact kernel version:
 
@@ -96,14 +101,6 @@
 There may be cases where you will need a specific version of gcc to build
 kernel modules.
 
-On Debian and similar distributions run:
-
-   apt-get install build-essential
-
-On Centos and Fedora:
-
-  apt-get install gcc
-
 
 Extra Libraries
 ~~~~~~~~~~~~~~~
@@ -114,13 +111,39 @@
   the Xorcom Astribank.
 - libnewt is needed to build the optional but useful utility zttool.
 
-Installing the first two on Debian:
-
-  apt-get install libusb-dev libnewt-dev
-
-Installing the first two on Centos/Fedora:
-
-  yum install libusb-devel libnewt-devel
+
+Distribution-Specific Instructions
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+==== Debian 4.0 (Etch)
+  apt-get install linux-headers-`uname -r` build-essential libnewt-dev libusb-dev
+
+==== Debian 3.1 (Sarge)
+  apt-get install kernel-headers-`uname -r` build-essential libnewt-dev libusb-dev
+
+==== RHEL4 / CentOS 4
+You need the following non-kernel-related packages:
+
+  yum install gcc newt-devel libusb-devel
+
+If the following command produces an error, you need to install
+ithe kernel devel package:
+
+  ls /lib/modules/`uname -r`/build/.config
+
+The right one depends on your kernel version. If the following command
+produces output you have an SMP kernel:
+
+  uname -r | grep smp
+
+and thus need to run:
+
+  yum install kernel-smp kernel-smp-devel
+
+If that command produced no output, you have a non-SMP kernel:
+
+  yum install kernel kernel-devel
+
+At this point you should probably reboot to get the new kernel in effect.
 
 
 Installation




More information about the zaptel-commits mailing list