esteve / ros2_raspbian_tools

Tools for crosscompiling ROS2 for the Raspberry Pi
Apache License 2.0
47 stars 15 forks source link

libcurl fails to build using polly #5

Closed russkel closed 6 years ago

russkel commented 6 years ago
-- [polly] Used toolchain: RaspberryPi 3 Cross Compile / C++11
-- Found ament_cmake_core: 0.4.0 (/ros2_ws/install_isolated/ament_cmake_core/share/ament_cmake_core/cmake)
configure: error: in `/ros2_ws/build_isolated/libcurl_vendor/curl-7.57.0-prefix/src/curl-7.57.0-build':
configure: error: cannot run C compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by curl configure -, which was
generated by GNU Autoconf 2.69.  Invocation command line was

  $ /ros2_ws/build_isolated/libcurl_vendor/curl-7.57.0-prefix/src/curl-7.57.0/configure CFLAGS=-w CXXFLAGS=-std=c++14 -w PKG_CONFIG_PATH=$PKG_CONFIG_PATH: --prefix=/ros2_ws/build_isolated/libcurl_vendor/libcurl_install --with-ssl

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

hostname = b654b2f39ac7
uname -m = x86_64
uname -r = 4.14.5-1-MANJARO
uname -s = Linux
uname -v = #1 SMP PREEMPT Sun Dec 10 21:18:12 UTC 2017

/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

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

configure:3119: checking whether to enable maintainer-specific portions of Makefiles
configure:3128: result: no
configure:3152: checking whether make supports nested variables
configure:3169: result: yes
configure:3182: checking whether to enable debug build options
configure:3201: result: no
configure:3205: checking whether to enable compiler optimizer
configure:3226: result: (assumed) yes
configure:3238: checking whether to enable strict compiler warnings
configure:3257: result: no
configure:3261: checking whether to enable compiler warnings as errors
configure:3280: result: no
configure:3284: checking whether to enable curl debug memory tracking
configure:3303: result: no
configure:3317: checking whether to enable hiding of library internal symbols
configure:3338: result: yes
configure:3349: checking whether to enable c-ares for DNS lookups
configure:3371: result: no
configure:3375: checking whether to disable dependency on -lrt
configure:3391: result: (assumed no)
configure:3420: checking for path separator
configure:3422: result: :
configure:3432: checking for a sed that does not truncate output
configure:3496: result: /bin/sed
configure:3514: checking whether to build with code coverage support
configure:3534: result: no
configure:3936: checking for grep
configure:3955: found /bin/grep
configure:3968: result: /bin/grep
configure:3984: checking for egrep
configure:3987: result: /bin/grep -E
configure:4087: checking for ar
configure:4106: found /usr/bin/ar
configure:4118: result: /usr/bin/ar
configure:4366: checking for a BSD-compatible install
configure:4434: result: /usr/bin/install -c
configure:4496: checking for gcc
configure:4523: result: /usr/bin/arm-linux-gnueabihf-gcc
configure:4752: checking for C compiler version
configure:4761: /usr/bin/arm-linux-gnueabihf-gcc --version >&5
arm-linux-gnueabihf-gcc (Debian 6.3.0-18) 6.3.0 20170516
Copyright (C) 2016 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:4772: $? = 0
configure:4761: /usr/bin/arm-linux-gnueabihf-gcc -v >&5
Using built-in specs.
COLLECT_GCC=/usr/bin/arm-linux-gnueabihf-gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc-cross/arm-linux-gnueabihf/6/lto-wrapper
Target: arm-linux-gnueabihf
Configured with: ../src/configure -v --with-pkgversion='Debian 6.3.0-18' --with-bugurl=file:///usr/share/doc/gcc-6/README.Bugs --enable-languages=c,ada,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-6 --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-libitm --disable-libquadmath --enable-plugin --enable-default-pie --with-system-zlib --disable-browser-plugin --enable-java-awt=gtk --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-6-armhf-cross/jre --enable-java-home --with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-6-armhf-cross --with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-6-armhf-cross --with-arch-directory=arm --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --disable-libgcj --with-target-system-zlib --enable-objc-gc=auto --enable-multiarch --disable-sjlj-exceptions --with-arch=armv7-a --with-fpu=vfpv3-d16 --with-float=hard --with-mode=thumb --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=arm-linux-gnueabihf --program-prefix=arm-linux-gnueabihf- --includedir=/usr/arm-linux-gnueabihf/include
Thread model: posix
gcc version 6.3.0 20170516 (Debian 6.3.0-18) 
configure:4772: $? = 0
configure:4761: /usr/bin/arm-linux-gnueabihf-gcc -V >&5
arm-linux-gnueabihf-gcc: error: unrecognized command line option '-V'
arm-linux-gnueabihf-gcc: fatal error: no input files
compilation terminated.
configure:4772: $? = 1
configure:4761: /usr/bin/arm-linux-gnueabihf-gcc -qversion >&5
arm-linux-gnueabihf-gcc: error: unrecognized command line option '-qversion'; did you mean '--version'?
arm-linux-gnueabihf-gcc: fatal error: no input files
compilation terminated.
configure:4772: $? = 1
configure:4791: checking whether the C compiler works
configure:4813: /usr/bin/arm-linux-gnueabihf-gcc -w   conftest.c  >&5
configure:4817: $? = 0
configure:4865: result: yes
configure:4868: checking for C compiler default output file name
configure:4870: result: a.out
configure:4876: checking for suffix of executables
configure:4883: /usr/bin/arm-linux-gnueabihf-gcc -o conftest -w   conftest.c  >&5
configure:4887: $? = 0
configure:4909: result: 
configure:4930: checking whether we are cross compiling
configure:4938: /usr/bin/arm-linux-gnueabihf-gcc -o conftest -w   conftest.c  >&5
configure:4942: $? = 0
configure:4949: ./conftest
/lib/ld-linux-armhf.so.3: No such file or directory
configure:4953: $? = 255
configure:4960: error: in `/ros2_ws/build_isolated/libcurl_vendor/curl-7.57.0-prefix/src/curl-7.57.0-build':
configure:4962: error: cannot run C compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details

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

ac_cv_env_CC_set=set
ac_cv_env_CC_value=/usr/bin/arm-linux-gnueabihf-gcc
ac_cv_env_CFLAGS_set=set
ac_cv_env_CFLAGS_value=-w
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_LT_SYS_LIBRARY_PATH_set=
ac_cv_env_LT_SYS_LIBRARY_PATH_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_path_GREP=/bin/grep
ac_cv_path_SED=/bin/sed
ac_cv_path_ac_pt_AR=/usr/bin/ar
ac_cv_path_install='/usr/bin/install -c'
ac_cv_prog_ac_ct_CC=/usr/bin/arm-linux-gnueabihf-gcc
am_cv_make_support_nested_variables=yes

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

    @echo "Need to reconfigure with --enable-code-coverage"
    @echo "Need to reconfigure with --enable-code-coverage"
 $(CODE_COVERAGE_IGNORE_PATTERN);
 $(CODE_COVERAGE_OUTPUT_FILE);
#
#
#    $(PACKAGE_NAME)-$(PACKAGE_VERSION)-coverage)
#    $(PACKAGE_NAME)-$(PACKAGE_VERSION)-coverage.info)
#    (Default: $(top_builddir))
#    (Default: empty)
#    Multiple directories may be specified, separated by whitespace.
#    by lcov for code coverage. (Default:
#    collecting lcov instance. (Default: $CODE_COVERAGE_LCOV_OPTIONS_GCOVPATH)
#    genhtml instance. (Default: based on $CODE_COVERAGE_BRANCH_COVERAGE)
#    instance. (Default: $CODE_COVERAGE_GENHTML_OPTIONS_DEFAULT)
#    instance. (Default: $CODE_COVERAGE_LCOV_OPTIONS_DEFAULT)
#    instance. (Default: $CODE_COVERAGE_LCOV_RMOPTS_DEFAULT)
#    instances. (Default: $CODE_COVERAGE_LCOV_SHOPTS_DEFAULT)
#    instances. (Default: based on $CODE_COVERAGE_BRANCH_COVERAGE)
#    lcov instance. (Default: empty)
#    reports to be created. (Default:
#    set to 0 to disable it and leave empty to stay with the default.
#  - CODE_COVERAGE_BRANCH_COVERAGE: Set to 1 to enforce branch coverage,
#  - CODE_COVERAGE_DIRECTORY: Top-level directory for code coverage reporting.
#  - CODE_COVERAGE_GENHTML_OPTIONS: Extra options to pass to the genhtml
#  - CODE_COVERAGE_GENHTML_OPTIONS_DEFAULT: Extra options to pass to the
#  - CODE_COVERAGE_IGNORE_PATTERN: Extra glob pattern of files to ignore
#  - CODE_COVERAGE_LCOV_OPTIONS: Extra options to pass to the collecting lcov
#  - CODE_COVERAGE_LCOV_OPTIONS_DEFAULT: Extra options to pass to the
#  - CODE_COVERAGE_LCOV_OPTIONS_GCOVPATH: --gcov-tool pathtogcov
#  - CODE_COVERAGE_LCOV_RMOPTS: Extra options to pass to the filtering lcov
#  - CODE_COVERAGE_LCOV_RMOPTS_DEFAULT: Extra options to pass to the filtering
#  - CODE_COVERAGE_LCOV_SHOPTS: Extra options to shared between both lcov
#  - CODE_COVERAGE_LCOV_SHOPTS_DEFAULT: Extra options shared between both lcov
#  - CODE_COVERAGE_OUTPUT_DIRECTORY: Directory for generated code coverage
#  - CODE_COVERAGE_OUTPUT_FILE: Filename and path for the .info file generated
# $(PACKAGE_VERSION). In order to add the current git hash to the title,
# Capture code coverage data
# Code coverage
# Hook rule executed before code-coverage-capture, overridable by the user
# Optional variables
# Optional:
# The generated report will be titled using the $(PACKAGE_NAME) and
# Use recursive makes in order to ignore errors during check
# sanitizes the test-name: replaces with underscores: dashes and dots
# use the git-version-gen script, available online.
$(if $(CODE_COVERAGE_BRANCH_COVERAGE),\
'
--rc genhtml_branch_coverage=$(CODE_COVERAGE_BRANCH_COVERAGE))
--rc lcov_branch_coverage=$(CODE_COVERAGE_BRANCH_COVERAGE))
.PHONY: check-code-coverage code-coverage-capture code-coverage-capture-hook code-coverage-clean
ACLOCAL=''
AMDEPBACKSLASH=''
AMDEP_FALSE=''
AMDEP_TRUE=''
AMTAR=''
AM_BACKSLASH='\'
AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
AM_DEFAULT_VERBOSITY='0'
AM_DISTCHECK_CONFIGURE_FLAGS += --disable-code-coverage
AM_DISTCHECK_CONFIGURE_FLAGS ?=
AM_V='$(V)'
AR='/usr/bin/ar'
AS=''
AUTOCONF=''
AUTOHEADER=''
AUTOMAKE=''
AWK=''
BLANK_AT_MAKETIME=''
BUILD_LIBHOSTNAME_FALSE=''
BUILD_LIBHOSTNAME_TRUE=''
BUILD_STUB_GSS_FALSE=''
BUILD_STUB_GSS_TRUE=''
BUILD_UNITTESTS_FALSE=''
BUILD_UNITTESTS_TRUE=''
CC='/usr/bin/arm-linux-gnueabihf-gcc'
CCDEPMODE=''
CFLAGS='-w'
CFLAG_CURL_SYMBOL_HIDING=''
CODE_COVERAGE_BRANCH_COVERAGE ?=
CODE_COVERAGE_CFLAGS=''
CODE_COVERAGE_CPPFLAGS=''
CODE_COVERAGE_CXXFLAGS=''
CODE_COVERAGE_DIRECTORY ?= $(top_builddir)
CODE_COVERAGE_ENABLED='no'
CODE_COVERAGE_ENABLED_FALSE=''
CODE_COVERAGE_ENABLED_TRUE='#'
CODE_COVERAGE_GENHTML_OPTIONS ?= $(CODE_COVERAGE_GENHTML_OPTIONS_DEFAULT)
CODE_COVERAGE_GENHTML_OPTIONS_DEFAULT ?=\
CODE_COVERAGE_IGNORE_PATTERN ?=
CODE_COVERAGE_LCOV_OPTIONS ?= $(CODE_COVERAGE_LCOV_OPTIONS_DEFAULT)
CODE_COVERAGE_LCOV_OPTIONS_DEFAULT ?= $(CODE_COVERAGE_LCOV_OPTIONS_GCOVPATH)
CODE_COVERAGE_LCOV_OPTIONS_GCOVPATH ?= --gcov-tool "$(GCOV)"
CODE_COVERAGE_LCOV_RMOPTS ?= $(CODE_COVERAGE_LCOV_RMOPTS_DEFAULT)
CODE_COVERAGE_LCOV_RMOPTS_DEFAULT ?=
CODE_COVERAGE_LCOV_SHOPTS ?= $(CODE_COVERAGE_LCOV_SHOPTS_DEFAULT)
CODE_COVERAGE_LCOV_SHOPTS_DEFAULT ?= $(if $(CODE_COVERAGE_BRANCH_COVERAGE),\
CODE_COVERAGE_LDFLAGS=''
CODE_COVERAGE_LIBS=''
CODE_COVERAGE_OUTPUT_DIRECTORY ?= $(PACKAGE_NAME)-$(PACKAGE_VERSION)-coverage
CODE_COVERAGE_OUTPUT_FILE ?= $(PACKAGE_NAME)-$(PACKAGE_VERSION)-coverage.info
CODE_COVERAGE_RULES='
CONFIGURE_OPTIONS='" '\''CFLAGS=-w'\'' '\''CXXFLAGS=-std=c++14 -w'\'' '\''PKG_CONFIG_PATH=$PKG_CONFIG_PATH:'\'' '\''--prefix=/ros2_ws/build_isolated/libcurl_vendor/libcurl_install'\'' '\''--with-ssl'\'' '\''CC=/usr/bin/arm-linux-gnueabihf-gcc'\''"'
CPP=''
CPPFLAGS=''
CPPFLAG_CURL_STATICLIB=''
CROSSCOMPILING_FALSE=''
CROSSCOMPILING_TRUE=''
CURLDEBUG_FALSE=''
CURLDEBUG_TRUE=''
CURLVERSION='7.57.0'
CURL_CA_BUNDLE=''
CURL_CFLAG_EXTRAS=''
CURL_DISABLE_DICT=''
CURL_DISABLE_FILE=''
CURL_DISABLE_FTP=''
CURL_DISABLE_GOPHER=''
CURL_DISABLE_HTTP=''
CURL_DISABLE_IMAP=''
CURL_DISABLE_LDAP=''
CURL_DISABLE_LDAPS=''
CURL_DISABLE_POP3=''
CURL_DISABLE_PROXY=''
CURL_DISABLE_RTSP=''
CURL_DISABLE_SMB=''
CURL_DISABLE_SMTP=''
CURL_DISABLE_TELNET=''
CURL_DISABLE_TFTP=''
CURL_LT_SHLIB_USE_MIMPURE_TEXT_FALSE=''
CURL_LT_SHLIB_USE_MIMPURE_TEXT_TRUE=''
CURL_LT_SHLIB_USE_NO_UNDEFINED_FALSE=''
CURL_LT_SHLIB_USE_NO_UNDEFINED_TRUE=''
CURL_LT_SHLIB_USE_VERSIONED_SYMBOLS_FALSE=''
CURL_LT_SHLIB_USE_VERSIONED_SYMBOLS_TRUE=''
CURL_LT_SHLIB_USE_VERSION_INFO_FALSE=''
CURL_LT_SHLIB_USE_VERSION_INFO_TRUE=''
CURL_LT_SHLIB_VERSIONED_FLAVOUR=''
CURL_NETWORK_AND_TIME_LIBS=''
CURL_NETWORK_LIBS=''
CURL_WITH_MULTI_SSL=''
CYGPATH_W=''
DEFAULT_SSL_BACKEND=''
DEFS=''
DEPDIR=''
DLLTOOL=''
DOING_CURL_SYMBOL_HIDING_FALSE=''
DOING_CURL_SYMBOL_HIDING_TRUE=''
DOING_NATIVE_WINDOWS_FALSE=''
DOING_NATIVE_WINDOWS_TRUE=''
DSYMUTIL=''
DUMPBIN=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP='/bin/grep -E'
ENABLE_SHARED=''
ENABLE_STATIC=''
EXEEXT=''
FGREP=''
GCOV=''
GENHTML=''
GITIGNOREFILES += $(CODE_COVERAGE_OUTPUT_FILE) $(CODE_COVERAGE_OUTPUT_DIRECTORY)
GITIGNOREFILES ?=
GREP='/bin/grep'
HAVE_BROTLI=''
HAVE_GNUTLS_SRP=''
HAVE_LDAP_SSL=''
HAVE_LIBZ=''
HAVE_LIBZ_FALSE=''
HAVE_LIBZ_TRUE=''
HAVE_OPENSSL_SRP=''
IDN_ENABLED=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM=''
IPV6_ENABLED=''
LCOV=''
LD=''
LDFLAGS=''
LIBCURL_LIBS=''
LIBMETALINK_CPPFLAGS=''
LIBMETALINK_LDFLAGS=''
LIBMETALINK_LIBS=''
LIBOBJS=''
LIBS=''
LIBTOOL=''
LIPO=''
LN_S=''
LTLIBOBJS=''
LT_SYS_LIBRARY_PATH=''
MAINT='#'
MAINTAINER_MODE_FALSE=''
MAINTAINER_MODE_TRUE='#'
MAKEINFO=''
MANIFEST_TOOL=''
MANOPT=''
MKDIR_P=''
NM=''
NMEDIT=''
NROFF=''
NSS_LIBS=''
OBJDUMP=''
OBJEXT=''
OTOOL64=''
OTOOL=''
PACKAGE=''
PACKAGE_BUGREPORT='a suitable curl mailing list: https://curl.haxx.se/mail/'
PACKAGE_NAME='curl'
PACKAGE_STRING='curl -'
PACKAGE_TARNAME='curl'
PACKAGE_URL=''
PACKAGE_VERSION='-'
PATH_SEPARATOR=':'
PERL=''
PKGADD_NAME=''
PKGADD_PKG=''
PKGADD_VENDOR=''
PKGCONFIG=''
RANDOM_FILE=''
RANLIB=''
REQUIRE_LIB_DEPS=''
SED='/bin/sed'
SET_MAKE=''
SHELL='/bin/bash'
SSL_ENABLED=''
SSL_LIBS=''
STRIP=''
SUPPORT_FEATURES=''
SUPPORT_PROTOCOLS=''
USE_ARES=''
USE_AXTLS=''
USE_CPPFLAG_CURL_STATICLIB_FALSE=''
USE_CPPFLAG_CURL_STATICLIB_TRUE=''
USE_CYASSL=''
USE_DARWINSSL=''
USE_EMBEDDED_ARES_FALSE=''
USE_EMBEDDED_ARES_TRUE=''
USE_EXPLICIT_LIB_DEPS_FALSE=''
USE_EXPLICIT_LIB_DEPS_TRUE=''
USE_GNUTLS=''
USE_GNUTLS_NETTLE=''
USE_LIBPSL_FALSE=''
USE_LIBPSL_TRUE=''
USE_LIBRTMP=''
USE_LIBSSH2=''
USE_MANUAL_FALSE=''
USE_MANUAL_TRUE=''
USE_MBEDTLS=''
USE_NGHTTP2=''
USE_NSS=''
USE_OPENLDAP=''
USE_POLARSSL=''
USE_SCHANNEL=''
USE_UNIX_SOCKETS=''
USE_WINDOWS_SSPI=''
VERSION=''
VERSIONNUM=''
ZLIB_LIBS=''
ZSH_FUNCTIONS_DIR=''
ac_ct_AR=''
ac_ct_CC='/usr/bin/arm-linux-gnueabihf-gcc'
ac_ct_DUMPBIN=''
am__EXEEXT_FALSE=''
am__EXEEXT_TRUE=''
am__fastdepCC_FALSE=''
am__fastdepCC_TRUE=''
am__include=''
am__isrc=''
am__leading_dot=''
am__nodep=''
am__quote=''
am__tar=''
am__untar=''
bindir='${exec_prefix}/bin'
build=''
build_alias=''
build_cpu=''
build_os=''
build_vendor=''
check-code-coverage:
code-coverage-capture-hook:
code-coverage-capture: code-coverage-capture-hook
code_coverage_quiet = $(code_coverage_quiet_$(V))
code_coverage_quiet_ = $(code_coverage_quiet_$(AM_DEFAULT_VERBOSITY))
code_coverage_quiet_0 = --quiet
code_coverage_sanitize = $(subst -,_,$(subst .,_,$(1)))
code_coverage_v_genhtml = $(code_coverage_v_genhtml_$(V))
code_coverage_v_genhtml_ = $(code_coverage_v_genhtml_$(AM_DEFAULT_VERBOSITY))
code_coverage_v_genhtml_0 = @echo "  GEN   " $(CODE_COVERAGE_OUTPUT_DIRECTORY);
code_coverage_v_lcov_cap = $(code_coverage_v_lcov_cap_$(V))
code_coverage_v_lcov_cap_ = $(code_coverage_v_lcov_cap_$(AM_DEFAULT_VERBOSITY))
code_coverage_v_lcov_cap_0 = @echo "  LCOV   --capture"\
code_coverage_v_lcov_ign = $(code_coverage_v_lcov_ign_$(V))
code_coverage_v_lcov_ign_ = $(code_coverage_v_lcov_ign_$(AM_DEFAULT_VERBOSITY))
code_coverage_v_lcov_ign_0 = @echo "  LCOV   --remove /tmp/*"\
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
exec_prefix='NONE'
host=''
host_alias=''
host_cpu=''
host_os=''
host_vendor=''
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
install_sh=''
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
libext=''
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='${datarootdir}/man'
mkdir_p=''
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='/ros2_ws/build_isolated/libcurl_vendor/libcurl_install'
program_transform_name='s,x,x,'
psdir='${docdir}'
runstatedir='${localstatedir}/run'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
subdirs=''
sysconfdir='${prefix}/etc'
target_alias=''

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

/* confdefs.h */
#define PACKAGE_NAME "curl"
#define PACKAGE_TARNAME "curl"
#define PACKAGE_VERSION "-"
#define PACKAGE_STRING "curl -"
#define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
#define PACKAGE_URL ""

configure: exit 1

Some places mention this is a problem with the file system not supporting exec privileges.

brainwave commented 6 years ago

@russkel Did you manage to solve this issue? I am stuck at the same place, and don't know how to proceed

esteve commented 6 years ago

@brainwave @russkel thanks for the report. I just pushed https://github.com/esteve/ros2_raspbian_tools/commit/3f0a5d04bc895eba32b69769a8f289885f0d6519 which should fix it. Could you try and see if it works for you? Thanks!

brainwave commented 6 years ago

@esteve Thank you so much for the timely help. Unfortunately, I am not finding the time to test it out. I'll do it as soon as possible and post an update.

russkel commented 6 years ago

@esteve Thanks for your help Esteve. It appears to have compiled successfully! I haven't tried the binaries yet but they are definitively there. I will close the issue.

esteve commented 6 years ago

@russkel Thanks!

russkel commented 6 years ago

Ugh, running ros2 on the Raspberry pi zero W gives an "illegal instruction" error, even though polly's toolchain was set to raspberrypi1. Next problem I need to work out 😆 .

esteve commented 6 years ago

@russkel that's unfortunate :-( I've only tested this on Raspberry Pis 2 and 3. IIRC the processor on the Zero is of a different ARM generation, which might be the cause for the "illegal instruction" error.

russkel commented 6 years ago

@esteve Thanks for the tip. I'll do some digging. Will make a PR with readme instructions on how to compile for zeroW, if I can work it out, that is.