From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail.thorsis.com ([92.198.35.195]) by metis.ext.pengutronix.de with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jGJtR-0006J2-E2 for ptxdist@pengutronix.de; Mon, 23 Mar 2020 11:01:13 +0100 Received: from localhost (localhost [127.0.0.1]) by mail.thorsis.com (Postfix) with ESMTP id 013BE3343 for ; Mon, 23 Mar 2020 11:01:12 +0100 (CET) Received: from mail.thorsis.com ([127.0.0.1]) by localhost (mail.thorsis.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 3Jnan1-0Le1N for ; Mon, 23 Mar 2020 11:01:08 +0100 (CET) From: Alexander Dahl Date: Mon, 23 Mar 2020 11:01:00 +0100 Message-ID: <2263958.67Rj0McoCF@ada> In-Reply-To: <206eea0820414b698d608b079095017e@se.bosch.com> References: <206eea0820414b698d608b079095017e@se.bosch.com> Subject: Re: [ptxdist] curl does not compile with SSL support List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Errors-To: ptxdist-bounces@pengutronix.de Sender: "ptxdist" To: ptxdist@pengutronix.de Cc: "Effert Sascha (CM/EBV3)" Hello Sascha, Am Montag, 23. M=E4rz 2020, 09:35:58 CET schrieb Effert Sascha (CM/EBV3): > Hi, > = > I am using ptxdist 2019.01.0 in a project. In the project we currently use > libcurl without SSL support. I changesd this using menuconfig, so libcurl > should now compile with http, ftp and ssl support (use ca-certificates). > Openssl is also available. Compiling fails thereafter in target > libcurl.prepare with following error: = > checking for OpenSSL headers version... 1.0.2 - 0x1000211fL > checking for OpenSSL library version... 1.0.2 > checking for OpenSSL headers and library versions matching... yes > checking for SRP_Calc_client_key in -lcrypto... yes > configure: built with one SSL backend > configure: error: Default SSL backend ssl not enabled! > /usr/local/lib/ptxdist-2019.01.0/rules/post/ptxd_make_world_prepare.make:= 21: > recipe for target > '/home/vagrant/repositories/DAIMLER_CTP_19.01.S.033/platform/bsp/daimler_= ct > p/platform-acup/state/libcurl.prepare' failed make: *** > [/home/vagrant/repositories/DAIMLER_CTP_19.01.S.033/platform/bsp/daimler_= ct > p/platform-acup/state/libcurl.prepare] Error 1 = > = > = > Can someone give me a hint what I can do? I searched google and the maili= ng > list, but without any success. To give more information here the output of > configure regarding SSL: I would try looking at changes to rules/libcurl.* in later versions of = ptxdist. This commit looks promising: 0d75d1ce80e3e8f5fe66934c0b945e4aad53c= 45b = > = > checking if GSS-API support is requested... no > checking whether to enable Windows native SSL/TLS (Windows native builds > only)... no checking whether to enable Secure Transport... no > checking whether to enable Amiga native SSL/TLS (AmiSSL)... no > configure: PKG_CONFIG_LIBDIR will be set to > "/home/vagrant/repositories/DAIMLER_CTP_19.01.S.033/platform/bsp/daimler_= ct > p/platform-acup/sysroot-target/usr/lib/pkgconfig" checking for openssl > options with pkg-config... found > configure: pkg-config: SSL_LIBS: "-lssl -lcrypto" > configure: pkg-config: SSL_LDFLAGS: "" > configure: pkg-config: SSL_CPPFLAGS: "" > checking for HMAC_Update in -lcrypto... yes > checking for SSL_connect in -lssl... yes > checking openssl/x509.h usability... yes > checking openssl/x509.h presence... yes > checking for openssl/x509.h... yes > checking openssl/rsa.h usability... yes > checking openssl/rsa.h presence... yes > checking for openssl/rsa.h... yes > checking openssl/crypto.h usability... yes > checking openssl/crypto.h presence... yes > checking for openssl/crypto.h... yes > checking openssl/pem.h usability... yes > checking openssl/pem.h presence... yes > checking for openssl/pem.h... yes > checking openssl/ssl.h usability... yes > checking openssl/ssl.h presence... yes > checking for openssl/ssl.h... yes > checking openssl/err.h usability... yes > checking openssl/err.h presence... yes > checking for openssl/err.h... yes > checking for RAND_egd... yes > checking for SSLv2_client_method... yes > checking for OpenSSL_version... no > checking for BoringSSL... no > checking for libressl... no > checking for OpenSSL headers version... 1.0.2 - 0x1000211fL > checking for OpenSSL library version... 1.0.2 > checking for OpenSSL headers and library versions matching... yes > checking for SRP_Calc_client_key in -lcrypto... yes > configure: built with one SSL backend > configure: error: Default SSL backend ssl not enabled! > make: *** > [/home/vagrant/repositories/DAIMLER_CTP_19.01.S.033/platform/bsp/daimler_= ct > p/platform-acup/state/libcurl.prepare] Error 1 > /usr/local/lib/ptxdist-2019.01.0/rules/post/ptxd_make_world_prepare.make:= 21 > : recipe for target > '/home/vagrant/repositories/DAIMLER_CTP_19.01.S.033/platform/bsp/daimler_= ct > p/platform-acup/state/libcurl.prepare' failed = Same error as above. Perhaps curl needs to have --with-default-ssl-backend= =3D = passed to ./configure ? HTH & Greets Alex _______________________________________________ ptxdist mailing list ptxdist@pengutronix.de