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
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:
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
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:
-> On another type of linux with the problem
You liked it ? Link it on your homepage or blog: