Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re^2: Why perl-5.30.3 doesn't compile on my Mac?

by karlgoethebier (Abbot)
on Nov 19, 2020 at 20:10 UTC ( [id://11123845]=note: print w/replies, xml ) Need Help??


in reply to Re: Why perl-5.30.3 doesn't compile on my Mac?
in thread Why perl-5.30.3 doesn't compile on my Mac?

Sure:

Auto-guessed '5.32.0' Nothing to do '5.32.0' is fine Beginning of configuration questions for perl5. Checking echo to see how to suppress newlines... ...using \c The star should be here-->* First let's make sure your kit is complete. Checking... Looks good... This installation shell script will examine your system and ask you qu +estions to determine how the perl5 package should be installed. If you get stuck on a question, you may use a ! shell escape to start a subshell +or execute a command. Many of the questions will have default answers in + square brackets; typing carriage return will give you the default. On some of the questions which ask for file or directory names you are + allowed to use the ~name construct to specify the login directory belonging to + "name", even if you don't have a shell which knows about that. Questions wher +e this is allowed will be marked "(~name ok)". [Type carriage return to continue] The prompter used in this script allows you to use shell variables and backticks in your answers. You may use $1, $2, etc... to refer to th +e words in the default answer, as if the default line was a set of arguments g +iven to a script shell. This means you may also use $* to repeat the whole defa +ult line, so you do not have to re-type everything to add something to the defau +lt. Every time there is a substitution, you will have to confirm. If ther +e is an error (e.g. an unmatched backtick), the default answer will remain unc +hanged and you will be prompted again. If you are in a hurry, you may run 'Configure -d'. This will bypass n +early all the questions and use the computed defaults (or the previous answers i +f there was already a config.sh file). Type 'Configure -h' for a list of optio +ns. You may also start interactively and then answer '& -d' at any prompt +to turn on the non-interactive behaviour for the remainder of the execution. [Type carriage return to continue] Much effort has been expended to ensure that this shell script will ru +n on any Unix system. If despite that it blows up on yours, your best bet is t +o edit Configure and run it again. If you can't run Configure for some reaso +n, you'll have to generate a config.sh file by hand. Whatever problems y +ou have, let me (https://github.com/Perl/perl5/issues) know how I blew it +. This installation script affects things in two ways: 1) it may do direct variable substitutions on some of the files includ +ed in this kit. 2) it builds a config.h file for inclusion in C programs. You may edi +t any of these files as the need arises after running this script. If you make a mistake on a question, there is no easy way to back up t +o it currently. The easiest thing to do is to edit config.sh and rerun all + the SH files. Configure will offer to let you do this before it runs the SH +files. [Type carriage return to continue] Locating common programs... awk is in /usr/bin/awk. cat is in /bin/cat. chmod is in /bin/chmod. comm is in /usr/bin/comm. cp is in /bin/cp. echo is in /bin/echo. expr is in /bin/expr. grep is in /usr/bin/grep. ls is in /bin/ls. mkdir is in /bin/mkdir. rm is in /bin/rm. sed is in /usr/bin/sed. sort is in /usr/bin/sort. touch is in /usr/bin/touch. tr is in /usr/bin/tr. uniq is in /usr/bin/uniq. Don't worry if any of the following aren't found... ar is in /usr/bin/ar. bison is in /usr/bin/bison. I don't see byacc out there, offhand. cpp is in /usr/bin/cpp. csh is in /bin/csh. date is in /bin/date. egrep is in /usr/bin/egrep. I don't see gmake out there, either. gzip is in /usr/bin/gzip. less is in /usr/bin/less. ln is in /bin/ln. make is in /usr/bin/make. more is in /usr/bin/more. nm is in /usr/bin/nm. nroff is in /usr/bin/nroff. perl is in /Users/peter/perl5/perlbrew/perls/perl-5.28.1-threads/bin/p +erl. I don't see pg out there, either. test is in /bin/test. uname is in /usr/bin/uname. zip is in /usr/bin/zip. Substituting less -R for less. Using the test built into your sh. Checking compatibility between /bin/echo and builtin echo (if any)... They are compatible. In fact, they may be identical. The following message is sponsored by Dresden.pm<--The stars should be here. Dear Perl user, system administrator or package maintainer, the Perl community sends greetings to you. Do you (emblematical) greet back [Y/n]? n Symbolic links are supported. Checking how to test for symbolic links... You can test for symbolic links with 'test -h'. Checking for cross-compile No targethost for running compiler tests against defined, running loca +lly Good, your tr supports [:lower:] and [:upper:] to convert case. Using [:upper:] and [:lower:] to convert case. First time through, eh? I have some defaults handy for some systems that need some extra help getting the Configure answers right: aix greenhills os400 aix_3 haiku posix-bc aix_4 hpux qnx altos486 i386 riscos amigaos interix sco atheos irix_4 sco_2_3_0 aux_3 irix_5 sco_2_3_1 bitrig irix_6 sco_2_3_2 bsdos irix_6_0 sco_2_3_3 catamount irix_6_1 sco_2_3_4 convexos isc solaris_2 cxux isc_2 stellar cygwin linux-android sunos_4_0 darwin linux sunos_4_1 dcosx lynxos super-ux dec_osf midnightbsd svr4 dos_djgpp minix svr5 dragonfly mips ti1500 dynix mirbsd ultrix_4 dynixptx mpc umips epix ncr_tower unicos esix4 netbsd unicosmk fps newsos4 unisysdynix freebsd nonstopux utekv freemint openbsd uwin gnu opus vos gnukfreebsd os2 gnuknetbsd os390 You may give one or more space-separated answers, or "none" if appropr +iate. If you have a handcrafted Policy.sh file or a Policy.sh file generated + by a previous run of Configure, you may specify it as well as or instead of OS-specific hints. If hints are provided for your OS, you should use +them: although Perl can probably be built without hints on many platforms, u +sing hints often improve performance and may enable features that Configure + can't set up on its own. If there are no hints that match your OS, specify " +none"; DO NOT give a wrong version or a wrong OS. Which of these apply, if any? [darwin] *** Unexpected product version 11.0. *** *** Try running sw_vers and see what its ProductVersion says. ##### Brew Failed #####

Thanks and best regards, Karl

«The Crux of the Biscuit is the Apostrophe»

perl -MCrypt::CBC -E 'say Crypt::CBC->new(-key=>'kgb',-cipher=>"Blowfish")->decrypt_hex($ENV{KARL});'Help

Replies are listed 'Best First'.
Re^3: Why perl-5.30.3 doesn't compile on my Mac?
by syphilis (Archbishop) on Nov 19, 2020 at 22:52 UTC
    *** Unexpected product version 11.0.

    The error message comes from hints/Darwin.sh, which apparently hasn't considered the coming of version 11.0.
    Presumably something needs to be done to that file and/or Configure itself to overcome the problem.

    Maybe ask about that on p5p if you don't receive better follow-up advice here.
    (I'm assuming that the additional advice to "*** Try running sw_vers and see what its ProductVersion says" didn't help much.)

    Cheers,
    Rob

      Yep. It didn’t help much. Thanks and best regards, Karl

      «The Crux of the Biscuit is the Apostrophe»

      perl -MCrypt::CBC -E 'say Crypt::CBC->new(-key=>'kgb',-cipher=>"Blowfish")->decrypt_hex($ENV{KARL});'Help

        Yep. It didn’t help much.

        Heh ... good on yer ;-)
        Respond to the bit that's in brackets and ignore the rest.

        It's little wonder that you're an Apple devotee.

        Cheers,
        Rob
Re^3: Why perl-5.30.3 doesn't compile on my Mac?
by Haarg (Priest) on Nov 20, 2020 at 13:17 UTC

    Try using the perlbrew install-patchperl command. It will install Devel::PatchPerl, which is a tool to patch the source of older perl releases to allow them to compile on newer systems. The latest release of Devel::PatchPerl (2.04) should be able to fix this issue.

      I was aware of this. And BTW:

      Karls-Mac-mini:~ karl$ perlbrew install-patchperl /Users/karl/perl5/perlbrew/bin/patchperl already exists, are you sure +to override ? [y/N] [N] y ERROR: Failed to retrieve patchperl executable.

      Best regards, Karl

      «The Crux of the Biscuit is the Apostrophe»

      perl -MCrypt::CBC -E 'say Crypt::CBC->new(-key=>'kgb',-cipher=>"Blowfish")->decrypt_hex($ENV{KARL});'Help

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (5)
As of 2024-04-23 21:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found