kdewebdev-4.2.x and ruby//fixed

lux-integ lux-integ at btconnect.com
Tue Apr 14 16:05:06 PDT 2009

On Wednesday 08 April 2009 06:28:47 pm lux-integ wrote:

> I am using a pure 64-bit (AMD64) cblfs-linux box  to build kde4  from
> sources. I am trying to compile  kdewebdev-4.2.1/4.2.2.  After the cmake
> command,  it complains that ruby is absent.  I installed ruby in   /usr
>  (libraries in /usr/lib/ruby,  headers in /usr/include/ruby-1.9.1)  It
> still fails to fund ruby.  I even edit  CMakelists.txt  and inserted
> /usr/include/ruby-1.9.1 in the  line for 'include_headers'.  This still
> made no difference.

the problem is fixed by 
doing  --enable-shared  in the ruby configure script.
Ruby is found and compilation goes to completion. (I am using ruby-1.9.1-p0)
I also   edited  ~/share/cmake(version)/FindRuby  (i.e. ~ =where cmake is 
installed)   to include the folowing:-

   NAMES ruby.h
  /usr/lib/ruby/1.9.1/x86_64-linux/ )

I dont know if it made any difference but it may be  useful (for pure 64-bit 
users) to keep  things up to date.
thanks to everyone who tried to help and  hope the above is useful 


More information about the blfs-support mailing list