If you follow the instructions in BUILD-NTOP.txt, you should NOT have to
install.  What install does is - as you indicate - copy the shared libary files
to the system library location.

The whole purpose behind the BUILD-NTOP.txt method is to build static libraries
(.a 's) instead of shared (.so 's).  That way ntop should run, regardless of
what else (other versions) are installed in the system!

It sounds like the static install is missing something on the command line to
point at the "right" static library, and with make install it can now find the
.3 shared library.  If so, I can understand why it works, but it's wrong...

I think I have to defer to Luca on this - he develops under Solaris and I don't
even have access to one...

-----Burton



-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Jac
Engel
Sent: Sunday, May 05, 2002 6:35 AM
To: [EMAIL PROTECTED]
Cc: Luca Deri
Subject: RE: [Ntop] Building recent snapshots on Solaris 8


Burton, Luca

When I  added a line in the BUILD-NTOP.txt I could
make ntop with libpng-1.2.1 and zlib-1.1.4 .
the line I added is "make install" :
   - cd gd-1.8.3/libpng-1.2.1
   - cp scripts/makefile.solaris Makefile
   - make
   - make install
   - cd ../../zlib-1.1.4/

This make install copied the libs in /usr/local/lib  :
>ls -al /usr/local/lib/libpng*
-rw-r--r--   1 root     other     167704 Mei  5 13:03 libpng.a
lrwxrwxrwx   1 root     other         11 Mei  5 13:03 libpng.so ->
libpng.so.3
lrwxrwxrwx   1 root     other         17 Mei  5 13:03 libpng.so.3 ->
libpng.so.3.1.2.1
-rwxr-xr-x   1 root     other     145696 Mei  5 13:03 libpng.so.3.1.2.1

The "make install" in  ntop dir should normally do this, right ?
With libpng-1.0.8 no libpng* libs were required in /usr/local/lib  , why ??

rgds
Jac



-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of
Burton M. Strauss III
Sent: Sunday, May 05, 2002 1:02 AM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]; Luca Deri
Subject: [Ntop] Building recent snapshots on Solaris 8


Well, you didn't "Follow the directions", did you?  The instructions ON THE
SCREEN say:

Do not forget to build:

1. gd-1.8.3/libpng-1.2.1
2. zlib-1.1.4/

You typed

# cd gd*
# cd lib*
# pwd

There are BOTH VERSIONS zlib-1.1.3 and zlib-1.1.4 in the .tgz on
02May2002...
also BOTH VERSIONS libpng-1.0.8 and libpng-1.2.1

/export/home/jace/ntop-05-02-02/ntop-current/gdchart0.94c/gd-1.8.3/libpng-1.
0.8

^^^^^
not 1.2.1

I'm going to defer to Luca on this, since he does his development on Solaris
8
and I don't...


I do think it has to be solved, as we can't release with zlib 1.1.3, due to
the
recent security problem...


-----Burton

(PS: The rm is to delete the .so libraries, leaving the static .a library)


-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Jac
Engel
Sent: Saturday, May 04, 2002 3:16 AM
To: [EMAIL PROTECTED]
Subject: RE: [Ntop] Re: ntop 2.1 - MUST HAVE fixes - UPDATE



Burton,
I don't find any libpng* library on my Solaris Intel 8 system!!,
 but NTOP is running OK if compiled with zlib-1.1.3 and libpng_1.0.8. .
I am not a compile guru and lib guru, but  I follow the instructions in
BUILD-NTOP.TXT  which results in :see attachment compile.log .
(libpng libraries are deleted see rm ...)

Jac

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of
Burton M. Strauss III
Sent: Friday, May 03, 2002 11:33 PM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: RE: [Ntop] Re: ntop 2.1 - MUST HAVE fixes - UPDATE


Actually, that's not as foolish as it sounds at first blush.  Although we're
dealing with 1.2.1 or 1.2.2, there is a .3 library!

Here is my setup from installing 1.2.2:

