Congratulations President-elect Barack Obama! Yes We Can!
You’d think it would be harder, but it’s not. Not that it’s documented well anywhere, which is why I’m writing this.
- Go to java.com.
- Download the linux RPM installer for your cpu type.
- sh /path/to/downloaded.rpm.bin
- follow the bouncing ball.
And that’s it.
[mycentosvm:~] root# java -version
java version "1.6.0_06"
Java(TM) SE Runtime Environment (build 1.6.0_06-b02)
Java HotSpot(TM) 64-Bit Server VM (build 10.0-b22, mixed mode)
Posted in Computers, Linux
|
So I’m updating my laptop to reflect the same environment as my servers – which means getting rid of macports. Part of the process was to update all the rubygems we’ve got installed. I tried to ‘gem up libxml-ruby’ and was disappointed to see
[rts-mbp:~] ryan$ sudo gem up libxml-ruby
Updating installed gems
Updating libxml-ruby
Building native extensions. This could take a while...
ERROR: While executing gem ... (Gem::Installer::ExtensionBuildError)
ERROR: Failed to build gem native extension.
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby extconf.rb up
checking for socket() in -lsocket... no
checking for gethostbyname() in -lnsl... no
checking for atan() in -lm... no
checking for atan() in -lm... yes
checking for inflate() in -lz... yes
checking for iconv_open() in -liconv... yes
checking for xmlParseDoc() in -lxml2... yes
checking for libxml/xmlversion.h... yes
checking for xmlDocFormatDump()... yes
checking for docbCreateFileParserCtxt()... yes
creating extconf.h
creating Makefile
make
gcc -I. -I. -I/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/universal-darwin9.0 \
-I. -DRUBY_EXTCONF_H=\"extconf.h\" -fno-common -arch ppc -arch i386 -Os -pipe -fno-common -I. \
-I/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/universal-darwin9.0 -I. -c cbg.c
cbg.c:2:26: error: libxml/xmlIO.h: No such file or directory
cbg.c:2:26: error: libxml/xmlIO.h: No such file or directory
cbg.c: In function ‘deb_Match’:
cbg.c:28: error: ‘BAD_CAST’ undeclared (first use in this function)
cbg.c:28: error: (Each undeclared identifier is reported only once
cbg.c:28: error: for each function it appears in.)
cbg.c:28: error: syntax error before ‘filename’
cbg.c: In function ‘deb_Match’:
cbg.c:28: error: ‘BAD_CAST’ undeclared (first use in this function)
cbg.c:28: error: (Each undeclared identifier is reported only once
cbg.c:28: error: for each function it appears in.)
cbg.c:28: error: syntax error before ‘filename’
lipo: can't open input file: /var/tmp//ccpl6OUz.out (No such file or directory)
make: *** [cbg.o] Error 1
Gem files will remain installed in /Library/Ruby/Gems/1.8/gems/libxml-ruby-0.5.4 for inspection.
Results logged to /Library/Ruby/Gems/1.8/gems/libxml-ruby-0.5.4/ext/libxml/gem_make.out
[rts-mbp:~] ryan$
Turns out after a bit of digging around in the Makefile that the INCPATH doesn’t include the correct path to xmlIO.h, which is /usr/include/libxml2/libxml/xmlIO.h.
ln to the rescue. Just do
sudo ln -s /usr/include/libxml2/libxml /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/universal-darwin9.0/libxml
and libxml-ruby will build fine!
[rts-mbp:~] ryan$ sudo gem up libxml-ruby
Updating installed gems
Updating libxml-ruby
Building native extensions. This could take a while...
Successfully installed libxml-ruby-0.5.4
Gems updated: libxml-ruby
[rts-mbp:~] ryan$
Ok Firefox.

Somehow you decided to disable keywords and it took me a few days to remember how to fix this.
No more. Never again. And for all the other folks this happens to, all you need to do is:
- Open about:config
- type ‘keyword’ in the search bar
- double click keyword.enabled so it reads true
Then rejoice as things work as expected again. If you’re looking for a great entry for keyword.URL, use YubNub – you’ll never look back.
My friend John made me think of my all-time favorite Creationist propaganda site, Objective Ministries.
The whole site is filled with fun flash embeds where you can hear their characters say things like “Shalom”, and meow when you click on their cross necklace.
They even have a page for kids, where they advise children : “If you find an Atheist in your neighborhood, TELL A PARENT OR PASTOR RIGHT AWAY!”
Also suggested is that Atheists love coffee:

Guess that’s why our church brews the good stuff, trying to attract all those Gooooooooooooooooooooodless coffee lovin’ heathens…
Not so much a redesign as a new header and an upgrade of K2. Whaddya think? (Here’s a screencap of the old one for those of you reading from your RSS readers…)
*embarrassed to have forgotten this* Much props to Faruk for the original photo!
Just checking out my old friends at The Planet and a window popped up offering to help me via chat. Ok, I’m all for saving myself some time.
Here’s some amusement for you:
Customer: do you guys offer any other linux distros (other than RH)?
(Here’s where I waited for 3 minutes for a response)
Customer: ?
(Here’s where I wait another minute)
Luis O: sorry we dont offer distros, we do offer other linux OS’
Um. Ok.
FWIW, I found the answer myself – they offer CentOS, RedHat, and FreeBSD (as well as windows *pukes a little in mouth*).
Well the big iMac giveaway drawing happens in about 24 hours…
Let’s hope my luck continues – This week has been a hum-dinger:
- Last Wednesday, we received an offer on our house
- We countered, and the buyer accepted our counter-offer on Thursday
- We went to look at houses on Saturday, and found one we really liked, and it’s a spec home at juuuuuuust the right stage where we get to have some good input
- We wrote an offer on the spec home for less than the asking price, in exchange for finishing the basement ourselves
- We got word on Sunday that the seller accepted our offer
- We had meetings with 2 lenders on Monday
- We locked a good rate Today with our preferred lender
So all in all, it’s been a great week. I’m praying for some more luck come tomorrow in the drawing, so that little Emma can have an iMac that works!