OS X 10.5 vs. lftp, readline and a HP Photosmart 1115

Compiling the readline 5.2 library and lftp on OS X 10.5, with necessary patches, plus getting an old HP Photosmart printer to work with the system supplied Gutenprint.

Since I have this shiny new Macbook there have been a few things missing. Although I kept being told to use them shiny graphical FTP thingies, I always return to lftp. It does all you could ever want to do with a file transfer program and is not limited to FTP. And apart from that I just don't want an FTP client resembling a rubber duck like on every desktop at work. :x

However… there are obstacles.

readline 5.2

This one does not compile out of the box, however it's just a missing linker flag "-dynamiclib" that is needed on OS X. Obviously the knowledge is all there, it was just forgotten to add Darwin 9 to the list. Invoking the linker command manually or using the patch below will make it compile.

readline 5.2 OS X 10.5 patch

--- readline-5.2/support/shobj-conf 2006-04-11 15:15:43.000000000 +0200 +++ readline-5.2_patched/support/shobj-conf 2009-01-10 11:40:30.000000000 +0100 @@ -142,7 +142,7 @@     ;;    Darwin/MacOS X -darwin8*) +darwin89*)     SHOBJ_STATUS=supported     SHLIB_STATUS=supported      @@ -171,7 +171,7 @@     SHLIB_LIBSUFF='dylib'       case "${host_os}" in -   darwin[78]*)    SHOBJ_LDFLAGS='' +   darwin[789]*)   SHOBJ_LDFLAGS=''             SHLIB_XLDFLAGS='-dynamiclib -arch_only `/usr/bin/arch` -install_name $(libdir)/$@ -current_version $(SHLIB_MAJOR)$(SHLIB_MINOR) -compatibility_version $(SHLIB_MAJOR) -v'             ;;     *)      SHOBJ_LDFLAGS='-dynamic'


Doesn't want to compile either, the configure aborts when trying to include the just compiled libreadline. Running "export LDFLAGS=/usr/local/lib" and rerun configure makes it work just fine. [Note: assuming readline went into the default dir.]

And there it is: LFTP! ^^ Now on to the continued “Ugh, why not use a graphical ftp client?” comments.

The printer drivers from hell

Since I didn't want to install the ancient Turobprint I had on 10.5 again the printer suddenly turned into a piece from electronic waste from the past. Well, HP hardware anyway. *cough* My experiences with HP printer “drivers” for OS X were somewhat unpleasant at best. But since the hardware itself still worked, why not give Gutenprint a try. Well, it way almost boring. OS X already includes version 5.1.3. Plugged in the printer, selected the driver and the Photosmart 1115 worked right away. Truly sad, that HP is unable to provide working drivers themselves. Emphasize on working, there are drivers. ;)

A review about Spice and Wolf season 1.

It's truly fascinating what you find if you keep clicking through the recommendations list on IMDB for a while. Starting at “Black Sheep” I ended up on “Ôkami to kôshinryô” or the rather amusing English title “Spice and Wolf”. With the official website URL being I guess you can already be sure that spicy is related to the wolf and not to Lawrence's trading business. ;) I wonder why they went with the strange English title “Spice and Wolf” instead.

Being only 12 episodes (plus an additional OVA) the main plot is told rather quickly. Lawrence, trader and later dubbed softy by his companion, finds the wolf goddess Horo sleeping in his cart one night. And from then on things go strange ways. It's quite obvious that the story takes place in times of change. In a world where the church is gaining influence with whatever methods they see fit, there is little place for a god people pray to for a good harvest. As people's faith in Horo diminishes there is no more place for her in the old village. So she sets out as Lawrence's companion on a journey returning her to the north.

Contrary to, for example Wolf's Rain, Horo is not a wolf that changes back and forth, but rather drawn the furry way, human girl with tails and ears forming out of her hair. Almost exclusively naked in the first episode ^.^ but they dropped this rather quickly in the following episodes. Well ok, it would draw way to much attention in the world they travel. I guess that first episode is where the title Spicy Wolf truly fits. *cough*

Anyway, the dialogue between Lawrence and Horo is truly magnificent at times, mostly when they argue over the unspoken topic… their relationship. Well, of course there is none, other than the business part. The “side plots” are mostly Lawrences trading business, in which I got slightly lost due to the subtitles rushing by with the speed of light… at least it felt like that.

All in all a series well worth finding and linking to! Who knows, maybe season 2 will come. At least the ending didn't exactly end the storyline in any way.

Edit: It seems various source have confirmed TV season 2! :)

Trophy hunting part 1

After much delay our wonderful postal service caused (7 days for a package from Berlin to Augsburg?) I received the first part of my prize for the coding contest Snowbox won, the book from last year. Yay!

The book for 2005 will be published in print March 2005.

← newer stuff

Index: 1 - 2 - 3 - 4 - 5