You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
podman run --rm -it fedora
dnf install gcc g++ cmake conan
conan profile detect
# might need to add gcc 14 to ~/.conan2/settings.yml
conan install --requires "openssl/[*]" -b missing
# ...
openssl/3.2.1: Generating aggregated env files
openssl/3.2.1: Generated aggregated env files: ['conanbuild.sh', 'conanrun.sh']
openssl/3.2.1: Calling build()
openssl/3.2.1: apply_conandata_patches(): No patches defined in conandata
openssl/3.2.1: RUN: perl ./Configure "conan-Release-Linux-x86_64-gcc-14" no-shared --prefix=/ --libdir=lib --openssldir="/etc/ssl" no-unit-test threads PERL=perl no-tests --release -fPIC enable-fips no-md2 zlib --with-zlib-include="/root/.conan2/p/b/zlibaac6682b97598/p/include" --with-zlib-lib="/root/.conan2/p/b/zlibaac6682b97598/p/lib"
/bin/sh: line 1: perl: command not found
openssl/3.2.1: ERROR:
Package '2ead4b5224b22aa6d964443cf39c8659bea28efd' build failed
openssl/3.2.1: WARN: Build folder /root/.conan2/p/b/opens2a80818cf07f4/b/build-release
ERROR: openssl/3.2.1: Error inbuild() method, line 533
self._make()
while calling '_make', line 520
self.run("{perl} ./Configure {args}".format(perl=self._perl, args=args), env="conanbuild")
ConanException: Error 127 while executing
of course could be easily solved by just installing perl through the system package manager, but in some situations one does not have root access to do such thing.
The text was updated successfully, but these errors were encountered:
Indeed, but there is no perl recipe in conan-center (only strawberryperl recipe for Windows). One could create such recipe. Source code of 5.38.2: https://www.cpan.org/src/5.0/perl-5.38.2.tar.gz
despite openssl requiring perl in order to build, it is not specified in the recipe's tool_requirements.
while some distribution (such as debian & archlinux) do provide perl while installing cmake, gcc, and make, others such as fedora don't.
the docs mention that only cmake is assumed to be installed: https://github.com/conan-io/conan-center-index/blob/master/docs/adding_packages/dependencies.md#build-requirements
to reproduce:
of course could be easily solved by just installing perl through the system package manager, but in some situations one does not have root access to do such thing.
The text was updated successfully, but these errors were encountered: