Re: [pmacct-discussion] trouble compiling 1.5.0

2014-10-22 Thread Chris

On 21/10/14 02:37, Paolo Lucente wrote:


Do i then understand you are still unable to compile 1.5.0 on this
system, no matter which work around you are trying out? If yes, would
it be a possibility to get access to this box for first hand kind of
troubleshooting?


If I remove the --disable-so compile flag it works:

http://pastebin.com/fZ2Mb8gU

(both in a regular vm and inside a chroot).

--
Postgresql  php tutorials
http://www.designmagick.com/


___
pmacct-discussion mailing list
http://www.pmacct.net/#mailinglists


Re: [pmacct-discussion] trouble compiling 1.5.0

2014-10-22 Thread itriA30110
Hi Chris, 

  I guess the issue happened during static build.  It seems be a common problem 
of libpcap.  I experienced this issue in other project using libpcap.

  Glad to see you workaround it.  

Best wishes,
TC
-Original Message-
From: pmacct-discussion [mailto:pmacct-discussion-boun...@pmacct.net] On Behalf 
Of Chris
Sent: Thursday, October 23, 2014 11:11 AM
To: pmacct-discussion@pmacct.net
Subject: Re: [pmacct-discussion] trouble compiling 1.5.0

On 21/10/14 02:37, Paolo Lucente wrote:

 Do i then understand you are still unable to compile 1.5.0 on this 
 system, no matter which work around you are trying out? If yes, would 
 it be a possibility to get access to this box for first hand kind of 
 troubleshooting?

If I remove the --disable-so compile flag it works:

http://pastebin.com/fZ2Mb8gU

(both in a regular vm and inside a chroot).

--
Postgresql  php tutorials
http://www.designmagick.com/


___
pmacct-discussion mailing list
http://www.pmacct.net/#mailinglists



本信件可能包含工研院機密資訊,非指定之收件者,請勿使用或揭露本信件內容,並請銷毀此信件。 
This email may contain confidential information. Please do not use or disclose 
it in any way and delete it if you are not the intended recipient.
___
pmacct-discussion mailing list
http://www.pmacct.net/#mailinglists

Re: [pmacct-discussion] trouble compiling 1.5.0

2014-10-22 Thread Chris
On 23/10/14 14:40, itria30...@itri.org.tw wrote:
 
I guess the issue happened during static build.  It seems be a common 
 problem of libpcap.  I experienced this issue in other project using libpcap.

Well the question still remains why it worked with 1.5.0rc1 but not
1.5.0 full.

-- 
Postgresql  php tutorials
http://www.designmagick.com/


___
pmacct-discussion mailing list
http://www.pmacct.net/#mailinglists


Re: [pmacct-discussion] trouble compiling 1.5.0

2014-10-20 Thread Paolo Lucente
Hi Chris,

Do i then understand you are still unable to compile 1.5.0 on this
system, no matter which work around you are trying out? If yes, would
it be a possibility to get access to this box for first hand kind of
troubleshooting?

Thanks,
Paolo 

On Fri, Oct 17, 2014 at 10:29:24AM +1100, Chris wrote:
 On 16/10/14 14:16, itria30...@itri.org.tw wrote:
  Hi Chris,
 My experience : try to assign libcap by yourself in configuration 
  parameter.
  Per the question why 1.5.0rc1 works but 1.5.0 doesn't , I leave it to other 
  smart people.
 
 Thanks for the suggestion, but it failed the same way.
 
 pmacct-1.5.0$ ./configure --prefix=/usr --bindir=/usr/sbin
 --sysconfdir=/etc/pmacct --enable-64bit --enable-pgsql --enable-sqlite3
 --disable-so --with-pcap-libs=/usr/lib64
 --with-pcap-includes=/usr/include/pcap
 loading cache ./config.cache
 checking for a BSD compatible install... /usr/bin/install -c
 checking whether build environment is sane... yes
 checking whether make sets ${MAKE}... yes
 checking for working aclocal-1.4... missing
 checking for working autoconf... found
 checking for working automake-1.4... missing
 checking for working autoheader... found
 checking for working makeinfo... found
 checking for gcc... gcc
 checking whether the C compiler (gcc  ) works... yes
 checking whether the C compiler (gcc  ) is a cross-compiler... no
 checking whether we are using GNU C... yes
 checking whether gcc accepts -g... yes
 checking OS... Linux
 checking hardware... x86_64
 checking for ranlib... ranlib
 checking whether to enable debugging compiler options... no
 checking whether to relax compiler optimizations... no
 checking whether to disable linking against shared objects... yes
 checking for gmake... gmake
 checking whether gmake sets ${MAKE}... yes
 checking for __progname... yes
 checking for extra flags needed to export symbols... none
 checking for static inline... yes
 checking endianess... little
 checking unaligned accesses... ok
 checking whether to enable L2 features... yes
 checking whether to enable IPv6 code... no
 checking whether to enable IP prefix labels... checking your own pcap
 includes... ok
 checking your own pcap libraries... ok
 checking for PF_RING library... no
 checking for pcap_dispatch in -lpcap... no
 configure: error:
 ERROR: missing pcap library. Refer to: http://www.tcpdump.org/
 
 
 I tried variations of the paths but they all failed.
 
 $ ls /usr/include/pcap*
 /usr/include/pcap-bpf.h  /usr/include/pcap.h  /usr/include/pcap-namedb.h
 
 /usr/include/pcap:
 bluetooth.h  bpf.h  ipnet.h  namedb.h  pcap.h  sll.h  usb.h  vlan.h
 
 $ ls /usr/lib64/libpcap*
 /usr/lib64/libpcap.so  /usr/lib64/libpcap.so.1  /usr/lib64/libpcap.so.1.4.0
 
 -- 
 Postgresql  php tutorials
 http://www.designmagick.com/
 
 
 ___
 pmacct-discussion mailing list
 http://www.pmacct.net/#mailinglists

___
pmacct-discussion mailing list
http://www.pmacct.net/#mailinglists