Jueves, febrero 4, 2010

When trying to configure the Digi Real Port daemon (a virtual serial port, or RS-232 over IP) on a Red Hat machine (RHEL Server release 5.4), I found that installing form the RPM did not work properly. Some kernel module was not loaded.

After doing a little research and tweaking, I solved it by compiling it from source, and following the steps below:

  • 1) Modify your configure.in file, by adding:
    KERNEL_HEADERS=/usr/src/kernels/your_current_kernel
    And substituting “your_current_kernel” with yours (e.g. 2.6.18-164.11.1.el5xen-x86_64).
  • 2) Place that line of code, at around line 405, right before:
    if test -z "$KERNEL_HEADERS";
  • 3) From the shell, run the following to complete the installation:
    autoconf
    ./configure
    make
    sudo make install

{ 0 comentarios }

Last revised on 2010/02/02