Re: [Htmlvalidator-help] Problem in compiling tidy extension
Brought to you by:
mgueury
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... |