Friday, March 4, 2011

ruby-libvirt mailing list

I want to download the mailing list archive and read it later
wget --mirror https://www.redhat.com/archives/libvir-list/

let's see if we can remember to actually read it.

Thursday, March 3, 2011

mplayer issues (libglut)

So you think that you have installed mplayer....

which mplayer
/usr/bin/mplayer


... but when you fire it up you get an err like this

mplayer: error while loading shared libraries: libglut.so.3: cannot open shared object file: No such file or directory

All you have to do is install another package. A missing dependency, perhaps?

yum search glut
Not loading "blacklist" plugin, as it is disabled
Not loading "whiteout" plugin, as it is disabled
Loaded plugins: langpacks, presto, refresh-packagekit
Adding en_US to language list
Config time: 0.026
Yum Version: 3.2.28
Setting up Package Sacks
pkgsack time: 0.571
rpmdb time: 0.000
tags time: 0.006
================================ Matched: glut =================================
freeglut.i686 : A freely licensed alternative to the GLUT library
freeglut-devel.i686 : Freeglut developmental libraries and header files
mingw32-freeglut.noarch : Fedora MinGW alternative to the OpenGL Utility Toolkit
: (GLUT)
ghc-GLUT.i686 : Haskell GLUT library
ghc-GLUT-devel.i686 : Haskell GLUT library development files
ghc-GLUT-prof.i686 : Profiling libraries for Haskell GLUT library
hugs98-glut.i686 : GLUT package for Hugs98
taoframework-freeglut.i686 : The Tao Framework for Mono, freeglut Bindings
taoframework-freeglut-devel.i686 : The Tao Framework for Mono, freeglut Bindings
: development files
PyOpenGL.noarch : Python bindings for OpenGL
alleggl.i686 : OpenGL support library for Allegro
fltk.i686 : C++ user interface toolkit
perl-OpenGL.i686 : Perl OpenGL bindings
rubygem-ruby-opengl.i686 : OpenGL Interface for Ruby



Just install freeglut.i686 and you are good to go!

Wednesday, March 2, 2011

Fedora 14 - HP Elite 2530p

I got this laptop from some dude on gumtree.

dmidecode | grep -i hp
Product Name: HP EliteBook 2530p
String 3: www.hp.com


It's small, light and has an extended battery. Golly, I even get five hours of the thing. The ooooooooonly issue was getting the wireless driver to work. Typically it's easy to install the firmware for the wireless thingy.

First off, let's see what wireless thang we have.

lspci | grep -i net
00:19.0 Ethernet controller: Intel Corporation 82567LM Gigabit Network Connection (rev 03)
02:00.0 Network controller: Broadcom Corporation BCM4312 802.11b/g LP-PHY (rev 01)


it's that last line. This device needs firmware - grrr!

dmesg | grep http
[ 18.678999] b43-phy0 ERROR: You must go to http://wireless.kernel.org/en/users/Drivers/b43#devicefirmware and download the correct firmware for this driver version. Please carefully read all instructions on this website.


Well there you go. It's all the in one simple line. Just visit the URL and follow the instructions. You don't even need to reboot the laptop once the driver has been installed. Just hit the wifi button along the top of the keyboard and you'll see the network manager icon, swirling around as it detects local wireless networks, if any.

google-chrome browser fedora 14 64 bit

  • visit http://www.google.com/chrome/eula.html
  • download the 64-bit rpm for fedora
  • yum install redhat-lsb.x86_64 -y
  • rpm -U google-chrome-stable_current_x86_64.rpm

check that the rpm has been installed

which google-chrome

if you see anything like the output shown below then you are good to go!
/usr/bin/google-chrome

guess who's back

;-)

Tuesday, November 2, 2010

CPAN force install Web::Scraper



Test Summary Report
-------------------
t/xml-simple.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: No plan found in TAP output
Files=22, Tests=40, 4 wallclock secs ( 0.10 usr 0.04 sys + 3.27 cusr 0.33 csys = 3.74 CPU)
Result: FAIL
Failed 1/22 test programs. 0/40 subtests failed.
make: *** [test_dynamic] Error 2
MIYAGAWA/Web-Scraper-0.32.tar.gz
make test -- NOT OK
//hint// to see the cpan-testers results for installing this module, try:
reports MIYAGAWA/Web-Scraper-0.32.tar.gz
Running make install
Appending installation info to /usr/lib/perl/5.10/perllocal.pod
Installing /usr/local/share/perl/5.10.1/Web/Scraper.pm
Installing /usr/local/share/perl/5.10.1/Web/Scraper/LibXML.pm
Installing /usr/local/share/perl/5.10.1/Web/Scraper/Filter.pm
Installing /usr/local/man/man3/Web::Scraper::Filter.3pm
Installing /usr/local/man/man3/Web::Scraper.3pm
Installing /usr/local/man/man3/Web::Scraper::LibXML.3pm
Installing /usr/local/bin/scraper
MIYAGAWA/Web-Scraper-0.32.tar.gz
make install -j3 -- OK
Failed during this command:
TOKUHIROM/HTML-TreeBuilder-LibXML-0.12.tar.gz: make_test FAILED but failure ignored because 'force' in effect
MIYAGAWA/Web-Scraper-0.32.tar.gz : make_test FAILED but failure ignored because 'force' in effect

install Web::scraper



Test Summary Report
-------------------
t/xml-simple.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: No plan found in TAP output
Files=22, Tests=40, 4 wallclock secs ( 0.11 usr 0.03 sys + 3.31 cusr 0.26 csys = 3.71 CPU)
Result: FAIL
Failed 1/22 test programs. 0/40 subtests failed.
make: *** [test_dynamic] Error 2
MIYAGAWA/Web-Scraper-0.32.tar.gz
make test -- NOT OK
//hint// to see the cpan-testers results for installing this module, try:
reports MIYAGAWA/Web-Scraper-0.32.tar.gz
Running make install
make test had returned bad status, won't install without force
Failed during this command:
PAJAS/XML-LibXML-1.70.tar.gz : writemakefile NO -- No 'Makefile' created

TOKUHIROM/HTML-TreeBuilder-LibXML-0.12.tar.gz: make_test NO
MIYAGAWA/Web-Scraper-0.32.tar.gz : make_test NO