Perl Dist::Zilla doesn't install because of Net::SSLeay on Debian Wheezy












1















I am using perlbrew together with cpanm on debian wheezy.
I tried to install Dist::Zilla but installation failed because of Net::SSLeay.



Error message: SSLeay.xs:153:25: fatal error: openssl/err.h: Datei oder Verzeichnis nicht gefunden (German for "openssl/err.h not found").



People suggest installing libssl-dev which I have already done and does not help.



Is it that something has changed from Squeeze to Wheezy and Perl-Modules are not aware of yet??










share|improve this question

























  • Have you tried aptitude install libdist-zilla-perl? Or you must install it with perlbrew/cpanm? I have just installed it like this (with 132 dependencies...) succcessfuly on a fresh wheezy box.

    – Michal Gasek
    Jan 20 '14 at 21:09













  • You mean it was successful with aptitude? Well this is no surprise :-) No it is not a must that I use perlbrew/cpanm, but it is my preferred work-flow.

    – Boris Däppen
    Jan 20 '14 at 21:38











  • Yes, no problems installing with aptitude... Save yourself trouble :)

    – Michal Gasek
    Jan 20 '14 at 21:38






  • 1





    Haha, you are joking. This motto was the reason why I switched to perlbrew! "Never mess with your systems Perl" seems logic to me while developing stuff. (but this is offtopic)

    – Boris Däppen
    Jan 20 '14 at 21:40











  • I'm not able to reproduce it. Here is the complete output of what I did together with complete log of cpanm: pastebin.com/TPd44inK , I included output of perl -V and dpkg -l | grep ssl as well. Anyway: Successfully installed Net-SSLeay-1.58 && Successfully installed Dist-Zilla-5.012.

    – Michal Gasek
    Jan 21 '14 at 0:09


















1















I am using perlbrew together with cpanm on debian wheezy.
I tried to install Dist::Zilla but installation failed because of Net::SSLeay.



Error message: SSLeay.xs:153:25: fatal error: openssl/err.h: Datei oder Verzeichnis nicht gefunden (German for "openssl/err.h not found").



People suggest installing libssl-dev which I have already done and does not help.



Is it that something has changed from Squeeze to Wheezy and Perl-Modules are not aware of yet??










share|improve this question

























  • Have you tried aptitude install libdist-zilla-perl? Or you must install it with perlbrew/cpanm? I have just installed it like this (with 132 dependencies...) succcessfuly on a fresh wheezy box.

    – Michal Gasek
    Jan 20 '14 at 21:09













  • You mean it was successful with aptitude? Well this is no surprise :-) No it is not a must that I use perlbrew/cpanm, but it is my preferred work-flow.

    – Boris Däppen
    Jan 20 '14 at 21:38











  • Yes, no problems installing with aptitude... Save yourself trouble :)

    – Michal Gasek
    Jan 20 '14 at 21:38






  • 1





    Haha, you are joking. This motto was the reason why I switched to perlbrew! "Never mess with your systems Perl" seems logic to me while developing stuff. (but this is offtopic)

    – Boris Däppen
    Jan 20 '14 at 21:40











  • I'm not able to reproduce it. Here is the complete output of what I did together with complete log of cpanm: pastebin.com/TPd44inK , I included output of perl -V and dpkg -l | grep ssl as well. Anyway: Successfully installed Net-SSLeay-1.58 && Successfully installed Dist-Zilla-5.012.

    – Michal Gasek
    Jan 21 '14 at 0:09
















1












1








1








I am using perlbrew together with cpanm on debian wheezy.
I tried to install Dist::Zilla but installation failed because of Net::SSLeay.



Error message: SSLeay.xs:153:25: fatal error: openssl/err.h: Datei oder Verzeichnis nicht gefunden (German for "openssl/err.h not found").



People suggest installing libssl-dev which I have already done and does not help.



Is it that something has changed from Squeeze to Wheezy and Perl-Modules are not aware of yet??










share|improve this question
















I am using perlbrew together with cpanm on debian wheezy.
I tried to install Dist::Zilla but installation failed because of Net::SSLeay.



Error message: SSLeay.xs:153:25: fatal error: openssl/err.h: Datei oder Verzeichnis nicht gefunden (German for "openssl/err.h not found").



People suggest installing libssl-dev which I have already done and does not help.



Is it that something has changed from Squeeze to Wheezy and Perl-Modules are not aware of yet??







perl debian perl-module cpan






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited May 23 '17 at 12:11









Community

11




11










asked Jan 20 '14 at 20:58









Boris DäppenBoris Däppen

658517




658517













  • Have you tried aptitude install libdist-zilla-perl? Or you must install it with perlbrew/cpanm? I have just installed it like this (with 132 dependencies...) succcessfuly on a fresh wheezy box.

    – Michal Gasek
    Jan 20 '14 at 21:09













  • You mean it was successful with aptitude? Well this is no surprise :-) No it is not a must that I use perlbrew/cpanm, but it is my preferred work-flow.

    – Boris Däppen
    Jan 20 '14 at 21:38











  • Yes, no problems installing with aptitude... Save yourself trouble :)

    – Michal Gasek
    Jan 20 '14 at 21:38






  • 1





    Haha, you are joking. This motto was the reason why I switched to perlbrew! "Never mess with your systems Perl" seems logic to me while developing stuff. (but this is offtopic)

    – Boris Däppen
    Jan 20 '14 at 21:40











  • I'm not able to reproduce it. Here is the complete output of what I did together with complete log of cpanm: pastebin.com/TPd44inK , I included output of perl -V and dpkg -l | grep ssl as well. Anyway: Successfully installed Net-SSLeay-1.58 && Successfully installed Dist-Zilla-5.012.

    – Michal Gasek
    Jan 21 '14 at 0:09





















  • Have you tried aptitude install libdist-zilla-perl? Or you must install it with perlbrew/cpanm? I have just installed it like this (with 132 dependencies...) succcessfuly on a fresh wheezy box.

    – Michal Gasek
    Jan 20 '14 at 21:09













  • You mean it was successful with aptitude? Well this is no surprise :-) No it is not a must that I use perlbrew/cpanm, but it is my preferred work-flow.

    – Boris Däppen
    Jan 20 '14 at 21:38











  • Yes, no problems installing with aptitude... Save yourself trouble :)

    – Michal Gasek
    Jan 20 '14 at 21:38






  • 1





    Haha, you are joking. This motto was the reason why I switched to perlbrew! "Never mess with your systems Perl" seems logic to me while developing stuff. (but this is offtopic)

    – Boris Däppen
    Jan 20 '14 at 21:40











  • I'm not able to reproduce it. Here is the complete output of what I did together with complete log of cpanm: pastebin.com/TPd44inK , I included output of perl -V and dpkg -l | grep ssl as well. Anyway: Successfully installed Net-SSLeay-1.58 && Successfully installed Dist-Zilla-5.012.

    – Michal Gasek
    Jan 21 '14 at 0:09



















Have you tried aptitude install libdist-zilla-perl? Or you must install it with perlbrew/cpanm? I have just installed it like this (with 132 dependencies...) succcessfuly on a fresh wheezy box.

– Michal Gasek
Jan 20 '14 at 21:09







Have you tried aptitude install libdist-zilla-perl? Or you must install it with perlbrew/cpanm? I have just installed it like this (with 132 dependencies...) succcessfuly on a fresh wheezy box.

– Michal Gasek
Jan 20 '14 at 21:09















You mean it was successful with aptitude? Well this is no surprise :-) No it is not a must that I use perlbrew/cpanm, but it is my preferred work-flow.

– Boris Däppen
Jan 20 '14 at 21:38





You mean it was successful with aptitude? Well this is no surprise :-) No it is not a must that I use perlbrew/cpanm, but it is my preferred work-flow.

– Boris Däppen
Jan 20 '14 at 21:38













Yes, no problems installing with aptitude... Save yourself trouble :)

– Michal Gasek
Jan 20 '14 at 21:38





Yes, no problems installing with aptitude... Save yourself trouble :)

– Michal Gasek
Jan 20 '14 at 21:38




1




1





Haha, you are joking. This motto was the reason why I switched to perlbrew! "Never mess with your systems Perl" seems logic to me while developing stuff. (but this is offtopic)

– Boris Däppen
Jan 20 '14 at 21:40





Haha, you are joking. This motto was the reason why I switched to perlbrew! "Never mess with your systems Perl" seems logic to me while developing stuff. (but this is offtopic)

