PDA

View Full Version : [ubuntu] installing nDPI ubuntu 10.10



gggggggg
March 17th, 2013, 10:39 PM
Hi, i'm new in ubutu. i want to install nDPI but it has error:


root@amin-VirtualBox:/home/amin/Desktop/ntop-5.0.1/nDPI# ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking how to print strings... printf
checking for style of include used by make... GNU
checking for gcc... gcc
checking whether the C compiler works... no
configure: error: in `/home/amin/Desktop/ntop-5.0.1/nDPI':
configure: error: C compiler cannot create executables
See `config.log' for more details




and this is config file:


This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.


It was created by nDPI configure 1.3.0, which was
generated by GNU Autoconf 2.68. Invocation command line was


$ ./configure


## --------- ##
## Platform. ##
## --------- ##


hostname = amin-VirtualBox
uname -m = i686
uname -r = 2.6.35-22-generic
uname -s = Linux
uname -v = #33-Ubuntu SMP Sun Sep 19 20:34:50 UTC 2010


/usr/bin/uname -p = unknown
/bin/uname -X = unknown


/bin/arch = unknown
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown


PATH: /usr/local/sbin
PATH: /usr/local/bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /sbin
PATH: /bin
PATH: /usr/games




## ----------- ##
## Core tests. ##
## ----------- ##


configure:2218: checking for a BSD-compatible install
configure:2286: result: /usr/bin/install -c
configure:2297: checking whether build environment is sane
configure:2347: result: yes
configure:2488: checking for a thread-safe mkdir -p
configure:2527: result: /bin/mkdir -p
configure:2540: checking for gawk
configure:2570: result: no
configure:2540: checking for mawk
configure:2556: found /usr/bin/mawk
configure:2567: result: mawk
configure:2578: checking whether make sets $(MAKE)
configure:2600: result: yes
configure:2710: checking build system type
configure:2724: result: i686-pc-linux-gnu
configure:2744: checking host system type
configure:2757: result: i686-pc-linux-gnu
configure:2798: checking how to print strings
configure:2825: result: printf
configure:2858: checking for style of include used by make
configure:2886: result: GNU
configure:2957: checking for gcc
configure:2973: found /usr/bin/gcc
configure:2984: result: gcc
configure:3213: checking for C compiler version
configure:3222: gcc --version >&5
gcc (Ubuntu/Linaro 4.4.4-14ubuntu5) 4.4.5
Copyright (C) 2010 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.


configure:3233: $? = 0
configure:3222: gcc -v >&5
Using built-in specs.
Target: i686-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu/Linaro 4.4.4-14ubuntu5' --with-bugurl=file:///usr/share/doc/gcc-4.4/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.4 --enable-shared --enable-multiarch --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.4 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-objc-gc --enable-targets=all --disable-werror --with-arch-32=i686 --with-tune=generic --enable-checking=release --build=i686-linux-gnu --host=i686-linux-gnu --target=i686-linux-gnu
Thread model: posix
gcc version 4.4.5 (Ubuntu/Linaro 4.4.4-14ubuntu5)
configure:3233: $? = 0
configure:3222: gcc -V >&5
gcc: '-V' option must have argument
configure:3233: $? = 1
configure:3222: gcc -qversion >&5
gcc: unrecognized option '-qversion'
gcc: no input files
configure:3233: $? = 1
configure:3253: checking whether the C compiler works
configure:3275: gcc conftest.c >&5
/usr/bin/ld: cannot find -lc
collect2: ld returned 1 exit status
configure:3279: $? = 1
configure:3317: result: no
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "nDPI"
| #define PACKAGE_TARNAME "ndpi"
| #define PACKAGE_VERSION "1.3.0"
| #define PACKAGE_STRING "nDPI 1.3.0"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "ndpi"
| #define VERSION "1.3.0"
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:3322: error: in `/home/amin/Desktop/ntop-5.0.1/nDPI':
configure:3324: error: C compiler cannot create executables
See `config.log' for more details


## ---------------- ##
## Cache variables. ##
## ---------------- ##


ac_cv_build=i686-pc-linux-gnu
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_host=i686-pc-linux-gnu
ac_cv_path_install='/usr/bin/install -c'
ac_cv_path_mkdir=/bin/mkdir
ac_cv_prog_AWK=mawk
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_make_make_set=yes


## ----------------- ##
## Output variables. ##
## ----------------- ##


