LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 05-28-2006, 01:47 AM   #1
qasali
LQ Newbie
 
Registered: May 2006
Posts: 2

Rep: Reputation: 0
Red face Installation problem libpcap-0.9.4. Please help


I m a newbie in linux. I have installed FC3 on my machine and trying to install libpcap-0.9.4 to write a packet capturing programme using GTK and c.

I downloaded the latest version from tcpdump.org and tried to installed. I guess ./configure went fine but 'make' command creates problem. The output on the shell is

*************************************
./configure
*************************************

checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for 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 gcc version... 3
checking for inline... inline
checking for __attribute__... yes
checking for u_int8_t using gcc... yes
checking for u_int16_t using gcc... yes
checking for u_int32_t using gcc... yes
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 sys/ioccom.h usability... no
checking sys/ioccom.h presence... no
checking for sys/ioccom.h... no
checking sys/sockio.h usability... no
checking sys/sockio.h presence... no
checking for sys/sockio.h... no
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking for netinet/if_ether.h... yes
checking for ANSI ioctl definitions... yes
checking for strerror... yes
checking for strlcpy... no
checking for vsnprintf... yes
checking for snprintf... yes
checking for library containing gethostbyname... none required
checking for library containing socket... none required
checking for library containing putmsg... none required
checking for ether_hostton... yes
checking whether ether_hostton is declared... no
checking netinet/ether.h usability... yes
checking netinet/ether.h presence... yes
checking for netinet/ether.h... yes
checking whether ether_hostton is declared... yes
checking if --disable-protochain option is specified... enabled
checking packet capture type... linux
checking for getifaddrs... yes
checking ifaddrs.h usability... yes
checking ifaddrs.h presence... yes
checking for ifaddrs.h... yes
checking if --enable-ipv6 option is specified... no
checking whether to build optimizer debugging code... no
checking whether to build parser debugging code... no
checking Linux kernel version... 2
checking if if_packet.h has tpacket_stats defined... yes
checking whether we have /proc/net/dev... yes
checking whether we have DAG API headers... no (/usr/local/include)
checking whether we have Septel API... no
checking for flex... flex
checking for flex 2.4 or higher... yes
checking for bison... bison
checking for ranlib... ranlib
checking if sockaddr struct has sa_len member... no
checking if sockaddr_storage struct exists... yes
checking if dl_hp_ppa_info_t struct has dl_module_id_1 member... no
checking if unaligned accesses fail... no
checking for a BSD-compatible install... /usr/bin/install -c
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
config.status: config.h is unchanged


*****************************************
make
*****************************************

make: *** No rule to make target `VERSION', needed by `version.h'. Stop.


*****************************************
make install-incl
****************************************

make: *** No rule to make target `install-incl'. Stop.





Please help me in digging out the problem. S O S

Thanks
QASIM
 
Old 05-29-2006, 12:33 PM   #2
paulsm4
LQ Guru
 
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Blog Entries: 1

Rep: Reputation: Disabled
You should have a file called "VERSION" in your libpcap tarball.

Please try this:
1. Make sure you have read/write permissions in your build directory

2. Delete everything. Extract libpcap again:
tar xvzf $SRCDIR/libcap*.tar.gz

3. "cd" into your libpcap build directory.
Re-run configure. Make sure everything's OK:
Quote:
EXAMPLE:
ls -l Makefile =>
-rw-r--r-- 1 *** *** 7635 2006-05-29 10:25 Makefile

ls -l VERSION =>
-rw-r--r-- 1 *** *** 6 2005-07-15 12:26 VERSION

cat VERSION =>
0.9.4
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
problem with libpcap ARCIS_house Linux - Newbie 9 06-05-2006 12:41 AM
problem with libnet/libpcap on Linux filomotta Programming 0 05-31-2005 07:49 AM
problem installing libpcap aaronruss Linux - Newbie 0 06-05-2004 03:09 PM
libpcap 0.8.3 installation problem open2rock Linux - Software 3 05-15-2004 01:23 AM
mandrake 9.2 libpcap problem ziegen Mandriva 1 11-07-2003 01:24 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 01:18 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration