Skip to content

Instantly share code, notes, and snippets.

@jaimeiniesta
Created June 27, 2012 10:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jaimeiniesta/3003171 to your computer and use it in GitHub Desktop.
Save jaimeiniesta/3003171 to your computer and use it in GitHub Desktop.
Errors installing www-validator
1.- Use Vagrant for a virtual machine with:
- Ubuntu Precise 32 bits
- apache
- build-essential
- cpanminus
2.- Compile tidyp
vagrant ssh
cd /vagrant/src/tidiyp-1.04
sudo ./configure
sudo make
sudo make install
add "/usr/local/lib" to $PATH
#### ERROR ###
vagrant@precise32:~$ tidyp
tidyp: error while loading shared libraries: libtidyp-1.04.so.0: cannot open shared object file: No such file or directory
vagrant@precise32:~$ sudo ldconfig
/sbin/ldconfig.real: /usr/local/lib/libtidyp-1.04.so.0 is not a symbolic link
##############
3.- Compile OpenSP-1.5.2
sudo ./configure --enable-http --disable-doc-build
sudo make
sudo make install
- how do I know if it has been installed?
4.- Install the CPAN bundle
sudo perl -MCPAN -e shell
[ press intro several times to accept defaults... ]
[ exit ssh session and come back.. ]
sudo perl -MCPAN -e shell
install Bundle::W3C::Validator
[ press intro several times to accept defaults... ]
##### ERROR ####
Failed during this command:
SHLOMIF/XML-LibXML-2.0001.tar.gz : writemakefile NO -- No 'Makefile' created
BJOERN/SGML-Parser-OpenSP-0.994.tar.gz : make_test NO
################
5.- Try to install failed bundles:
install B/BJ/BJOERN/SGML-Parser-OpenSP-0.994.tar.gz
Failed 22/24 test programs. 47/82 subtests failed.
make: *** [test_dynamic] Error 255
BJOERN/SGML-Parser-OpenSP-0.994.tar.gz
/usr/bin/make test -- NOT OK
//hint// to see the cpan-testers results for installing this module, try:
reports BJOERN/SGML-Parser-OpenSP-0.994.tar.gz
Running make install
make test had returned bad status, won't install without force
Failed during this command:
BJOERN/SGML-Parser-OpenSP-0.994.tar.gz : make_test NO
install SHLOMIF/XML-LibXML-2.0001.tar.gz
Running make for S/SH/SHLOMIF/XML-LibXML-2.0001.tar.gz
Has already been unwrapped into directory /home/vagrant/.cpan/build/XML-LibXML-2.0001-nCtAD2
No 'Makefile' created
, won't make
Running make test
Make had some problems, won't test
Running make install
Make had some problems, won't install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment