Opened 15 years ago

Closed 15 years ago

#20404 closed defect (fixed)

perl and build_arch don't cooperate

Reported by: tobypeterson Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.8.0
Keywords: Cc: ghosthound, jameskyle@…, motya@…
Port: perl5.8 perl5.10

Description

Trying to build 32-bit perl on SnowLeopard fails, reportedly similar issues trying to build 64-bit on Leopard.

Attachments (4)

Portfile.diff (890 bytes) - added by jmroot (Joshua Root) 15 years ago.
perl5.8 portfile patch
config.h.ed (3.0 KB) - added by jmroot (Joshua Root) 15 years ago.
goes in perl5.8/files/
Portfile.2.diff (929 bytes) - added by jmroot (Joshua Root) 15 years ago.
perl5.10 portfile patch
config.h.2.ed (3.1 KB) - added by jmroot (Joshua Root) 15 years ago.
goes in perl5.10/files/

Download all attachments as: .zip

Change History (15)

comment:1 Changed 15 years ago by jmroot (Joshua Root)

Cc: ricci@… added
Port: perl5.8 perl5.10 added
Version: 1.7.11.8.0

comment:2 Changed 15 years ago by ghosthound

Owner: changed from macports-tickets@… to toby@…

comment:3 Changed 15 years ago by tobypeterson

Cc: jameskyle@… added

comment:4 Changed 15 years ago by tobypeterson

Obviously, this also means universal doesn't work.

comment:5 in reply to:  4 Changed 15 years ago by jmroot (Joshua Root)

Replying to toby@…:

Obviously, this also means universal doesn't work.

At least the port signals this by not having a universal variant...

comment:6 Changed 15 years ago by tobypeterson

Owner: changed from toby@… to macports-tickets@…

comment:7 Changed 15 years ago by sharky@…

I have been able to compile perl5.8 for i386 (and universal) on 64-bit SnowLeopard by changing:

-D cflags="\${CFLAGS}" \

to

-D ccflags="\${CFLAGS}" \

I would quite like to get confirmation from someone else that it works for them before commiting the fix.

comment:8 Changed 15 years ago by sharky@…

Forget about the comment concerning +universal, there is not universal variant at the moment.

Changed 15 years ago by jmroot (Joshua Root)

Attachment: Portfile.diff added

perl5.8 portfile patch

Changed 15 years ago by jmroot (Joshua Root)

Attachment: config.h.ed added

goes in perl5.8/files/

Changed 15 years ago by jmroot (Joshua Root)

Attachment: Portfile.2.diff added

perl5.10 portfile patch

Changed 15 years ago by jmroot (Joshua Root)

Attachment: config.h.2.ed added

goes in perl5.10/files/

comment:9 Changed 15 years ago by jmroot (Joshua Root)

Attached files seem to work.

comment:10 Changed 15 years ago by motya@…

Cc: motya@… added

Cc Me!

comment:11 Changed 15 years ago by jmroot (Joshua Root)

Resolution: fixed
Status: newclosed

Applied in r62847 and r62848.

Note: See TracTickets for help on using tickets.