Page 1 of 1

Installation Error

Posted: Fri Dec 23, 2016 12:37 pm
by bosecorp
I get this error when I tried to install fprobe

# ./fprobeinstall.sh
Loaded plugins: refresh-packagekit, rhnplugin, security
This system is receiving updates from RHN Classic or RHN Satellite.
Setting up Install Process
Bose-prod-rhel-x86_64-server-6 | 1.5 kB 00:00
UBS-KITS | 951 B 00:00
bose-prod-rhel-x86_64-6-epel | 1.5 kB 00:00
Package wget-1.12-5.el6_6.1.x86_64 already installed and latest version
No package libpcap-devel available.
Package gcc-4.4.7-11.el6.x86_64 already installed and latest version
Package flex-2.5.35-9.el6.x86_64 already installed and latest version
Package byacc-1.9.20070509-7.el6.x86_64 already installed and latest version
Package bison-2.4.1-5.el6.x86_64 already installed and latest version
Package 1:make-3.81-20.el6.x86_64 already installed and latest version
Package bzip2-1.0.5-7.el6_0.x86_64 already installed and latest version
Nothing to do
--2016-12-23 12:34:15-- http://downloads.sourceforge.net/projec ... irror=iweb
Resolving downloads.sourceforge.net... 216.34.181.59
Connecting to downloads.sourceforge.net|216.34.181.59|:80... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://iweb.dl.sourceforge.net/project ... .1.tar.bz2 [following]
--2016-12-23 12:34:15-- https://iweb.dl.sourceforge.net/project ... .1.tar.bz2
Resolving iweb.dl.sourceforge.net... 192.175.120.182, 2607:f748:10:12::5f:2
Connecting to iweb.dl.sourceforge.net|192.175.120.182|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 104358 (102K) [application/octet-stream]
Saving to: â€fprobe-1.1.tar.bz2”

100%[=====================================================================================================================================================================>] 104,358 --.-K/s in 0.03s

2016-12-23 12:34:15 (3.10 MB/s) - â€fprobe-1.1.tar.bz2” saved [104358/104358]

fprobe-1.1/
fprobe-1.1/contrib/
fprobe-1.1/contrib/tg.sh
fprobe-1.1/contrib/redhat-init.d
fprobe-1.1/README
fprobe-1.1/configure.in
fprobe-1.1/aclocal.m4
fprobe-1.1/Makefile.am
fprobe-1.1/Makefile.in
fprobe-1.1/config.h.in
fprobe-1.1/configure
fprobe-1.1/AUTHORS
fprobe-1.1/COPYING
fprobe-1.1/ChangeLog
fprobe-1.1/INSTALL
fprobe-1.1/NEWS
fprobe-1.1/TODO
fprobe-1.1/config.guess
fprobe-1.1/config.sub
fprobe-1.1/install-sh
fprobe-1.1/missing
fprobe-1.1/mkinstalldirs
fprobe-1.1/autogen.sh
fprobe-1.1/fprobe.spec
fprobe-1.1/version
fprobe-1.1/src/
fprobe-1.1/src/Makefile.am
fprobe-1.1/src/Makefile.in
fprobe-1.1/src/fprobe.c
fprobe-1.1/src/fprobe.h
fprobe-1.1/src/netflow.c
fprobe-1.1/src/netflow.h
fprobe-1.1/src/hash.c
fprobe-1.1/src/hash.h
fprobe-1.1/src/mem.c
fprobe-1.1/src/mem.h
fprobe-1.1/src/my_getopt.c
fprobe-1.1/src/my_getopt.h
fprobe-1.1/src/my_log.c
fprobe-1.1/src/my_log.h
fprobe-1.1/src/common.h
fprobe-1.1/src/my_inttypes.h
fprobe-1.1/src/fprobe.8
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking for C compiler default output file name... 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 style of include used by make... GNU
checking dependency style of gcc... none
checking for a BSD-compatible install... /usr/bin/install -c
checking for pthread_create in -lpthread... yes
checking for library containing socket... none required
checking for library containing gethostbyname... none required
checking for library containing sched_setscheduler... none required
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for inttypes.h... (cached) yes
checking pcap.h usability... no
checking pcap.h presence... no
checking for pcap.h... no
checking for pcap.h in alternative location...
configure: error: pcap.h not found
make: *** No targets specified and no makefile found. Stop.
make: *** No rule to make target `install'. Stop.


To get started just enter:
fprobe -i <interface> <NNA server>:<port>


which: no fprobe in (/usr/lib64/qt-3.3/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin:/etc/BOSE:/home/Spherion/admin_scripts:/ubshomes/Spherion/admin_scripts:/opt/DynamicLinkManager/bin)
To get fprobe to boot on restart enter the following command:
echo " -i <interface> <NNA server>:<port>" >> /etc/rc.local

Re: Installation Error

Posted: Tue Dec 27, 2016 11:28 am
by tgriep
The output says that it cannot find the libpcap-devel package which comes from the Redhat optional repositories, so if you enable that on your server, that should download the missing package.
Take a look at this link for the instructions to enable the repo.
https://access.redhat.com/documentation ... repos.html

Re: Installation Error

Posted: Sun Jan 01, 2017 7:19 pm
by bosecorp
fixed the issue. found the solution in another post.

thanks. you can close this post

Re: Installation Error

Posted: Tue Jan 03, 2017 10:31 am
by dwhitfield
Any chance you could point us to that post? Thanks!