Skip Menu |

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

Report information
The Basics
Id: 38357
Status: open
Priority: 0/
Queue: Mozilla-ConsoleService

People
Owner: Nobody in particular
Requestors: miko [...] idocs.com
Cc:
AdminCc:

Bug Information
Severity: Critical
Broken in: 0.05
Fixed in: (no value)



Subject: Error in Makefile.PL
When trying to run Makefile.PL I get the following error: Argument "2.0.0.16" isn't numeric in multiplication (*) at Makefile.PL line 15. No other errors or messages. I've attached a text file showing the values in %pkgcfg after the call to ExtUtils::PkgConfig on line 11. I'd offer a patch but I'm not clear about the significance of the $ver variable as used to build this line: #define MCS_MOZEMBED_VERSION $ver Here are some vitals on my system: This is perl, v5.8.8 built for i486-linux-gnu-thread-multi Linux laptop 2.6.24-19-generic #1 SMP Fri Jul 11 23:41:49 UTC 2008 i686 GNU/Linux
Subject: pkgcfg.txt
--------------------------------------- cflags = -I/usr/include/firefox-2/gtkembedmoz -I/usr/include/firefox-2 -I/usr/include/firefox-2/xpcom -I/usr/include/firefox-2/string -I/usr/include/nspr libs = -L/usr/lib/firefox-2 -lgtkembedmoz -lxpcom -lplds4 -lplc4 -lnspr4 -lpthread -ldl modversion = 2.0.0.16 pkg = firefox-gtkmozembed >= 1.5 ---------------------------------------
Subject: Re: [rt.cpan.org #38357] Error in Makefile.PL
Date: Sat, 16 Aug 2008 23:49:11 +0300
To: bug-Mozilla-ConsoleService [...] rt.cpan.org
From: "Boris Sukholitko" <boriss [...] gmail.com>
On Sat, Aug 9, 2008 at 6:19 PM, miko@idocs.com via RT <bug-Mozilla-ConsoleService@rt.cpan.org> wrote: Show quoted text
> Sat Aug 09 11:19:30 2008: Request 38357 was acted upon. > Transaction: Ticket created by miko@idocs.com > Queue: Mozilla-ConsoleService > Subject: Error in Makefile.PL > Broken in: 0.05 > Severity: Critical > Owner: Nobody > Requestors: miko@idocs.com > Status: new > Ticket <URL: http://rt.cpan.org/Ticket/Display.html?id=38357 > > > > When trying to run Makefile.PL I get the following error: > > Argument "2.0.0.16" isn't numeric in multiplication (*) at Makefile.PL > line 15. > > No other errors or messages. I've attached a text file showing the > values in %pkgcfg after the call to ExtUtils::PkgConfig on line 11. > > I'd offer a patch but I'm not clear about the significance of the $ver > variable as used to build this line: > > #define MCS_MOZEMBED_VERSION $ver
MCS_MOZEMBED_VERSION is used in ConsoleService.xs to pick GetMessage variant depending on Gecko version (it should be GetMessageMoz in Gecko 1.9). Probably $pkgcfg{pkg} and $pkgcfg{modversion} should be used to pick up winning combination (MCS_MOZEMBED_VERSION should be 180(?) for firefox 2.0 , I think...). Thanks, Boris. Show quoted text
> > Here are some vitals on my system: > > This is perl, v5.8.8 built for i486-linux-gnu-thread-multi > > Linux laptop 2.6.24-19-generic #1 SMP Fri Jul 11 23:41:49 UTC 2008 i686 > GNU/Linux > > --------------------------------------- > cflags = -I/usr/include/firefox-2/gtkembedmoz -I/usr/include/firefox-2 -I/usr/include/firefox-2/xpcom -I/usr/include/firefox-2/string -I/usr/include/nspr > libs = -L/usr/lib/firefox-2 -lgtkembedmoz -lxpcom -lplds4 -lplc4 -lnspr4 -lpthread -ldl > modversion = 2.0.0.16 > pkg = firefox-gtkmozembed >= 1.5 > --------------------------------------- > >