[workaround] 10.6.8 & mysql57
Bjarne D Mathiesen
macintosh at mathiesen.info
Thu Jan 28 02:19:52 UTC 2021
According to https://ports.macports.org/port/mysql57/summary mysql57
fails to build on 10.6.
!!!BUT!!! using some "sleigh-of-hand", it's possible to get it to
install :-) You'll have to implement the workaround from
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 -h "${cctool}" "${binDir}/${theTool}"
done
done 9< <( port contents cctools | fgrep /bin/ )
At present I've got mysql57 running on two old 10.6.8 systems :-D
--
Bjarne D Mathiesen
Korsør ; Danmark ; Europa
----------------------------------------------------------------------
denne besked er skrevet i et totalt M$-frit miljø
macOS 10.15.7 Cataina
2 x 3,46 GHz 6-Core Intel Xeon ; 112 GB 1333 MHz DDR3 ECC
ATI Radeon RX 590 8 GB
More information about the macports-users
mailing list