– Boris Däppen
Jan 20 '14 at 21:40













I'm not able to reproduce it. Here is the complete output of what I did together with complete log of cpanm: pastebin.com/TPd44inK , I included output of perl -V and dpkg -l | grep ssl as well. Anyway: Successfully installed Net-SSLeay-1.58 && Successfully installed Dist-Zilla-5.012.

– Michal Gasek
Jan 21 '14 at 0:09







I'm not able to reproduce it. Here is the complete output of what I did together with complete log of cpanm: pastebin.com/TPd44inK , I included output of perl -V and dpkg -l | grep ssl as well. Anyway: Successfully installed Net-SSLeay-1.58 && Successfully installed Dist-Zilla-5.012.

– Michal Gasek
Jan 21 '14 at 0:09














1 Answer
1






active

oldest

votes


















0














The problem is likely that OpenSSL needs to be compiled into the Perlbrew environment -- the same environment that will run Net::SSLeay. Try this recipe:





  1. Install dependencies:



    sudo apt install build-essential checkinstall zlib1g-dev -y




  2. Create a subdirectory for OpenSSL under Perlbrew:



    mkdir ~/perl5/perlbrew/openssl




  3. Download & extract latest LTS OpenSSL into above directory. To determine latest LTS OpenSSL, go to https://openssl.org/source/ and find the latest stable version. For example below we use openssl-1.1.1.tar.gz:



    cd ~/perl5/perlbrew/openssl



    wget https://www.openssl.org/source/openssl-1.1.1.tar.gz [replace with latest LTS version]



    tar -xf openssl-1.1.1.tar.gz



    cd openssl-1.1.1




  4. Install and compile. Starting at above directory:



    ./config shared --prefix=$PERLBREW_ROOT/openssl



    make



    make test




  5. Install Net::SSLeay using cpanm:



    cpanm install Net::SSLeay








share|improve this answer



















  • 1





    This problem is 4 years old and the the solution was found in the comment section below the question. I'm no more capable of reproducing/veryfing anything on this questions. But I hope your answer may help those who come later. thx

    – Boris Däppen
    Nov 15 '18 at 13:08











Your Answer






StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");

StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f21244018%2fperl-distzilla-doesnt-install-because-of-netssleay-on-debian-wheezy%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









0














The problem is likely that OpenSSL needs to be compiled into the Perlbrew environment -- the same environment that will run Net::SSLeay. Try this recipe:





  1. Install dependencies:



    sudo apt install build-essential checkinstall zlib1g-dev -y




  2. Create a subdirectory for OpenSSL under Perlbrew:



    mkdir ~/perl5/perlbrew/openssl




  3. Download & extract latest LTS OpenSSL into above directory. To determine latest LTS OpenSSL, go to https://openssl.org/source/ and find the latest stable version. For example below we use openssl-1.1.1.tar.gz:



    cd ~/perl5/perlbrew/openssl



    wget https://www.openssl.org/source/openssl-1.1.1.tar.gz [replace with latest LTS version]



    tar -xf openssl-1.1.1.tar.gz



    cd openssl-1.1.1




  4. Install and compile. Starting at above directory:



    ./config shared --prefix=$PERLBREW_ROOT/openssl



    make



    make test




  5. Install Net::SSLeay using cpanm:



    cpanm install Net::SSLeay








share|improve this answer



















  • 1





    This problem is 4 years old and the the solution was found in the comment section below the question. I'm no more capable of reproducing/veryfing anything on this questions. But I hope your answer may help those who come later. thx

    – Boris Däppen
    Nov 15 '18 at 13:08
















0














The problem is likely that OpenSSL needs to be compiled into the Perlbrew environment -- the same environment that will run Net::SSLeay. Try this recipe:





  1. Install dependencies:



    sudo apt install build-essential checkinstall zlib1g-dev -y




  2. Create a subdirectory for OpenSSL under Perlbrew:



    mkdir ~/perl5/perlbrew/openssl




  3. Download & extract latest LTS OpenSSL into above directory. To determine latest LTS OpenSSL, go to https://openssl.org/source/ and find the latest stable version. For example below we use openssl-1.1.1.tar.gz:



    cd ~/perl5/perlbrew/openssl



    wget https://www.openssl.org/source/openssl-1.1.1.tar.gz [replace with latest LTS version]



    tar -xf openssl-1.1.1.tar.gz



    cd openssl-1.1.1




  4. Install and compile. Starting at above directory:



    ./config shared --prefix=$PERLBREW_ROOT/openssl



    make



    make test




  5. Install Net::SSLeay using cpanm:



    cpanm install Net::SSLeay








