Installing HTML Validator Extensions for Firefox / Iceweasel on Debian 6.0 Squeeze
Datum: 26.02.2010 23:49:04
The HTML Validator-Extension for Firefox doesn't run on Debian Squeeze out of the box, the problem is the missing libstdc++5, but only libstdc++6 is installable from debians
default-repositoy.
Well today I wasted about 12+ hours trying to compile firefox + html validator-extension from scratch, made many mistakes, first I used ff3.5-sources, then I found out that the
instructions where not meant for firefox 3.5, but for firefox 2, then some typos on patching source-files that I only foundout about ... 40 minutes later, because building it took
between 30 and 60minutes each time ... That's why 12 hours past so fast.
But finally I found a way to get it running. libstdc++5 wasn't the only problem :)
Using the solutions provided for other linux distributions, mixing them a bit and doing some testing myself I finally got a solution:
First thing to do, get the old libstdc++5 for Debian Lenny and install it:
http://packages.debian.org/lenny/i386/libstdc++5/download
If this doesn't work for you, extract the deb and the included data.tar.gz and copy the content of the usr/lib-dir into /usr/lib.
Then install libnspr4-dev and xulrunner-dev via apt-get:
apt-get install libnspr4-dev xulrunner-dev
(I hope that's all you need since I have lost track what packages I installed today, what i uninstalled later and what I had already installed)
next thing to do, create 2 symlinks:
ln -s /usr/lib/xulrunner-1.9.1/libxul.so /usr/lib/libxul.so ln -s /usr/lib/xulrunner-1.9.1/libxpcom.so /usr/lib/libxpcom.so
Now you should be able to install html validator and it should work and not open a tab with the showing you the no
tidy lib-page
FATAL ERROR : The dynamic C library contained in the extension file could not be found.
If it still NOT works, check with ldd what other libs might be missing like described on the authors homepage:
http://users.skynet.be/mgueury/mozilla/faq.html#LINUX
-> On another type of linux with the problem
Trackbacks (0)
Trackbackurl: http://www.robo47.net/trackback/blogentry/195Es sind keine Trackbacks vorhanden.
You liked it ? Link it on your homepage or blog:



Benjamin Steininger ist Webentwickler auf der Suche nach einem neuen Job und
photographiert sehr gerne. Er beschäftigt sich viel mit dem Internet, PHP, Symfony, Testing und hat einen
Kommentare (1)
I installed libstdc++5 with Synaptic. It worked! Thanks a lot.
Die Kommentare zu diesem Beitrag sind gesperrt.