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:-
FIND_PATH(RUBY_INCLUDE_PATH
NAMES ruby.h
PATHS
${RUBY_ARCH_DIR}
/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
regards
lux-integ
--
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page