Thread: Re: [Htmlvalidator-help] Problem in compiling tidy extension
Brought to you by:
mgueury
From: Werner F. <wer...@uf...> - 2007-01-29 14:20:12
|
Martin Ellis schrieb am 29.01.2007 14:48: > Why do you want to compile the tidy extension into the firefox browser?= Its an extension plugin already?!=20 Martin, yes it is. But it is not available for Linux x86_64 and Firefox 2.0. At=20 least not on the official sites. Regards, Werner --=20 Werner Flamme, Abt. WKDV Helmholtz-Zentrum f=FCr Umweltforschung GmbH - UFZ Permoserstr. 15 - 04318 Leipzig Tel.: (0341) 235-3921 - Fax (0341) 235-453921 http://www.ufz.de - eMail: wer...@uf... |
From: Werner F. <wer...@uf...> - 2007-02-08 11:09:36
|
Marc Gueury schrieb am 07.02.2007 23:30: > Werner Flamme wrote: >> Marc Gueury schrieb am 31.01.2007 23:42: >> =20 >>> You make me think about it . I need to upload a new version for Firef= ox=20 >>> 2.0 and AMD 64. >>> It is here, http://indexof.co.uk/HtmlValidator-0.7.9.5-x86-64/ >>> >>> It was done by Matthew. >>> >>> Marc >>> =20 >> =20 > Hi Werner, >=20 > The extension need to have firefox to load this library with XPCOM. It=20 > is a kind of list of dynamic libraries. > @mozilla.org/tidy;1 is the name of the library in XPCOM. It seems it is= =20 > not registered or the library can not > be loaded. Have you checked the FAQ about this ? >=20 > http://users.skynet.be/mgueury/mozilla/faq.html point 3 >=20 > Marc Marc, thanks, yes it's working now! The library was there, but not found = by=20 ldconfig, so hidden to Firefox... I use openSUSE 10.2 on x86_64, and in /usr/lib64/firefox was no libxpcom.= so=20 - must come from an update, since pin shows the library at the proper=20 place. I now added a "firefox.conf" in /etc/ld.so.conf.d with the line=20 /usr/lib64/xulrunner-1.8.1 in it (the library is in /usr/lib64/thunderbir= d,=20 /usr/lib64/seamonkey, /usr/lib64/sunbird - but not in /usr/lib64/firefox.= =20 The 32bit library is at /usr/lib/firefox...). Now HTMLValidator is runnin= g.=20 The library was there, but not found by ldconfig, so hidden to Firefox... Now I still miss the icon in the status line... Firebug is shown there, b= ut=20 HTMLValidator is not. However, when looking at a page's source code,=20 HTMLValidator is present there. In my Citrix environment, Firebug is the=20 rightmost icon, HTMLValidator on its left side. Leftmost, there is=20 Colorzilla (on both systems). Regards, Werner >=20 >> Marc, thank you for the link. I downloaded the extension and installed= it=20 >> the usual way. Now I get=20 >> http://users.skynet.be/mgueury/mozilla/no_tidy_lib.html on starting: "= FATAL=20 >> ERROR : The dynamic C library contained in the extension file could n= ot be=20 >> found." >> ... >> Additional info: >> Symptoms: >> In the Java console, you will see this error message >> Error: Components.classes['@mozilla.org/tidy;1'] has no properties >> Source File: chrome://tidy/content/tidyUtil.js >> Line: 96 >> >> In my extensions/{3b56bcc7-54e5-44a2-9b44-66c3ef58c13e}/components the= re is=20 >> a libnstidy.so with SONAME libnstidy.so. What does the extension need?= And=20 >> where does it search? >> >> Werner >> >> =20 >=20 >=20 >=20 >=20 --=20 Werner Flamme, Abt. WKDV Helmholtz-Zentrum f=FCr Umweltforschung GmbH - UFZ Permoserstr. 15 - 04318 Leipzig Tel.: (0341) 235-3921 - Fax (0341) 235-453921 http://www.ufz.de - eMail: wer...@uf... |
From: Werner F. <wer...@uf...> - 2007-02-09 11:02:52
|
Marc, another problem now :-( Yesterday I changed ldconfig's config, so that all libraries for=20 libnstidy.so were found. And HTMLValidator shows up when I look ath the=20 source of a page. BUT: - HTMLValidator does nothing with the source code, just the blue bar=20 running at the bottom of the window - HTMLValidator does not show up in the status bar of the browser window I tried to link to another xpcom library by pointing ldconfig to=20 /usr/lib64/seamonkey. Successful on one side: > ldd libnstidy.so libxpcom.so =3D> /usr/lib64/seamonkey/libxpcom.so (0x00002abb564= fb000) libnspr4.so =3D> /usr/lib64/libnspr4.so (0x00002abb566ff000) libplds4.so =3D> /usr/lib64/libplds4.so (0x00002abb5693a000) libplc4.so =3D> /usr/lib64/libplc4.so (0x00002abb56b3f000) libpthread.so.0 =3D> /lib64/libpthread.so.0 (0x00002abb56d45000) libdl.so.2 =3D> /lib64/libdl.so.2 (0x00002abb56f60000) libstdc++.so.6 =3D> /usr/lib64/libstdc++.so.6 (0x00002abb5716500= 0) libm.so.6 =3D> /lib64/libm.so.6 (0x00002abb57463000) libgcc_s.so.1 =3D> /lib64/libgcc_s.so.1 (0x00002abb576b9000) libc.so.6 =3D> /lib64/libc.so.6 (0x00002abb578c8000) libxpcom_core.so =3D> /usr/lib64/seamonkey/libxpcom_core.so=20 (0x00002abb57c0a000) /lib64/ld-linux-x86-64.so.2 (0x0000555555554000) > It links against 64 bit libraries, all libs are found. BUT unsuccessful o= n=20 the other side: FATAL ERROR : The dynamic C library contained in the extension file coul= d=20 not be found. Error: Components.classes['@mozilla.org/tidy;1'] has no properties Source File: chrome://tidy/content/tidyUtil.js Line: 96 This was where I was before... :-( I will try to install another Firefox, maybe the libxpcom.so and/or=20 libxpcom_core.so differ too much. Regards, Werner Marc Gueury schrieb am 07.02.2007 23:30: > Hi Werner, >=20 > The extension need to have firefox to load this library with XPCOM. It=20 > is a kind of list of dynamic libraries. > @mozilla.org/tidy;1 is the name of the library in XPCOM. It seems it is= =20 > not registered or the library can not > be loaded. Have you checked the FAQ about this ? >=20 > http://users.skynet.be/mgueury/mozilla/faq.html point 3 >=20 > Marc >=20 > Werner Flamme wrote: >> Marc Gueury schrieb am 31.01.2007 23:42: >> =20 >>> You make me think about it . I need to upload a new version for Firef= ox=20 >>> 2.0 and AMD 64. >>> It is here, http://indexof.co.uk/HtmlValidator-0.7.9.5-x86-64/ >>> >>> It was done by Matthew. >>> >>> Marc >>> =20 >> Marc, thank you for the link. I downloaded the extension and installed= it=20 >> the usual way. Now I get=20 >> http://users.skynet.be/mgueury/mozilla/no_tidy_lib.html on starting: "= FATAL=20 >> ERROR : The dynamic C library contained in the extension file could n= ot be=20 >> found." >> ... >> Additional info: >> Symptoms: >> In the Java console, you will see this error message >> Error: Components.classes['@mozilla.org/tidy;1'] has no properties >> Source File: chrome://tidy/content/tidyUtil.js >> Line: 96 >> >> In my extensions/{3b56bcc7-54e5-44a2-9b44-66c3ef58c13e}/components the= re is=20 >> a libnstidy.so with SONAME libnstidy.so. What does the extension need?= And=20 >> where does it search? >> >> Werner >> >> =20 >=20 >=20 --=20 Werner Flamme, Abt. WKDV Helmholtz-Zentrum f=FCr Umweltforschung GmbH - UFZ Permoserstr. 15 - 04318 Leipzig Tel.: (0341) 235-3921 - Fax (0341) 235-453921 http://www.ufz.de - eMail: wer...@uf... |
From: Werner F. <wer...@uf...> - 2007-02-09 11:40:10
|
Werner Flamme schrieb am 09.02.2007 12:02: > Marc, > I will try to install another Firefox, maybe the libxpcom.so and/or=20 > libxpcom_core.so differ too much. And that did the trick! Now /usr/lib64/firefox is populated, "ldd libnstidy.so" shows the correct library, an HTMLValidator is runnig as go= od as with FF 1.5! Thanks for your patience! Regards, Werner --=20 Werner Flamme, Abt. WKDV Helmholtz-Zentrum f=FCr Umweltforschung GmbH - UFZ Permoserstr. 15 - 04318 Leipzig Tel.: (0341) 235-3921 - Fax (0341) 235-453921 http://www.ufz.de - eMail: wer...@uf... |
From: Marc G. <mg...@sk...> - 2007-01-31 22:43:18
|
You make me think about it . I need to upload a new version for Firefox 2.0 and AMD 64. It is here, http://indexof.co.uk/HtmlValidator-0.7.9.5-x86-64/ It was done by Matthew. Marc Werner Flamme wrote: > Martin Ellis schrieb am 29.01.2007 14:48: > >> Why do you want to compile the tidy extension into the firefox browser? Its an extension plugin already?! >> > > Martin, > > yes it is. But it is not available for Linux x86_64 and Firefox 2.0. At > least not on the official sites. > > Regards, > Werner > > |
From: Werner F. <wer...@uf...> - 2007-02-05 15:33:16
|
Marc Gueury schrieb am 31.01.2007 23:42: > You make me think about it . I need to upload a new version for Firefox= =20 > 2.0 and AMD 64. > It is here, http://indexof.co.uk/HtmlValidator-0.7.9.5-x86-64/ >=20 > It was done by Matthew. >=20 > Marc Marc, thank you for the link. I downloaded the extension and installed it= =20 the usual way. Now I get=20 http://users.skynet.be/mgueury/mozilla/no_tidy_lib.html on starting: "FAT= AL=20 ERROR : The dynamic C library contained in the extension file could not = be=20 found." ... Additional info: Symptoms: In the Java console, you will see this error message Error: Components.classes['@mozilla.org/tidy;1'] has no properties Source File: chrome://tidy/content/tidyUtil.js Line: 96 In my extensions/{3b56bcc7-54e5-44a2-9b44-66c3ef58c13e}/components there = is=20 a libnstidy.so with SONAME libnstidy.so. What does the extension need? An= d=20 where does it search? Werner --=20 Werner Flamme, Abt. WKDV Helmholtz-Zentrum f=FCr Umweltforschung GmbH - UFZ Permoserstr. 15 - 04318 Leipzig Tel.: (0341) 235-3921 - Fax (0341) 235-453921 http://www.ufz.de - eMail: wer...@uf... |
From: Marc G. <mg...@sk...> - 2007-02-07 22:30:57
|
Werner Flamme wrote: > Marc Gueury schrieb am 31.01.2007 23:42: > >> You make me think about it . I need to upload a new version for Firefox >> 2.0 and AMD 64. >> It is here, http://indexof.co.uk/HtmlValidator-0.7.9.5-x86-64/ >> >> It was done by Matthew. >> >> Marc >> > > Hi Werner, The extension need to have firefox to load this library with XPCOM. It is a kind of list of dynamic libraries. @mozilla.org/tidy;1 is the name of the library in XPCOM. It seems it is not registered or the library can not be loaded. Have you checked the FAQ about this ? http://users.skynet.be/mgueury/mozilla/faq.html point 3 Marc > Marc, thank you for the link. I downloaded the extension and installed it > the usual way. Now I get > http://users.skynet.be/mgueury/mozilla/no_tidy_lib.html on starting: "FATAL > ERROR : The dynamic C library contained in the extension file could not be > found." > ... > Additional info: > Symptoms: > In the Java console, you will see this error message > Error: Components.classes['@mozilla.org/tidy;1'] has no properties > Source File: chrome://tidy/content/tidyUtil.js > Line: 96 > > In my extensions/{3b56bcc7-54e5-44a2-9b44-66c3ef58c13e}/components there is > a libnstidy.so with SONAME libnstidy.so. What does the extension need? And > where does it search? > > Werner > > |
From: Marc G. <mg...@sk...> - 2007-02-07 22:31:13
|
Hi Werner, The extension need to have firefox to load this library with XPCOM. It is a kind of list of dynamic libraries. @mozilla.org/tidy;1 is the name of the library in XPCOM. It seems it is not registered or the library can not be loaded. Have you checked the FAQ about this ? http://users.skynet.be/mgueury/mozilla/faq.html point 3 Marc Werner Flamme wrote: > Marc Gueury schrieb am 31.01.2007 23:42: > >> You make me think about it . I need to upload a new version for Firefox >> 2.0 and AMD 64. >> It is here, http://indexof.co.uk/HtmlValidator-0.7.9.5-x86-64/ >> >> It was done by Matthew. >> >> Marc >> > > Marc, thank you for the link. I downloaded the extension and installed it > the usual way. Now I get > http://users.skynet.be/mgueury/mozilla/no_tidy_lib.html on starting: "FATAL > ERROR : The dynamic C library contained in the extension file could not be > found." > ... > Additional info: > Symptoms: > In the Java console, you will see this error message > Error: Components.classes['@mozilla.org/tidy;1'] has no properties > Source File: chrome://tidy/content/tidyUtil.js > Line: 96 > > In my extensions/{3b56bcc7-54e5-44a2-9b44-66c3ef58c13e}/components there is > a libnstidy.so with SONAME libnstidy.so. What does the extension need? And > where does it search? > > Werner > > |