Project

General

Profile

ActionsLike0

Bug #8115

closed

make install DESTDIR=/my/install/path fails

Added by vo.x (Vit Ondruch) about 12 years ago. Updated over 10 years ago.

Status:
Closed
Target version:
-
ruby -v:
ruby 2.0.0p247 (2013-06-27 revision 41674) [x86_64-linux]
[ruby-core:53502]

Description

=begin
In Fedora packaging, we used to use (({make install DESTDIR=/my/install/path})) to install compiled extension into the folder, which RPM used to pick up the extension. However, since Ruby 2.0.0, this approach fails with message such as;

make install DESTDIR=/builddir/build/BUILDROOT/ruby-mysql-2.8.2-9.fc20.i386
make: *** No rule to make target /builddir/build/BUILDROOT/ruby-mysql-2.8.2-9.fc20.i386/usr/include/ruby.h', needed by mysql.o'. Stop.

Apparently, the mkmf creates Makefile, where everything depends on DESTDIR (see the diff of makefiles here [1]). This is wrong IMO, since obviously Ruby's header files location has nothing to do with location I'd like to install my libraries.

Could you fix this issue? Or if that was always wrong approach, could you provide us better one?

Please note that this was originally reported here: https://bugzilla.redhat.com/show_bug.cgi?id=921650

[1] https://gist.github.com/voxik/5186924
=end


Files

#1

Updated by nobu (Nobuyoshi Nakada) about 12 years ago

  • Status changed from Open to Closed
  • % Done changed from 0 to 100

Updated by vo.x (Vit Ondruch) about 12 years ago

#4

Updated by nobu (Nobuyoshi Nakada) almost 12 years ago

  • Tracker changed from Bug to Backport
  • Project changed from Ruby to 15
  • Category deleted (build)
  • Assignee changed from nobu (Nobuyoshi Nakada) to nagachika (Tomoyuki Chikanaga)
#5

Updated by nagachika (Tomoyuki Chikanaga) almost 12 years ago

  • Status changed from Assigned to Closed
#8

Updated by nagachika (Tomoyuki Chikanaga) almost 12 years ago

  • Tracker changed from Backport to Bug
  • Project changed from 15 to Ruby
  • Status changed from Closed to Assigned
  • Assignee changed from nagachika (Tomoyuki Chikanaga) to nobu (Nobuyoshi Nakada)

Updated by nobu (Nobuyoshi Nakada) almost 12 years ago

  • Category set to ext
  • ruby -v set to 2.0.0

Updated by vo.x (Vit Ondruch) almost 12 years ago

#12

Updated by nobu (Nobuyoshi Nakada) almost 12 years ago

  • Status changed from Assigned to Closed
#13

Updated by nagachika (Tomoyuki Chikanaga) almost 12 years ago

  • Tracker changed from Bug to Backport
  • Project changed from Ruby to 15
  • Category deleted (ext)
  • Status changed from Closed to Assigned
  • Assignee changed from nobu (Nobuyoshi Nakada) to nagachika (Tomoyuki Chikanaga)
#14

Updated by nagachika (Tomoyuki Chikanaga) almost 12 years ago

  • Status changed from Assigned to Closed
#16

Updated by usa (Usaku NAKAMURA) almost 12 years ago

  • Project changed from 15 to Ruby
  • Status changed from Closed to Assigned
  • Assignee changed from nagachika (Tomoyuki Chikanaga) to nobu (Nobuyoshi Nakada)
  • Tracker changed from Backport to Bug

Updated by vo.x (Vit Ondruch) almost 12 years ago

  • ruby -v set to ruby 2.0.0p247 (2013-06-27 revision 41674) [x86_64-linux]
#18

Updated by nobu (Nobuyoshi Nakada) almost 12 years ago

  • Status changed from Assigned to Closed
#19

Updated by nobu (Nobuyoshi Nakada) over 10 years ago

  • Backport set to 2.0.0: REQUIRED, 2.1: DONE

Updated by usa (Usaku NAKAMURA) over 10 years ago

  • Backport changed from 2.0.0: REQUIRED, 2.1: DONE to 2.0.0: DONE, 2.1: DONE
ActionsLike0

Also available in: Atom PDF