Compile and install HTML validator (Ubuntu Linux 32bit Firefox)

Source: Internet
Author: User
Tags html validator

HTML validator is an extension of Firefox. It is used for offline HTML syntax error checks. After installation, it can display in real time whether the compiled webpage meets the web standards.

 

HTML validator (for Windows ):

Https://addons.mozilla.org/zh-CN/firefox/addon/249

 

On Ubuntu 10.04, HTML validator is installed on Firefox 3.6 and cannot be used.

Prompt"Fatal error: the dynamicclibrary contained in the extension file cocould not be found.",

Pop up this page: http://users.skynet.be/mgueury/mozilla/no_tidy_lib.html

 

Solution: uninstall HTML validator, install libstdc ++ 5, and then install HTML validator.

Libstdc ++ 5: Http://packages.ubuntu.com/jaunty/i386/libstdc++5/download 

HTML validator: Http://users.skynet.be/mgueury/mozilla/download.html

 

References: http://users.skynet.be/mgueury/mozilla/faq.html#LINUX

 

// The following content has expired.

 

 

The error message "HTML validator cannot be used on Linux ."

 

 

Therefore, you need to downloadSource code, Compile and install it by yourself.

SourceCodeDownload:
Http://sourceforge.net/projects/htmlvalidator/files/

 

Below are the steps to compile HTML validator on 32-bit Ubuntu 9.10 Linux: 1、download htmlvalidator-0.8.5.820.svn65.tar.bz2, decompress, locate/home/sink/desktop/htmlvalidator-0.8.5.8 in the command line

Enter./configure

Error, prompt:

Checking for XPCOM... no
Configure: Warning: Libxul not found, trying another
Checking for XPCOM... no
Configure: Warning: Firefox-XPCOM not found, trying another
Checking for XPCOM... no
Configure: Warning: iceape-XPCOM not found, trying another
Checking for XPCOM... no
Configure: Warning: iceweasel-XPCOM not found, trying another
Checking for XPCOM... no
Configure: Warning: Mozilla-XPCOM not found, trying another
Checking for XPCOM... no
Configure: Warning: seamonkey-XPCOM not found, trying another
Checking for XPCOM... no
Configure: Error: xulrunner-XPCOM not found
Sink @ sink-desktop :~ // Desktop/htmlvalidator-0.8.5.8 $

 

2. Install xulrunner-Dev

Search for XPCOM in new ground to install xulrunner-1.9.1-dev
Or run The sudo apt-Get install xulrunner-dev command.

 

3. Locate/home/sink/desktop/htmlvalidator-0.8.5.8 input in the command line./configure

Successfully passed.

4. Locate/home/sink/desktop/htmlvalidator-0.8.5.8 in the command line and enter make

Successfully passed. A file htmlvalidator-0.8.5.8 is generated in the/home/sink/desktop/tidy_firefox_linux-gnu_i686_0.8.5.8.xpi Directory, which is 4.6 MB in size.

5. Start Firefox -- file -- open --/home/sink/desktop/htmlvalidator-0.8.5.8/tidy_firefox_linux-gnu_i686_0.8.5.8.xpi

You can install it.

 

6. Restart firefox after installation. The effect is as follows:

 

 

Note:

If you use the compiled version provided by the http://users.skynet.be/mgueury/mozilla/download.html on the HTML validator official website, install it on Ubuntu to prompt the http://users.skynet.be/mgueury/mozilla/no_tidy_lib.html

Fatal error: the dynamic C library contained in the extension file cocould not be found.

The official HTML validator website provides the following versions, which are about 2 MB in size:
Windows 0.858 download HTML validator for Windows x
Linux 32 bits 0.858 download HTML validator for Linux 32 bits x
Linux 64 bits 0.858 download HTML validator for Linux 64 bits x
Mac OSX intel 0.858 download HTML validator for Mac OSX intel x
Mac osx ppc 0.858 download HTML validator for Mac osx ppc x
FreeBSD 5.1 + 0.839 download HTML validator for FreeBSD 5.1 + x
FreeBSD 6 + 0.839 download HTML validator for FreeBSD 6 + x
FreeBSD 7 0.858 download HTML validator for FreeBSD 7 x
OpenBSD 32 bits 0.858 download HTML validator For OpenBSD 32 bits x
OpenBSD 64 bits 0.858 download HTML validator For OpenBSD 64 bits x
Other platforms 0.7x see here
Source code () 0.858 download the source code

 

My compiled 4.6mb tidy_firefox_linux-gnu_i686_0.8.5.8.xpi download: http://files.cnblogs.com/sink_cup/tidy_firefox_linux-gnu_i686_0.8.5.8.xpi

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.