Re: installing ntop

2008-06-25 Thread Ryan Schmidt

On Jun 25, 2008, at 9:54 AM, James Medley wrote:

> As an update, I decided to try "sudo port install pango", which it  
> did. I then went back to "sudo port install ntop +server" which it  
> did and without the rrdtool error.

Thanks for letting us know. I filed a ticket requesting that pango  
(and some other ports) be added to rrdtool's dependency list.

http://trac.macports.org/ticket/15748

> Now I enter the command "sudo ntop @/opt/local/ntop/ntop.conf -d"  
> and I get the message:
>
>Processing file /opt/local/etc/ntop/ntop.conf for parameters...
> Wed Jun 25 09:48:12 2008  NOTE: Interface merge enabled by default
> ntop: unrecognized option `--set-pcap-nonblock'
> Wed Jun 25 09:48:12 2008  Initializing gdbm databases
> ntop: unrecognized option `--set-pcap-nonblock'
> FATAL ERROR: unknown ntop option, '?'
> Welcome to ntop v.3.3
> [Configured on Jun 25 2008  8:43:23, built on Jun 25 2008 08:44:06]
> Copyright 1998-2007 by Luca Deri <[EMAIL PROTECTED]>.
> Get the freshest ntop from http://www.ntop.org/
>
> When I do a "ps -ax |grep ntop" I get:
>
> 18509 ttys0000:00.00 grep ntop
>
> So, I'm still having a problem. Any solutions?

Here I'm not sure. I haven't used ntop so I don't know its options.  
Do the contents of /opt/local/ntop/ntop.conf look ok to you?


___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users


Re: installing ntop

2008-06-25 Thread James Medley
As an update, I decided to try "sudo port install pango", which it  
did. I then went back to "sudo port install ntop +server" which it did  
and without the rrdtool error. Now I enter the command "sudo ntop @/ 
opt/local/ntop/ntop.conf -d" and I get the message:


   Processing file /opt/local/etc/ntop/ntop.conf for parameters...
Wed Jun 25 09:48:12 2008  NOTE: Interface merge enabled by default
ntop: unrecognized option `--set-pcap-nonblock'
Wed Jun 25 09:48:12 2008  Initializing gdbm databases
ntop: unrecognized option `--set-pcap-nonblock'
FATAL ERROR: unknown ntop option, '?'
Welcome to ntop v.3.3
[Configured on Jun 25 2008  8:43:23, built on Jun 25 2008 08:44:06]
Copyright 1998-2007 by Luca Deri <[EMAIL PROTECTED]>.
Get the freshest ntop from http://www.ntop.org/

When I do a "ps -ax |grep ntop" I get:

18509 ttys0000:00.00 grep ntop

So, I'm still having a problem. Any solutions?

Thanks, Jim

On Jun 25, 2008, at 8:34 AM, James Medley wrote:

I am trying to install ntop on an iMac 20" Intel (2.16 GHz Intel  
Core 2 Duo, 2 GB 667 MHz DDR2 SDRAM) running OS X 10.5.3. I am  
following directions from . I give the command "sudo port install ntop +server" in Terminal  
and after installing several packages, I eventually get this error  
with rrdtool. Unfortunately, I'm not command line savvy enough to  
figure out where to go and what to do. Could somebody please put  
this in simpler terms. Thanks Much, Jim


--->  Configuring rrdtool
Error: Target org.macports.configure returned: configure failure:  
shell command " cd "/opt/local/var/macports/build/ 
_opt_local_var_macports_sources_rsync 
.macports.org_release_ports_net_rrdtool/work/rrdtool-1.3.0" && ./ 
configure --prefix=/opt/local --prefix=/opt/local --enable-perl-site- 
install --with-tcllib=/opt/local/lib --disable-python --disable-ruby  
--disable-tcl --mandir=/opt/local/share/man " returned error 1
Command output:   You may want to set the PKG_CONFIG_PATH variable  
to point to its

  location.


configure: WARNING:

* I could not find a working copy of pangocairo. Check config.log  
for hints on why
  this is the case. Maybe you need to set LDFLAGS and CPPFLAGS  
appropriately
  so that compiler and the linker can find libpango-1.0 and its  
header files. If
  you have not installed pangocairo, you can get it either from its  
original home on


 http://ftp.gnome.org/pub/GNOME/sources/pango/1.17

  You can find also find an archive copy on

 http://oss.oetiker.ch/rrdtool/pub/libs

  The last tested version of pangocairo is 1.17.

   LIBS=-lcairo -lcairo -lcairo  -lcairo -lSM -lICE -lfontconfig  
-lexpat -lfreetype -lz -lpng12 -lXrender -lX11 -lpixman-1
   LDFLAGS=-L/opt/local/lib -L/opt/local/lib -L/usr/X11/lib   -R/usr/ 
X11/lib -Wl,-framework,CoreServices -Wl,-framework,ApplicationServices
  CPPFLAGS=-I/opt/local/include -I/opt/local/include/freetype2  -I/ 
