On Tue, Nov 14, 2017 at 03:08:29PM +0100, Benny Siegert wrote: > Can you post the entire config.log? >
Attached. (Indeed there is the info: libssp not found---what is it?) Best regards. > On Tue, Nov 14, 2017 at 3:06 PM, <[email protected]> wrote: > > On Tue, Nov 14, 2017 at 02:04:44PM +0100, Benny Siegert wrote: > >> > When configure is run from pkgsrc, it fails. > >> > > >> > Not knowing the guts of the pkgsrc framework, I'm a bit at a loss to > >> > have a clue about what is going wrong... > >> > >> Please do the following: > >> > >> 1. Run "make configure", watch it fail. > >> 2. Look in work/icu-*/config.log for the failing compiler invocation. > >> Post the relevant bit. > > > > The only info in config.log is: > > > > configure: exit 77 > > > > The relevant bit failing is the invocation of the compiler to find the > > extension (suffix) of the executable, that is (extract from configure): > > > > ----8<--- > > cat confdefs.h - <<_ACEOF >conftest.$ac_ext > > /* end confdefs.h. */ > > > > int > > main () > > { > > > > ; > > return 0; > > } > > _ACEOF > > ac_clean_files_save=$ac_clean_files > > ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" > > # Try to create an executable without -o first, disregard a.out. > > # It will help us diagnose broken compilers, and finding out an intuition > > # of exeext. > > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler > > works" >&5 > > $as_echo_n "checking whether the C compiler works... " >&6; } > > ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` > > > > # The possible output files: > > ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" > > > > ac_rmfiles= > > for ac_file in $ac_files > > do > > case $ac_file in > > *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | > > *.map | *.inf | *.dSYM | *.o | *.obj ) ;; > > * ) ac_rmfiles="$ac_rmfiles $ac_file";; > > esac > > done > > rm -f $ac_rmfiles > > > > if { { ac_try="$ac_link_default" > > case "(($ac_try" in > > *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; > > *) ac_try_echo=$ac_try;; > > esac > > eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" > > $as_echo "$ac_try_echo"; } >&5 > > (eval "$ac_link_default") 2>&5 > > ac_status=$? > > $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 > > test $ac_status = 0; }; then : > > # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. > > # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' > > # in a Makefile. We should not override ac_cv_exeext if it was cached, > > # so that the user can short-circuit this test for compilers unknown to > > # Autoconf. > > for ac_file in $ac_files '' > > do > > test -f "$ac_file" || continue > > case $ac_file in > > *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | > > *.map | *.inf | *.dSYM | *.o | *.obj ) > > ;; > > [ab].out ) > > # We found the default executable, but exeext='' is most > > # certainly right. > > break;; > > *.* ) > > if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; > > then :; else > > ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` > > fi > > # We set ac_cv_exeext here because the later test for it is not > > # safe: cross compilers may not add the suffix if given an `-o' > > # argument, so we may need to know it at that point already. > > # Even if this section looks crufty: it has the advantage of > > # actually working. > > break;; > > * ) > > break;; > > esac > > done > > test "$ac_cv_exeext" = no && ac_cv_exeext= > > > > else > > ac_file='' > > fi > > if test -z "$ac_file"; then : > > { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 > > $as_echo "no" >&6; } > > $as_echo "$as_me: failed program was:" >&5 > > sed 's/^/| /' conftest.$ac_ext >&5 > > > > { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 > > $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} > > as_fn_error 77 "C compiler cannot create executables > > See \`config.log' for more details" "$LINENO" 5; } > > else > > { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 > > $as_echo "yes" >&6; } > > fi > > --->8--- > > > > Since this is this configure, produced by pkgsrc, that I run directly, > > except the way it is invoked (and the directory), I fail to grab what > > may be causing the problem---unless the environment set by make(1), with > > the numerous utilities set by macros, replace a default working by a not > > working one. > > > > TIA, > > -- > > Thierry Laronde <tlaronde +AT+ polynum +dot+ com> > > http://www.kergis.com/ > > http://www.sbfa.fr/ > > Key fingerprint = 0FF7 E906 FBAF FE95 FD89 250D 52B1 AE95 6006 F40C > > > > -- > The first essential in chemistry is that you should perform practical > work and conduct experiments, for he who performs not practical work > nor makes experiments will never attain the least degree of mastery. > -- Abu Musa Jabir ibn Hayyan (721-815) -- Thierry Laronde <tlaronde +AT+ polynum +dot+ com> http://www.kergis.com/ http://www.sbfa.fr/ Key fingerprint = 0FF7 E906 FBAF FE95 FD89 250D 52B1 AE95 6006 F40C
This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by ICU configure 59.1, which was generated by GNU Autoconf 2.69. Invocation command line was $ ./configure --enable-static --prefix=/usr/pkg --build=x86_64--netbsd --host=x86_64--netbsd --mandir=/usr/pkg/man ## --------- ## ## Platform. ## ## --------- ## hostname = cauchy.polynum.local uname -m = amd64 uname -r = 6.1.5_PATCH uname -s = NetBSD uname -v = NetBSD 6.1.5_PATCH (CONFIG) #0: Tue Mar 21 20:40:18 CET 2017 [email protected]:/usr/obj/polynum.NODECONF-cauchy.polynum.local_netbsd-6.1.5_patch-amd64_netbsd-amd64/obj/sys/arch/amd64/compile/CONFIG /usr/bin/uname -p = x86_64 /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: /data/m/pkgsrc/textproc/icu/work/.cwrapper/bin PATH: /data/m/pkgsrc/textproc/icu/work/.buildlink/bin PATH: /data/m/pkgsrc/textproc/icu/work/.tools/bin PATH: /data/m/pkgsrc/textproc/icu/work/.gcc/bin PATH: /usr/pkg/bin PATH: /home/tlaronde/bin PATH: /bin PATH: /sbin PATH: /usr/bin PATH: /usr/sbin PATH: /usr/pkg/bin PATH: /usr/pkg/sbin PATH: /usr/pkg/bin/kertex PATH: /usr/pkg/bin PATH: /usr/pkg/bin ## ----------- ## ## Core tests. ## ## ----------- ## configure:2627: checking for ICU version numbers configure:2660: result: release 59.1, library 59.1, unicode version 9.0 configure:2699: checking build system type configure:2713: result: x86_64--netbsd configure:2733: checking host system type configure:2746: result: x86_64--netbsd configure:2789: checking whether to build debug libraries configure:2801: result: no configure:2806: checking whether to build release libraries configure:2818: result: yes configure:2837: checking for x86_64--netbsd-clang configure:2864: result: gcc configure:2939: checking for C compiler version configure:2948: gcc --version >&5 gcc (GCC) 4.8.5 Copyright (C) 2015 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:2959: $? = 0 configure:2948: gcc -v >&5 Using built-in specs. COLLECT_GCC=/data/m/pkgsrc/textproc/icu/work/.gcc/bin/gcc COLLECT_LTO_WRAPPER=/usr/pkg/gcc48/libexec/gcc/x86_64--netbsd/4.8.5/lto-wrapper Target: x86_64--netbsd Configured with: ../gcc-4.8.5/configure --enable-languages='c obj-c++ objc fortran c++' --enable-shared --enable-long-long --with-local-prefix=/usr/pkg/gcc48 --disable-libssp --enable-threads=posix --with-boot-ldflags='-static-libstdc++ -static-libgcc -Wl,-R/usr/pkg/lib ' --enable-nls --with-libiconv-prefix=/usr --with-gmp=/usr/pkg --with-mpc=/usr/pkg --with-mpfr=/usr/pkg --with-cloog=/usr/pkg --enable-cloog-backend=isl --enable-__cxa_atexit --with-gxx-include-dir=/usr/pkg/gcc48/include/c++/ --with-gnu-ld --with-ld=/usr/bin/ld --with-gnu-as --with-as=/usr/bin/as --prefix=/usr/pkg/gcc48 --build=x86_64--netbsd --host=x86_64--netbsd --infodir=/usr/pkg/gcc48/info --mandir=/usr/pkg/gcc48/man Thread model: posix gcc version 4.8.5 (GCC) configure:2959: $? = 0 configure:2948: gcc -V >&5 gcc: error: unrecognized command line option '-V' gcc: fatal error: no input files compilation terminated. configure:2959: $? = 1 configure:2948: gcc -qversion >&5 gcc: error: unrecognized command line option '-qversion' gcc: fatal error: no input files compilation terminated. configure:2959: $? = 1 configure:2979: checking whether the C compiler works configure:3001: gcc -O2 -I/usr/include -I/usr/pkg/include -I/usr/include -I/usr/pkg/include -L/usr/pkg/gcc48/lib/gcc/x86_64--netbsd/4.8.5 -Wl,-R/usr/pkg/gcc48/lib/gcc/x86_64--netbsd/4.8.5 -L/usr/pkg/gcc48/lib -Wl,-R/usr/pkg/gcc48/lib -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib conftest.c >&5 /usr/bin/ld: cannot find -lssp_nonshared /usr/bin/ld: cannot find -lssp collect2: error: ld returned 1 exit status configure:3005: $? = 1 configure:3043: result: no configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "ICU" | #define PACKAGE_TARNAME "International Components for Unicode" | #define PACKAGE_VERSION "59.1" | #define PACKAGE_STRING "ICU 59.1" | #define PACKAGE_BUGREPORT "http://icu-project.org/bugs" | #define PACKAGE_URL "http://icu-project.org" | /* end confdefs.h. */ | | int | main () | { | | ; | return 0; | } configure:3048: error: in `/data/m/pkgsrc/textproc/icu/work/icu/source': configure:3051: error: C compiler cannot create executables See `config.log' for more details ## ---------------- ## ## Cache variables. ## ## ---------------- ## ac_cv_build=x86_64--netbsd ac_cv_env_CCC_set= ac_cv_env_CCC_value= ac_cv_env_CC_set=set ac_cv_env_CC_value=gcc ac_cv_env_CFLAGS_set=set ac_cv_env_CFLAGS_value='-O2 -I/usr/include -I/usr/pkg/include' ac_cv_env_CPPFLAGS_set=set ac_cv_env_CPPFLAGS_value='-I/usr/include -I/usr/pkg/include' ac_cv_env_CPP_set= ac_cv_env_CPP_value= ac_cv_env_CXXFLAGS_set=set ac_cv_env_CXXFLAGS_value='-O2 -I/usr/include -I/usr/pkg/include' ac_cv_env_CXX_set=set ac_cv_env_CXX_value=c++ ac_cv_env_ICULEHB_CFLAGS_set= ac_cv_env_ICULEHB_CFLAGS_value= ac_cv_env_ICULEHB_LIBS_set= ac_cv_env_ICULEHB_LIBS_value= ac_cv_env_LDFLAGS_set=set ac_cv_env_LDFLAGS_value='-L/usr/pkg/gcc48/lib/gcc/x86_64--netbsd/4.8.5 -Wl,-R/usr/pkg/gcc48/lib/gcc/x86_64--netbsd/4.8.5 -L/usr/pkg/gcc48/lib -Wl,-R/usr/pkg/gcc48/lib -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib' ac_cv_env_LIBS_set=set ac_cv_env_LIBS_value= ac_cv_env_PKG_CONFIG_LIBDIR_set=set ac_cv_env_PKG_CONFIG_LIBDIR_value=/data/m/pkgsrc/textproc/icu/work/.buildlink/lib/pkgconfig:/data/m/pkgsrc/textproc/icu/work/.buildlink/share/pkgconfig ac_cv_env_PKG_CONFIG_PATH_set=set ac_cv_env_PKG_CONFIG_PATH_value= ac_cv_env_PKG_CONFIG_set=set ac_cv_env_PKG_CONFIG_value= ac_cv_env_build_alias_set=set ac_cv_env_build_alias_value=x86_64--netbsd ac_cv_env_host_alias_set=set ac_cv_env_host_alias_value=x86_64--netbsd ac_cv_env_target_alias_set= ac_cv_env_target_alias_value= ac_cv_host=x86_64--netbsd ac_cv_path_CAT=/bin/cat ac_cv_path_ECHO=echo ac_cv_path_EGREP=/usr/bin/egrep ac_cv_path_ENV=/usr/bin/env ac_cv_path_FALSE=false ac_cv_path_GREP=/usr/bin/grep ac_cv_path_TEST=test ac_cv_path_TRUE=true ac_cv_prog_CC=gcc ## ----------------- ## ## Output variables. ## ## ----------------- ## AR='' ARFLAGS='' CC='gcc' CFLAGS='-O2 -I/usr/include -I/usr/pkg/include' COMPILE_LINK_ENVVAR='' CPP='' CPPFLAGS='-I/usr/include -I/usr/pkg/include' CXX='c++' CXXFLAGS='-O2 -I/usr/include -I/usr/pkg/include' DATA_PACKAGING_MODE='' DEFS='' DOXYGEN='' ECHO_C='' ECHO_N='-n' ECHO_T='' EGREP='/usr/bin/egrep' ENABLE_DEBUG='0' ENABLE_RELEASE='1' ENABLE_RPATH='' ENABLE_SHARED='' ENABLE_STATIC='' EXEEXT='' EXTRAS_TRUE='' GENCCODE_ASSEMBLY='' GREP='/usr/bin/grep' HAVE_MMAP='' ICUDATA_CHAR='' ICUIO_TRUE='' ICULEHB_CFLAGS='' ICULEHB_LIBS='' ICULIBSUFFIX='' ICULIBSUFFIXCNAME='' ICU_ECHO_C='' ICU_ECHO_N='-n' ICU_ECHO_T='' INSTALL_DATA='/usr/bin/install -c -o tlaronde -g users -m 644' INSTALL_PROGRAM='/usr/bin/install -c -s -o tlaronde -g users -m 755' INSTALL_SCRIPT='/usr/bin/install -c -o tlaronde -g users -m 755' LAYOUTEX_TRUE='' LDFLAGS='-L/usr/pkg/gcc48/lib/gcc/x86_64--netbsd/4.8.5 -Wl,-R/usr/pkg/gcc48/lib/gcc/x86_64--netbsd/4.8.5 -L/usr/pkg/gcc48/lib -Wl,-R/usr/pkg/gcc48/lib -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib' LIBCFLAGS='' LIBCXXFLAGS='' LIBOBJS='' LIBS='' LIB_M='' LIB_THREAD='' LIB_VERSION='59.1' LIB_VERSION_MAJOR='59' LTLIBOBJS='' OBJEXT='' PACKAGE='icu' PACKAGE_BUGREPORT='http://icu-project.org/bugs' PACKAGE_NAME='ICU' PACKAGE_STRING='ICU 59.1' PACKAGE_TARNAME='International Components for Unicode' PACKAGE_URL='http://icu-project.org' PACKAGE_VERSION='59.1' PATH_SEPARATOR=':' PKG_CONFIG='' PKG_CONFIG_LIBDIR='/data/m/pkgsrc/textproc/icu/work/.buildlink/lib/pkgconfig:/data/m/pkgsrc/textproc/icu/work/.buildlink/share/pkgconfig' PKG_CONFIG_PATH='' PLUGINS_TRUE='' RANLIB='' SAMPLES_TRUE='' SED='/usr/bin/sed' SHELL='/bin/sh' TESTS_TRUE='' TOOLS_TRUE='' UCLN_NO_AUTO_CLEANUP='' UCONFIG_CFLAGS='' UCONFIG_CPPFLAGS='' UCONFIG_CXXFLAGS='' UNICODE_VERSION='9.0' U_DEFAULT_SHOW_DRAFT='' U_DISABLE_RENAMING='' U_ENABLE_DYLOAD='' U_ENABLE_TRACING='' U_HAVE_ATOMIC='' U_HAVE_DIRENT_H='' U_HAVE_EXTRAS='' U_HAVE_ICUIO='' U_HAVE_INTTYPES_H='' U_HAVE_LAYOUTEX='' U_HAVE_LIB_SUFFIX='' U_HAVE_NL_LANGINFO_CODESET='' U_HAVE_PLACEMENT_NEW='' U_HAVE_PLUGINS='' U_HAVE_POPEN='' U_HAVE_SAMPLES='' U_HAVE_STRTOD_L='' U_HAVE_TESTS='' U_HAVE_TIMEZONE='' U_HAVE_TOOLS='' U_HAVE_TZNAME='' U_HAVE_TZSET='' U_HAVE_WCHAR_H='' U_HAVE_WCSCPY='' U_IS_BIG_ENDIAN='' U_MAKE='/usr/pkg/bin/gmake' U_NL_LANGINFO_CODESET='' U_OVERRIDE_CXX_ALLOCATION='' U_TIMEZONE='' U_TZNAME='' U_TZSET='' VERSION='59.1' ac_ct_CC='' ac_ct_CXX='' bindir='${exec_prefix}/bin' build='x86_64--netbsd' build_alias='x86_64--netbsd' build_cpu='x86_64' build_os='netbsd' build_vendor='' cross_buildroot='' cross_compiling='no' datadir='${datarootdir}' datarootdir='${prefix}/share' docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' dvidir='${docdir}' exec_prefix='NONE' host='x86_64--netbsd' host_alias='x86_64--netbsd' host_cpu='x86_64' host_os='netbsd' host_vendor='' htmldir='${docdir}' includedir='${prefix}/include' infodir='${datarootdir}/info' libdir='${exec_prefix}/lib' libexecdir='${exec_prefix}/libexec' localedir='${datarootdir}/locale' localstatedir='${prefix}/var' mandir='/usr/pkg/man' oldincludedir='/usr/include' pdfdir='${docdir}' pkgicudatadir='' platform='' platform_make_fragment='' platform_make_fragment_name='' prefix='/usr/pkg' program_transform_name='s,x,x,' psdir='${docdir}' sbindir='${exec_prefix}/sbin' sharedstatedir='${prefix}/com' sysconfdir='${prefix}/etc' target_alias='' thepkgicudatadir='' ## ----------- ## ## confdefs.h. ## ## ----------- ## /* confdefs.h */ #define PACKAGE_NAME "ICU" #define PACKAGE_TARNAME "International Components for Unicode" #define PACKAGE_VERSION "59.1" #define PACKAGE_STRING "ICU 59.1" #define PACKAGE_BUGREPORT "http://icu-project.org/bugs" #define PACKAGE_URL "http://icu-project.org" configure: exit 77
