Hi Harlan,
There are two popular build tools in the scientific software field that
build software and a modulefile to use it: Spack [1] and EasyBuild [2].
I have quickly look at both and I do not find track of openssl in the build
recipe for Perl on Spack, but in EasyBuild the openssl dependency is
clearly expressed.
So I would suggest you to do a small test setup of EasyBuild, try to build
Perl and some of its CPAN modules (like Net::SSLeay that clearly needs
openssl) and look at the obtained modulefiles and at how things are built.
Just looking at the build recipe for Net::SSLeay [3], there is some
pre-config option define:
'preconfigopts': "export OPENSSL_PREFIX=$EBROOTOPENSSL && ",
Regards,
Xavier
[1] https://spack.io/
[2] https://easybuild.io/
[3]
https://github.com/easybuilders/easybuild-easyconfigs/blob/develop/easybuild/easyconfigs/p/Perl/Perl-5.34.0-GCCcore-11.2.0.eb
Le ven. 28 janv. 2022 à 12:57, Harlan Stenn <ha...@pf...> a écrit :
> Is there a place where folks are collecting how to build various tools
> to run under modules?
>
> For example, perl and its CPAN modules need to have a path to the
> version of openssl that they are built against.
>
> The things I did years ago to build perl-X against openssl-Y and have
> the result be usable by modules no longer work...
>
> I'm looking for the current build incantation for perl that will get the
> desired openssl headers and libraries at the front of the appropriate
> search paths.
>
> H
>
>
> _______________________________________________
> Modules-interest mailing list
> Mod...@li...
> https://lists.sourceforge.net/lists/listinfo/modules-interest
>
|