opt/local/include/libpng -D_THREAD_SAFE -DXTHREADS -I/opt/local/ 
include/cairo -I/opt/local/include/libpng12 -I/opt/local/include/ 
freetype2 -I/opt/local/include -I/usr/X11/include -I/opt/local/ 
include/pixman-1




checking for xmlParseFile in -lxml2... yes
checking libxml/parser.h usability... yes
checking libxml/parser.h presence... yes
checking for libxml/parser.h... yes
configure: error: Please fix the library issues listed above and try  
again.


Error: The following dependencies failed to build: rrdtool
Error: Status 1 encountered during processing.



___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users


___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users


installing ntop

2008-06-25 Thread James Medley
I am trying to install ntop on an iMac 20" Intel (2.16 GHz Intel Core  
2 Duo, 2 GB 667 MHz DDR2 SDRAM) running OS X 10.5.3. I am following  
directions from . I give the command "sudo port install ntop +server" in Terminal  
and after installing several packages, I eventually get this error  
with rrdtool. Unfortunately, I'm not command line savvy enough to  
figure out where to go and what to do. Could somebody please put this  
in simpler terms. Thanks Much, Jim


--->  Configuring rrdtool
Error: Target org.macports.configure returned: configure failure:  
shell command " cd "/opt/local/var/macports/build/ 
_opt_local_var_macports_sources_rsync 
.macports.org_release_ports_net_rrdtool/work/rrdtool-1.3.0" && ./ 
configure --prefix=/opt/local --prefix=/opt/local --enable-perl-site- 
install --with-tcllib=/opt/local/lib --disable-python --disable-ruby -- 
disable-tcl --mandir=/opt/local/share/man " returned error 1
Command output:   You may want to set the PKG_CONFIG_PATH variable to  
point to its

  location.


configure: WARNING:

* I could not find a working copy of pangocairo. Check config.log for  
hints on why
  this is the case. Maybe you need to set LDFLAGS and CPPFLAGS  
appropriately
  so that compiler and the linker can find libpango-1.0 and its  
header files. If
  you have not installed pangocairo, you can get it either from its  
original home on


 http://ftp.gnome.org/pub/GNOME/sources/pango/1.17

  You can find also find an archive copy on

 http://oss.oetiker.ch/rrdtool/pub/libs

  The last tested version of pangocairo is 1.17.

   LIBS=-lcairo -lcairo -lcairo  -lcairo -lSM -lICE -lfontconfig - 
lexpat -lfreetype -lz -lpng12 -lXrender -lX11 -lpixman-1
   LDFLAGS=-L/opt/local/lib -L/opt/local/lib -L/usr/X11/lib   -R/usr/ 
X11/lib -Wl,-framework,CoreServices -Wl,-framework,ApplicationServices
  CPPFLAGS=-I/opt/local/include -I/opt/local/include/freetype2  -I/ 
opt/local/include/libpng -D_THREAD_SAFE -DXTHREADS -I/opt/local/ 
include/cairo -I/opt/local/include/libpng12 -I/opt/local/include/ 
freetype2 -I/opt/local/include -I/usr/X11/include -I/opt/local/include/ 
pixman-1




checking for xmlParseFile in -lxml2... yes
checking libxml/parser.h usability... yes
checking libxml/parser.h presence... yes
checking for libxml/parser.h... yes
configure: error: Please fix the library issues listed above and try  
again.


Error: The following dependencies failed to build: rrdtool
Error: Status 1 encountered during processing.



___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users


Re: Problem installing ntop

2007-08-06 Thread Bart Scherens
Sorry for the delay in answering your questions !

Yes, I am using the latest version of Xcode, I tried also to build ntop 3.3
but got similar errors upon install as with 3.2.

The G4 PPC is not a clean install, but has no problems, as far as I can
judge. 

I will try to make an install later this month (in 2 or 3 weeks) on a
Powerbook G3 (that I will clean install first) and report back with my
findings.

Thanks anyway for your suggestions

Bart

> Ryan Schmidt <[EMAIL PROTECTED]> writes:
>>> When trying to install ntop + server on OS10.4.10
>>> on a G4 PPC I am getting these (see below) errors (a similar
>>> install on a
>>> MacBook(intel) 10.4.10 was without problems).
>>> I am just a user, not an expert, does anyone can give me some advice ?
>>> Is this a Macports problem or a ntop problem ?
>> 
>> I do not know where the problem lies.
>> 
>> Have you already contacted the port's maintainer? I'm Cc'ing him on
>> this email.
> 
> I just installed the current ntop 3.2 on a clean PPC Mac mini with no
> problems.
>> 
>> Are you using the latest Xcode, currently 2.4.1?
> 
> That was what I was going to ask too.
>> 
>> I see ntop 3.3 has been released. Perhaps the portfile should be
>> updated.
> 
> I can't get ntop 3.3 to build so I can't update it yet.  I'm going to ask
> the ntop list about it.
> 
> Mark




___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo/macports-users


Re: Problem installing ntop

2007-08-03 Thread markd
Ryan Schmidt <[EMAIL PROTECTED]> writes:
>> When trying to install ntop + server on OS10.4.10
>> on a G4 PPC I am getting these (see below) errors (a similar  
>> install on a
>> MacBook(intel) 10.4.10 was without problems).
>> I am just a user, not an expert, does anyone can give me some advice ?
>> Is this a Macports problem or a ntop problem ?
>
>I do not know where the problem lies.
>
>Have you already contacted the port's maintainer? I'm Cc'ing him on  
>this email.

