Package: cmake
Version: 2.6.3-2
Severity: normal

I was running "cmake ." for Canorus and being told:

Ruby Library and Development files *not* found. Ruby extensions disabled!

The CMakeLists.txt that outputed that text had:

FIND_PACKAGE(Ruby)      #Setup RUBY_INCLUDE_PATH and RUBY_LIBRARIES
IF(RUBY_INCLUDE_PATH AND NOT NO_RUBY)
        MESSAGE("Ruby Library and Development files found. Ruby extensions enabl
ed.")
        SET(USE_RUBY True)
    # Create empty file as needed so build does not stop here
        FILE(APPEND ${CMAKE_CURRENT_SOURCE_DIR}/scripting/canorusrubyRUBY_wrap.c
xx "")
ELSE(RUBY_INCLUDE_PATH AND NOT NO_RUBY)
        MESSAGE("Ruby Library and Development files *not* found. Ruby extensions
 disabled!")
        SET(RUBY_LIBRARY "")
ENDIF(RUBY_INCLUDE_PATH AND NOT NO_RUBY)

However, I have the following ruby packages installed:

dpkg -l|grep ruby
ii  libatk1-ruby1.8                              0.18.1-1+b1                    
            ATK bindings for the Ruby language
ii  libcairo-ruby1.8                             1.6.3-1                        
            Cairo bindings for the Ruby language
ii  libgdk-pixbuf2-ruby1.8                       0.18.1-1+b1                    
            Gdk-Pixbuf 2 bindings for the Ruby language
rc  libgems-ruby1.8                              0.9.4-4                        
            libraries to use RubyGems, a package managem
ii  libgettext-ruby-util                         1.93.0-1                       
            Gettext utilities for ruby
ii  libgettext-ruby1.8                           1.93.0-1                       
            Gettext for ruby1.8
ii  libglib2-ruby1.8                             0.18.1-1+b1                    
            Glib 2 bindings for the Ruby language
ii  libgtk2-ruby                                 0.18.1-1                       
            GTK+ bindings for the Ruby language
ii  libgtk2-ruby1.8                              0.18.1-1+b1                    
            GTK+ bindings for the Ruby language
ii  libpango1-ruby1.8                            0.18.1-1+b1                    
            Pango bindings for the Ruby language
ii  libqt4-ruby                                  4:4.2.2-1                      
            Qt4 ruby bindings
ii  libqt4-ruby1.8                               4:4.2.2-1                      
            Qt4 bindings for ruby
ii  libqtruby4shared2                            4:4.2.2-1                      
            internal library for Qt4 ruby bindings
ii  libreadline-ruby1.8                          1.8.7.72-3.1                   
            Readline interface for Ruby 1.8
ii  libruby1.8                                   1.8.7.72-3.1                   
            Libraries necessary to run Ruby 1.8
ii  libsdl-ruby                                  1.3.1-1                        
            Ruby/SDL interface for Ruby
ii  libsdl-ruby1.8                               1.3.1-1                        
            Ruby/SDL interface for Ruby
ii  ruby                                         4.2                            
            An interpreter of object-oriented scripting
ii  ruby-dev                                     4.2                            
            Header files for compiling extension modules
ii  ruby1.8                                      1.8.7.72-3.1                   
            Interpreter of object-oriented scripting lan
ii  ruby1.8-dev                                  1.8.7.72-3.1                   
            Header files for compiling extension modules
ii  rubygems                                     1.2.0-3                        
            package management framework for Ruby librar
ii  rubygems1.8                                  1.2.0-3                        
            package management framework for Ruby librar

Is there an error in the CMakeLists.txt, or FindRuby.cmake, or have I 
missed a package that has the files that FindRuby is looking for?

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.29-1-686 (SMP w/1 CPU core)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages cmake depends on:
ii  cmake-data             2.6.3-2           CMake data files (modules, templat
ii  libc6                  2.9-7             GNU C Library: Shared libraries
ii  libcurl3-gnutls        7.18.2-8.1        Multi-protocol file transfer libra
ii  libexpat1              2.0.1-4           XML parsing C library - runtime li
ii  libgcc1                1:4.3.3-7         GCC support library
ii  libstdc++6             4.3.3-7           The GNU Standard C++ Library v3
ii  libxmlrpc-c3           1.06.27-1         A lightweight RPC library based on
ii  zlib1g                 1:1.2.3.3.dfsg-13 compression library - runtime

cmake recommends no packages.

cmake suggests no packages.

-- debconf-show failed



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to