Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re^3: How to make distribution for simple script with CPAN dependencies?

by marto (Cardinal)
on Mar 09, 2024 at 15:39 UTC ( [id://11158159]=note: print w/replies, xml ) Need Help??


in reply to Re^2: How to make distribution for simple script with CPAN dependencies?
in thread How to make distribution for simple script with CPAN dependencies?

"And I tried to install PP and am getting errors :(

Which errors?

  • Comment on Re^3: How to make distribution for simple script with CPAN dependencies?

Replies are listed 'Best First'.
Re^4: How to make distribution for simple script with CPAN dependencies?
by peteyboy (Novice) on Mar 11, 2024 at 05:35 UTC
    Two things: 1) There's been a bug reported on Curses::UI and the way it does its language phrase replacement which is apparently incompatible with fatpacker: https://rt.cpan.org/Public/Bug/Display.html?id=85231 Sadly, this bug is from 2013 and maybe beyond my ken to fix.

    And 2nd, trying to install pp instead and maybe see if the PARs work better, these are the errors I got trying to install pp (this in my local lib, I'm on SDF.org):

    "/usr/bin/perl" par_pl2c.pl my_par_pl < ../script/par.pl > my_par_pl.c x86_64-linux-gnu-gcc -c -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fwrapv -f +no-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_ +FILE_OFFSET_BITS=64 -I/usr/lib/x86_64-linux-gnu/perl/5.36/CORE -DLD +>x86_64-linux-gnu-gcc -c -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fwrapv +-fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE - +D_FILE_OFFSET_BITS=64 -I/usr/lib/x86_64-linux-gnu/perl/5.36/CORE -D +LD>x86_64-linux-gnu-gcc main.o sha1.o -s -Wl,-E -fstack-protector-s +trong -L/usr/local/lib -L/usr/lib/x86_64-linux-gnu/perl/5.36/CORE -l +perl -ldl -lm -lpthread -lc -lcrypt -o ./par /usr/bin/ld: cannot find -lperl: No such file or directory collect2: error: ld returned 1 exit status make[1]: *** [Makefile:885: par] Error 1 make[1]: Leaving directory '/meta/p/peteyboy/.cpanm/work/1710133941.11 +99273/PAR-Packer-1.062/myldr' make: *** [Makefile:577: subdirs] Error 2 -> FAIL Installing pp failed. See /meta/p/peteyboy/.cpanm/work/1710133 +941.1199273/build.log for details. Retry with --force to force instal +l it.

      "Sadly, this bug is from 2013 and maybe beyond my ken to fix."

      Does the specified workaround help?

      For those who, like me, will find this ticket when googling the error +message: Simply add the option -M Curses::UI::Language::english on the `pp` command line.

      cpanm pp installs without issue for me on sdf-eu, is the BSD equivalent of libperl-dev isn't installed, can you locate libperl.so?

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11158159]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others pondering the Monastery: (5)
As of 2024-05-01 11:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found