FindRuby.cmake points to wrong path

Bug #70068 reported by Steffinuss
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
cmake (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: cmake

I tried to configure and compile a software with cmake and got an error concerning the variable RUBY_INCLUDE_PATH

I found out, that the problem is in

/usr/share/CMake/Modules/FindRuby.cmake

which is part of the cmake package.

This file points to

SET(RUBY_POSSIBLE_INCLUDE_PATHS
  /usr/lib/ruby/1.8/i386-linux
  )

but it has to be:

SET(RUBY_POSSIBLE_INCLUDE_PATHS
  /usr/lib/ruby/1.8/i486-linux
  )

So i386 has to be replaced by i486, than it works (the directory /usr/lib/ruby/1.8/i386-linux does not exist on my System (i686 / Pentium M Laptop)). Maybe someone can repair the cmake package.

Steffinuss

Revision history for this message
Alexander Neundorf (neundorf) wrote :

Which version of cmake is this ?
In current cmake 2.4.4 this should be fixed.

Revision history for this message
Matevž Jekovec (matevz-jekovec) wrote :

2.4.4 finds the Ruby includes now, but fails on findng the ruby library name - it searches for libruby.so, but libruby1.8.so is installed.

Should this bug be reported to upstream source or is this Ubuntu-related?

Revision history for this message
Alexander Neundorf (neundorf) wrote : Re: [Bug 70068] Re: FindRuby.cmake points to wrong path

On Thursday 07 December 2006 02:03, Matevz Jekovec wrote:
> 2.4.4 finds the Ruby includes now, but fails on findng the ruby library
> name - it searches for libruby.so, but libruby1.8.so is installed.
>
> Should this bug be reported to upstream source or is this Ubuntu-
> related?

Upstream please.
So there is really no libruby.so on your system, only a libruby1.8.so, right ?

Bye
Alex
--
Work: alexander.neundorf AT jenoptik.com - http://www.jenoptik-los.de
Home: neundorf AT kde.org - http://www.kde.org
      alex AT neundorf.net - http://www.neundorf.net

Revision history for this message
Matevž Jekovec (matevz-jekovec) wrote :

Yes, no libruby.so, only libruby1.8.so:

matevz@mojazver:~$ ls /usr/lib/libruby*
/usr/lib/libruby1.8.so /usr/lib/libruby1.8.so.1.8 /usr/lib/libruby1.8.so.1.8.5 /usr/lib/libruby1.8-static.a

I'm running feisty unstable.

I'll contact cmake.org...

Revision history for this message
Matevž Jekovec (matevz-jekovec) wrote :
Revision history for this message
Sebastian Rode (sebastian-ro-deactivatedaccount) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. You reported this bug a while ago. Bug 4164 is fixed. Is this bug fixed to? Thanks in advance.

Changed in cmake:
status: New → Incomplete
Revision history for this message
wolfger (wolfger) wrote :

No response in over 4 months, and link to upstream bug is now dead. We are closing this bug report because it lacks the information we need to investigate the problem, as described in the previous comments. Please reopen it if you can give us the missing information, and don't hesitate to submit bug reports in the future. To reopen the bug report you can click on the current status, under the Status column, and change the Status back to "New". Thanks again!

Changed in cmake:
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.