an eddy in the bitstream

Category: general (Page 26 of 30)

Lemur Project

Lemur Project is an information retrieval development library.

How to build Lemur 3.1 for OS X (10.3.9)

See http://www.lemurproject.org/phorum/read.php?11,840

The note about “copy Apple’s config.guess from /sw” is ambiguous. What I did was create a shell script that does:

#!/bin/sh
echo 'powerpc-apple-aux'
exit 

and then make all the src modifications as indicated in the URL above.

Tip: this one-liner will updated the include paths in the src files:

grep -r 'include ' * | \
grep 'indri/Parameters' | \
perl -n -e 's/:.*//;print' | \
xargs perl -pi.orig -e \
's,indri/Parameters.hpp,indri/IndriParameters.hpp,' 

Spurious errors about '-static: no such option' from the g++ compiler can be ignored, or might try --disabled-shared option to configure.

Endian

I did not know this:

The names `big-endian’ and `little-endian’ are comic references to the classic “Gulliver’s Travels” (via the paper “On Holy Wars and a Plea for Peace” by Danny Cohen, USC/ISI IEN 137, April 1, 1980) and the egg-eating habits of the Lilliputians.

From the perlfunc man page discussion of the pack() function.

Endian-ness is one of those esoteric (or not) computer subjects that makes the internet work (or not). Basically, do you (or more accurately, your computer) count from left-to-right, or right-to-left. Little endian is left-to-right (1234) and big-endian right-to-left (4321).

« Older posts Newer posts »

© 2024 peknet

Theme by Anders NorenUp ↑