Hey
For some time I have been trying to run this script but I get some errors that I can't work out what they mean . I am hoping that you guys can help me .
the script is : http://vikas-reddy.blogspot.in/2012/01/script-to-download-wallpapers-from.html
I am using linux mint mate 13 64-bit on vmware workstation .
Now I am sure I got wget . Not quite sure about those other 2 requirements . Here is what I get :
---------------------------------------------------------------------
For some time I have been trying to run this script but I get some errors that I can't work out what they mean . I am hoping that you guys can help me .
the script is : http://vikas-reddy.blogspot.in/2012/01/script-to-download-wallpapers-from.html
I am using linux mint mate 13 64-bit on vmware workstation .
Now I am sure I got wget . Not quite sure about those other 2 requirements . Here is what I get :
---------------------------------------------------------------------
Code:
sepehr@SEPEHR-V-Linux ~ $ sudo apt-get install ruby rubygems
[sudo] password for sepehr:
Reading package lists... Done
Building dependency tree
Reading state information... Done
ruby is already the newest version.
rubygems is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 18 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue [Y/n]? y
Setting up ruby-rvm (1.6.9-0ubuntu2) ...
dpkg-statoverride: error: syntax error: unknown group 'admin' in statoverride file
dpkg: error processing ruby-rvm (--configure):
subprocess installed post-installation script returned error exit status 2
Errors were encountered while processing:
ruby-rvm
E: Sub-process /usr/bin/dpkg returned an error code (1)
sepehr@SEPEHR-V-Linux ~ $
------------------------------------------
sudo gem install --no-r{doc,i} nokogiri
Building native extensions. This could take a while...
ERROR: Error installing nokogiri:
ERROR: Failed to build gem native extension.
/usr/bin/ruby1.8 extconf.rb
checking for libxml/parser.h... yes
checking for libxslt/xslt.h... no
-----
libxslt is missing. please visit http://nokogiri.org/tutorials/installing_nokogiri.html for help with installing dependencies.
-----
*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of
necessary libraries and/or headers. Check the mkmf.log file for more
details. You may need configuration options.
Provided configuration options:
--with-opt-dir
--without-opt-dir
--with-opt-include
--without-opt-include=${opt-dir}/include
--with-opt-lib
--without-opt-lib=${opt-dir}/lib
--with-make-prog
--without-make-prog
--srcdir=.
--curdir
--ruby=/usr/bin/ruby1.8
--with-zlib-dir
--without-zlib-dir
--with-zlib-include
--without-zlib-include=${zlib-dir}/include
--with-zlib-lib
--without-zlib-lib=${zlib-dir}/lib
--with-iconv-dir
--without-iconv-dir
--with-iconv-include
--without-iconv-include=${iconv-dir}/include
--with-iconv-lib
--without-iconv-lib=${iconv-dir}/lib
--with-xml2-dir
--without-xml2-dir
--with-xml2-include
--without-xml2-include=${xml2-dir}/include
--with-xml2-lib
--without-xml2-lib=${xml2-dir}/lib
--with-xslt-dir
--without-xslt-dir
--with-xslt-include
--without-xslt-include=${xslt-dir}/include
--with-xslt-lib
--without-xslt-lib=${xslt-dir}/lib
--with-libxslt-config
--without-libxslt-config
--with-pkg-config
--without-pkg-config
--with-libxml-2.0-config
--without-libxml-2.0-config
--with-libiconv-config
--without-libiconv-config
Gem files will remain installed in /var/lib/gems/1.8/gems/nokogiri-1.5.5 for inspection.
Results logged to /var/lib/gems/1.8/gems/nokogiri-1.5.5/ext/nokogiri/gem_make.out
-----------------------------------------------
sepehr@SEPEHR-V-Linux ~/Desktop $ ruby wallpaperswide_dot_com.rb
wallpaperswide_dot_com.rb:140:in `require': no such file to load -- nokogiri (LoadError)
from wallpaperswide_dot_com.rb:140
sepehr@SEPEHR-V-Linux ~/Desktop $
----------------------------------------------