Re: xulrunner/xforms

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Re: xulrunner/xforms

Malek Hadj-Ali

Hello,

Sorry to revive this old thread, but i was wondering if there was any
progress on the building xforms from trunk front.

The patches in bugs 348391 and 350932 seem to be out of sync with
latest trunk and trying to build without them still leads to linking
errors.

I'd really love to give xforms a try, but i have xulrunner from trunk
as a requirement (due notably to the use of python).

thanks for any help

malek


On Thu, 11 Jan 2007 13:06:21 -0600
Aaron Reed <[hidden email]> wrote:

>
> Hi Malek,
>
> Your post of the build logs didn't get attached.  But nevermind.  I
> tried a xulrunner build and it did fail with a bunch of link errors
> like you mentioned.
>
> All of those link errors that you are seeing are because we don't
> currently link to 'frozen' apis.  We currently use some non-frozen
> interfaces and we don't link to the proper 'frozen-only' libraries.
> Mozilla has threatened for a while to force extensions to use just
> frozen interfaces and they created an environment variable and
> mozconfig flag to enable it called MOZ_ENABLE_LIBXUL and
> --enable-libxul.  These never stuck on the trunk builds due to some
> performance issues. However, it appears that these are turned on in
> xulrunner so that is what is causing us the build problems.
>
> We have a bug open on supporting these flags
> (https://bugzilla.mozilla.org/show_bug.cgi?id=348391) and I've even
> got most of the work done.  The sticker is that we'll have to
> re-write in the XForms extension some stuff that Mozilla has decided
> not to freeze and we haven't had enough time to do that, yet.
>
> Sorry that the news isn't better,
> --Aaron
>
> Malek Hadj-Ali wrote:
> > this time with the file (i hope)
> > sorry for the double post
> >
> > On Wed, 10 Jan 2007 00:13:46 +0100
> > Malek Hadj-Ali <[hidden email]> wrote:
> >
> >> On Tue, 09 Jan 2007 11:53:23 -0600
> >> Aaron Reed <[hidden email]> wrote:
> >>
> >>> Hi Malek,
> >> Hi Aaron,
> >>
> >>> The only thing on the build page that could be considered
> >>> 'changed' is that I believe that canvas will build by default
> >>> (thus the --enable for it not needed) on trunk.  But having it in
> >>> your .mozconfig shouldn't cause you any problems, I don't think.
> >>> And in your flags you have --enable-xft instead of --enable-xtf
> >>> (which I also think builds by default).
> >> xft is related to fonts (i do believe it's now the default if you
> >> choose cairo-gtk2), i didn't know about xtf.
> >>
> >>> Did you verify that the build you downloaded can build xulrunner
> >>> without xforms?  I just want to make sure that xforms is the real
> >>> issue.  I haven't built it myself, but I think it should build
> >>> fine. Of course, installing it is another issue.  I'll try to
> >>> build it once my build machine recovers.
> >> xulrunner with default extensions builds fine.
> >> it's when you add either 'shema-validation' or 'xforms' in
> >> extensions (or both) that it doesn't build.
> >>
> >> i sent a build log to the list (only the part concerning xforms),
> >> but it's awaiting moderation due to its size (there really is a
> >> bunch of "undefined reference").
> > the message didn't show up, so attached is a zip containing
> > stdout/sterr logs of an attempt at building xforms.
> >
> > I hope this helps
> >
> > malek
> >
> >
> >> i also tested only with 'schema-validation' and it has the same
> > pb.
> >> please tell me if you need more info
> >>
> >>
> >> thanks
> >>
> >> malek
> >>
> >>> Later,
> >>> --Aaron
> >>>
> >>> Malek Hadj-Ali wrote:
> >>>> On Tue, 09 Jan 2007 09:42:45 +0800
> >>>> Alexander Surkov <[hidden email]> wrote:
> >>>>
> >>>>>> i don't know if it's the right place to ask but i was
> >>>>>> wondering, is it possible to build xulrunner with xforms
> >>>>>> extension from current trunk?
> >>>>>>
> >>>>>> thanks for any pointer/help
> >>>>> You can't do until bug 312970 is fixed.
> >>>> this bug covers more of an install problem.
> >>>>
> >>>> i just want to build it atm. what are the options needed? is
> >>>> http://www.mozilla.org/projects/xforms/build.html still up to
> >>>> date?
> >>>>
> >>>> because when i try to build xulrunner from the trunk on linux
> >>>> with the following options:
> >>>>
> >>>> mk_add_options MOZ_CO_PROJECT=xulrunner
> >>>> ac_add_options --enable-application=xulrunner
> >>>> ac_add_options --disable-static
> >>>> ac_add_options --enable-shared
> >>>> ac_add_options --enable-debug
> >>>> ac_add_options --enable-tests
> >>>> ac_add_options --disable-optimize
> >>>> ac_add_options --enable-default-toolkit=cairo-gtk2
> >>>> ac_add_options --enable-xft
> >>>> ac_add_options --disable-freetype2
> >>>> ac_add_options
> >>>> --enable-extensions=default,xforms,schema-validation
> >>>> ac_add_options --enable-canvas ac_add_options --disable-javaxpcom
> >>>>
> >>>> i get a lot of "undefined references" at linking stage and the
> >>>> build busts (i can setup and provide a build log if you need)
> >>>> did i miss something?
> >>>>
> >>>>
> >>>> thank for any help/pointer
> >>>>
> >>>> malek
> >>>>
> >>>>> _______________________________________________
> >>>>> dev-tech-xforms mailing list
> >>>>> [hidden email]
> >>>>> https://lists.mozilla.org/listinfo/dev-tech-xforms
> >>> _______________________________________________
> >>> dev-tech-xforms mailing list
> >>> [hidden email]
> >>> https://lists.mozilla.org/listinfo/dev-tech-xforms
> >> _______________________________________________
> >> dev-tech-xforms mailing list
> >> [hidden email]
> >> https://lists.mozilla.org/listinfo/dev-tech-xforms
> _______________________________________________
> dev-tech-xforms mailing list
> [hidden email]
> https://lists.mozilla.org/listinfo/dev-tech-xforms
_______________________________________________
dev-tech-xforms mailing list
[hidden email]
https://lists.mozilla.org/listinfo/dev-tech-xforms
Reply | Threaded
Open this post in threaded view
|

Re: xulrunner/xforms

Aaron Reed
Hi Malek,

Sorry, it has been lowered in the priority list.  Since it doesn't look
like Mozilla is going to the 'frozen interface' model for anything other
than XUL Runner at least for right now, we've been putting our limited
resources on testsuite compliance, incorporating errata changes, bug
fixes, etc.  If you'd like to finish up the work (I'm guessing around a
week's worth of work left on it), I'd be happy to help you.

--Aaron

Malek Hadj-Ali wrote:

> Hello,
>
> Sorry to revive this old thread, but i was wondering if there was any
> progress on the building xforms from trunk front.
>
> The patches in bugs 348391 and 350932 seem to be out of sync with
> latest trunk and trying to build without them still leads to linking
> errors.
>
> I'd really love to give xforms a try, but i have xulrunner from trunk
> as a requirement (due notably to the use of python).
>
> thanks for any help
>
> malek
>
>
> On Thu, 11 Jan 2007 13:06:21 -0600
> Aaron Reed <[hidden email]> wrote:
>
>> Hi Malek,
>>
>> Your post of the build logs didn't get attached.  But nevermind.  I
>> tried a xulrunner build and it did fail with a bunch of link errors
>> like you mentioned.
>>
>> All of those link errors that you are seeing are because we don't
>> currently link to 'frozen' apis.  We currently use some non-frozen
>> interfaces and we don't link to the proper 'frozen-only' libraries.
>> Mozilla has threatened for a while to force extensions to use just
>> frozen interfaces and they created an environment variable and
>> mozconfig flag to enable it called MOZ_ENABLE_LIBXUL and
>> --enable-libxul.  These never stuck on the trunk builds due to some
>> performance issues. However, it appears that these are turned on in
>> xulrunner so that is what is causing us the build problems.
>>
>> We have a bug open on supporting these flags
>> (https://bugzilla.mozilla.org/show_bug.cgi?id=348391) and I've even
>> got most of the work done.  The sticker is that we'll have to
>> re-write in the XForms extension some stuff that Mozilla has decided
>> not to freeze and we haven't had enough time to do that, yet.
>>
>> Sorry that the news isn't better,
>> --Aaron
>>
>> Malek Hadj-Ali wrote:
>>> this time with the file (i hope)
>>> sorry for the double post
>>>
>>> On Wed, 10 Jan 2007 00:13:46 +0100
>>> Malek Hadj-Ali <[hidden email]> wrote:
>>>
>>>> On Tue, 09 Jan 2007 11:53:23 -0600
>>>> Aaron Reed <[hidden email]> wrote:
>>>>
>>>>> Hi Malek,
>>>> Hi Aaron,
>>>>
>>>>> The only thing on the build page that could be considered
>>>>> 'changed' is that I believe that canvas will build by default
>>>>> (thus the --enable for it not needed) on trunk.  But having it in
>>>>> your .mozconfig shouldn't cause you any problems, I don't think.
>>>>> And in your flags you have --enable-xft instead of --enable-xtf
>>>>> (which I also think builds by default).
>>>> xft is related to fonts (i do believe it's now the default if you
>>>> choose cairo-gtk2), i didn't know about xtf.
>>>>
>>>>> Did you verify that the build you downloaded can build xulrunner
>>>>> without xforms?  I just want to make sure that xforms is the real
>>>>> issue.  I haven't built it myself, but I think it should build
>>>>> fine. Of course, installing it is another issue.  I'll try to
>>>>> build it once my build machine recovers.
>>>> xulrunner with default extensions builds fine.
>>>> it's when you add either 'shema-validation' or 'xforms' in
>>>> extensions (or both) that it doesn't build.
>>>>
>>>> i sent a build log to the list (only the part concerning xforms),
>>>> but it's awaiting moderation due to its size (there really is a
>>>> bunch of "undefined reference").
>>> the message didn't show up, so attached is a zip containing
>>> stdout/sterr logs of an attempt at building xforms.
>>>
>>> I hope this helps
>>>
>>> malek
>>>
>>>
>>>> i also tested only with 'schema-validation' and it has the same
>>> pb.
>>>> please tell me if you need more info
>>>>
>>>>
>>>> thanks
>>>>
>>>> malek
>>>>
>>>>> Later,
>>>>> --Aaron
>>>>>
>>>>> Malek Hadj-Ali wrote:
>>>>>> On Tue, 09 Jan 2007 09:42:45 +0800
>>>>>> Alexander Surkov <[hidden email]> wrote:
>>>>>>
>>>>>>>> i don't know if it's the right place to ask but i was
>>>>>>>> wondering, is it possible to build xulrunner with xforms
>>>>>>>> extension from current trunk?
>>>>>>>>
>>>>>>>> thanks for any pointer/help
>>>>>>> You can't do until bug 312970 is fixed.
>>>>>> this bug covers more of an install problem.
>>>>>>
>>>>>> i just want to build it atm. what are the options needed? is
>>>>>> http://www.mozilla.org/projects/xforms/build.html still up to
>>>>>> date?
>>>>>>
>>>>>> because when i try to build xulrunner from the trunk on linux
>>>>>> with the following options:
>>>>>>
>>>>>> mk_add_options MOZ_CO_PROJECT=xulrunner
>>>>>> ac_add_options --enable-application=xulrunner
>>>>>> ac_add_options --disable-static
>>>>>> ac_add_options --enable-shared
>>>>>> ac_add_options --enable-debug
>>>>>> ac_add_options --enable-tests
>>>>>> ac_add_options --disable-optimize
>>>>>> ac_add_options --enable-default-toolkit=cairo-gtk2
>>>>>> ac_add_options --enable-xft
>>>>>> ac_add_options --disable-freetype2
>>>>>> ac_add_options
>>>>>> --enable-extensions=default,xforms,schema-validation
>>>>>> ac_add_options --enable-canvas ac_add_options --disable-javaxpcom
>>>>>>
>>>>>> i get a lot of "undefined references" at linking stage and the
>>>>>> build busts (i can setup and provide a build log if you need)
>>>>>> did i miss something?
>>>>>>
>>>>>>
>>>>>> thank for any help/pointer
>>>>>>
>>>>>> malek
>>>>>>
>>>>>>> _______________________________________________
>>>>>>> dev-tech-xforms mailing list
>>>>>>> [hidden email]
>>>>>>> https://lists.mozilla.org/listinfo/dev-tech-xforms
>>>>> _______________________________________________
>>>>> dev-tech-xforms mailing list
>>>>> [hidden email]
>>>>> https://lists.mozilla.org/listinfo/dev-tech-xforms
>>>> _______________________________________________
>>>> dev-tech-xforms mailing list
>>>> [hidden email]
>>>> https://lists.mozilla.org/listinfo/dev-tech-xforms
>> _______________________________________________
>> dev-tech-xforms mailing list
>> [hidden email]
>> https://lists.mozilla.org/listinfo/dev-tech-xforms
_______________________________________________
dev-tech-xforms mailing list
[hidden email]
https://lists.mozilla.org/listinfo/dev-tech-xforms