Re: [Ntop] Latest stable version for Solaris

2009-06-10 Thread Gary Gatten
So what is latest STABLE release I can get from SVN?  Lots of notes
about r3772, but wasn't sure if it's the one with various fixes applied?

Every time I fix a problem I find two more, so I'm starting over from
scratch.

G


-Original Message-
From: Gary Gatten 
Sent: Tuesday, June 09, 2009 2:12 PM
To: 'ntop@unipi.it'
Subject: RE: [Ntop] Latest stable version for Solaris

I'll double check this and move some stuff around.  I have multiple
versions installed in different locations, so I think it's getting
confused finding some things from $PATH and some from the various FLAGS.

I actually got passed the configure process, but now I get an error
about libpcap.a.  Tried following the instructions below, but again an
error about libpcap.so.1 (libpcap.so*) doesn't exist.  So now I'm stuck.
I can't find libpcap.so* anywhere...

echo *
echo 
echo IMPORTANT IMPORTANT IMPORTANT IMPORTANT IMPORTANT
echo 
echo Do not use the static (libpcap.a) library but build
echo the shared library as follows:
echo - cd libpcap-0.X.Y
echo - ./configure
echo - su
echo - make install-shared
echo - cd /usr/local/lib
echo - ln -s libpcap.so.0.X.Y libpcap.so
echo - rm libpcap.a
echo 
echo 

-Original Message-
From: ntop-boun...@unipi.it [mailto:ntop-boun...@unipi.it] On Behalf Of
Yuri Francalacci
Sent: Tuesday, June 09, 2009 2:01 PM
To: ntop@unipi.it
Subject: Re: [Ntop] Latest stable version for Solaris

Gary,
my gnu tools are located under /usr/local/bin (I've downloaded from  
sunfreeware.com) and my autogen.sh works.
If it could help you these are all the packages I have installed
(autoconf-2.63-sol10-x86-local   gcc-3.4.6-sol10-x86-local
libiconv-1.11-sol10-x86-local   m4-1.4.12-sol10-x86-local
openssl-0.9.8k-sol10-x86-local automake-1.11-sol10-x86-local
gdbm-1.8.3-sol10-intel-locallibintl-3.4.0-sol10-x86-local
make-3.81-sol10-x86-local   wget-1.11.4-sol10-x86-local bash-4.0- 
sol10-x86-locallibevent-1.4.11-stable  libsigsegv-2.6- 
sol10-x86-local  ntop-3.3.10
db-4.2.52.NC-sol10-intel-local   libtool-1.5.24-sol10-x86-local )

Libevent needs to be compiled.
Yuri


  ./autogen.sh

Starting ntop automatic configuration system v.0.2.3

   Please be patient, there is a lot to do...

1. Testing gnu tools
 libtool . /usr/local/bin/sed:
1.5.24
  ok
 automake  1.11
  ok
 autoconf  2.63
  ok

