What is up with perl5.26 on Snow Leo?

Bjarne D Mathiesen macintosh at mathiesen.info
Mon Nov 29 15:04:46 UTC 2021


This looks as the same problem we have with MySQL57, where it's using
the system cctools instaead of the more modern cctools from macports.

The fix is described here :
https://trac.macports.org/ticket/59072#comment:1

declare usrBin='/usr/bin'
declare devBin="/Developer${usrBin}"

while read -u 9 cctool
do
    theTool=$( basename ${cctool} )
    echo ${theTool}
    for binDir in "${usrBin}" "${devBin}"
    do
        mv -n "${binDir}/${theTool}" "${binDir}/${theTool}.orig"
        rm "${binDir}/${theTool}"
        ln -s "${cctool}" "${binDir}/${theTool}"
    done
done 9< <( port contents cctools | fgrep /bin/ )

On my 2 x 10.6.8 I've got :
#=> port installed perl*
The following ports are currently installed:
  perl5 @5.28.3_0+perl5_30 (active)
  perl5.30 @5.30.3_3 (active)

-- 
Bjarne D Mathiesen
Korsør ; Danmark ; Europa
-----------------------------------------------------------------------
denne besked er skrevet i et totalt M$-frit miljø
MacPro 2010 ; OpenCore + macOS 10.15.7 Catalina
2 x 3,46 GHz 6-Core Intel Xeon ; 256 GB 1333 MHz DDR3 ECC RDIMM
ATI Radeon RX 590 8 GB


More information about the macports-users mailing list