Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options

Re: cpanm Tk build errors

by syphilis (Archbishop)
on May 22, 2024 at 03:33 UTC ( [id://11159617]=note: print w/replies, xml ) Need Help??

in reply to cpanm Tk build errors

I have installed Perlbrew on a new 2023 Macbook Pro, then Tk with no problems, works great. I followed the same instructions in both cases. Any ideas?

I wonder:
1) Is it the same version of Tk in both cases ?
2) Did the build of Tk that worked also have have to build libjpeg ? ... or did it locate and use a suitable previously installed version of libjpeg ?
3) Is it appropriate that all of those perl compiler flags be specified for the building of libjpeg ? As cavac has subtly hinted, maybe one or more of those flags has rendered "cc" unusable for that task.
If those flags are actually specified in $Config{cc}, then I think that's wrong. What is the output of perl -V:cc ?

But I don't think that I really have much in the way of ideas ;-)


Replies are listed 'Best First'.
Re^2: cpanm Tk build errors
by thimes (Acolyte) on May 22, 2024 at 07:03 UTC
    terryhimes@Users-MacBook-Pro perltk % perl -V:cc cc='cc'; Also compiled and ran hello.c and it worked perfectly. I will investigate your other suggestions comparing the successful build next.

Log In?

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

How do I use this?Last hourOther CB clients
Other Users?
Others chanting in the Monastery: (4)
As of 2024-07-13 02:46 GMT
Find Nodes?
    Voting Booth?

    No recent polls found

    erzuuli‥ 🛈The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.