Your message dated Wed, 13 Jun 2007 11:17:03 +0000
with message-id <[EMAIL PROTECTED]>
and subject line Bug#407481: fixed in cmake 2.4.6-0
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: cmake
Version: 2.4.5-1
Severity: normal

Hello,

cmake cannot find the ruby library .  I am trying to compile some
software (canorus , a music note editor) that uses cmake to create it's
Makefile.  cmake is failing, unable to find the ruby library; it appears
to be looking for the wrong library name.  Here is an example of the
error message it returns:


    [EMAIL PROTECTED]:/tmp/baz/canorus_svn_trunk$ cmake .
    -- Found Qt-Version 4.2.1
    SWIG found, using scripting extensions.
    Ruby Library and Development files found. Ruby extensions enabled.
    Python Library and Development files found. Python extensions enabled.
    CMake Error: This project requires some variables to be set,
    and cmake can not find them.
    Please set the following variables:
    RUBY_LIBRARY (ADVANCED)

    -- Configuring done

I first tried setting and exporting a RUBY_LIBRARY variable in my
envoronment, but that did not help.
    [EMAIL PROTECTED]:/tmp/baz/canorus_svn_trunk$ echo $RUBY_LIBRARY
    /usr/lib/libruby1.8.so

I was able to correct the problem by editing
"/usr/share/cmake-2.4/Modules/FindRuby.cmake" from the cmake package and
adding "ruby1.8" to the list of libraries to search for (that appears to
be how debian packages the ruby library).

--- /usr/share/cmake-2.4/Modules/FindRuby.cmake_org     2007-01-18
14:30:30.000000000 -0500
+++ /usr/share/cmake-2.4/Modules/FindRuby.cmake 2007-01-18
14:36:05.000000000 -0500
@@ -46,7 +46,7 @@
   /usr/lib/ruby/1.8/i586-linux-gnu/ )

 FIND_LIBRARY(RUBY_LIBRARY
-  NAMES ruby
+  NAMES ruby ruby1.8
   PATHS ${RUBY_POSSIBLE_LIB_PATH}
   )



thanks,
donfede

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15.2-xwing-1
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)

Versions of packages cmake depends on:
ii  libc6                        2.3.6.ds1-6 GNU C Library: Shared libraries
ii  libgcc1                      1:4.1.1-13  GCC support library
ii  libncurses5                  5.5-3       Shared libraries for terminal hand
ii  libstdc++6                   4.1.1-13    The GNU Standard C++ Library v3

cmake recommends no packages.

-- no debconf information


--- End Message ---
--- Begin Message ---
Source: cmake
Source-Version: 2.4.6-0

We believe that the bug you reported is fixed in the latest version of
cmake, which is due to be installed in the Debian FTP archive:

cmake_2.4.6-0.diff.gz
  to pool/main/c/cmake/cmake_2.4.6-0.diff.gz
cmake_2.4.6-0.dsc
  to pool/main/c/cmake/cmake_2.4.6-0.dsc
cmake_2.4.6-0_amd64.deb
  to pool/main/c/cmake/cmake_2.4.6-0_amd64.deb
cmake_2.4.6.orig.tar.gz
  to pool/main/c/cmake/cmake_2.4.6.orig.tar.gz



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Pierre Habouzit <[EMAIL PROTECTED]> (supplier of updated cmake package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [EMAIL PROTECTED])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Wed, 13 Jun 2007 12:39:42 +0200
Source: cmake
Binary: cmake
Architecture: source amd64
Version: 2.4.6-0
Distribution: experimental
Urgency: low
Maintainer: A. Maitland Bottoms <[EMAIL PROTECTED]>
Changed-By: Pierre Habouzit <[EMAIL PROTECTED]>
Description: 
 cmake      - A cross-platform, open-source make system
Closes: 407481 408846
Changes: 
 cmake (2.4.6-0) experimental; urgency=low
 .
   * New upstream release (experimental upload, 2.4.5 must propagate):
      + Ruby NAMES now includes ruby1.8 (Closes: 407481).
 .
   * Add patch to support NSIS on linux properly,
     thanks to Michal Čihař (Closes: 408846).
Files: 
 e62954adb09a7271b2d1dfbaf908bbfa 643 devel optional cmake_2.4.6-0.dsc
 c99c747ad8e9bfb3bef9cca875a52129 2604547 devel optional cmake_2.4.6.orig.tar.gz
 be627fc27a57bc3767cf735cdade1689 19058 devel optional cmake_2.4.6-0.diff.gz
 74e24776d7c633669b919ab142f0c3fc 5003680 devel optional cmake_2.4.6-0_amd64.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFGb8/FvGr7W6HudhwRAu9MAKCgcFuDV8dIQh4D6qGPD+fcAU9afwCcDUPS
dB9ox58HVz2W/0EoQlV/UPI=
=NUQg
-----END PGP SIGNATURE-----


--- End Message ---

Reply via email to