Skip Menu |

This queue is for tickets about the Mozilla-DOM CPAN distribution.

Report information
The Basics
Id: 34371
Status: new
Priority: 0/
Queue: Mozilla-DOM

People
Owner: Nobody in particular
Requestors: chaoslaw [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 0.21
Fixed in: (no value)



The Makefile.PL of Mozilla::DOM module has to be modified a little to run under Ubuntu 7.10 (Gutsy) distribution. Because the Mozilla XPCOM package in this distribution is named as "xulrunner-xpcom", so a new entry has to be added. The patch file has been attached.
Subject: mk.patch
--- Makefile.PL.old 2007-06-07 04:40:06.000000000 +0800 +++ Makefile.PL 2008-03-24 00:44:53.000000000 +0800 @@ -17,6 +17,7 @@ my $mozpkg = 'mozilla-xpcom'; my $ffpkg = 'firefox-xpcom'; my $mffpkg = 'mozilla-firefox-xpcom'; +my $xulpkg = 'xulrunner-xpcom'; our %build_reqs = ( 'perl-ExtUtils-Depends' => '0.205', @@ -24,6 +25,7 @@ $mozpkg => '1.7', $ffpkg => '1.0', $mffpkg => '1.0', + $xulpkg => '1.8', ); unless (eval "use ExtUtils::Depends '$build_reqs{'perl-ExtUtils-Depends'}';" @@ -42,7 +44,8 @@ my %pkgcfg = ExtUtils::PkgConfig->find("$mozpkg >= " . $build_reqs{$mozpkg}, "$ffpkg >= " . $build_reqs{$ffpkg}, - "$mffpkg >= " . $build_reqs{$mffpkg}); + "$mffpkg >= " . $build_reqs{$mffpkg}, + "$xulpkg >= " . $build_reqs{$xulpkg},); my ($pkg) = $pkgcfg{pkg} =~ /^(\S+-xpcom)/;