ACLOCAL='${SHELL} /home/amin/Desktop/ntop-5.0.1/nDPI/missing --run aclocal-1.11'
AMDEPBACKSLASH='\'
AMDEP_FALSE='#'
AMDEP_TRUE=''
AMTAR='$${TAR-tar}'
AR=''
AUTOCONF='${SHELL} /home/amin/Desktop/ntop-5.0.1/nDPI/missing --run autoconf'
AUTOHEADER='${SHELL} /home/amin/Desktop/ntop-5.0.1/nDPI/missing --run autoheader'
AUTOMAKE='${SHELL} /home/amin/Desktop/ntop-5.0.1/nDPI/missing --run automake-1.11'
AWK='mawk'
CC='gcc'
CCDEPMODE=''
CFLAGS=''
CPP=''
CPPFLAGS=''
CYGPATH_W='echo'
DEFS=''
DEPDIR='.deps'
DLLTOOL=''
DSYMUTIL=''
DUMPBIN=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
EXEEXT=''
FGREP=''
GREP=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
LD=''
LDFLAGS=''
LIBOBJS=''
LIBS=''
LIBTOOL=''
LIPO=''
LN_S=''
LTLIBOBJS=''
MAKEINFO='${SHELL} /home/amin/Desktop/ntop-5.0.1/nDPI/missing --run makeinfo'
MANIFEST_TOOL=''
MKDIR_P='/bin/mkdir -p'
NM=''
NMEDIT=''
OBJDUMP=''
OBJEXT=''
OTOOL64=''
OTOOL=''
PACKAGE='ndpi'
PACKAGE_BUGREPORT=''
PACKAGE_NAME='nDPI'
PACKAGE_STRING='nDPI 1.3.0'
PACKAGE_TARNAME='ndpi'
PACKAGE_URL=''
PACKAGE_VERSION='1.3.0'
PATH_SEPARATOR=':'
RANLIB=''
SED=''
SET_MAKE=''
SHELL='/bin/bash'
STRIP=''
VERSION='1.3.0'
ac_ct_AR=''
ac_ct_CC='gcc'
ac_ct_DUMPBIN=''
am__EXEEXT_FALSE=''
am__EXEEXT_TRUE=''
am__fastdepCC_FALSE=''
am__fastdepCC_TRUE=''
am__include='include'
am__isrc=''
am__leading_dot='.'
am__nodep='_no'
am__quote=''
am__tar='$${TAR-tar} chof - "$$tardir"'
am__untar='$${TAR-tar} xf -'
bindir='${exec_prefix}/bin'
build='i686-pc-linux-gnu'
build_alias=''
build_cpu='i686'
build_os='linux-gnu'
build_vendor='pc'
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
exec_prefix='NONE'
host='i686-pc-linux-gnu'
host_alias=''
host_cpu='i686'
host_os='linux-gnu'
host_vendor='pc'
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
install_sh='${SHELL} /home/amin/Desktop/ntop-5.0.1/nDPI/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='${datarootdir}/man'
mkdir_p='/bin/mkdir -p'
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='NONE'
program_transform_name='s,x,x,'
psdir='${docdir}'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias=''


## ----------- ##
## confdefs.h. ##
## ----------- ##


/* confdefs.h */
#define PACKAGE_NAME "nDPI"
#define PACKAGE_TARNAME "ndpi"
#define PACKAGE_VERSION "1.3.0"
#define PACKAGE_STRING "nDPI 1.3.0"
#define PACKAGE_BUGREPORT ""
#define PACKAGE_URL ""
#define PACKAGE "ndpi"
#define VERSION "1.3.0"


configure: exit 77


any idea?

oldos2er
March 18th, 2013, 05:09 PM
"configure: error: C compiler cannot create executables" usually means you need to install build-essential. 10.10 is no longer supported, so you will need to switch to the old-releases repositories if you haven't already. Best thing to do though would be to upgrade to a supported version of Ubuntu, 12.04 or newer.

gggggggg
March 30th, 2013, 01:23 PM
thanks for your reply. i update it to 11.10 and problem solved.

oldos2er
March 30th, 2013, 06:14 PM
Unfortunately 11.10 reaches its end-of-life in April. If you upgrade to 12.04 LTS you won't have to worry about upgrading for another four years.

gggggggg
April 18th, 2013, 08:14 AM
now i have new problem.
i typed ./configure and every thing execute perfectly.
when i typed:

make
in the last line of command line it wrote:


make[1]:living directory `/home/mahdi/Desktop/ntop-5.0.1/nDPI/src/lib'
make[1]: Entering directory `/home/mahdi/Desktop/ntop-5.0.1/nDPI'
make[1]: Nothing to be done for `all-am'.
make[1]: Leaving directory `/home/mahdi/Desktop/ntop-5.0.1/nDPI'


and when i type:


make install