2. Preparing for libtool 
You should update your `aclocal.m4' by running aclocal.
  done

3. Create acinclude.m4, local definitions for automake ...
  done

4. Running aclocal to create aclocal.m4 ...
acinclude.m4:206: the serial number must appear before any macro  
definition
configure.in:169: warning:  
AC_CACHE_VAL(lt_prog_compiler_pic_works, ...): suspicious cache-id,  
must contain _cv_ to be cached
../../lib/autoconf/general.m4:1974: AC_CACHE_VAL is expanded from...
../../lib/autoconf/general.m4:1994: AC_CACHE_CHECK is expanded from...
acinclude.m4:828: AC_LIBTOOL_COMPILER_OPTION is expanded from...
acinclude.m4:5128: AC_LIBTOOL_PROG_COMPILER_PIC is expanded from...
acinclude.m4:2896: _LT_AC_LANG_C_CONFIG is expanded from...
acinclude.m4:2895: AC_LIBTOOL_LANG_C_CONFIG is expanded from...
acinclude.m4:276: AC_LIBTOOL_SETUP is expanded from...
acinclude.m4:256: _AC_PROG_LIBTOOL is expanded from...
acinclude.m4:221: AC_PROG_LIBTOOL is expanded from...
acinclude.m4:6673: AM_PROG_LIBTOOL is expanded from...
configure.in:169: the top level
configure.in:169: warning:  
AC_CACHE_VAL(lt_prog_compiler_static_works, ...): suspicious cache-id,  
must contain _cv_ to be cached
acinclude.m4:873: AC_LIBTOOL_LINKER_OPTION is expanded from...
configure.in:169: warning:  
AC_CACHE_VAL(lt_prog_compiler_pic_works_CXX, ...): suspicious cache- 
id, must contain _cv_ to be cached
acinclude.m4:2977: _LT_AC_LANG_CXX_CONFIG is expanded from...
acinclude.m4:2976: AC_LIBTOOL_LANG_CXX_CONFIG is expanded from...
acinclude.m4:2021: _LT_AC_TAGCONFIG is expanded from...
configure.in:169: warning:  
AC_CACHE_VAL(lt_prog_compiler_static_works_CXX, ...): suspicious cache- 
id, must contain _cv_ to be cached
configure.in:169: warning:  
AC_CACHE_VAL(lt_prog_compiler_pic_works_F77, ...): suspicious cache- 
id, must contain _cv_ to be cached
acinclude.m4:4203: _LT_AC_LANG_F77_CONFIG is expanded from...
acinclude.m4:4202: AC_LIBTOOL_LANG_F77_CONFIG is expanded from...
configure.in:169: warning:  
AC_CACHE_VAL(lt_prog_compiler_static_works_F77, ...): suspicious cache- 
id, must contain _cv_ to be cached
configure.in:169: warning:  
AC_CACHE_VAL(lt_prog_compiler_pic_works_GCJ, ...): suspicious cache- 
id, must contain _cv_ to be cached
acinclude.m4:4312: _LT_AC_LANG_GCJ_CONFIG is expanded from...
acinclude.m4:4311: AC_LIBTOOL_LANG_GCJ_CONFIG is expanded from...
configure.in:169: warning:  
AC_CACHE_VAL(lt_prog_compiler_static_works_GCJ

Re: [Ntop] Latest stable version for Solaris

2009-06-09 Thread Gary Gatten
PS: I've got Solaris 10 on x86.  All my GNU tools I got from CSW.org, so
the path is /opt/csw/*.  This is my path:

 

 

PATH=/usr/sbin:/usr/bin:/usr/ccs/bin:/opt/csw/bin:/opt/csw/gcc3/bin

 

Just got past cannot find libtool.m4.in error by manually cp/rename
from the csw/share/aclocal dir.  But now this:

 

checking whether make sets $(MAKE)... (cached) yes

./configure: line 4460: LTOPTIONS_VERSION: command not found

./configure: line 4461: LTSUGAR_VERSION: command not found

./configure: line 4462: LTVERSION_VERSION: command not found

./configure: line 4463: LTOBSOLETE_VERSION: command not found

checking for a sed that does not truncate output... /opt/csw/bin/gsed

./configure: line 4528: syntax error near unexpected token
`lt_decl_varnames,'