I just installed the current ntop 3.2 on a clean PPC Mac mini with no
problems.
>
>Are you using the latest Xcode, currently 2.4.1?

That was what I was going to ask too.
>
>I see ntop 3.3 has been released. Perhaps the portfile should be  
>updated.

I can't get ntop 3.3 to build so I can't update it yet.  I'm going to ask
the ntop list about it.

Mark

___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo/macports-users


Re: Problem installing ntop

2007-08-03 Thread Ryan Schmidt


On Aug 3, 2007, at 06:44, Bart Scherens wrote:


When trying to install ntop + server on OS10.4.10
on a G4 PPC I am getting these (see below) errors (a similar  
install on a

MacBook(intel) 10.4.10 was without problems).
I am just a user, not an expert, does anyone can give me some advice ?
Is this a Macports problem or a ntop problem ?


I do not know where the problem lies.

Have you already contacted the port's maintainer? I'm Cc'ing him on  
this email.


Are you using the latest Xcode, currently 2.4.1?

I see ntop 3.3 has been released. Perhaps the portfile should be  
updated.




___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo/macports-users


Problem installing ntop

2007-08-03 Thread Bart Scherens
Hi,

When trying to install ntop + server on OS10.4.10
on a G4 PPC I am getting these (see below) errors (a similar install on a
MacBook(intel) 10.4.10 was without problems).
I am just a user, not an expert, does anyone can give me some advice ?
Is this a Macports problem or a ntop problem ?

Thanks in advance,

Bart



irmw-mc14:~ bart$ sudo port selfupdate
Password:
MacPorts base version 1.5 installed
Downloaded MacPorts base version 1.5
The MacPorts installation is not outdated and so was not updated
selfupdate done!
irmw-mc14:~ bart$ sudo port install ntop +server
--->  Building ntop with target all
Error: Target org.macports.build returned: shell command " cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macport
s.org_release_ports_net_ntop/work/ntop-3.2" && gnumake all " returned error
2
Command output: cd . && /bin/sh ./missing --run echo

cd .. && gnumake  am--refresh
cd . && /bin/sh ./missing --run echo

 cd . && /bin/sh ./missing --run echo --gnu
--gnu
cd . && /bin/sh ./missing --run echo

gnumake[3]: Nothing to be done for `all-am'.
Making all in .
cd . && /bin/sh ./missing --run echo

 cd . && /bin/sh ./missing --run echo --gnu
--gnu
cd . && /bin/sh ./missing --run echo

if /bin/sh ./libtool --mode=compile --tag=CC /usr/bin/gcc-4.0
-DHAVE_CONFIG_H -I. -I. -I. -I.  -Imyrrd  -I/opt/local/include
-I/opt/local/include -DDARWIN -DTIGER -I/usr/local/include -g
-no-cpp-precomp -I/opt/local/include -O2 -I/usr/local/include -g -Wshadow
-Wpointer-arith -Wmissing-prototypes -Wmissing-declarations -Wnested-externs
-fno-common -DPIC -g -no-cpp-precomp -I/opt/local/include -O2
-I/usr/local/include -g -Wshadow -Wpointer-arith -Wmissing-prototypes
-Wmissing-declarations -Wnested-externs  -fno-common -DPIC -MT utildl.lo -MD
-MP -MF ".deps/utildl.Tpo" -c -o utildl.lo utildl.c; \
then mv -f ".deps/utildl.Tpo" ".deps/utildl.Plo"; else rm -f
".deps/utildl.Tpo"; exit 1; fi
 /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I. -I. -I. -Imyrrd
-I/opt/local/include -I/opt/local/include -DDARWIN -DTIGER
-I/usr/local/include -g -no-cpp-precomp -I/opt/local/include -O2
-I/usr/local/include -g -Wshadow -Wpointer-arith -Wmissing-prototypes
-Wmissing-declarations -Wnested-externs -fno-common -DPIC -g -no-cpp-precomp
-I/opt/local/include -O2 -I/usr/local/include -g -Wshadow -Wpointer-arith
-Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-common
-DPIC -MT utildl.lo -MD -MP -MF .deps/utildl.Tpo -c utildl.c  -fno-common
-DPIC -o .libs/utildl.o
utildl.c: In function 'getDynamicLoadPaths':
utildl.c:95: error: 'Dl_info' undeclared (first use in this function)
utildl.c:95: error: (Each undeclared identifier is reported only once
utildl.c:95: error: for each function it appears in.)
utildl.c:95: error: parse error before 'info'
utildl.c:100: error: 'info' undeclared (first use in this function)
utildl.c:102: warning: nested extern declaration of 'dladdr'
gnumake[2]: *** [utildl.lo] Error 1
gnumake[1]: *** [all-recursive] Error 1
gnumake: *** [all] Error 2

Error: Status 1 encountered during processing.
irmw-mc14:~ bart$ 


___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo/macports-users