Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re^4: Establishing a beachhead and acquiring privileges on a Mac-mini

by Aldebaran (Curate)
on May 07, 2023 at 02:28 UTC ( [id://11152027] : note . print w/replies, xml ) Need Help??


in reply to Re^3: Establishing a beachhead and acquiring privileges on a Mac-mini
in thread Establishing a beachhead and acquiring privileges on a Mac-mini

Ok, well I though I was going along pretty well:

mymac@Merrills-Mac-mini ~ % curl -L https://cpanmin.us | perl - App::c +panminus % Total % Received % Xferd Average Speed Time Time Time + Current Dload Upload Total Spent Left + Speed 100 295k 100 295k 0 0 74448 0 0:00:04 0:00:04 --:--: +-- 74554 --> Working on App::cpanminus Fetching http://www.cpan.org/authors/id/M/MI/MIYAGAWA/App-cpanminus-1. +7046.tar.gz ... OK Configuring App-cpanminus-1.7046 ... OK Building and testing App-cpanminus-1.7046 ... OK Successfully installed App-cpanminus-1.7046 1 distribution installed mymac@Merrills-Mac-mini ~ % which cpanm /Users/mymac/perl5/bin/cpanm mymac@Merrills-Mac-mini ~ %

Then I got to bliako's suggestion:

mymac@Merrills-Mac-mini Documents % brew analytics off mymac@Merrills-Mac-mini Documents %

Then I start to get cpanm cranking away:

07:55:21 mymac@Merrills-Mac-mini 1.millcreek.1 |main ✗|→ cpanm  HTML::FromText
--> Working on HTML::FromText
Fetching http://www.cpan.org/authors/id/R/RJ/RJBS/HTML-FromText-2.07.tar.gz ... OK
Configuring HTML-FromText-2.07 ... OK
...
07:55:54 mymac@Merrills-Mac-mini 1.millcreek.1 |main ✗|→ ./1.millcreek.1.1.pl
Parser.c: loadable library and perl binaries are mismatched (got handshake key 0xfc00080, needed 0xc700080)
07:55:58 mymac@Merrills-Mac-mini 1.millcreek.1 |main ✗|→ which perl
/opt/homebrew/bin/perl
07:57:05 mymac@Merrills-Mac-mini 1.millcreek.1 |main ✗|→ 

Whoa, wipeout. Ideas?

I wonder if the shebang needs changed from this particular script:

#!/usr/bin/perl -w use 5.011; use lib "template_stuff"; use HTML1; use Path::Tiny; use utf8; use Encode; use open OUT => ':encoding(UTF-8)', ':std';

Fishing for tips,

Replies are listed 'Best First'.
Re^5: Establishing a beachhead and acquiring privileges on a Mac-mini
by 1nickt (Canon) on May 07, 2023 at 11:15 UTC

    " Ideas?"

    Wipe your Mac Mini, start from scratch, and do it right.


    The way forward always starts with a minimal test.