Compiling Perl 5.36.0 fails on OS X 10.5.8 PowerPC
Compiling Perl 5.36.0 fails on OS X 10.5.8 PowerPC
(OP)
I need a newer version of Perl to an Apple Power G5 running OS X 10.5.8. The system is supposed to be standard with all the updates Apple provides and the latest XCode available to it.
I'm trying to install Perl 5.36.0 from source tar ball following this guide:
https://perldoc.perl.org/perlmacosx
After unpacking the tar ball with
I run:
I have tried many other ways also but make always fails with:
Any ideas?
I'm trying to install Perl 5.36.0 from source tar ball following this guide:
https://perldoc.perl.org/perlmacosx
After unpacking the tar ball with
gunzip < perl-5.36.0.tar.gz | tar xfv -
I run:
SDK=/Developer/SDKs/MacOSX10.5.sdk ./Configure -Dprefix=$HOME/opt/perl -Uloclibpth -Dlibpth=/usr/lib -Accflags="-nostdinc -B$SDK/usr/include/gcc -B$SDK/usr/lib/gcc -isystem$SDK/usr/include -F$SDK/System/Library/Frameworks" -Aldflags="-Wl,-syslibroot,$SDK" -de
I have tried many other ways also but make always fails with:
cc -c -std=gnu99 -fno-common -DPERL_DARWIN -nostdinc -B/Developer/SDKs/MacOSX10.5.sdk//usr/include/gcc -B/Developer/SDKs/MacOSX10.5.sdk//usr/lib/gcc -isystem/Developer/SDKs/MacOSX10.5.sdk//usr/include -F/Developer/SDKs/MacOSX10.5.sdk//System/Library/Frameworks -fno-strict-aliasing -pipe -fstack-protector -I/opt/local/include -D_FORTIFY_SOURCE=2 -DPERL_USE_SAFE_PUTENV -Wall -Wextra -Wno-long-long -Wno-declaration-after-statement -Wwrite-strings -Wno-error=implicit-function-declaration -O3 -DVERSION=\"1.52\" -DXS_VERSION=\"1.52\" "-I../.." -DLIBC="" DynaLoader.c cc1: error: unrecognized command line option "-Wno-error=implicit-function-declaration" make[1]: *** [DynaLoader.o] Error 1 cc -c -std=gnu99 -fno-common -DPERL_DARWIN -nostdinc -B/Developer/SDKs/MacOSX10.5.sdk//usr/include/gcc -B/Developer/SDKs/MacOSX10.5.sdk//usr/lib/gcc -isystem/Developer/SDKs/MacOSX10.5.sdk//usr/include -F/Developer/SDKs/MacOSX10.5.sdk//System/Library/Frameworks -fno-strict-aliasing -pipe -fstack-protector -I/opt/local/include -D_FORTIFY_SOURCE=2 -DPERL_USE_SAFE_PUTENV -Wall -Wextra -Wno-long-long -Wno-declaration-after-statement -Wwrite-strings -Wno-error=implicit-function-declaration -O3 -DVERSION=\"1.52\" -DXS_VERSION=\"1.52\" "-I../.." -DLIBC="" DynaLoader.c cc1: error: unrecognized command line option "-Wno-error=implicit-function-declaration" make[1]: *** [DynaLoader.o] Error 1 Unsuccessful make(ext/DynaLoader): code=512 at make_ext.pl line 584. make: *** [DynaLoader.o] Error 25
Any ideas?
RE: Compiling Perl 5.36.0 fails on OS X 10.5.8 PowerPC