#67909 closed defect (duplicate)

Error: Failed to configure ntop

Reported by: jmverreault Owned by:
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: ntop

Description

---> Configuring ntop Error: Failed to configure ntop: consult /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_ntop/ntop/work/ntop-5.0.1/config.log Error: Failed to configure ntop: configure failure: command execution failed Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_ntop/ntop/main.log for details. Error: Follow https://guide.macports.org/#project.tickets if you believe there is a bug. Error: Processing of port ntop failed

main.log follows:

:info:configure checking for main in -lrrd_th... no :info:configure configure: error: Unable to find RRD at /opt/local: please use --with-rrd-home=DIR :info:configure Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_ntop/ntop/work/ntop-5.0.1" && /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_ntop/ntop/work/ntop-5.0.1/autogen.sh --prefix=/opt/local --with-rrd-home=/opt/local --without-ssl :info:configure Exit code: 1 :error:configure Failed to configure ntop: consult /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_ntop/ntop/work/ntop-5.0.1/config.log :error:configure Failed to configure ntop: configure failure: command execution failed :debug:configure Error code: NONE :debug:configure Backtrace: configure failure: command execution failed :debug:configure while executing :debug:configure "$procedure $targetname" :error:configure See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_ntop/ntop/main.log for details.

Errors in config.log:

conftest.c:11:10: fatal error: 'ac_nonexistent.h' file not found #include <ac_nonexistent.h>

~

1 error generated.

configure:5488: /usr/bin/clang -qversion >&5 clang: error: unknown argument '-qversion'; did you mean '--version'? clang: error: no input files

configure:9745: checking for vfork.h configure:9745: /usr/bin/clang -c -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -arch x86_64 -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk conftest.c >&5 conftest.c:49:10: fatal error: 'vfork.h' file not found #include <vfork.h>

1 error generated.

configure:15655: /usr/bin/clang -c -g -no-cpp-precomp -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -arch x86_64 -g -Wshadow -Wpointer-arith -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -DDARWIN conftest.c >&5 conftest.c:38:4: error: use of undeclared identifier 'not'

not big endian

1 error generated.

configure:16237: /usr/bin/clang -c -g -no-cpp-precomp -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -arch x86_64 -g -Wshadow -Wpointer-arith -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -DDARWIN conftest.c >&5 conftest.c:82:10: fatal error: 'ieeefp.h' file not found #include <ieeefp.h>

~

1 error generated.

configure:16244: /usr/bin/clang -c -g -no-cpp-precomp -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -arch x86_64 -g -Wshadow -Wpointer-arith -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -DDARWIN conftest.c >&5 conftest.c:82:10: fatal error: 'shadow.h' file not found #include <shadow.h>

~

1 error generated.

configure:16385: /usr/bin/clang -o conftest -g -no-cpp-precomp -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -arch x86_64 -g -Wshadow -Wpointer-arith -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -DDARWIN -L/opt/local/lib -Wl,-headerpad_max_install_names -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -arch x86_64 conftest.c -lrrd_th -lz -lgdbm -lpcap -lgdbm -lz >&5 ld: library not found for -lrrd_th clang: error: linker command failed with exit code 1 (use -v to see invocation) configure:16385: $? = 1 configure: failed program was: | /* confdefs.h */

configure:16385: /usr/bin/clang -o conftest -g -no-cpp-precomp -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -arch x86_64 -g -Wshadow -Wpointer-arith -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -DDARWIN -L/opt/local/lib -Wl,-headerpad_max_install_names -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -arch x86_64 conftest.c -lrrd_th -lz -lgdbm -lpcap -lgdbm -lz >&5 ld: library not found for -lrrd_th clang: error: linker command failed with exit code 1 (use -v to see invocation) configure:16385: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "ntop" | #define PACKAGE_TARNAME "ntop" | #define PACKAGE_VERSION "5.0.1" | #define PACKAGE_STRING "ntop 5.0.1" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "ntop" | #define VERSION "5.0.1" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_TIME_H 1 | #define STDC_HEADERS 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LIBPCAP 1 | #define HAVE_PCAP_NEXT_EX 1 | #define HAVE_PCAP_LIB_VERSION 1 | #define HAVE_GDBM_H 1 | #define HAVE_LIBGDBM 1 | #define HAVE_LONG_DOUBLE_WIDER 1 | #define HAVE_LONG_DOUBLE 1 | #define CFG_LITTLE_ENDIAN 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_FLOAT_H 1 | #define HAVE_STDDEF_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_PCRE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MATH_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_STDARG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDIO_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_ARPA_NAMESER_H 1 | #define HAVE_NET_ETHERNET_H 1 | #define HAVE_LIBZ 1 | /* end confdefs.h. */ | | | int | main (void) | { | return main (); | ; | return 0; | } configure:16395: result: no configure:16406: error: Unable to find RRD at /opt/local: please use --with-rrd-home=DIR

Change History (1)

comment:1 Changed 10 months ago by jmroot (Joshua Root)

Keywords: ntop removed
Resolution: duplicate
Status: newclosed
Note: See TracTickets for help on using tickets.