./configure: line 4528: `lt_if_append_uniq(lt_decl_varnames, SED, , ,'

 

 

 



From: Gary Gatten 
Sent: Tuesday, June 09, 2009 11:33 AM
To: 'ntop@unipi.it'; ntop-...@unipi.it
Subject: Latest stable version for Solaris

 

I got 3.3.10 off of SourceForge and several versions off SVN - none will
compile (or even configure) with various errors: can't find m4
directory, can't find Makefile.in, can't find libtool.m4.in, etc. etc.
Spent about 10 hours on this now and am basically no where.

 

How do I go about getting the latest stable rev that should work?

 

TIA!

 

Gary

 






font size=1
div style='border:none;border-bottom:double windowtext 2.25pt;padding:0in 0in 
1.0pt 0in'
/div
This email is intended to be reviewed by only the intended recipient
 and may contain information that is privileged and/or confidential.
 If you are not the intended recipient, you are hereby notified that
 any review, use, dissemination, disclosure or copying of this email
 and its attachments, if any, is strictly prohibited.  If you have
 received this email in error, please immediately notify the sender by
 return email and delete this email from your system.
/font

___
Ntop mailing list
Ntop@unipi.it
http://listgateway.unipi.it/mailman/listinfo/ntop


Re: [Ntop] Latest stable version for Solaris

2009-06-09 Thread Yuri Francalacci

Gary,
my gnu tools are located under /usr/local/bin (I've downloaded from  
sunfreeware.com) and my autogen.sh works.

If it could help you these are all the packages I have installed
(autoconf-2.63-sol10-x86-local   gcc-3.4.6-sol10-x86-local
libiconv-1.11-sol10-x86-local   m4-1.4.12-sol10-x86-local
openssl-0.9.8k-sol10-x86-local automake-1.11-sol10-x86-local
gdbm-1.8.3-sol10-intel-locallibintl-3.4.0-sol10-x86-local
make-3.81-sol10-x86-local   wget-1.11.4-sol10-x86-local bash-4.0- 
sol10-x86-locallibevent-1.4.11-stable  libsigsegv-2.6- 
sol10-x86-local  ntop-3.3.10

db-4.2.52.NC-sol10-intel-local   libtool-1.5.24-sol10-x86-local )

Libevent needs to be compiled.
Yuri


 ./autogen.sh

Starting ntop automatic configuration system v.0.2.3

  Please be patient, there is a lot to do...

1. Testing gnu tools
libtool . /usr/local/bin/sed:
1.5.24
 ok
automake  1.11
 ok
autoconf  2.63
 ok

2. Preparing for libtool 
You should update your `aclocal.m4' by running aclocal.
 done

3. Create acinclude.m4, local definitions for automake ...
 done

4. Running aclocal to create aclocal.m4 ...
acinclude.m4:206: the serial number must appear before any macro  
definition
configure.in:169: warning:  
AC_CACHE_VAL(lt_prog_compiler_pic_works, ...): suspicious cache-id,  
must contain _cv_ to be cached

../../lib/autoconf/general.m4:1974: AC_CACHE_VAL is expanded from...
../../lib/autoconf/general.m4:1994: AC_CACHE_CHECK is expanded from...
acinclude.m4:828: AC_LIBTOOL_COMPILER_OPTION is expanded from...
acinclude.m4:5128: AC_LIBTOOL_PROG_COMPILER_PIC is expanded from...
acinclude.m4:2896: _LT_AC_LANG_C_CONFIG is expanded from...
acinclude.m4:2895: AC_LIBTOOL_LANG_C_CONFIG is expanded from...
acinclude.m4:276: AC_LIBTOOL_SETUP is expanded from...
acinclude.m4:256: _AC_PROG_LIBTOOL is expanded from...
acinclude.m4:221: AC_PROG_LIBTOOL is expanded from...
acinclude.m4:6673: AM_PROG_LIBTOOL is expanded from...
configure.in:169: the top level
configure.in:169: warning:  
AC_CACHE_VAL(lt_prog_compiler_static_works, ...): suspicious cache-id,  
must contain _cv_ to be cached

acinclude.m4:873: AC_LIBTOOL_LINKER_OPTION is expanded from...
configure.in:169: warning:  
AC_CACHE_VAL(lt_prog_compiler_pic_works_CXX, ...): suspicious cache- 
id, must contain _cv_ to be cached

acinclude.m4:2977: _LT_AC_LANG_CXX_CONFIG is expanded from...
acinclude.m4:2976: AC_LIBTOOL_LANG_CXX_CONFIG is expanded from...
acinclude.m4:2021: _LT_AC_TAGCONFIG is expanded from...
configure.in:169: warning:  
AC_CACHE_VAL(lt_prog_compiler_static_works_CXX, ...): suspicious cache- 
id, must contain _cv_ to be cached
configure.in:169: warning:  
AC_CACHE_VAL(lt_prog_compiler_pic_works_F77, ...): suspicious cache- 
id, must contain _cv_ to be cached