[bstrauss@tigger pmmm]$ ls /usr/lib/libpng* -l
-rw-r--r--    1 root     root       215360 Apr 18 10:19 /usr/lib/libpng12.a
lrwxrwxrwx    1 root     root           13 Apr 18 10:19
/usr/lib/libpng12.so ->
libpng12.so.0
lrwxrwxrwx    1 root     root           19 Apr 18 10:19
/usr/lib/libpng12.so.0 -> libpng12.so.0.1.2.2
-rwxr-xr-x    1 root     root       193101 Apr 18 10:19
/usr/lib/libpng12.so.0.1.2.2
lrwxrwxrwx    1 root     root           19 Apr 18 10:19 /usr/lib/libpng.a ->
/usr/lib/libpng12.a
lrwxrwxrwx    1 root     root           19 Apr 18 10:19
/usr/lib/libpng.so ->
libpng12.so.0.1.2.2
lrwxrwxrwx    1 root     root           18 Feb 11 01:19
/usr/lib/libpng.so.2 ->
libpng.so.2.1.0.12
-rwxr-xr-x    1 root     root       131560 Jul 16  2001
/usr/lib/libpng.so.2.1.0.12
lrwxrwxrwx    1 root     root           19 Apr 18 10:19
/usr/lib/libpng.so.3 ->
libpng12.so.0.1.2.2
lrwxrwxrwx    1 root     root           19 Apr 18 10:19
/usr/lib/libpng.so.3.1.2.2 -> libpng12.so.0.1.2.2

So, check your library pointers!

-----Burton

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of
Michael Baird
Sent: Friday, May 03, 2002 12:16 PM
To: [EMAIL PROTECTED]
Subject: RE: [Ntop] Re: ntop 2.1 - MUST HAVE fixes - UPDATE


Heh, install libpng3 then.

Regards
MIKE

