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