I know. The subject is enough all on its own, but there's more.

Build systems suck. We know this. They all suck, and what they mostly
suck is hate, so they are all full of hate.

~# gem install webrat
checking for iconv.h in 
/opt/local/include/,/opt/local/include/libxml2,/opt/local/include,/opt/local/include,/opt/local/include/libxml2,/usr/local/include,/usr/local/include/libxml2,/usr/include,/usr/include/libxml2,/usr/include,/usr/include/libxml2...
 no
iconv is missing.  try 'port install iconv' or 'yum install iconv'


iconv is missing you say?

~# ls -l /usr/include/iconv.h 
-rw-r--r-- 1 root root 1949 Jan  4  2009 /usr/include/iconv.h


No it fucking isn't. Whatever could the problem be?

Check log file:

"cc -E -I. -I/usr/lib/ruby/1.8/x86_64-linux -I. -I/opt/local/include/ 
-I/opt/local/include/libxml2 -I/opt/local/include    -fno-strict-aliasing -g -g 
-O2  -fPIC    -g -DXP_UNIX -O3 -Wall -Wcast-qual -Wwrite-strings -Wconversion 
-Wmissing-noreturn -Winline -I/usr/include conftest.c -o conftest.i"
checked program was:
/* begin */
1: #include <iconv.h>
/* end */


No logged output at all. Why would I want the output of a failure to be
logged in the logfile. I was stupid to assume that would be the case,
because naturally everybody wants to run the test themselves so they can
*feel* the output. It's more sexy that way. Or something.

Although it did run the test 3 times, in case something changed
in-between.

So because I want maximum sexy, I do run the test myself.

~# cat <<EOF > conftest.c
#include <iconv.h>
EOF
~# cc -E -I. -I/usr/lib/ruby/1.8/x86_64-linux -I. -I/opt/local/include/ 
-I/opt/local/include/libxml2 -I/opt/local/include    -fno-strict-aliasing -g -g 
-O2  -fPIC    -g -DXP_UNIX -O3 -Wall -Wcast-qual -Wwrite-strings -Wconversion 
-Wmissing-noreturn -Winline  conftest.c -o conftest.i
-bash: cc: command not found
~#


Ohhhh! Of course. So when you say "iconv is missing" what you really
mean is "there is no compiler installed you klutz".

Hate!

How is it that all the New! Improved! build systems still manage to
contain more hate than GNU's abomination? For the love of small furry
creatures! Stallman's a *hippy*. Can nobody seriously improve on the
love-child of a hippy??

Matthew

-- 
I must take issue with the term "a mere child", for it has been my
invariable experience that the company of a mere child is infinitely
preferable to that of a mere adult.
                                           --  Fran Lebowitz
  • Ruby Matthew King

Reply via email to