Redhat linux 5 server and Portserver II

uname -m
i686
uname -r
2.6.18-8.el5

I tried the beta source dgrp-1.9-17.src.rpm and still can’t properly run make. Here is the output:

(cd driver; make all)
make[1]: Entering directory /usr/local/option/software/realport/dgrp-1.9/driver' make -C /lib/modules/2.6.18-8.el5/build SUBDIRS=$PWD modules MYPWD=/usr/local/option/software/realport/dgrp-1.9/driver MYMANDIR=/usr/share/man make[2]: Entering directory /usr/src/kernels/2.6.18-8.el5-i686’
CC [M] /usr/local/option/software/realport/dgrp-1.9/driver/dgrp_net_ops.o
In file included from /usr/local/option/software/realport/dgrp-1.9/driver/include/linux_ver_fix.h:105,
from /usr/local/option/software/realport/dgrp-1.9/driver/dgrp_net_ops.c:52:
include/linux/config.h:6:2: warning: #warning Including config.h is deprecated.
In file included from include/linux/spinlock.h:78,
from include/linux/capability.h:45,
from include/linux/sched.h:44,
from include/linux/module.h:9,
from /usr/local/option/software/realport/dgrp-1.9/driver/include/linux_ver_fix.h:106,
from /usr/local/option/software/realport/dgrp-1.9/driver/dgrp_net_ops.c:52:
include/linux/spinlock_types.h:91:1: warning: “DEFINE_SPINLOCK” redefined
In file included from /usr/local/option/software/realport/dgrp-1.9/driver/dgrp_net_ops.c:52:
/usr/local/option/software/realport/dgrp-1.9/driver/include/linux_ver_fix.h:65:1: warning: this is the location of the previous definition
/usr/local/option/software/realport/dgrp-1.9/driver/dgrp_net_ops.c: In function dgrp_input': /usr/local/option/software/realport/dgrp-1.9/driver/dgrp_net_ops.c:454: structure has no member named flip’
/usr/local/option/software/realport/dgrp-1.9/driver/dgrp_net_ops.c:454: structure has no member named flip' /usr/local/option/software/realport/dgrp-1.9/driver/dgrp_net_ops.c:454: structure has no member named flip’
/usr/local/option/software/realport/dgrp-1.9/driver/dgrp_net_ops.c:456: structure has no member named flip' /usr/local/option/software/realport/dgrp-1.9/driver/dgrp_net_ops.c:456: structure has no member named flip’
/usr/local/option/software/realport/dgrp-1.9/driver/dgrp_net_ops.c:456: structure has no member named flip' /usr/local/option/software/realport/dgrp-1.9/driver/dgrp_net_ops.c:471: structure has no member named flip’
/usr/local/option/software/realport/dgrp-1.9/driver/dgrp_net_ops.c:490: TTY_DONT_FLIP' undeclared (first use in this function) /usr/local/option/software/realport/dgrp-1.9/driver/dgrp_net_ops.c:490: (Each undeclared identifier is reported only once /usr/local/option/software/realport/dgrp-1.9/driver/dgrp_net_ops.c:490: for each function it appears in.) /usr/local/option/software/realport/dgrp-1.9/driver/dgrp_net_ops.c:536: structure has no member named flip’
/usr/local/option/software/realport/dgrp-1.9/driver/dgrp_net_ops.c:538: structure has no member named flip' /usr/local/option/software/realport/dgrp-1.9/driver/dgrp_net_ops.c:551: structure has no member named flip’
/usr/local/option/software/realport/dgrp-1.9/driver/dgrp_net_ops.c:552: structure has no member named flip' /usr/local/option/software/realport/dgrp-1.9/driver/dgrp_net_ops.c:554: structure has no member named flip’
/usr/local/option/software/realport/dgrp-1.9/driver/dgrp_net_ops.c:554: structure has no member named flip' /usr/local/option/software/realport/dgrp-1.9/driver/dgrp_net_ops.c:554: structure has no member named flip’
/usr/local/option/software/realport/dgrp-1.9/driver/dgrp_net_ops.c:554: structure has no member named flip' /usr/local/option/software/realport/dgrp-1.9/driver/dgrp_net_ops.c:557: structure has no member named flip’
/usr/local/option/software/realport/dgrp-1.9/driver/dgrp_net_ops.c:558: structure has no member named flip' /usr/local/option/software/realport/dgrp-1.9/driver/dgrp_net_ops.c:559: structure has no member named flip’
/usr/local/option/software/realport/dgrp-1.9/driver/dgrp_net_ops.c:563: structure has no member named flip' /usr/local/option/software/realport/dgrp-1.9/driver/dgrp_net_ops.c:564: structure has no member named flip’
/usr/local/option/software/realport/dgrp-1.9/driver/dgrp_net_ops.c:566: structure has no member named flip' /usr/local/option/software/realport/dgrp-1.9/driver/dgrp_net_ops.c:566: structure has no member named flip’
/usr/local/option/software/realport/dgrp-1.9/driver/dgrp_net_ops.c:566: structure has no member named flip' /usr/local/option/software/realport/dgrp-1.9/driver/dgrp_net_ops.c:566: structure has no member named flip’
/usr/local/option/software/realport/dgrp-1.9/driver/dgrp_net_ops.c:587: structure has no member named flip' /usr/local/option/software/realport/dgrp-1.9/driver/dgrp_net_ops.c:589: structure has no member named flip’
/usr/local/option/software/realport/dgrp-1.9/driver/dgrp_net_ops.c:590: structure has no member named flip' /usr/local/option/software/realport/dgrp-1.9/driver/dgrp_net_ops.c: In function dgrp_receive’:
/usr/local/option/software/realport/dgrp-1.9/driver/dgrp_net_ops.c:3748: structure has no member named flip' /usr/local/option/software/realport/dgrp-1.9/driver/dgrp_net_ops.c:3749: structure has no member named flip’
/usr/local/option/software/realport/dgrp-1.9/driver/dgrp_net_ops.c:3750: structure has no member named flip' make[3]: *** [/usr/local/option/software/realport/dgrp-1.9/driver/dgrp_net_ops.o] Error 1 make[2]: *** [_module_/usr/local/option/software/realport/dgrp-1.9/driver] Error 2 make[2]: Leaving directory /usr/src/kernels/2.6.18-8.el5-i686’
make[1]: *** [build] Error 2
make[1]: Leaving directory `/usr/local/option/software/realport/dgrp-1.9/driver’
make: *** [build] Error 2

Any suggestions? Will there be a new beta driver available for testing soon?

Thanks in advance.

Very Respectfully,
Mark

Yes, you will want to use the beta driver from the following location:

ftp://ftp1.digi.com/support/beta/linux/dgrp/dgrp-1.9-17.src.rpm

I got this to work with a little help from the support group.

Download the latest beta:
ftp://ftp1.digi.com/support/beta/linux/dgrp/dgrp-1.9-17.src.rpm

Run the following command in the same folder you downloaded it to:
rpmbuild --rebuild dgrp-1.9-17.src.rpm

then run:
rpm -i /usr/src/redhat/RPMS/(arch)/dgrp-1.9-17.(arch).rpm
substitute your architecture for “(arch)” - use “uname -i” if you don’t know.

then run dgrp_gui to define your device(s), their port(s), and the service(s).

Thanks! Worked perfect on CentOS 5 with a PortServer TS 8.

I was able to get this to work by manually installing it. I tried the rpm with build option with no luck but when I manually ran it, it would ./configure, make, make install. Thank you very much.

Glad to hear it is working!

For the source rpm installation, I believe you may need an additional flag to get beyond the “flip” errors:

rpmbuild --rebuild --define NEW_TTY_BUFFERING=Yes dgrp-1.9-17.src.rpm

After we got this installed, we could not get the dgrp service started. We were able to make it happen on Red Hat ES 4 however with no problems. Do you know when this version will be completely ready for release?

There is not currently a release date estimate for this driver. An ECO will need to be issued and Systems Assurance testing performed prior to releasing.

What happened when you tried to start the service? Was an error generated?

I have hit the following issue: Hope this output helps. I ran:
rpmbuild --rebuild dgrp-1.9-17.src.rpm >>error 2>&1

Installing dgrp-1.9-17.src.rpm
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.23988

  • umask 022
  • cd /usr/src/redhat/BUILD
  • cd /usr/src/redhat/BUILD
  • rm -rf dgrp-1.9
  • /bin/gzip -dc /usr/src/redhat/SOURCES/dgrp-1.9.tgz
  • tar -xvvf -
    drwxr-xr-x root/root 0 2007-04-30 14:33:40 dgrp-1.9/
    -rwxr-xr-x root/root 184987 2007-04-30 14:33:38 dgrp-1.9/configure
    -rw-r–r-- root/root 27784 2007-04-30 14:33:38 dgrp-1.9/configure.in
    -rw-r–r-- root/root 4439 2007-04-30 14:33:38 dgrp-1.9/Makefile.in
    -rw-r–r-- root/root 2247 2007-04-30 14:33:38 dgrp-1.9/Makefile.inc
    -rw-r–r-- root/root 18008 2007-04-30 14:33:38 dgrp-1.9/COPYING
    -rw-r–r-- root/root 5092 2007-04-30 14:33:38 dgrp-1.9/README
    -rw-r–r-- root/root 20755 2007-04-30 14:33:38 dgrp-1.9/release_notes.txt
    drwxr-xr-x root/root 0 2007-04-30 14:33:38 dgrp-1.9/commoninc/
    -rw-r–r-- root/root 238 2007-04-30 14:33:38 dgrp-1.9/commoninc/config.h.in
    -rw-r–r-- root/root 5129 2007-04-30 14:33:38 dgrp-1.9/commoninc/digirp.h
    drwxr-xr-x root/root 0 2007-04-30 14:33:38 dgrp-1.9/config/
    -rw-r–r-- root/root 1374 2007-04-30 14:33:38 dgrp-1.9/config/Makefile.in
    -rw-r–r-- root/root 1117 2007-04-30 14:33:38 dgrp-1.9/config/dgrp.gif
    -rwxr-xr-x root/root 20504 2007-04-30 14:33:38 dgrp-1.9/config/dgrp_cfg_node
    -rw-r–r-- root/root 1504 2007-04-30 14:33:38 dgrp-1.9/config/dgrp_cfg_node.man
    -rw-r–r-- root/root 7195 2007-04-30 14:33:38 dgrp-1.9/config/dgrp_gui.man
    -rw-r–r-- root/root 3422 2007-04-30 14:33:38 dgrp-1.9/config/dgrp_main.tcl
    -rw-r–r-- root/root 4998 2007-04-30 14:33:38 dgrp-1.9/config/dgrp_misc.tcl
    -rw-r–r-- root/root 10862 2007-04-30 14:33:38 dgrp-1.9/config/dgrp_mk_spec.c
    -rwxr-xr-x root/root 5177 2007-04-30 14:33:38 dgrp-1.9/config/dgrp_mk_specs
    -rw-r–r-- root/root 11592 2007-04-30 14:33:38 dgrp-1.9/config/dgrp_msgs.tcl
    -rw-r–r-- root/root 32145 2007-04-30 14:33:38 dgrp-1.9/config/dgrp_nodes.tcl
    -rw-r–r-- root/root 2837 2007-04-30 14:33:38 dgrp-1.9/config/dgrp_scriptlog.tcl
    -rw-r–r-- root/root 14165 2007-04-30 14:33:38 dgrp-1.9/config/dgrp_ttys.tcl
    -rw-r–r-- root/root 175 2007-04-30 14:33:38 dgrp-1.9/config/file_locations
    drwxr-xr-x root/root 0 2007-04-30 14:33:38 dgrp-1.9/daemon/
    -rw-r–r-- root/root 2285 2007-04-30 14:33:38 dgrp-1.9/daemon/Makefile.in
    -rw-r–r-- root/root 4860 2007-04-30 14:33:38 dgrp-1.9/daemon/drpd.man
    -rw-r–r-- root/root 38312 2007-04-30 14:33:38 dgrp-1.9/daemon/drpd.c
    -rw-r–r-- root/root 6228 2007-04-30 14:33:38 dgrp-1.9/daemon/ssl_license.h
    -rw-r–r-- root/root 3315566 2007-04-30 14:33:39 dgrp-1.9/daemon/openssl-0.9.8d.tar.gz
    drwxr-xr-x root/root 0 2007-04-30 14:33:39 dgrp-1.9/ditty/
    -rw-r–r-- root/root 1091 2007-04-30 14:33:39 dgrp-1.9/ditty/Makefile.in
    -rw-r–r-- root/root 8241 2007-04-30 14:33:39 dgrp-1.9/ditty/ditty.man
    -rw-r–r-- root/root 28130 2007-04-30 14:33:39 dgrp-1.9/ditty/ditty.c
    drwxr-xr-x root/root 0 2007-04-30 14:33:39 dgrp-1.9/dgipserv/
    -rw-r----- root/root 949 2007-04-30 14:33:39 dgrp-1.9/dgipserv/Makefile.linux.in
    -rw-r–r-- root/root 9467 2007-04-30 14:33:39 dgrp-1.9/dgipserv/dgipserv.1
    -rw-r–r-- root/root 53002 2007-04-30 14:33:39 dgrp-1.9/dgipserv/dgipserv.c
    -rw-r–r-- root/root 10544 2007-04-30 14:33:39 dgrp-1.9/dgipserv/fas.h
    drwxr-xr-x root/root 0 2007-04-30 14:33:39 dgrp-1.9/dgelreset/
    -rw-r----- root/root 966 2007-04-30 14:33:39 dgrp-1.9/dgelreset/Makefile.linux.in
    -rw-r–r-- root/root 1167 2007-04-30 14:33:39 dgrp-1.9/dgelreset/dgelreset.1
    -rw-r–r-- root/root 12309 2007-04-30 14:33:39 dgrp-1.9/dgelreset/dgelreset.c
    -rw-r–r-- root/root 10544 2007-04-30 14:33:39 dgrp-1.9/dgelreset/fas.h
    drwxr-xr-x root/root 0 2007-04-30 14:33:39 dgrp-1.9/driver/
    -rw-r–r-- root/root 3640 2007-04-30 14:33:39 dgrp-1.9/driver/Makefile24
    -rw-r–r-- root/root 2688 2007-04-30 14:33:39 dgrp-1.9/driver/Makefile26
    -rw-r–r-- root/root 15432 2007-04-30 14:33:39 dgrp-1.9/driver/dgrp_common.c
    -rw-r–r-- root/root 7954 2007-04-30 14:33:39 dgrp-1.9/driver/dgrp_driver.c
    -rw-r–r-- root/root 13666 2007-04-30 14:33:39 dgrp-1.9/driver/dgrp_mon_ops.c
    -rw-r----- root/root 18600 2007-04-30 14:33:39 dgrp-1.9/driver/dgrp_dpa_ops.c
    -rw-r–r-- root/root 109410 2007-04-30 14:33:39 dgrp-1.9/driver/dgrp_net_ops.c
    -rw-r–r-- root/root 13171 2007-04-30 14:33:39 dgrp-1.9/driver/dgrp_ports_ops.c
    -rw-r–r-- root/root 2300 2007-04-30 14:33:39 dgrp-1.9/driver/dgrp_proc.c
    -rw-r–r-- root/root 29194 2007-04-30 14:33:39 dgrp-1.9/driver/dgrp_specproc.c
    -rw-r–r-- root/root 16255 2007-04-30 14:33:39 dgrp-1.9/driver/dgrp_sysfs.c
    -rw-r–r-- root/root 102814 2007-04-30 14:33:39 dgrp-1.9/driver/dgrp_tty.c
    -rw-r–r-- root/root 11715 2007-04-30 14:33:39 dgrp-1.9/driver/dgrp.man
    drwxr-xr-x root/root 0 2007-04-30 14:33:39 dgrp-1.9/driver/include/
    -rw-r–r-- root/root 9066 2007-04-30 14:33:39 dgrp-1.9/driver/include/dgrp_common.h
    -rw-r–r-- root/root 1948 2007-04-30 14:33:39 dgrp-1.9/driver/include/dgrp_mon_ops.h
    -rw-r----- root/root 2083 2007-04-30 14:33:39 dgrp-1.9/driver/include/dgrp_dpa_ops.h
    -rw-r–r-- root/root 1980 2007-04-30 14:33:39 dgrp-1.9/driver/include/dgrp_net_ops.h
    -rw-r–r-- root/root 1969 2007-04-30 14:33:39 dgrp-1.9/driver/include/dgrp_ports_ops.h
    -rw-r–r-- root/root 1820 2007-04-30 14:33:39 dgrp-1.9/driver/include/dgrp_proc.h
    -rw-r–r-- root/root 5718 2007-04-30 14:33:39 dgrp-1.9/driver/include/dgrp_specproc.h
    -rw-r–r-- root/root 1842 2007-04-30 14:33:39 dgrp-1.9/driver/include/dgrp_sysfs.h
    -rw-r–r-- root/root 1863 2007-04-30 14:33:39 dgrp-1.9/driver/include/dgrp_tty.h
    -rw-r–r-- root/root 30681 2007-04-30 14:33:39 dgrp-1.9/driver/include/drp.h
    -rw-r–r-- root/root 17639 2007-04-30 14:33:39 dgrp-1.9/driver/include/linux_ver_fix.h
    drwxr-xr-x root/root 0 2007-04-30 14:33:39 dgrp-1.9/init/
    -rwxr-xr-x root/root 2748 2007-04-30 14:33:39 dgrp-1.9/init/dgrp_daemon
    -rwxr-xr-x root/root 615 2007-04-30 14:33:39 dgrp-1.9/init/dgrp_ditty
    -rw-r–r-- root/root 191 2007-04-30 14:33:39 dgrp-1.9/init/10-dgrp.rules
    -rwxr-x— root/root 1199 2007-04-30 14:33:39 dgrp-1.9/init/dgrp_udev.in
    -rw-r–r-- root/root 751 2007-04-30 14:33:39 dgrp-1.9/init/Makefile.in
    drwxr-xr-x root/root 0 2007-04-30 14:33:40 dgrp-1.9/dinc/
    -rw-r–r-- root/root 3477 2007-04-30 14:33:40 dgrp-1.9/dinc/Makefile
    -rw-r–r-- root/root 32254 2007-04-30 14:33:40 dgrp-1.9/dinc/dinc.c
    -rw-r–r-- root/root 9931 2007-04-30 14:33:40 dgrp-1.9/dinc/dinc_hw.c
    -rw-r–r-- root/root 2143 2007-04-30 14:33:40 dgrp-1.9/dinc/dinc.h
    -rw-r–r-- root/root 6633 2007-04-30 14:33:40 dgrp-1.9/dinc/dinc.1
    drwxr-xr-x root/root 0 2007-04-30 14:33:40 dgrp-1.9/dparp/
    -rw-r----- root/root 4703 2007-04-30 14:33:40 dgrp-1.9/dparp/attribs.c
    -rw-r----- root/root 13622 2007-04-30 14:33:40 dgrp-1.9/dparp/channel_panel.c
    -rw-r----- root/root 9323 2007-04-30 14:33:40 dgrp-1.9/dparp/curses_helpers.c
    -rw-r----- root/root 9355 2007-04-30 14:33:40 dgrp-1.9/dparp/exam_panel.c
    -rw-r----- root/root 21327 2007-04-30 14:33:40 dgrp-1.9/dparp/general_panels.c
    -rw-r----- root/root 8997 2007-04-30 14:33:40 dgrp-1.9/dparp/identify_panel.c
    -rw-r----- root/root 5369 2007-04-30 14:33:40 dgrp-1.9/dparp/info_panel.c
    -rw-r----- root/root 9805 2007-04-30 14:33:40 dgrp-1.9/dparp/loopback_panel.c
    -rw-r----- root/root 4301 2007-04-30 14:33:40 dgrp-1.9/dparp/main.c
    -rw-r----- root/root 998 2007-04-30 14:33:40 dgrp-1.9/dparp/Makefile
    -rw-r----- root/root 7322 2007-04-30 14:33:40 dgrp-1.9/dparp/node_panel.c
    -rw-r----- root/root 13111 2007-04-30 14:33:40 dgrp-1.9/dparp/scope_panel.c
    drwxr-xr-x root/root 0 2007-04-30 14:33:40 dgrp-1.9/dparp/inc/
    -rw-r----- root/root 976 2007-04-30 14:33:40 dgrp-1.9/dparp/inc/attribs.h
    -rw-r----- root/root 1322 2007-04-30 14:33:40 dgrp-1.9/dparp/inc/capture.h
    -rw-r----- root/root 1011 2007-04-30 14:33:40 dgrp-1.9/dparp/inc/channel_panel.h
    -rw-r----- root/root 2146 2007-04-30 14:33:40 dgrp-1.9/dparp/inc/curses_helpers.h
    -rw-r----- root/root 3839 2007-04-30 14:33:40 dgrp-1.9/dparp/inc/dpa_os.h
    -rw-r----- root/root 5718 2007-04-30 14:33:40 dgrp-1.9/dparp/inc/dpa_rp.h
    -rw-r----- root/root 1030 2007-04-30 14:33:40 dgrp-1.9/dparp/inc/exam_panel.h
    -rw-r----- root/root 1905 2007-04-30 14:33:40 dgrp-1.9/dparp/inc/general_panels.h
    -rw-r----- root/root 975 2007-04-30 14:33:40 dgrp-1.9/dparp/inc/identify_panel.h
    -rw-r----- root/root 1271 2007-04-30 14:33:40 dgrp-1.9/dparp/inc/info_panel.h
    -rw-r----- root/root 1075 2007-04-30 14:33:40 dgrp-1.9/dparp/inc/loopback_panel.h
    -rw-r----- root/root 994 2007-04-30 14:33:40 dgrp-1.9/dparp/inc/node_panel.h
    -rw-r----- root/root 1060 2007-04-30 14:33:40 dgrp-1.9/dparp/inc/scope_panel.h
    drwxr-xr-x root/root 0 2007-04-30 14:33:40 dgrp-1.9/dparp/os/
    -rw-r----- root/root 934 2007-04-30 14:33:40 dgrp-1.9/dparp/os/Makefile.Linux.in
    -rw-r----- root/root 8832 2007-04-30 14:33:40 dgrp-1.9/dparp/os/linux.c
    -rwxr-x— root/root 1051 2007-04-30 14:33:40 dgrp-1.9/dparp/encode_txtfile.sh
    drwxr-xr-x root/root 0 2007-04-30 14:33:40 dgrp-1.9/dparp/help/
    -rw-r----- root/root 1512 2007-04-30 14:33:40 dgrp-1.9/dparp/help/dpa_info1
    -rw-r----- root/root 2339 2007-04-30 14:33:40 dgrp-1.9/dparp/help/dpa_info2
    -rw-r----- root/root 1362 2007-04-30 14:33:40 dgrp-1.9/dparp/help/dpa_info3
    -rw-r----- root/root 1450 2007-04-30 14:33:40 dgrp-1.9/dparp/help/dpa_info4
    -rw-r----- root/root 2350 2007-04-30 14:33:40 dgrp-1.9/dparp/help/dpa_info5
    drwxr-xr-x root/root 0 2007-04-30 14:33:40 dgrp-1.9/scripts/
    -rwxr-xr-x root/root 2492 2007-04-30 14:33:40 dgrp-1.9/scripts/postinstall
    -rwxr-xr-x root/root 1592 2007-04-30 14:33:40 dgrp-1.9/scripts/preuninstall
  • STATUS=0
  • ‘[’ 0 -ne 0 ‘]’
  • cd dgrp-1.9
    ++ /usr/bin/id -u
  • ‘[’ 0 = 0 ‘]’
  • /bin/chown -Rhf root .
    ++ /usr/bin/id -u
  • ‘[’ 0 = 0 ‘]’
  • /bin/chgrp -Rhf root .
  • /bin/chmod -Rf a+rX,u+w,g-w,o-w .
  • ‘[’ /var/tmp/dgrp-buildroot = / ‘]’
  • CFLAGS=‘-O2 -g -march=i386 -mcpu=i686’
  • export CFLAGS
  • CXXFLAGS=‘-O2 -g -march=i386 -mcpu=i686’
  • export CXXFLAGS
  • FFLAGS=‘-O2 -g -march=i386 -mcpu=i686’
  • export FFLAGS
  • ./configure --host=i686-redhat-linux-gnu --build=i686-redhat-linux-gnu --target=i386-redhat-linux --program-prefix= --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/usr/com --mandir=/usr/share/man --infodir=/usr/share/info
    checking for awk… /usr/bin/awk
    checking for arch… /bin/arch
    checking for cat… /bin/cat
    checking for cd… /bin/cd
    checking for chkconfig… /sbin/chkconfig
    checking for chmod… /bin/chmod
    checking for chown… /bin/chown
    checking for cp… /bin/cp
    checking for depmod… /sbin/depmod
    checking for echo… /bin/echo
    checking for fuser… /sbin/fuser
    checking for grep… /bin/grep
    checking for init… /sbin/init
    checking for insmod… /sbin/insmod
    checking for kill… /usr/bin/kill
    checking for ln… /bin/ln
    checking for ls… /bin/ls
    checking for lsmod… /sbin/lsmod
    checking for make… /usr/bin/make
    checking for mkdir… /bin/mkdir
    checking for mknod… /bin/mknod
    checking for more… /bin/more
    checking for mv… /bin/mv
    checking for ps… /bin/ps
    checking for rm… /usr/bin/rm
    checking for rmdir… /bin/rmdir
    checking for rmmod… /sbin/rmmod
    checking for sed… /bin/sed
    checking for sleep… /bin/sleep
    checking for stty… /bin/stty
    checking for tar… /bin/tar
    checking for tr… /usr/bin/tr
    checking for touch… /bin/touch
    checking for true… /bin/true
    checking for udevcontrol… /sbin/udevcontrol
    checking for udevd… /sbin/udevd
    checking for udevinfo… /usr/bin/udevinfo
    checking for uname… /bin/uname
    checking for platform type… i386
    checking for gcc… gcc
    checking for gcc version… >= 3.2 (4.1.1)
    checking for i686-redhat-linux-gnu-gcc… gcc
    checking for C compiler default output… a.out
    checking whether the C compiler works… yes
    checking whether we are cross compiling… no
    checking for suffix of executables…
    checking for suffix of object files… o
    checking whether we are using the GNU C compiler… yes
    checking whether gcc accepts -g… yes
    checking for gcc option to accept ANSI C… none needed
    checking for current kernel version… 2.6.18-8.1.4.el5 -> 2.6.18-8.1.4.5 -> 2.6.18
    checking for kernel headers… “Not found.”

  • Unable to locate matching kernel source for the
  • linux 2.6.18-8.1.4.el5 kernel that is currently running!
  • The Digi RealPort driver requires this linux kernel source to be
  • installed as /usr/src/linux-2.6.18-8.1.4.el5 before being able to correctly
  • build the driver.
  • Please install the kernel sources which must match the running
  • linux 2.6.18-8.1.4.el5 kernel, and then try installing again.

configure: error: Unable to find kernel headers. Failing configure script.
error: Bad exit status from /var/tmp/rpm-tmp.23988 (%prep)

RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.23988 (%prep)

Again, guys, thank you so much for looking into this for me. I hope it helps.

Based on the following error, you will need to install the matching kernel-devel package from Red Hat:

  • Unable to locate matching kernel source for the
  • linux 2.6.18-8.1.4.el5 kernel that is currently running!
  • The Digi RealPort driver requires this linux kernel source to be
  • installed as /usr/src/linux-2.6.18-8.1.4.el5 before being able to correctly
  • build the driver.
  • Please install the kernel sources which must match the running
  • linux 2.6.18-8.1.4.el5 kernel, and then try installing again.