×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

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

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
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?

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close