I haven't installed this on Ubuntu, but I have on Debian...

I usually apt-get install ntop, and that grabs a fairly recent version,
and all the libs, then I compile from cvs, and don't generally have any
problems. 

Also, have you tried running apt-get install ntop to see what version it
grabs? I'm pretty sure it's 3.1 or 3.2...


-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of
Eric Brander
Sent: Tuesday, October 31, 2006 10:42 AM
To: [email protected]
Subject: Re: [Ntop] NTOP Compile Problem on Ubuntu: gdImageDestroy

Mark Duling wrote:
> I don't know.  I use an ntop port and the author made ntop depend on
gawk,
> which depends on libiconv.  I know (think I remember) that when a
certain
> error message come up, you need -liconv.  But I don't know what is
causing
> the "cannot create executables" problem.  That seems likle a separate
> issue.
>
> Mark
>   

Thanks for that lead. I kept trying to find liconv to install, not 
libiconv. So I found libiconv, installed it, and now get a new error 
message:

 From the log:
~snip~
configure:2774: $? = 0
configure:2776: gcc -v </dev/null >&5
Using built-in specs.
Target: i486-linux-gnu
Configured with: ../src/configure -v 
--enable-languages=c,c++,java,f95,objc,ada,treelang --prefix=/usr 
--enable-shared --with-system-zlib --libexecdir=/usr/lib 
--without-included-gettext --enable-threads=posix --enable-nls 
--program-suffix=-4.0 --enable-__cxa_atexit --enable-clocale=gnu 
--enable-libstdcxx-debug --enable-java-awt=gtk-default 
--enable-gtk-cairo 
--with-java-home=/usr/lib/jvm/java-1.4.2-gcj-4.0-1.4.2.0/jre 
--enable-mpfr --disable-werror --with-tune=pentium4 
--enable-checking=release i486-linux-gnu
Thread model: posix
gcc version 4.0.3 (Ubuntu 4.0.3-1ubuntu5)
configure:2779: $? = 0
configure:2781: gcc -V </dev/null >&5
gcc: '-V' option must have argument
configure:2784: $? = 1
configure:2807: checking for C compiler default output file name
configure:2810: gcc   -L/lib -liconv conftest.c  >&5
configure:2813: $? = 0
configure:2859: result: a.out
configure:2864: checking whether the C compiler works
configure:2870: ./a.out
./a.out: error while loading shared libraries: libiconv.so.2: cannot 
open shared object file: No such file or directory
configure:2873: $? = 127
configure:2882: error: cannot run C compiled programs.
If you meant to cross compile, use `--host'.
~snip~

I have libiconv.so.2 installed:

# find /usr -iname libiconv.so.2
/usr/local/lib/libiconv.so.2

Anyone have any idea where I should go from here?

Regards,

Eric Brander

_______________________________________________
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