Opened 9 years ago

Closed 9 years ago

#50276 closed defect (fixed)

WML::GD missing from wml port

Reported by: kwloafman (kwloafman) Owned by: cfaerber@…
Priority: Normal Milestone:
Component: ports Version: 2.3.4
Keywords: haspatch maintainer Cc:
Port: wml

Description

When trying to use wml I get:

$ wml -n -q index.wml 
ePerl:Error: Perl parsing error (interpreter rc=2)

---- Contents of STDERR channel: ---------
Can't locate WML/GD.pm in @INC (you may need to install the WML::GD module) (@INC contains: /opt/local/lib/wml/perl/lib /opt/local/lib/wml/perl/lib/darwin-thread-multi-2level /opt/local/lib/perl5/site_perl/5.22/darwin-thread-multi-2level /opt/local/lib/perl5/site_perl/5.22 /opt/local/lib/perl5/vendor_perl/5.22/darwin-thread-multi-2level /opt/local/lib/perl5/vendor_perl/5.22 /opt/local/lib/perl5/5.22/darwin-thread-multi-2level /opt/local/lib/perl5/5.22 .) at /var/folders/qr/rwbgbn9s1d1g4vhk1g9zngdr0000gn/T//wml.41762.tmp1.wml line 217.
BEGIN failed--compilation aborted at /var/folders/qr/rwbgbn9s1d1g4vhk1g9zngdr0000gn/T//wml.41762.tmp1.wml line 217.
------------------------------------------
** WML:Break: Error in Pass 3 (rc=1).

Attachments (1)

Portfile-wml.diff (1.7 KB) - added by cfaerber@… 9 years ago.
patch for wml

Download all attachments as: .zip

Change History (6)

comment:1 Changed 9 years ago by mf2k (Frank Schima)

Keywords: wml gd removed
Owner: changed from macports-tickets@… to cfaerber@…

In the future, please Cc the port maintainers (port info --maintainers wml), if any.

comment:2 Changed 9 years ago by cfaerber@…

Thank you for reporting. I'd like to let you know that this will either be very easy to fix, or nearly impossible to fix because upstream is no longer maintained and its build system is outdated and very complex. As a workaround, it might be possible to use GD.pm instead of WML::GD.

Changed 9 years ago by cfaerber@…

Attachment: Portfile-wml.diff added

patch for wml

comment:3 Changed 9 years ago by cfaerber@…

Turns out that WML::GD as well as other modules in wml_common weren't building due to the way the Makefile sets up the options for ExtUtils::MakeMaker. I'm attaching a patch.

comment:4 Changed 9 years ago by mf2k (Frank Schima)

Keywords: haspatch maintainer added

comment:5 Changed 9 years ago by dbevans (David B. Evans)

Resolution: fixed
Status: newclosed

Patch committed in r145016. WML::GD is now part of the installation.

Note: See TracTickets for help on using tickets.