LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   Error building perl-http-message (http://www.linuxquestions.org/questions/slackware-14/error-building-perl-http-message-4175467123/)

stormtracknole 06-23-2013 11:00 PM

Error building perl-http-message
 
Trying to build perl-http-message on slackware 14 (both 32 and 64 bit). I am running into the following error when compiling:
Code:

Test Summary Report
-------------------
t/message-charset.t  (Wstat: 512 Tests: 6 Failed: 0)
  Non-zero exit status: 2
  Parse errors: Bad plan.  You planned 43 tests but ran 6.
Files=15, Tests=517,  1 wallclock secs ( 0.14 usr  0.03 sys +  1.19 cusr  0.13 csys =  1.49 CPU)
Result: FAIL
Failed 1/15 test programs. 0/517 subtests failed.
make: *** [test_dynamic] Error 255

I am not proficient in perl, so I am a bit lost on what to do. Anyone has any pointers?

ttk 06-24-2013 12:41 AM

Looks like it's just a bug in a unit test. If you're using the cpan utility to install these, then you can try "notest install HTTP::Message" or "force install HTTP::Message". If you still run into issues, try installing an older version of the module (see what version of the module you have successfully installed in the past, on other machines), or unpacking the module's tarball into a directory and running "perl Makefile.PL && make" in it yourself. Sometimes running it manually will reveal the sources of problems the cpan utility hides from the user (like a missing library dependency).

I have to go to bed now, else I'd write more detailed help. Please post here the results of what you try, and I or someone else will work through this with you.

jimtrenton 06-24-2013 08:40 AM

Hello,

Are you building this manually or are you using the slackbuild queue files? I've had a similar issue and in order to resolve it I had to add perl-IO-HTML as a dependency of perl-http-messag. Have a read through my thread because it sounds awfully similar.
http://www.linuxquestions.org/questi...cy-4175460305/

Hope this helps.

stormtracknole 06-24-2013 09:47 AM

Quote:

Originally Posted by jimtrenton (Post 4977546)
Hello,

Are you building this manually or are you using the slackbuild queue files? I've had a similar issue and in order to resolve it I had to add perl-IO-HTML as a dependency of perl-http-messag. Have a read through my thread because it sounds awfully similar.
http://www.linuxquestions.org/questi...cy-4175460305/

Hope this helps.

Indeed, that was the case. I was using quefiles with sbopkg and it was missing a dependency (perl-IO-HTML). I should have paid more attention because that it is indeed listed as a dependency on the website. I shouldn't have done this when lacking sleep. ;)

jimtrenton 06-24-2013 09:52 AM

Awesome. Great to be of help.

stormtracknole 06-24-2013 10:03 AM

I love these forums! I don't think I have ever been disappointed.


All times are GMT -5. The time now is 03:24 AM.