acinclude.m4:4203: _LT_AC_LANG_F77_CONFIG is expanded from...
acinclude.m4:4202: AC_LIBTOOL_LANG_F77_CONFIG is expanded from...
configure.in:169: warning:  
AC_CACHE_VAL(lt_prog_compiler_static_works_F77, ...): suspicious cache- 
id, must contain _cv_ to be cached
configure.in:169: warning:  
AC_CACHE_VAL(lt_prog_compiler_pic_works_GCJ, ...): suspicious cache- 
id, must contain _cv_ to be cached

acinclude.m4:4312: _LT_AC_LANG_GCJ_CONFIG is expanded from...
acinclude.m4:4311: AC_LIBTOOL_LANG_GCJ_CONFIG is expanded from...
configure.in:169: warning:  
AC_CACHE_VAL(lt_prog_compiler_static_works_GCJ, ...): suspicious cache- 
id, must contain _cv_ to be cached

 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.


Welcome to ntop, Version 3.3.10
  copyright (c) 1998-2009 Luca Deri d...@ntop.org

Configuration script version v3.3.10-06-01-2009


*  *
* NOTICE:  I know you're used to ignoring output from ./configure  *
*  *
*  ntop has a lot of complexity and interdependences.  *
*  *
*  Please, please AT LEAST read the stuff in these boxes!  *
*  *
* The ACTION taken by ./configure is shown prefixed with ''  *
*  *
*If that ACTION is unacceptable,   *
*??? Steps to take to fix the problem are shown, prefixed with '???'   *
*  *


NOTE:


On Jun 9, 2009, at 7:01 PM, Gary Gatten wrote:

PS: I’ve got Solaris 10 on x86.  All my GNU tools I got 

Re: [Ntop] Latest stable version for Solaris

2009-06-09 Thread Gary Gatten
I'll double check this and move some stuff around.  I have multiple
versions installed in different locations, so I think it's getting
confused finding some things from $PATH and some from the various FLAGS.

I actually got passed the configure process, but now I get an error
about libpcap.a.  Tried following the instructions below, but again an
error about libpcap.so.1 (libpcap.so*) doesn't exist.  So now I'm stuck.
I can't find libpcap.so* anywhere...

echo *
echo 
echo IMPORTANT IMPORTANT IMPORTANT IMPORTANT IMPORTANT
echo 
echo Do not use the static (libpcap.a) library but build
echo the shared library as follows:
echo - cd libpcap-0.X.Y
echo - ./configure
echo - su
echo - make install-shared
echo - cd /usr/local/lib
echo - ln -s libpcap.so.0.X.Y libpcap.so
echo - rm libpcap.a
echo 
echo 

-Original Message-
From: ntop-boun...@unipi.it [mailto:ntop-boun...@unipi.it] On Behalf Of
Yuri Francalacci
Sent: Tuesday, June 09, 2009 2:01 PM
To: ntop@unipi.it
Subject: Re: [Ntop] Latest stable version for Solaris

Gary,
my gnu tools are located under /usr/local/bin (I've downloaded from  
sunfreeware.com) and my autogen.sh works.
If it could help you these are all the packages I have installed
(autoconf-2.63-sol10-x86-local   gcc-3.4.6-sol10-x86-local
libiconv-1.11-sol10-x86-local   m4-1.4.12-sol10-x86-local
openssl-0.9.8k-sol10-x86-local automake-1.11-sol10-x86-local
gdbm-1.8.3-sol10-intel-locallibintl-3.4.0-sol10-x86-local
make-3.81-sol10-x86-local   wget-1.11.4-sol10-x86-local bash-4.0- 
sol10-x86-locallibevent-1.4.11-stable  libsigsegv-2.6- 
sol10-x86-local  ntop-3.3.10
db-4.2.52.NC-sol10-intel-local   libtool-1.5.24-sol10-x86-local )