On Fri, 2002-05-03 at 11:32, Jac Engel wrote:
> Burton,
>
> After giving up compiling NTOP after version 2.0 due to compile problems,
I
> give it
> a try again and I could  compile successful cvs version 05-02-02 on
Solaris
> Intel 8.0.
> I detected that the PEP plugin is not automatic included.
> I got some warnings :
>
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/usr/local/include -g -O2 -pipe -Wp,
> -MD,.deps/sflowPlugin.pp -c sflowPlugin.c  -fPIC -DPIC -o
> .libs/sflowPlugin.lo
> sflowPlugin.c: In function `receiveSflowSample':
> sflowPlugin.c:1311: warning: left shift count >= width of type
> sflowPlugin.c:1321: warning: left shift count >= width of type
> sflowPlugin.c:1335: warning: left shift count >= width of type
> sflowPlugin.c:1446: warning: left shift count >= width of type
> sflowPlugin.c:1450: warning: left shift count >= width of type
> sflowPlugin.c:1462: warning: left shift count >= width of type
> sflowPlugin.c:1466: warning: left shift count >= width of type
> sflowPlugin.c:1468: warning: left shift count >= width of type
> sflowPlugin.c:1470: warning: left shift count >= width of type
> sflowPlugin.c:1482: warning: left shift count >= width of type
> sflowPlugin.c:1486: warning: left shift count >= width of type
>
> Compiled with zlib-1.1.3 and libpng_1.0.8.
>
> When I compile with zlib-1.1.4 and libpng-1.2.1
> then when I start ntop I got error : ld.so.1: ntop : fatal: libpng.so.3 :
> open failed
> No such file or directory.
> killed
>
>
> I will try next week compiling on Solaris Sparc 8.0.
> By the way what are the major changes after Ntop 2.0 ?
>
> rgds
> Jac
>
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of
> Burton M. Strauss III
> Sent: Friday, April 26, 2002 12:34 PM
> To: Ntop
> Cc: Luca Deri
> Subject: RE: [Ntop] Re: ntop 2.1 - MUST HAVE fixes - UPDATE
>
>
> > 3. Solaris compile problems see thread on ntop list, "[Ntop] OK, I give
up
> > :-(".  Now Mike is working with a very old version (Solaris 2.5.1), but
> Jac
> > has similar problems with Solaris 8.
> >
> >    **Any update from Solaris people?**
> The ntop development platform is a Solaris 8 box (i386). Ntop works there.
> What's the problem?
>
> [BMS] No clue - a couple of people popped up, whined, didn't want to do
> anything and disappeared.  If you're doing development on
> Solaris 8, then <bleep> 'em.
>
>
>
> > 5. I have cleaned up the .html files one final time (sent to Luca)
> >
> >    **Still pending**
> I finally had time to look at those files. They don't render well under
> netscape 4.6/Solaris. Please fix this.
>
> [BMS] OUCH - 4.6 - you know how to hurt a guy.  That's not even a broken
> implementation of CSS1... so I have to do the double coding
> I did on ntopsupport.com...  ok, I'll work on it...
>
>
>
> > **9** (Lower priority) update vendortable.c from latest OUI as of the
time
> > we roll the version!
>
> [BMS] OK
>
>
>
> > **11** SSL does not display graphics
> See previous mail.
>
> [BMS] I understand what you're saying, (browser does not support gzip
image
> compression under
> HTTPS) but I can't get it to work on ANYTHING - Windows (IE5.5, NS6.2.2)
or
> Linux (Galeon 1.0.3, Mozilla 0.9.9, NS-Linux) nothing...
> pages come up, no graphics...  Let me look into it some more...
>
>
>
> > **13** deleteMutex null during shutdown - minor
> Where?
>
> [BMS] It's been a persistent problem but not one I've ever been able to
> recreate under gdb. This specific case was repeatable, but I
> never got a source version from the user to match against the __LINE__
> value...  (I *think* it was gdbmMutex). See
> http://listmanager.unipi.it/pipermail/ntop-dev/2002-April/000582.html.
>
> {BMS] There are also persistent reports about stuff like this:
>
> ERROR: accessMutex() call with a NULL mutex [address.c:358]
> ERROR: releaseMutex() call with a NULL mutex [address.c:370]
>
> [BMS] I've had them myself, once or twice:
>
> /var/log/messages.3-Apr  2 07:34:47 tigger ntop[6444]: Thanks for using
> LsWatch...
> /var/log/messages.3-Apr  2 07:34:47 tigger ntop[6444]: Done.
> /var/log/messages.3-Apr  2 07:34:47 tigger ntop[6444]: Thanks for using
> icmpWatch...
> /var/log/messages.3-Apr  2 07:34:47 tigger ntop[6444]: Done.
> /var/log/messages.3-Apr  2 07:34:47 tigger ntop[6444]: Cisco NetFlow
> exporter terminated.
> /var/log/messages.3:Apr  2 07:34:47 tigger ntop[6443]: ERROR:
accessMutex()
> call with a NULL mutex [sessions.c:666]
> /var/log/messages.3:Apr  2 07:34:47 tigger ntop[6443]: ERROR:
releaseMutex()
> call with a NULL mutex [sessions.c:671]
> /var/log/messages.3-Apr  2 07:34:47 tigger ntop[6444]: Freeing device eth0
> (idx=0)...
> /var/log/messages.3-Apr  2 07:34:47 tigger ntop[6444]: 77 packets received
> by filter on eth0
> /var/log/messages.3-Apr  2 07:34:47 tigger ntop[6444]: 890 packets dropped
> by kernel
>
>
>
> > **15** scanTimedoutTCPSessions (Christian Hammers' fix)
> I have changed the code recently. It is ok now?
>
> [BMS] I think so... I sent a minor typo correx to the list today...
>
>
> _______________________________________________
> Ntop mailing list
> [EMAIL PROTECTED]
> http://listgateway.unipi.it/mailman/listinfo/ntop
>
> _______________________________________________
> Ntop mailing list
> [EMAIL PROTECTED]
> http://listgateway.unipi.it/mailman/listinfo/ntop
>


_______________________________________________
Ntop mailing list
[EMAIL PROTECTED]
http://listgateway.unipi.it/mailman/listinfo/ntop

_______________________________________________
Ntop mailing list
[EMAIL PROTECTED]
http://listgateway.unipi.it/mailman/listinfo/ntop

_______________________________________________
Ntop mailing list
[EMAIL PROTECTED]
http://listgateway.unipi.it/mailman/listinfo/ntop

_______________________________________________
Ntop mailing list
[EMAIL PROTECTED]
http://listgateway.unipi.it/mailman/listinfo/ntop

_______________________________________________
Ntop mailing list
[EMAIL PROTECTED]
http://listgateway.unipi.it/mailman/listinfo/ntop

Reply via email to