Tried with version 0.06 and 6. No result, same kind of error:
In file included from ConsoleService.xs:5:
ppport.h:3042:1: warning: "PERL_UNUSED_DECL" redefined
In file included from ConsoleService.xs:2:
/usr/lib/perl/5.8/CORE/perl.h:163:1: warning: this is the location of the
previous definition
ConsoleService.xs:11:28: error: nsIScriptError.h: No such file or directory
ConsoleService.xs: In member function âvirtual nsresult
MyListener::Observe(nsIConsoleMessage*)â:
ConsoleService.xs:47: error: ânsIScriptErrorâ was not declared in this scope
ConsoleService.xs:47: error: template argument 1 is invalid
ConsoleService.xs:48: error: âseâ was not declared in this scope
make: *** [ConsoleService.o] Error 1
Thanks,
Yannick
On Tue, Nov 25, 2008 at 2:38 PM, Boris Sukholitko via RT <
bug-Mozilla-ConsoleService@rt.cpan.org> wrote:
> <URL:
http://rt.cpan.org/Ticket/Display.html?id=38117 >
>
> On Tue, Nov 25, 2008 at 3:02 AM, Yannick via RT
> <bug-Mozilla-ConsoleService@rt.cpan.org> wrote:
>
> Could you please try it with version 0.06? There is a good chance it
> is fixed there.
>
> Thanks,
> Boris.
>
> >
> > Having same error:
> >
> >
> > debian:~/.cpan/build/Mozilla-ConsoleService-0.05-5NCcCu# make
> > g++ -c -I/usr/include/xulrunner/gtkembedmoz -I/usr/include/xulrunner
> > -I/usr/include/xulrunner/xpcom -I/usr/include/xulrunner/string
> > -I/usr/include/nspr -I/usr/local/lib/perl/5.8.8/Glib/Install -I.
> > -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pthread
> > -I/usr/local/lib/perl/5.8.8/Gtk2/MozEmbed/Install
> > -I/usr/local/lib/perl/5.8.8/Gtk2/Install -I/usr/include/gtk-2.0
> > -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo
> > -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/libpng12
> > -I./build -I/usr/local/lib/perl/5.8.8/Mozilla/DOM/Install
> > -I/usr/include/xulrunner/dom -I/usr/include/xulrunner/webbrwsr
> > -I/usr/include/xulrunner/content -I/usr/include/xulrunner/docshell
> > -I/usr/lib/perl5/Cairo/Install -Ibuild -D_REENTRANT -D_GNU_SOURCE
> > -DTHREADS_HAVE_PIDS -DDEBIAN -fno-strict-aliasing -pipe
> -I/usr/local/include
> > -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -DVERSION=\"0.05\"
> > -DXS_VERSION=\"0.05\" -fPIC "-I/usr/lib/perl/5.8/CORE" ConsoleService.c
> > In file included from ConsoleService.xs:5:
> > ppport.h:3042:1: warning: "PERL_UNUSED_DECL" redefined
> > In file included from ConsoleService.xs:2:
> > /usr/lib/perl/5.8/CORE/perl.h:163:1: warning: this is the location of the
> > previous definition
> > ConsoleService.xs:11:28: error: nsIScriptError.h: No such file or
> directory
> > ConsoleService.xs: In member function âvirtual nsresult
> > MyListener::Observe(nsIConsoleMessage*)â:
> > ConsoleService.xs:47: error: ânsIScriptErrorâ was not declared in this
> scope
> > ConsoleService.xs:47: error: template argument 1 is invalid
> > ConsoleService.xs:48: error: âseâ was not declared in this scope
> > ConsoleService.xs:53: error: âclass nsIConsoleMessageâ has no member
> named
> > âGetMessageMozâ
> >
> >
> >
> >
> > On Mon, Nov 24, 2008 at 7:23 PM, Yannick Tousignant
> > <ytousignant@gmail.com>wrote:
> >
> >> debian:~/.cpan/build/Mozilla-ConsoleService-0.05-5NCcCu# /usr/bin/perl
> >> Makefile.PL INSTALLDIRS=site
> >> Argument "1.8.0.14eol" isn't numeric in multiplication (*) at
> Makefile.PL
> >> line 16.
> >>
> >>
> >>
> >> On Sun, Aug 3, 2008 at 2:50 PM, Boris Sukholitko via RT <
> >> bug-Mozilla-ConsoleService@rt.cpan.org> wrote:
> >>
> >>> <URL:
http://rt.cpan.org/Ticket/Display.html?id=38117 >
> >>>
> >>> On Sat Aug 02 01:14:40 2008, ytousignant wrote:
> >>> > Version 0.5 and 0.4 won't compile in my debian stable.
> >>> > Currently using 0.3.
> >>> >
> >>> >
> >>> > debian:~/.cpan/build/Mozilla-ConsoleService-0.04# make
> >>> > g++ -c -I/usr/include/xulrunner/gtkembedmoz -I/usr/include/xulrunner
> >>> > -I/usr/include/xulrunner/xpcom -I/usr/include/xulrunner/string
> >>> > -I/usr/include/nspr -I/usr/include/xulrunner/xpconnect
> >>> > -I/usr/local/lib/perl/5.8.8/Glib/Install -I. -I/usr/include/glib-2.0
> >>> > -I/usr/lib/glib-2.0/include -pthread
> >>> > -I/usr/local/lib/perl/5.8.8/Gtk2/MozEmbed/Install
> >>> > -I/usr/lib/perl5/Gtk2/Install -I/usr/include/gtk-2.0
> >>> > -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0
> -I/usr/include/cairo
> >>> > -I/usr/include/pango-1.0 -I/usr/include/freetype2
> >>> > -I/usr/include/libpng12 -I./build
> >>> > -I/usr/local/lib/perl/5.8.8/Mozilla/DOM/Install
> >>> > -I/usr/include/xulrunner/dom -I/usr/include/xulrunner/webbrwsr
> >>> > -I/usr/include/xulrunner/content -I/usr/include/xulrunner/docshell
> >>> > -I/usr/lib/perl5/Cairo/Install -Ibuild -D_REENTRANT -D_GNU_SOURCE
> >>> > -DTHREADS_HAVE_PIDS -DDEBIAN -fno-strict-aliasing -pipe
> >>> > -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2
> >>> > -DVERSION=\"0.04\" -DXS_VERSION=\"0.04\" -fPIC
> >>> > "-I/usr/lib/perl/5.8/CORE" ConsoleService.c
> >>> > In file included from ConsoleService.xs:5:
> >>> > ppport.h:3042:1: warning: "PERL_UNUSED_DECL" redefined
> >>> > In file included from ConsoleService.xs:2:
> >>> > /usr/lib/perl/5.8/CORE/perl.h:163:1: warning: this is the location of
> >>> > the previous definition
> >>> > ConsoleService.xs:17:5: error: too many decimal points in number
> >>> > make: *** [ConsoleService.o] Error 1
> >>>
> >>> It probably comes from bad MCS_MOZEMBED_VERSION constant (set in
> >>> Makefile.PL).
> >>>
> >>> Could you please paste the contents of your build/version.h file?
> >>>
> >>> Thanks,
> >>> Boris.
> >>>
> >>>
> >>
> >
> >
> > I tried to put 180 and 18014 hardcoded in the Makefile.pl, no result.
> >
> > Having same error:
> >
> >
> > debian:~/.cpan/build/Mozilla-ConsoleService-0.05-5NCcCu# make
> > g++ -c -I/usr/include/xulrunner/gtkembedmoz -I/usr/include/xulrunner
> -I/usr/include/xulrunner/xpcom -I/usr/include/xulrunner/string
> -I/usr/include/nspr -I/usr/local/lib/perl/5.8.8/Glib/Install -I.
> -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pthread
> -I/usr/local/lib/perl/5.8.8/Gtk2/MozEmbed/Install
> -I/usr/local/lib/perl/5.8.8/Gtk2/Install -I/usr/include/gtk-2.0
> -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo
> -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/libpng12
> -I./build -I/usr/local/lib/perl/5.8.8/Mozilla/DOM/Install
> -I/usr/include/xulrunner/dom -I/usr/include/xulrunner/webbrwsr
> -I/usr/include/xulrunner/content -I/usr/include/xulrunner/docshell
> -I/usr/lib/perl5/Cairo/Install -Ibuild -D_REENTRANT -D_GNU_SOURCE
> -DTHREADS_HAVE_PIDS -DDEBIAN -fno-strict-aliasing -pipe -I/usr/local/include
> -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -DVERSION=\"0.05\"
> -DXS_VERSION=\"0.05\" -fPIC "-I/usr/lib/perl/5.8/CORE" ConsoleService.c
> > In file included from ConsoleService.xs:5:
> > ppport.h:3042:1: warning: "PERL_UNUSED_DECL" redefined
> > In file included from ConsoleService.xs:2:
> > /usr/lib/perl/5.8/CORE/perl.h:163:1: warning: this is the location of the
> previous definition
> > ConsoleService.xs:11:28: error: nsIScriptError.h: No such file or
> directory
> > ConsoleService.xs: In member function âvirtual nsresult
> MyListener::Observe(nsIConsoleMessage*)â:
> > ConsoleService.xs:47: error: ânsIScriptErrorâ was not declared in this
> scope
> > ConsoleService.xs:47: error: template argument 1 is invalid
> > ConsoleService.xs:48: error: âseâ was not declared in this scope
> > ConsoleService.xs:53: error: âclass nsIConsoleMessageâ has no member
> named âGetMessageMozâ
> >
> >
> >
> >
> > On Mon, Nov 24, 2008 at 7:23 PM, Yannick Tousignant <
> ytousignant@gmail.com> wrote:
> >>
> >> debian:~/.cpan/build/Mozilla-ConsoleService-0.05-5NCcCu# /usr/bin/perl
> Makefile.PL INSTALLDIRS=site
> >> Argument "1.8.0.14eol" isn't numeric in multiplication (*) at
> Makefile.PL line 16.
> >>
> >>
> >> On Sun, Aug 3, 2008 at 2:50 PM, Boris Sukholitko via RT <
> bug-Mozilla-ConsoleService@rt.cpan.org> wrote:
> >>>
> >>> <URL:
http://rt.cpan.org/Ticket/Display.html?id=38117 >
> >>>
> >>> On Sat Aug 02 01:14:40 2008, ytousignant wrote:
> >>> > Version 0.5 and 0.4 won't compile in my debian stable.
> >>> > Currently using 0.3.
> >>> >
> >>> >
> >>> > debian:~/.cpan/build/Mozilla-ConsoleService-0.04# make
> >>> > g++ -c -I/usr/include/xulrunner/gtkembedmoz -I/usr/include/xulrunner
> >>> > -I/usr/include/xulrunner/xpcom -I/usr/include/xulrunner/string
> >>> > -I/usr/include/nspr -I/usr/include/xulrunner/xpconnect
> >>> > -I/usr/local/lib/perl/5.8.8/Glib/Install -I. -I/usr/include/glib-2.0
> >>> > -I/usr/lib/glib-2.0/include -pthread
> >>> > -I/usr/local/lib/perl/5.8.8/Gtk2/MozEmbed/Install
> >>> > -I/usr/lib/perl5/Gtk2/Install -I/usr/include/gtk-2.0
> >>> > -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0
> -I/usr/include/cairo
> >>> > -I/usr/include/pango-1.0 -I/usr/include/freetype2
> >>> > -I/usr/include/libpng12 -I./build
> >>> > -I/usr/local/lib/perl/5.8.8/Mozilla/DOM/Install
> >>> > -I/usr/include/xulrunner/dom -I/usr/include/xulrunner/webbrwsr
> >>> > -I/usr/include/xulrunner/content -I/usr/include/xulrunner/docshell
> >>> > -I/usr/lib/perl5/Cairo/Install -Ibuild -D_REENTRANT -D_GNU_SOURCE
> >>> > -DTHREADS_HAVE_PIDS -DDEBIAN -fno-strict-aliasing -pipe
> >>> > -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2
> >>> > -DVERSION=\"0.04\" -DXS_VERSION=\"0.04\" -fPIC
> >>> > "-I/usr/lib/perl/5.8/CORE" ConsoleService.c
> >>> > In file included from ConsoleService.xs:5:
> >>> > ppport.h:3042:1: warning: "PERL_UNUSED_DECL" redefined
> >>> > In file included from ConsoleService.xs:2:
> >>> > /usr/lib/perl/5.8/CORE/perl.h:163:1: warning: this is the location of
> >>> > the previous definition
> >>> > ConsoleService.xs:17:5: error: too many decimal points in number
> >>> > make: *** [ConsoleService.o] Error 1
> >>>
> >>> It probably comes from bad MCS_MOZEMBED_VERSION constant (set in
> >>> Makefile.PL).
> >>>
> >>> Could you please paste the contents of your build/version.h file?
> >>>
> >>> Thanks,
> >>> Boris.
> >>>
> >>
> >
> >
> >
>
>