I hand edited the configure.in and commented out the following from line 14

AC_CONFIG_MACRO_DIR([m4])

And was able to compile successfully, I don't know how important that 
line was...


Michael Hsu wrote:
> Luca,
>    I tried building your new snapshot from nprobe_5.2.1_050209_pro.tgz 
> and still got the same error that Brian got.  I am also using CentOS 5.2.
>
> nprobe_5.2.1_050209_pro]$ ./autogen.sh
>
> Starting nProbe automatic configuration system v0.2.1
>
>   Please be patient, there is a lot to do...
>
> 1. Testing gnu tools....
>     libtool ..... 1.5.22
>         .... ok
>     automake .... 1.9.6
>         .... ok
>     autoconf .... 2.59
>         .... ok
>
> 2. Preparing for libtool ....
> You should add the contents of `/usr/share/aclocal/libtool.m4' to 
> `aclocal.m4'.
>         .... done
>
> 3. Create acinclude.m4, local definitions for automake ...
>         .... done
>
> 4. Running aclocal to create aclocal.m4 ...
>         .... done
>
> 5. Running autoheader to create config.h.in ...
>         .... done
>
> 6. Running automake to create Makefile.in ...
> configure.in: installing `./install-sh'
> configure.in: installing `./missing'
> Makefile.am: installing `./INSTALL'
> Makefile.am: installing `./COPYING'
> Makefile.am: installing `./compile'
> Makefile.am: installing `./depcomp'
>         .... done
>
> which: no glibtool in 
> (/usr/lib64/qt-3.3/bin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/home/mhsu/bin)
> 7. Running autoconf to create configure ...
>         .... done
>
> 8. Running ./configure ...
> I am going to run ./configure with no arguments
> if you wish to pass any to it, please specify them on the ./autogen.sh 
> command line.
> configure: error: cannot find macro directory `m4'
>
>
> Luca Deri wrote:
>> Brian
>> I have put out a new source snapshot that should compile on your  
>> platform.
>>
>> Regards Luca
>>
>> On May 1, 2009, at 5:22 PM, Brian Mengel wrote:
>>
>>   
>>> Luca,
>>>
>>> In case the issue is related, I'm still seeing an error running
>>> autogen.sh on a CentOS 5.2 server with this version of nprobe.  The
>>> last official release of nprobe continues to compile cleanly when
>>> unpackaged.  Here is the error:
>>>
>>> [r...@localhost nprobe_5.2.0_050109_pro]# ./autogen.sh
>>>
>>> Starting nProbe automatic configuration system v0.2.1
>>>
>>>  Please be patient, there is a lot to do...
>>>
>>> 1. Testing gnu tools....
>>>    libtool ..... 1.5.22
>>>        .... ok
>>>    automake .... 1.9.6
>>>        .... ok
>>>    autoconf .... 2.59
>>>        .... ok
>>>
>>> 2. Preparing for libtool ....
>>> You should add the contents of `/usr/share/aclocal/libtool.m4' to  
>>> `aclocal.m4'.
>>>        .... done
>>>
>>> 3. Create acinclude.m4, local definitions for automake ...
>>>        .... done
>>>
>>> 4. Running aclocal to create aclocal.m4 ...
>>>        .... done
>>>
>>> 5. Running autoheader to create config.h.in ...
>>>        .... done
>>>
>>> 6. Running automake to create Makefile.in ...
>>> configure.in: installing `./install-sh'
>>> configure.in: installing `./missing'
>>> plugins/Makefile.am: installing `./compile'
>>> plugins/Makefile.am: installing `./depcomp'
>>> plugins/Makefile.am:213: variable `libntopPlugin_la_LDFLAGS' is
>>> defined but no program or
>>> plugins/Makefile.am:213: library has `libntopPlugin_la' as canonic
>>> name (possible typo)
>>> plugins/Makefile.am:212: variable `libntopPlugin_la_SOURCES' is
>>> defined but no program or
>>> plugins/Makefile.am:212: library has `libntopPlugin_la' as canonic
>>> name (possible typo)
>>> Makefile.am: installing `./INSTALL'
>>> Makefile.am: installing `./COPYING'
>>>        .... done
>>>
>>> which: no glibtool in
>>> (/usr/lib/qt-3.3/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/ 
>>> sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin)
>>> 7. Running autoconf to create configure ...
>>>        .... done
>>>
>>> 8. Running ./configure ...
>>> I am going to run ./configure with no arguments
>>> if you wish to pass any to it, please specify them on the ./autogen.sh
>>> command line.
>>> configure: error: cannot find macro directory `m4'
>>>
>>>
>>> On Fri, May 1, 2009 at 6:45 AM, Luca Deri <[email protected]> wrote:
>>>     
>>>> Michael
>>>> I have uploaded the new nProbe 5.2.x on the server that should  
>>>> address
>>>> the issues you reported.
>>>>
>>>> Regards Luca
>>>>
>>>> On Apr 29, 2009, at 11:57 PM, Yuri Francalacci wrote:
>>>>
>>>>       
>>>>> That error could be an error related to the latest development.
>>>>> I'm going to check what caused it and send you a fix.
>>>>> Regards, Yuri
>>>>>
>>>>>
>>>>> On Apr 29, 2009, at 12:30 AM, Michael Hsu wrote:
>>>>>
>>>>>         
>>>>>> Hi, my company just recently purchased nProbe Pro, I currently have
>>>>>> 5.0.2_111608_pro built and running but When trying to build
>>>>>> 5.1.1_022809_pro I get the following errors during 'make' when it  
>>>>>> is
>>>>>> building the plugins:
>>>>>>
>>>>>> if /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -
>>>>>> I. -I. -I.. -I..  -I/usr/include/mysql -g -pipe -Wp,-
>>>>>> D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp- 
>>>>>> buffer-
>>>>>> size=4 -m64 -mtune=generic -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -
>>>>>> D_LARGEFILE_SOURCE -fno-strict-aliasing -fwrapv -I /lib/modules/
>>>>>> 2.6.18-92.1.22.el5.oversee/source/include     -g -O2 -pipe -MT
>>>>>> libl7Plugin_la-l7Plugin.lo -MD -MP -MF ".deps/libl7Plugin_la-
>>>>>> l7Plugin.Tpo" -c -o libl7Plugin_la-l7Plugin.lo `test -f  
>>>>>> 'l7Plugin.c'
>>>>>> || echo './'`l7Plugin.c; \
>>>>>> then mv -f ".deps/libl7Plugin_la-l7Plugin.Tpo" ".deps/ 
>>>>>> libl7Plugin_la-
>>>>>> l7Plugin.Plo"; else rm -f ".deps/libl7Plugin_la-l7Plugin.Tpo"; exit
>>>>>> 1; fi
>>>>>> gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/usr/include/mysql -g - 
>>>>>> pipe -
>>>>>> Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-
>>>>>> buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -
>>>>>> D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -fno-strict-aliasing -
>>>>>> fwrapv -I /lib/modules/2.6.18-92.1.22.el5.oversee/source/include - 
>>>>>> g -
>>>>>> O2 -pipe -MT libl7Plugin_la-l7Plugin.lo -MD -MP -MF .deps/
>>>>>> libl7Plugin_la-l7Plugin.Tpo -c l7Plugin.c  -fPIC -DPIC -o .libs/
>>>>>> libl7Plugin_la-l7Plugin.o
>>>>>> l7Plugin.c: In function 'l7Plugin_packet':
>>>>>> l7Plugin.c:240: error: 'HashBucket' has no member named 'bytesSent'
>>>>>> l7Plugin.c:240: error: 'HashBucket' has no member named 'bytesRcvd'
>>>>>> make[3]: *** [libl7Plugin_la-l7Plugin.lo] Error 1
>>>>>> make[3]: Leaving directory `/home/XXXX/nprobe_5.1.1_022809_pro/
>>>>>> plugins'
>>>>>> make[2]: *** [all-recursive] Error 1
>>>>>> make[2]: Leaving directory `/home/XXXX/nprobe_5.1.1_022809_pro/
>>>>>> plugins'
>>>>>> make[1]: *** [all-recursive] Error 1
>>>>>> make[1]: Leaving directory `/home/XXXX/nprobe_5.1.1_022809_pro'
>>>>>> make: *** [all] Error 2
>>>>>>
>>>>>>
>>>>>> I am building this on Centos 5.2 x86_64 running a version of Centos
>>>>>> kernel 2.6.18-92.1.22.el5 patched for PF_RING.  Any assistance is
>>>>>> appreciated.
>>>>>> Thank you,
>>>>>> Michael Hsu
>>>>>> _______________________________________________
>>>>>> Ntop-misc mailing list
>>>>>> [email protected]
>>>>>> http://listgateway.unipi.it/mailman/listinfo/ntop-misc
>>>>>>           
>>>>> _______________________________________________
>>>>> Ntop-misc mailing list
>>>>> [email protected]
>>>>> http://listgateway.unipi.it/mailman/listinfo/ntop-misc
>>>>>         
>>>> _______________________________________________
>>>> Ntop-misc mailing list
>>>> [email protected]
>>>> http://listgateway.unipi.it/mailman/listinfo/ntop-misc
>>>>
>>>>       
>>> _______________________________________________
>>> Ntop-misc mailing list
>>> [email protected]
>>> http://listgateway.unipi.it/mailman/listinfo/ntop-misc
>>>     
>>
>> _______________________________________________
>> Ntop-misc mailing list
>> [email protected]
>> http://listgateway.unipi.it/mailman/listinfo/ntop-misc
>>   
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Ntop-misc mailing list
> [email protected]
> http://listgateway.unipi.it/mailman/listinfo/ntop-misc
>   

_______________________________________________
Ntop-misc mailing list
[email protected]
http://listgateway.unipi.it/mailman/listinfo/ntop-misc

Reply via email to