kdewebdev-4.2.x and ruby

Agathoklis D. Hatzimanikas a.hatzim at gmail.com
Wed Apr 8 11:12:08 PDT 2009


On Wed, Apr 08, at 06:28 lux-integ wrote:
> Greetings,
> 
> 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.
> 
> I would be grateful for some guidance on   any links that need to be made that   
> allows ruby to be seen by cmake.

I would recommend you to go with Ruby-1.8.* as the most applications are
still not 1.9.* aware (they might work but quite probably they won't).

In a related note, in 1.9.* the location of the installed headers had
changed in such way that is a little bit harder for applications to find
them during initial configuration and use them during compilation.

In any case if you want to proceed with the 1.9 branch you can use
something like:

cmake CXXFLAGS="${CXXFLAGS} -I/usr/include/ruby-1.9.1/     \
                   -I/usr/include/ruby-1.9.1/i686-linux/"  \
              CFLAGS="${CFLAGS} -I/usr/include/ruby-1.9.1/ \
                   -I/usr/include/ruby-1.9.1/i686-linux/"

That will work for make, not sure about cmake that Kde uses though.

> lux-integ

Regards,
Ag.



More information about the blfs-support mailing list