share|improve this answer



















  • 1





    This problem is 4 years old and the the solution was found in the comment section below the question. I'm no more capable of reproducing/veryfing anything on this questions. But I hope your answer may help those who come later. thx

    – Boris Däppen
    Nov 15 '18 at 13:08














0












0








0







The problem is likely that OpenSSL needs to be compiled into the Perlbrew environment -- the same environment that will run Net::SSLeay. Try this recipe:





  1. Install dependencies:



    sudo apt install build-essential checkinstall zlib1g-dev -y




  2. Create a subdirectory for OpenSSL under Perlbrew:



    mkdir ~/perl5/perlbrew/openssl




  3. Download & extract latest LTS OpenSSL into above directory. To determine latest LTS OpenSSL, go to https://openssl.org/source/ and find the latest stable version. For example below we use openssl-1.1.1.tar.gz:



    cd ~/perl5/perlbrew/openssl



    wget https://www.openssl.org/source/openssl-1.1.1.tar.gz [replace with latest LTS version]



    tar -xf openssl-1.1.1.tar.gz



    cd openssl-1.1.1




  4. Install and compile. Starting at above directory:



    ./config shared --prefix=$PERLBREW_ROOT/openssl



    make



    make test




  5. Install Net::SSLeay using cpanm:



    cpanm install Net::SSLeay








share|improve this answer













The problem is likely that OpenSSL needs to be compiled into the Perlbrew environment -- the same environment that will run Net::SSLeay. Try this recipe:





  1. Install dependencies:



    sudo apt install build-essential checkinstall zlib1g-dev -y




  2. Create a subdirectory for OpenSSL under Perlbrew:



    mkdir ~/perl5/perlbrew/openssl




  3. Download & extract latest LTS OpenSSL into above directory. To determine latest LTS OpenSSL, go to https://openssl.org/source/ and find the latest stable version. For example below we use openssl-1.1.1.tar.gz:



    cd ~/perl5/perlbrew/openssl



    wget https://www.openssl.org/source/openssl-1.1.1.tar.gz [replace with latest LTS version]



    tar -xf openssl-1.1.1.tar.gz



    cd openssl-1.1.1




  4. Install and compile. Starting at above directory:



    ./config shared --prefix=$PERLBREW_ROOT/openssl



    make



    make test




  5. Install Net::SSLeay using cpanm:



    cpanm install Net::SSLeay









share|improve this answer












share|improve this answer



share|improve this answer










answered Nov 14 '18 at 19:53









yahermannyahermann

1,100727




1,100727








  • 1





    This problem is 4 years old and the the solution was found in the comment section below the question. I'm no more capable of reproducing/veryfing anything on this questions. But I hope your answer may help those who come later. thx

    – Boris Däppen
    Nov 15 '18 at 13:08














  • 1





    This problem is 4 years old and the the solution was found in the comment section below the question. I'm no more capable of reproducing/veryfing anything on this questions. But I hope your answer may help those who come later. thx

    – Boris Däppen
    Nov 15 '18 at 13:08








1




1





This problem is 4 years old and the the solution was found in the comment section below the question. I'm no more capable of reproducing/veryfing anything on this questions. But I hope your answer may help those who come later. thx

– Boris Däppen
Nov 15 '18 at 13:08





This problem is 4 years old and the the solution was found in the comment section below the question. I'm no more capable of reproducing/veryfing anything on this questions. But I hope your answer may help those who come later. thx

– Boris Däppen
Nov 15 '18 at 13:08




















draft saved

draft discarded




















































Thanks for contributing an answer to Stack Overflow!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f21244018%2fperl-distzilla-doesnt-install-because-of-netssleay-on-debian-wheezy%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Xamarin.iOS Cant Deploy on Iphone

Glorious Revolution

Dulmage-Mendelsohn matrix decomposition in Python