search for: sitearchdir

Displaying 9 results from an estimated 9 matches for "sitearchdir".

Did you mean: searchdir
2012 Feb 10
3
Installing from source missing -lruby18 in linking.
...g::CONFIG["LIBS"] rake/rakeconfigure.rb:OBJ_EXT = Config::CONFIG["OBJEXT"] rake/rakewx.rb:$ruby_exe = Config::CONFIG["ruby_install_name"] rake/rakewx.rb: dest_dir = Config::CONFIG[''sitelibdir''] rake/rakewx.rb: cp TARGET_LIB, Config::CONFIG[''sitearchdir''] rake/rakewx.rb: rm_rf File.join(Config::CONFIG[''sitearchdir''],File.basename(TARGET_LIB)) rake/rakewx.rb: rm_rf File.join(Config::CONFIG[''sitelibdir''], ''wx.rb'') rake/rakewx.rb: rm_rf File.join(Config::CONFIG[''sitelibdir'...
2014 Jan 16
1
[PATCH] hivex: ruby: Support 'make INSTALLDIRS=vendor install' for Ruby
...e42 100644 --- a/ruby/Makefile.am +++ b/ruby/Makefile.am @@ -45,13 +45,17 @@ all: $(RAKE) build $(RAKE) rdoc -RUBY_SITELIB := $(shell $(RUBY) -rrbconfig -e "puts RbConfig::CONFIG['sitelibdir']") -RUBY_SITEARCH := $(shell $(RUBY) -rrbconfig -e "puts RbConfig::CONFIG['sitearchdir']") +# Packagers can override this by doing: make INSTALLDIRS=vendor install +# INSTALLDIRS also affects where Perl bindings are installed. +INSTALLDIRS = site + +RUBY_LIBDIR := $(shell $(RUBY) -rrbconfig -e "puts RbConfig::CONFIG['$(INSTALLDIRS)libdir']") +RUBY_ARCHDIR :...
2011 Dec 06
1
[PATCH] let the user explicitly choose ruby and rake programs
...TMPDIR=$(top_builddir) \ + RUBY=$(RUBY) all: $(generator_built) - rake build - rake rdoc + $(RAKE) build + $(RAKE) rdoc -RUBY_SITELIB := $(shell ruby -rrbconfig -e "puts Config::CONFIG['sitelibdir']") -RUBY_SITEARCH := $(shell ruby -rrbconfig -e "puts Config::CONFIG['sitearchdir']") +RUBY_SITELIB := $(shell $(RUBY) -rrbconfig -e "puts Config::CONFIG['sitelibdir']") +RUBY_SITEARCH := $(shell $(RUBY) -rrbconfig -e "puts Config::CONFIG['sitearchdir']") install: $(MKDIR_P) $(DESTDIR)$(RUBY_SITELIB) diff --git a/ruby/Rakefile.in...
2006 Oct 23
2
patch for rake install
The attached patch fixes the task for non-gem installation. It adds installation of the version and class ruby files, and puts things in the right place (wx.rb was previously going into sitearchdir). It also adds an uninstall task. I plan to overhaul the rake system at some point soon as I think it could be declared more simply, and to avoid launching a new process for each of the cpp post-processors. Once this is in, and the App patch has been applied, I think we should tag and release...
2011 Dec 07
1
[PATCH] hivex: Fix Ruby bindings for 1.9; let the user explicitly choose ruby, rake
...TH=$(top_builddir)/src/.libs \ + RUBY=$(RUBY) RAKE=$(RAKE) all: - rake build - rake rdoc + $(RAKE) build + $(RAKE) rdoc -RUBY_SITELIB := $(shell ruby -rrbconfig -e "puts Config::CONFIG['sitelibdir']") -RUBY_SITEARCH := $(shell ruby -rrbconfig -e "puts Config::CONFIG['sitearchdir']") +RUBY_SITELIB := $(shell $(RUBY) -rrbconfig -e "puts Config::CONFIG['sitelibdir']") +RUBY_SITEARCH := $(shell $(RUBY) -rrbconfig -e "puts Config::CONFIG['sitearchdir']") install: $(MKDIR_P) $(DESTDIR)$(RUBY_SITELIB) diff --git a/ruby/Rakefile.in...
2006 Oct 24
0
[713] trunk/wxruby2: Patch for rake install, added rake uninstall
...by_lib_files ] do | t | + dest_dir = Config::CONFIG[''sitelibdir''] + force_mkdir File.join(dest_dir, ''wx'') + force_mkdir File.join(dest_dir, ''wx'', ''classes'') + cp $target_lib, Config::CONFIG[''sitearchdir''] + all_ruby_lib_files.each do | lib_file | + dest = lib_file.sub(/^lib/, dest_dir) + cp lib_file, dest + chmod 0755, dest + end + end + + desc "Removes installed library files from site_ruby" + task :uninstall do | t | +...
2007 Dec 10
0
rake/rakewx.rb error
...========== --- rake/rakewx.rb (revision 1451) +++ rake/rakewx.rb (working copy) @@ -143,7 +143,7 @@ force_mkdir File.join(dest_dir, ''wx'') force_mkdir File.join(dest_dir, ''wx'', ''classes'') cp TARGET_LIB, Config::CONFIG[''sitearchdir''] - all_ruby_lib_files.each do | lib_file | + ALL_RUBY_LIB_FILES.each do | lib_file | dest = lib_file.sub(/^lib/, dest_dir) cp lib_file, dest chmod 0755, dest Hope this looks good. L8ers, Mario Steele -------------- next part -------------- An HTML attachment was scrubb...
2011 Nov 20
1
[PATCH] out-of-tree build: ruby
...ruby/run-bindtests | 2 +- 3 files changed, 12 insertions(+), 12 deletions(-) diff --git a/ruby/Makefile.am b/ruby/Makefile.am index 112512b..032ace2 100644 --- a/ruby/Makefile.am +++ b/ruby/Makefile.am @@ -62,7 +62,7 @@ RUBY_SITEARCH := $(shell ruby -rrbconfig -e "puts Config::CONFIG['sitearchdir']" install: $(MKDIR_P) $(DESTDIR)$(RUBY_SITELIB) $(MKDIR_P) $(DESTDIR)$(RUBY_SITEARCH) - $(INSTALL) -p -m 0644 lib/guestfs.rb $(DESTDIR)$(RUBY_SITELIB) - $(INSTALL) -p -m 0755 ext/guestfs/_guestfs.so $(DESTDIR)$(RUBY_SITEARCH) + $(INSTALL) -p -m 0644 $(srcdir)/lib/guestfs.rb $(DESTDIR...
2004 Apr 27
15
Building wxruby on Solaris 9
Hi all, Ruby 1.8.1 Solaris 9 wxwindows 2.4.2 (package from blastwave.org) wxruby 0.3.0 I''m having trouble getting this sucker to build on my Solaris box. Here''s how I''m building: ruby extconf.rb --with-xrc-dir=/opt/csw --with-xrc-include=/opt/csw/lib/wx The include directive I added because the setup.h file is there (for whatever reason). And yes, /opt/csw/bin and