Libevent needs to be compiled.
Yuri


  ./autogen.sh

Starting ntop automatic configuration system v.0.2.3

   Please be patient, there is a lot to do...

1. Testing gnu tools
 libtool . /usr/local/bin/sed:
1.5.24
  ok
 automake  1.11
  ok
 autoconf  2.63
  ok

2. Preparing for libtool 
You should update your `aclocal.m4' by running aclocal.
  done

3. Create acinclude.m4, local definitions for automake ...
  done

4. Running aclocal to create aclocal.m4 ...
acinclude.m4:206: the serial number must appear before any macro  
definition
configure.in:169: warning:  
AC_CACHE_VAL(lt_prog_compiler_pic_works, ...): suspicious cache-id,  
must contain _cv_ to be cached
../../lib/autoconf/general.m4:1974: AC_CACHE_VAL is expanded from...
../../lib/autoconf/general.m4:1994: AC_CACHE_CHECK is expanded from...
acinclude.m4:828: AC_LIBTOOL_COMPILER_OPTION is expanded from...
acinclude.m4:5128: AC_LIBTOOL_PROG_COMPILER_PIC is expanded from...
acinclude.m4:2896: _LT_AC_LANG_C_CONFIG is expanded from...
acinclude.m4:2895: AC_LIBTOOL_LANG_C_CONFIG is expanded from...
acinclude.m4:276: AC_LIBTOOL_SETUP is expanded from...
acinclude.m4:256: _AC_PROG_LIBTOOL is expanded from...
acinclude.m4:221: AC_PROG_LIBTOOL is expanded from...
acinclude.m4:6673: AM_PROG_LIBTOOL is expanded from...
configure.in:169: the top level
configure.in:169: warning:  
AC_CACHE_VAL(lt_prog_compiler_static_works, ...): suspicious cache-id,  
must contain _cv_ to be cached
acinclude.m4:873: AC_LIBTOOL_LINKER_OPTION is expanded from...
configure.in:169: warning:  
AC_CACHE_VAL(lt_prog_compiler_pic_works_CXX, ...): suspicious cache- 
id, must contain _cv_ to be cached
acinclude.m4:2977: _LT_AC_LANG_CXX_CONFIG is expanded from...
acinclude.m4:2976: AC_LIBTOOL_LANG_CXX_CONFIG is expanded from...
acinclude.m4:2021: _LT_AC_TAGCONFIG is expanded from...
configure.in:169: warning:  
AC_CACHE_VAL(lt_prog_compiler_static_works_CXX, ...): suspicious cache- 
id, must contain _cv_ to be cached
configure.in:169: warning:  
AC_CACHE_VAL(lt_prog_compiler_pic_works_F77, ...): suspicious cache- 
id, must contain _cv_ to be cached
acinclude.m4:4203: _LT_AC_LANG_F77_CONFIG is expanded from...
acinclude.m4:4202: AC_LIBTOOL_LANG_F77_CONFIG is expanded from...
configure.in:169: warning:  
AC_CACHE_VAL(lt_prog_compiler_static_works_F77, ...): suspicious cache- 
id, must contain _cv_ to be cached
configure.in:169: warning:  
AC_CACHE_VAL(lt_prog_compiler_pic_works_GCJ, ...): suspicious cache- 
id, must contain _cv_ to be cached
acinclude.m4:4312: _LT_AC_LANG_GCJ_CONFIG is expanded from...
acinclude.m4:4311: AC_LIBTOOL_LANG_GCJ_CONFIG is expanded from...
configure.in:169: warning:  
AC_CACHE_VAL(lt_prog_compiler_static_works_GCJ, ...): suspicious cache- 
id, must contain _cv_ to be cached
  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.

Welcome to ntop, Version 3.3.10
   copyright (c) 1998-2009 Luca Deri d...@ntop.org

Configuration script version v3.3.10-06-01-2009