[Wireshark-dev] Regarding buiding Ethereal

2007-03-26 Thread Manjunath P
 I am a newbie  to Wireshark  development. My aim is to have a protocol  
dissector.
I have Windows XP  along with cygwin  installed on my m/c.
I have downloaded  source from  
http://www.wireshark.org/download/src/wireshark-0.99.5.tar.gz
I read the INSTALL  file and tried to do a ./configure in wireshark folder 
through cygwin.
Then, I got this error and stops.

xxxstartxxx

checking whether to use libpcap for packet capture... yes
checking for extraneous pcap header directories... not found
checking pcap.h usability... no
checking pcap.h presence... no
checking for pcap.h... no
configure: error: Header file pcap.h not found; if you installed libpcap
from source, did you also do make install-incl, and if you installed a
binary package of libpcap, is there also a developer's package of libpcap,
and did you also install that package?
xxxENDx

I downloaded libpcap  source from www.tcpdump.org  and put inside wireshark 
directory.
I tried to compile this libcap separately and got an error


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 sys/ioccom.h... no
checking for sys/sockio.h... no
checking for ifaddrs.h... no
checking for limits.h... yes
checking for netinet/if_ether.h... no
checking for ANSI ioctl definitions... no
configure: error: see the INSTALL for more info


 How to move forward in the building process.???
---Manju
SASKEN BUSINESS DISCLAIMER
-
This message may contain confidential, proprietary or legally privileged 
information. In 
case you are not the original intended Recipient of the message, you must not, 
directly or 
indirectly, use, Disclose, distribute, print, or copy any part of this message 
and you are 
requested to delete it and inform the sender. Any views expressed in this 
message are 
those of the individual sender unless otherwise stated. Nothing contained in 
this message 
shall be construed as an offer or acceptance of any offer by Sasken 
Communication 
Technologies Limited (Sasken) unless sent with that express intent and with 
due 
authority of Sasken. Sasken has taken enough precautions to prevent the spread 
of 
viruses. However the company accepts no liability for any damage caused by any 
virus 
transmitted by this email
___
Wireshark-dev mailing list
Wireshark-dev@wireshark.org
http://www.wireshark.org/mailman/listinfo/wireshark-dev


Re: [Wireshark-dev] Regarding buiding Ethereal

2007-03-26 Thread Abhik Sarkar
Hi Manjunath,

On WIN32, there are several other requirements than just cygwin to
compile WS. Please check out the documentation at
http://wireshark.org/develop.html and
http://wireshark.org/download/docs/developer-guide-a4.pdf to start
with. If you follow the instructions in the developer guide without
deviating, you can will almost certainly be successful on the first
compile attempt.

Regards,
Abhik

On 3/26/07, Manjunath P [EMAIL PROTECTED] wrote:

  I am a newbie  to Wireshark  development. My aim is to have a protocol
 dissector.
 I have Windows XP  along with cygwin  installed on my m/c.
 I have downloaded  source from
 http://www.wireshark.org/download/src/wireshark-0.99.5.tar.gz
 I read the INSTALL  file and tried to do a ./configure in wireshark
 folder through cygwin.
 Then, I got this error and stops.

 xxxstartxxx

 checking whether to use libpcap for packet capture... yes
 checking for extraneous pcap header directories... not found
 checking pcap.h usability... no
 checking pcap.h presence... no
 checking for pcap.h... no
 configure: error: Header file pcap.h not found; if you installed libpcap
 from source, did you also do make install-incl, and if you installed a
 binary package of libpcap, is there also a developer's package of libpcap,
 and did you also install that package?
 xxxENDx

 I downloaded libpcap  source from www.tcpdump.org  and put inside
 wireshark directory.
 I tried to compile this libcap separately and got an error

 
 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 sys/ioccom.h... no
 checking for sys/sockio.h... no
 checking for ifaddrs.h... no
 checking for limits.h... yes
 checking for netinet/if_ether.h... no
 checking for ANSI ioctl definitions... no
 configure: error: see the INSTALL for more info
 

  How to move forward in the building process.???
 ---Manju
  SASKEN BUSINESS DISCLAIMER
-
This message may
 contain confidential, proprietary or legally privileged information. In

case you are not the original intended Recipient of the message, you must
 not, directly or
indirectly, use, Disclose, distribute, print, or copy any
 part of this message and you are
requested to delete it and inform the
 sender. Any views expressed in this message are
those of the individual
 sender unless otherwise stated. Nothing contained in this message
shall be
 construed as an offer or acceptance of any offer by Sasken Communication

Technologies Limited (Sasken) unless sent with that express intent and
 with due
authority of Sasken. Sasken has taken enough precautions to
 prevent the spread of
viruses. However the company accepts no liability for
 any damage caused by any virus
transmitted by this email

 ___
 Wireshark-dev mailing list
 Wireshark-dev@wireshark.org
 http://www.wireshark.org/mailman/listinfo/wireshark-dev


___
Wireshark-dev mailing list
Wireshark-dev@wireshark.org
http://www.wireshark.org/mailman/listinfo/wireshark-dev