Making install in src/include
make[1]: Entering directory `/home/mahdi/Desktop/ntop-5.0.1/nDPI/src/include'
make[2]: Entering directory `/home/mahdi/Desktop/ntop-5.0.1/nDPI'
make[2]: Leaving directory `/home/mahdi/Desktop/ntop-5.0.1/nDPI'
make[2]: Entering directory `/home/mahdi/Desktop/ntop-5.0.1/nDPI/src/include'
make[3]: Entering directory `/home/mahdi/Desktop/ntop-5.0.1/nDPI'
make[3]: Leaving directory `/home/mahdi/Desktop/ntop-5.0.1/nDPI'
make[2]: Nothing to be done for `install-exec-am'.
test -z "/usr/local/include/libopendpi-1.3/libopendpi" || /bin/mkdir
-p "/usr/local/include/libopendpi-1.3/libopendpi"
/usr/bin/install -c -m 644 ipq_api.h ipq_basic_def.h
ipq_debug_functions.h ipq_macros.h ipq_protocols_osdpi.h
ipq_public_functions.h '/usr/local/include/libopendpi-1.3/libopendpi'
make[2]: Leaving directory `/home/mahdi/Desktop/ntop-5.0.1/nDPI/src/include'
make[1]: Leaving directory `/home/mahdi/Desktop/ntop-5.0.1/nDPI/src/include'
Making install in src/lib
make[1]: Entering directory `/home/mahdi/Desktop/ntop-5.0.1/nDPI/src/lib'
make[2]: Entering directory `/home/mahdi/Desktop/ntop-5.0.1/nDPI/src/lib'
test -z "/usr/local/lib" || /bin/mkdir -p "/usr/local/lib"
/bin/bash ../../libtool --mode=install /usr/bin/install -c
libndpi.la '/usr/local/lib'
libtool: install: /usr/bin/install -c .libs/libndpi.so.1.0.3
/usr/local/lib/libndpi.so.1.0.3
libtool: install: (cd /usr/local/lib && { ln -s -f libndpi.so.1.0.3
libndpi.so.1 || { rm -f libndpi.so.1 && ln -s libndpi.so.1.0.3
libndpi.so.1; }; })
libtool: install: (cd /usr/local/lib && { ln -s -f libndpi.so.1.0.3
libndpi.so || { rm -f libndpi.so && ln -s libndpi.so.1.0.3 libndpi.so;
}; })
libtool: install: /usr/bin/install -c .libs/libndpi.lai
/usr/local/lib/libndpi.la
libtool: install: /usr/bin/install -c .libs/libndpi.a /usr/local/lib/libndpi.a
libtool: install: chmod 644 /usr/local/lib/libndpi.a
libtool: install: ranlib /usr/local/lib/libndpi.a
libtool: finish:
PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/sbin"
ldconfig -n /usr/local/lib
----------------------------------------------------------------------
Libraries have been installed in:
/usr/local/lib


If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
- add LIBDIR to the `LD_LIBRARY_PATH' environment variable
during execution
- add LIBDIR to the `LD_RUN_PATH' environment variable
during linking
- use the `-Wl,-rpath -Wl,LIBDIR' linker flag
- have your system administrator add LIBDIR to `/etc/ld.so.conf'


See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/home/mahdi/Desktop/ntop-5.0.1/nDPI/src/lib'
make[1]: Leaving directory `/home/mahdi/Desktop/ntop-5.0.1/nDPI/src/lib'
make[1]: Entering directory `/home/mahdi/Desktop/ntop-5.0.1/nDPI'
make[2]: Entering directory `/home/mahdi/Desktop/ntop-5.0.1/nDPI'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/home/mahdi/Desktop/ntop-5.0.1/nDPI'
make[1]: Leaving directory `/home/mahdi/Desktop/ntop-5.0.1/nDPI'



this is config.log


This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.


It was created by nDPI configure 1.3.0, which was
generated by GNU Autoconf 2.68. Invocation command line was


$ ./configure


## --------- ##
## Platform. ##
## --------- ##


hostname = mahdi-VirtualBox
uname -m = i686
uname -r = 3.0.0-12-generic
uname -s = Linux
uname -v = #20-Ubuntu SMP Fri Oct 7 14:50:42 UTC 2011


/usr/bin/uname -p = unknown
/bin/uname -X = unknown


/bin/arch = unknown
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown


PATH: /usr/local/sbin
PATH: /usr/local/bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /sbin
PATH: /bin
PATH: /usr/games




## ----------- ##
## Core tests. ##
## ----------- ##


configure:2218: checking for a BSD-compatible install
configure:2286: result: /usr/bin/install -c
configure:2297: checking whether build environment is sane
configure:2347: result: yes
configure:2488: checking for a thread-safe mkdir -p
configure:2527: result: /bin/mkdir -p
configure:2540: checking for gawk
configure:2570: result: no
configure:2540: checking for mawk
configure:2556: found /usr/bin/mawk
configure:2567: result: mawk
configure:2578: checking whether make sets $(MAKE)
configure:2600: result: yes
configure:2710: checking build system type
configure:2724: result: i686-pc-linux-gnu
configure:2744: checking host system type
configure:2757: result: i686-pc-linux-gnu
configure:2798: checking how to print strings
configure:2825: result: printf
configure:2858: checking for style of include used by make
configure:2886: result: GNU
configure:2957: checking for gcc
configure:2973: found /usr/bin/gcc
configure:2984: result: gcc
configure:3213: checking for C compiler version
configure:3222: gcc --version >&5
gcc (Ubuntu/Linaro 4.6.1-9ubuntu3) 4.6.1
Copyright (C) 2011 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.


configure:3233: $? = 0
configure:3222: gcc -v >&5
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/i686-linux-gnu/4.6.1/lto-wrapper
Target: i686-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu/Linaro 4.6.1-9ubuntu3' --with-bugurl=file:///usr/share/doc/gcc-4.6/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++,go --prefix=/usr --program-suffix=-4.6 --enable-shared --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.6 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-plugin --enable-objc-gc --enable-targets=all --disable-werror --with-arch-32=i686 --with-tune=generic --enable-checking=release --build=i686-linux-gnu --host=i686-linux-gnu --target=i686-linux-gnu
Thread model: posix
gcc version 4.6.1 (Ubuntu/Linaro 4.6.1-9ubuntu3)
configure:3233: $? = 0
configure:3222: gcc -V >&5
gcc: error: unrecognized option '-V'
gcc: fatal error: no input files
compilation terminated.
configure:3233: $? = 4
configure:3222: gcc -qversion >&5
gcc: error: unrecognized option '-qversion'
gcc: fatal error: no input files
compilation terminated.
configure:3233: $? = 4
configure:3253: checking whether the C compiler works
configure:3275: gcc conftest.c >&5
configure:3279: $? = 0
configure:3327: result: yes
configure:3330: checking for C compiler default output file name
configure:3332: result: a.out
configure:3338: checking for suffix of executables
configure:3345: gcc -o conftest conftest.c >&5
configure:3349: $? = 0
configure:3371: result:
configure:3393: checking whether we are cross compiling
configure:3401: gcc -o conftest conftest.c >&5
configure:3405: $? = 0
configure:3412: ./conftest
configure:3416: $? = 0
configure:3431: result: no
configure:3436: checking for suffix of object files
configure:3458: gcc -c conftest.c >&5
configure:3462: $? = 0
configure:3483: result: o
configure:3487: checking whether we are using the GNU C compiler
configure:3506: gcc -c conftest.c >&5
configure:3506: $? = 0
configure:3515: result: yes
configure:3524: checking whether gcc accepts -g
configure:3544: gcc -c -g conftest.c >&5
configure:3544: $? = 0
configure:3585: result: yes
configure:3602: checking for gcc option to accept ISO C89
configure:3666: gcc -c -g -O2 conftest.c >&5
configure:3666: $? = 0
configure:3679: result: none needed
configure:3701: checking dependency style of gcc
configure:3812: result: gcc3
configure:3827: checking for a sed that does not truncate output
configure:3891: result: /bin/sed
configure:3909: checking for grep that handles long lines and -e
configure:3967: result: /bin/grep
configure:3972: checking for egrep
configure:4034: result: /bin/grep -E
configure:4039: checking for fgrep
configure:4101: result: /bin/grep -F
configure:4136: checking for ld used by gcc
configure:4203: result: /usr/bin/ld
configure:4210: checking if the linker (/usr/bin/ld) is GNU ld
configure:4225: result: yes
configure:4237: checking for BSD- or MS-compatible name lister (nm)
configure:4286: result: /usr/bin/nm -B
configure:4416: checking the name lister (/usr/bin/nm -B) interface
configure:4423: gcc -c -g -O2 conftest.c >&5
configure:4426: /usr/bin/nm -B "conftest.o"
configure:4429: output
00000000 B some_variable
configure:4436: result: BSD nm
configure:4439: checking whether ln -s works
configure:4443: result: yes
configure:4451: checking the maximum length of command line arguments
configure:4581: result: 1572864
configure:4598: checking whether the shell understands some XSI constructs
configure:4608: result: yes
configure:4612: checking whether the shell understands "+="
configure:4618: result: yes
configure:4653: checking how to convert i686-pc-linux-gnu file names to i686-pc-linux-gnu format
configure:4693: result: func_convert_file_noop
configure:4700: checking how to convert i686-pc-linux-gnu file names to toolchain format
configure:4720: result: func_convert_file_noop
configure:4727: checking for /usr/bin/ld option to reload object files
configure:4734: result: -r
configure:4808: checking for objdump
configure:4824: found /usr/bin/objdump
configure:4835: result: objdump
configure:4867: checking how to recognize dependent libraries
configure:5069: result: pass_all
configure:5154: checking for dlltool
configure:5184: result: no
configure:5214: checking how to associate runtime and link libraries
configure:5241: result: printf %s\n
configure:5302: checking for ar
configure:5318: found /usr/bin/ar
configure:5329: result: ar
configure:5366: checking for archiver @FILE support
configure:5383: gcc -c -g -O2 conftest.c >&5
configure:5383: $? = 0
configure:5386: ar cru libconftest.a @conftest.lst >&5
configure:5389: $? = 0
configure:5394: ar cru libconftest.a @conftest.lst >&5
ar: conftest.o: No such file or directory
configure:5397: $? = 1
configure:5409: result: @
configure:5467: checking for strip
configure:5483: found /usr/bin/strip
configure:5494: result: strip
configure:5566: checking for ranlib
configure:5582: found /usr/bin/ranlib
configure:5593: result: ranlib
configure:5695: checking command to parse /usr/bin/nm -B output from gcc object
configure:5815: gcc -c -g -O2 conftest.c >&5
configure:5818: $? = 0
configure:5822: /usr/bin/nm -B conftest.o \| sed -n -e 's/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p' | sed '/ __gnu_lto/d' \> conftest.nm
configure:5825: $? = 0
configure:5891: gcc -o conftest -g -O2 conftest.c conftstm.o >&5
configure:5894: $? = 0
configure:5932: result: ok
configure:5969: checking for sysroot
configure:5999: result: no
configure:6255: checking for mt
configure:6271: found /bin/mt
configure:6282: result: mt
configure:6305: checking if mt is a manifest tool
configure:6311: mt '-?'
configure:6319: result: no
configure:6961: checking how to run the C preprocessor
configure:6992: gcc -E conftest.c
configure:6992: $? = 0
configure:7006: gcc -E conftest.c
conftest.c:11:28: fatal error: ac_nonexistent.h: No such file or directory
compilation terminated.
configure:7006: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "nDPI"
| #define PACKAGE_TARNAME "ndpi"
| #define PACKAGE_VERSION "1.3.0"
| #define PACKAGE_STRING "nDPI 1.3.0"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "ndpi"
| #define VERSION "1.3.0"
| /* end confdefs.h. */
| #include <ac_nonexistent.h>
configure:7031: result: gcc -E
configure:7051: gcc -E conftest.c
configure:7051: $? = 0
configure:7065: gcc -E conftest.c
conftest.c:11:28: fatal error: ac_nonexistent.h: No such file or directory
compilation terminated.
configure:7065: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "nDPI"
| #define PACKAGE_TARNAME "ndpi"
| #define PACKAGE_VERSION "1.3.0"
| #define PACKAGE_STRING "nDPI 1.3.0"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "ndpi"
| #define VERSION "1.3.0"
| /* end confdefs.h. */
| #include <ac_nonexistent.h>
configure:7094: checking for ANSI C header files
configure:7114: gcc -c -g -O2 conftest.c >&5
configure:7114: $? = 0
configure:7187: gcc -o conftest -g -O2 conftest.c >&5
configure:7187: $? = 0
configure:7187: ./conftest
configure:7187: $? = 0
configure:7198: result: yes
configure:7211: checking for sys/types.h
configure:7211: gcc -c -g -O2 conftest.c >&5
configure:7211: $? = 0
configure:7211: result: yes
configure:7211: checking for sys/stat.h
configure:7211: gcc -c -g -O2 conftest.c >&5
configure:7211: $? = 0
configure:7211: result: yes
configure:7211: checking for stdlib.h
configure:7211: gcc -c -g -O2 conftest.c >&5
configure:7211: $? = 0
configure:7211: result: yes
configure:7211: checking for string.h
configure:7211: gcc -c -g -O2 conftest.c >&5
configure:7211: $? = 0
configure:7211: result: yes
configure:7211: checking for memory.h
configure:7211: gcc -c -g -O2 conftest.c >&5
configure:7211: $? = 0
configure:7211: result: yes
configure:7211: checking for strings.h
configure:7211: gcc -c -g -O2 conftest.c >&5
configure:7211: $? = 0
configure:7211: result: yes
configure:7211: checking for inttypes.h
configure:7211: gcc -c -g -O2 conftest.c >&5
configure:7211: $? = 0
configure:7211: result: yes
configure:7211: checking for stdint.h
configure:7211: gcc -c -g -O2 conftest.c >&5
configure:7211: $? = 0
configure:7211: result: yes
configure:7211: checking for unistd.h
configure:7211: gcc -c -g -O2 conftest.c >&5
configure:7211: $? = 0
configure:7211: result: yes
configure:7225: checking for dlfcn.h
configure:7225: gcc -c -g -O2 conftest.c >&5
configure:7225: $? = 0
configure:7225: result: yes
configure:7431: checking for objdir
configure:7446: result: .libs
configure:7713: checking if gcc supports -fno-rtti -fno-exceptions
configure:7731: gcc -c -g -O2 -fno-rtti -fno-exceptions conftest.c >&5
cc1: warning: command line option '-fno-rtti' is valid for C++/ObjC++ but not for C [enabled by default]
configure:7735: $? = 0
configure:7748: result: no
configure:8075: checking for gcc option to produce PIC
configure:8082: result: -fPIC -DPIC
configure:8090: checking if gcc PIC flag -fPIC -DPIC works
configure:8108: gcc -c -g -O2 -fPIC -DPIC -DPIC conftest.c >&5
configure:8112: $? = 0
configure:8125: result: yes
configure:8154: checking if gcc static flag -static works
configure:8182: result: yes
configure:8197: checking if gcc supports -c -o file.o
configure:8218: gcc -c -g -O2 -o out/conftest2.o conftest.c >&5
configure:8222: $? = 0
configure:8244: result: yes
configure:8252: checking if gcc supports -c -o file.o
configure:8299: result: yes
configure:8332: checking whether the gcc linker (/usr/bin/ld) supports shared libraries
configure:9489: result: yes
configure:9526: checking whether -lc should be explicitly linked in
configure:9534: gcc -c -g -O2 conftest.c >&5
configure:9537: $? = 0
configure:9552: gcc -shared -fPIC -DPIC conftest.o -v -Wl,-soname -Wl,conftest -o conftest 2\>\&1 \| /bin/grep -lc \>/dev/null 2\>\&1
configure:9555: $? = 0
configure:9569: result: no
configure:9729: checking dynamic linker characteristics
configure:10240: gcc -o conftest -g -O2 -Wl,-rpath -Wl,/foo conftest.c >&5
configure:10240: $? = 0
configure:10474: result: GNU/Linux ld.so
configure:10581: checking how to hardcode library paths into programs
configure:10606: result: immediate
configure:11146: checking whether stripping libraries is possible
configure:11151: result: yes
configure:11186: checking if libtool supports shared libraries
configure:11188: result: yes
configure:11191: checking whether to build shared libraries
configure:11212: result: yes
configure:11215: checking whether to build static libraries
configure:11219: result: yes
configure:11305: checking for gcc
configure:11332: result: gcc
configure:11561: checking for C compiler version
configure:11570: gcc --version >&5
gcc (Ubuntu/Linaro 4.6.1-9ubuntu3) 4.6.1
Copyright (C) 2011 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.


configure:11581: $? = 0
configure:11570: gcc -v >&5
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/i686-linux-gnu/4.6.1/lto-wrapper
Target: i686-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu/Linaro 4.6.1-9ubuntu3' --with-bugurl=file:///usr/share/doc/gcc-4.6/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++,go --prefix=/usr --program-suffix=-4.6 --enable-shared --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.6 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-plugin --enable-objc-gc --enable-targets=all --disable-werror --with-arch-32=i686 --with-tune=generic --enable-checking=release --build=i686-linux-gnu --host=i686-linux-gnu --target=i686-linux-gnu
Thread model: posix
gcc version 4.6.1 (Ubuntu/Linaro 4.6.1-9ubuntu3)
configure:11581: $? = 0
configure:11570: gcc -V >&5
gcc: error: unrecognized option '-V'
gcc: fatal error: no input files
compilation terminated.
configure:11581: $? = 4
configure:11570: gcc -qversion >&5
gcc: error: unrecognized option '-qversion'
gcc: fatal error: no input files
compilation terminated.
configure:11581: $? = 4
configure:11585: checking whether we are using the GNU C compiler
configure:11613: result: yes
configure:11622: checking whether gcc accepts -g
configure:11683: result: yes
configure:11700: checking for gcc option to accept ISO C89
configure:11777: result: none needed
configure:11799: checking dependency style of gcc
configure:11910: result: gcc3
configure:11932: checking netinet/in.h usability
configure:11932: gcc -c -g -O2 conftest.c >&5
configure:11932: $? = 0
configure:11932: result: yes
configure:11932: checking netinet/in.h presence
configure:11932: gcc -E conftest.c
configure:11932: $? = 0
configure:11932: result: yes
configure:11932: checking for netinet/in.h
configure:11932: result: yes
configure:11932: checking for stdint.h
configure:11932: result: yes
configure:11932: checking for stdlib.h
configure:11932: result: yes
configure:11932: checking for string.h
configure:11932: result: yes
configure:11932: checking for unistd.h
configure:11932: result: yes
configure:12115: creating ./config.status


## ---------------------- ##
## Running config.status. ##
## ---------------------- ##


This file was extended by nDPI config.status 1.3.0, which was
generated by GNU Autoconf 2.68. Invocation command line was


CONFIG_FILES =
CONFIG_HEADERS =
CONFIG_LINKS =
CONFIG_COMMANDS =
$ ./config.status


on mahdi-VirtualBox


config.status:1013: creating Makefile
config.status:1013: creating src/lib/Makefile
config.status:1013: creating src/include/Makefile
config.status:1185: executing depfiles commands
config.status:1185: executing libtool commands


## ---------------- ##
## Cache variables. ##
## ---------------- ##


ac_cv_build=i686-pc-linux-gnu
ac_cv_c_compiler_gnu=yes
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_header_dlfcn_h=yes
ac_cv_header_inttypes_h=yes
ac_cv_header_memory_h=yes
ac_cv_header_netinet_in_h=yes
ac_cv_header_stdc=yes
ac_cv_header_stdint_h=yes
ac_cv_header_stdlib_h=yes
ac_cv_header_string_h=yes
ac_cv_header_strings_h=yes
ac_cv_header_sys_stat_h=yes
ac_cv_header_sys_types_h=yes
ac_cv_header_unistd_h=yes
ac_cv_host=i686-pc-linux-gnu
ac_cv_objext=o
ac_cv_path_EGREP='/bin/grep -E'
ac_cv_path_FGREP='/bin/grep -F'
ac_cv_path_GREP=/bin/grep
ac_cv_path_SED=/bin/sed
ac_cv_path_install='/usr/bin/install -c'
ac_cv_path_mkdir=/bin/mkdir
ac_cv_prog_AWK=mawk
ac_cv_prog_CPP='gcc -E'
ac_cv_prog_ac_ct_AR=ar
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_ac_ct_MANIFEST_TOOL=mt
ac_cv_prog_ac_ct_OBJDUMP=objdump
ac_cv_prog_ac_ct_RANLIB=ranlib
ac_cv_prog_ac_ct_STRIP=strip
ac_cv_prog_cc_c89=
ac_cv_prog_cc_g=yes
ac_cv_prog_make_make_set=yes
am_cv_CC_dependencies_compiler_type=gcc3
lt_cv_ar_at_file=@
lt_cv_archive_cmds_need_lc=no
lt_cv_deplibs_check_method=pass_all
lt_cv_file_magic_cmd='$MAGIC_CMD'
lt_cv_file_magic_test_file=
lt_cv_ld_reload_flag=-r
lt_cv_nm_interface='BSD nm'
lt_cv_objdir=.libs
lt_cv_path_LD=/usr/bin/ld
lt_cv_path_NM='/usr/bin/nm -B'
lt_cv_path_mainfest_tool=no
lt_cv_prog_compiler_c_o=yes
lt_cv_prog_compiler_pic='-fPIC -DPIC'
lt_cv_prog_compiler_pic_works=yes
lt_cv_prog_compiler_rtti_exceptions=no
lt_cv_prog_compiler_static_works=yes
lt_cv_prog_gnu_ld=yes
lt_cv_sharedlib_from_linklib_cmd='printf %s\n'
lt_cv_shlibpath_overrides_runpath=no
lt_cv_sys_global_symbol_pipe='sed -n -e '\''s/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p'\'' | sed '\''/ __gnu_lto/d'\'''
lt_cv_sys_global_symbol_to_c_name_address='sed -n -e '\''s/^: \([^ ]*\)[ ]*$/ {\"\1\", (void *) 0},/p'\'' -e '\''s/^[ABCDGIRSTW]* \([^ ]*\) \([^ ]*\)$/ {"\2", (void *) \&\2},/p'\'''
lt_cv_sys_global_symbol_to_c_name_address_lib_pref ix='sed -n -e '\''s/^: \([^ ]*\)[ ]*$/ {\"\1\", (void *) 0},/p'\'' -e '\''s/^[ABCDGIRSTW]* \([^ ]*\) \(lib[^ ]*\)$/ {"\2", (void *) \&\2},/p'\'' -e '\''s/^[ABCDGIRSTW]* \([^ ]*\) \([^ ]*\)$/ {"lib\2", (void *) \&\2},/p'\'''
lt_cv_sys_global_symbol_to_cdecl='sed -n -e '\''s/^T .* \(.*\)$/extern int \1();/p'\'' -e '\''s/^[ABCDGIRSTW]* .* \(.*\)$/extern char \1;/p'\'''
lt_cv_sys_max_cmd_len=1572864
lt_cv_to_host_file_cmd=func_convert_file_noop
lt_cv_to_tool_file_cmd=func_convert_file_noop


## ----------------- ##
## Output variables. ##
## ----------------- ##


ACLOCAL='${SHELL} /home/mahdi/Desktop/ntop-5.0.1/nDPI/missing --run aclocal-1.11'
AMDEPBACKSLASH='\'
AMDEP_FALSE='#'
AMDEP_TRUE=''
AMTAR='$${TAR-tar}'
AR='ar'
AUTOCONF='${SHELL} /home/mahdi/Desktop/ntop-5.0.1/nDPI/missing --run autoconf'
AUTOHEADER='${SHELL} /home/mahdi/Desktop/ntop-5.0.1/nDPI/missing --run autoheader'
AUTOMAKE='${SHELL} /home/mahdi/Desktop/ntop-5.0.1/nDPI/missing --run automake-1.11'
AWK='mawk'
CC='gcc'
CCDEPMODE='depmode=gcc3'
CFLAGS='-g -O2'
CPP='gcc -E'
CPPFLAGS=''
CYGPATH_W='echo'
DEFS='-DPACKAGE_NAME=\"nDPI\" -DPACKAGE_TARNAME=\"ndpi\" -DPACKAGE_VERSION=\"1.3.0\" -DPACKAGE_STRING=\"nDPI\ 1.3.0\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"ndpi\" -DVERSION=\"1.3.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_NETINET_IN_H=1 -DHAVE_STDINT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_UNISTD_H=1'
DEPDIR='.deps'
DLLTOOL='false'
DSYMUTIL=''
DUMPBIN=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP='/bin/grep -E'
EXEEXT=''
FGREP='/bin/grep -F'
GREP='/bin/grep'
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
LD='/usr/bin/ld'
LDFLAGS=''
LIBOBJS=''
LIBS=''
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
LIPO=''
LN_S='ln -s'
LTLIBOBJS=''
MAKEINFO='${SHELL} /home/mahdi/Desktop/ntop-5.0.1/nDPI/missing --run makeinfo'
MANIFEST_TOOL=':'
MKDIR_P='/bin/mkdir -p'
NM='/usr/bin/nm -B'
NMEDIT=''
OBJDUMP='objdump'
OBJEXT='o'
OTOOL64=''
OTOOL=''
PACKAGE='ndpi'
PACKAGE_BUGREPORT=''
PACKAGE_NAME='nDPI'
PACKAGE_STRING='nDPI 1.3.0'
PACKAGE_TARNAME='ndpi'
PACKAGE_URL=''
PACKAGE_VERSION='1.3.0'
PATH_SEPARATOR=':'
RANLIB='ranlib'
SED='/bin/sed'
SET_MAKE=''
SHELL='/bin/bash'
STRIP='strip'
VERSION='1.3.0'
ac_ct_AR='ar'
ac_ct_CC='gcc'
ac_ct_DUMPBIN=''
am__EXEEXT_FALSE=''
am__EXEEXT_TRUE='#'
am__fastdepCC_FALSE='#'
am__fastdepCC_TRUE=''
am__include='include'
am__isrc=''
am__leading_dot='.'
am__nodep='_no'
am__quote=''
am__tar='$${TAR-tar} chof - "$$tardir"'
am__untar='$${TAR-tar} xf -'
bindir='${exec_prefix}/bin'
build='i686-pc-linux-gnu'
build_alias=''
build_cpu='i686'
build_os='linux-gnu'
build_vendor='pc'
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
exec_prefix='${prefix}'
host='i686-pc-linux-gnu'
host_alias=''
host_cpu='i686'
host_os='linux-gnu'
host_vendor='pc'
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
install_sh='${SHELL} /home/mahdi/Desktop/ntop-5.0.1/nDPI/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='${datarootdir}/man'
mkdir_p='/bin/mkdir -p'
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='/usr/local'
program_transform_name='s,x,x,'
psdir='${docdir}'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias=''


## ----------- ##
## confdefs.h. ##
## ----------- ##


/* confdefs.h */
#define PACKAGE_NAME "nDPI"
#define PACKAGE_TARNAME "ndpi"
#define PACKAGE_VERSION "1.3.0"
#define PACKAGE_STRING "nDPI 1.3.0"
#define PACKAGE_BUGREPORT ""
#define PACKAGE_URL ""
#define PACKAGE "ndpi"
#define VERSION "1.3.0"
#define STDC_HEADERS 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STRING_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_DLFCN_H 1
#define LT_OBJDIR ".libs/"
#define HAVE_NETINET_IN_H 1
#define HAVE_STDINT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STRING_H 1
#define HAVE_UNISTD_H 1
configure: exit 0


any idea?

mörgæs
April 18th, 2013, 06:00 PM
As mentioned in post #4 there is no point in using 11.10.

Before spending more time you should do a clean install of 12.04.2 or 12.10.