Re: [pyxpcom] xulrunner trunk, build error in PyIInterfaceInfo.cpp
by Paul Everitt other posts by this author
Jan 21 2008 5:29AM messages near this date
view in the new Beta List Site
Re: [pyxpcom] xulrunner trunk, build error in PyIInterfaceInfo.cpp
|
Re: [pyxpcom] xulrunner trunk, build error in PyIInterfaceInfo.cpp
Hi Mark. Sorry for the delayed reply. I made the change you mention
below, then fixed the BUILD_ID .ini problem after that, and was able
to get a compile.
However, I ran into a problem all day yesterday getting back to
getting a basic XULRunner compile "installed" on OS X. My usual ways
of copying the framework and the xulrunner executable into my bundle
didn't work. I probably spent 8 hours yesterday wiggling the wires
trying to get something to work.
So I'm actually farther backwards than when I emailed you. While not
not impossible, building my own XULRunner is certainly more
challenging than I had expected.
--Paul
On Jan 19, 2008, at 8:30 PM, Mark Hammond wrote:
> > Hi all. I'm trying to build PyXPCOM using the xulrunner trunk.
> > First,
> > is this the right place to report build problems, or the Mozilla
> > XPCOM
> > list?
> >
> > Environment:
> >
> > - OS X 10.5.1
> >
> > - Python 2.4.4 from MacPorts (using a PYTHON env var)
> >
> > - XULRunner trunk
> >
> > Are there any patches I should apply to the trunk?
> >
> > I started by building xulrunner to make sure I got that part working.
> > After that succeeded, I edited my mozconfig file to turn on building
> > of pyxpcom. I watched the configure steps to make sure the right
> > Python was chosen.
> >
> > Here is the compile error:
> >
> > /Users/pauleveritt/Desktop/paul/xulrunnersrc/mozilla/extensions/
> > python/
> > xpcom/src/PyIInterfaceInfo.cpp: In function 'PyObject*
> > PyGetIID(PyObject*, PyObject*)':
> > /Users/pauleveritt/Desktop/paul/xulrunnersrc/mozilla/extensions/
> > python/
> > xpcom/src/PyIInterfaceInfo.cpp:94: error: invalid conversion from
> > 'nsIID**' to 'const nsIID**'
> > /Users/pauleveritt/Desktop/paul/xulrunnersrc/mozilla/extensions/
> > python/
> > xpcom/src/PyIInterfaceInfo.cpp:94: error: initializing argument 1
> > of
> > 'virtual nsresult nsIInterfaceInfo::GetIIDShared(const nsIID**)'
> > make[8]: *** [PyIInterfaceInfo.o] Error 1
>
> Hi Paul,
> I haven't built the trunk for a few months, but nothing here seems
> to have
> changed. You could try changing line 91 from:
>
> nsIID *iid_ret;
> to:
> const nsIID *iid_ret;
>
> as that is how other users of that interface appear to declare their
> variable. I've no idea why compilers on other platforms don't also
> complain, but whatever... :)
>
> Mark
>
_______________________________________________
pyxpcom mailing list
pyxpcom@[...].com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
Thread:
Paul Everitt
Mark Hammond
Paul Everitt
Shane Caraveo
Paul Everitt
|