Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- rvm install jruby
- jruby-1.6.7 - #fetching
- jruby-1.6.7 - #downloading jruby-bin-1.6.7, this may take a while depending on your connection...
- % Total % Received % Xferd Average Speed Time Time Time Current
- Dload Upload Total Spent Left Speed
- 100 14.8M 100 14.8M 0 0 564k 0 0:00:26 0:00:26 --:--:-- 683k
- jruby-1.6.7 - #extracting jruby-bin-1.6.7 to /home/tester/.rvm/src/jruby-1.6.7
- jruby-1.6.7 - #extracted to /home/tester/.rvm/src/jruby-1.6.7
- Building Nailgun
- jruby-1.6.7 - #installing to /home/tester/.rvm/rubies/jruby-1.6.7
- jruby-1.6.7 - #importing default gemsets (/home/tester/.rvm/gemsets/)
- ^[[A^[[A^[[A^[[A^[[A^[[A^[[B^[[B^[[B^[[B^[[B^[[B^[[B^[[B^[[BCopying across included gems
- Fetching: jruby-launcher-1.0.12-java.gem (100%)
- WARNING: You don't have /home/tester/.gem/jruby/1.8/bin in your PATH,
- gem executables will not run.
- Building native extensions. This could take a while...
- ERROR: Error installing jruby-launcher:
- ERROR: Failed to build gem native extension.
- /home/tester/.rvm/rubies/jruby-1.6.7/bin/jruby extconf.rb
- # These line gets substituted with the actual Config::CONFIG items location by extconf.rb
- PREFIX = /home/tester/.rvm/rubies/jruby-1.6.7
- BINDIR = /home/tester/.rvm/rubies/jruby-1.6.7/bin
- INSTALLDIR = $(PREFIX)/lib/ruby/shared/rubygems/defaults
- OLDINSTALLDIR = $(PREFIX)/lib/ruby/site_ruby/1.8/rubygems/defaults
- ifeq (true,$(shell test -x $(BINDIR)/jruby && echo true))
- RAKE=$(BINDIR)/jruby -S rake
- else
- RAKE=rake
- endif
- build: .build-post
- .build-pre:
- .build-post: .build-impl build-exe test
- build-exe:
- @if [ "$(findstring mingw, $(CONF))" ]; then \
- ${MAKE} -f ${SUB_CONFMK} SUBPROJECTS=${SUBPROJECTS} jruby.exe jrubyw.exe; \
- if [ -d ../jruby ]; then cp jruby.exe jrubyw.exe jruby.dll ../jruby/bin/; fi; \
- if [ -d D:/work/jruby-dev/jruby ]; then cp jruby.exe jrubyw.exe jruby.dll D:/work/jruby-dev/jruby/bin/; fi; \
- fi
- jruby.res: resources/jruby.rc
- windres $^ -O coff -o $@
- jruby.exe: jrubyexe.cpp nbexecloader.h utilsfuncs.cpp utilsfuncswin.cpp jruby.res
- g++ $(CXXFLAGS) $^ -s -o $@ $(LDLIBSOPTIONS)
- jrubyw.exe: jrubyexe.cpp nbexecloader.h utilsfuncs.cpp utilsfuncswin.cpp jruby.res
- g++ $(CXXFLAGS) -DJRUBYW -mwindows $^ -s -o $@ $(LDLIBSOPTIONS)
- install:
- @if [ ! -f ./jruby ]; then echo "Please run 'make' first."; exit 1; fi
- @if [ x$(BINDIR) = xnotspecified/bin ]; then echo "Please define where to install by passing PREFIX=<jruby-home>."; exit 1; fi
- @if [ ! -w $(BINDIR) ]; then echo "'$(BINDIR)' does not exist or cannot write to '$(BINDIR)'."; exit 1; fi
- @if [ -f $(BINDIR)/jruby -a ! -w $(BINDIR)/jruby ]; then echo "Cannot write to '$(BINDIR)/jruby'."; exit 1; fi
- cp ./jruby $(BINDIR)/jruby
- @if [ x$(PREFIX) = xnotspecified ]; then echo "Please define where to install by passing PREFIX=<jruby-home>."; exit 1; fi
- @if [ ! -w $(INSTALLDIR) ]; then \
- if [ ! -w $(OLDINSTALLDIR) ]; then \
- echo "Neither '$(INSTALLDIR)' nor '$(OLDINSTALLDIR)' exist and are writable"; exit 1; \
- else \
- echo "cp ./lib/rubygems/defaults/jruby_native.rb $(OLDINSTALLDIR)"; \
- cp ./lib/rubygems/defaults/jruby_native.rb $(OLDINSTALLDIR); \
- fi; \
- else \
- echo "cp ./lib/rubygems/defaults/jruby_native.rb $(INSTALLDIR)"; \
- cp ./lib/rubygems/defaults/jruby_native.rb $(INSTALLDIR); \
- fi;
- test:
- $(RAKE)
- # Universal binary on OSX
- FAT_ARCHES=i386 ppc x86_64
- fat: $(FAT_ARCHES)
- lipo -create $(foreach arch,$(FAT_ARCHES),build/unix/Darwin-$(arch)/jruby-launcher) -output jruby
- $(RAKE)
- $(FAT_ARCHES):
- $(MAKE) -f $(SUB_CONFMK) CND_PLATFORM=Darwin-$@ CFLAGS="-arch $@" build/unix/Darwin-$@/jruby-launcher
- clean: .clean-post
- .clean-pre:
- -rm -rf build/*
- .clean-post: .clean-impl
- rm -f *.exe *.res
- clobber: .clobber-post
- .clobber-pre:
- .clobber-post: .clobber-impl
- all: .all-post
- .all-pre:
- .all-post: .all-impl
- help: .help-post
- .help-pre:
- .help-post: .help-impl
- # Use the manually-maintained inc/*.mk makefiles.
- # Pass NETBEANS=true on the command-line to use NB's generated
- # nbproject/*.mk
- ifdef NETBEANS
- SUB_IMPLMK=nbproject/Makefile-impl.mk
- else
- SUB_IMPLMK=inc/Makefile-impl.mk
- SUB_CONFMK=inc/Makefile-rules.mk
- endif
- # include project implementation makefile
- include $(SUB_IMPLMK)
- # Pick conf based on OS. for mingw64, must manually override for now.
- ifeq ($(OS),Windows_NT)
- CONF=mingw
- else
- CONF=unix
- endif
- ifdef NETBEANS
- SUB_CONFMK=nbproject/Makefile-${CONF}.mk
- endif
- make
- make -f inc/Makefile-rules.mk CONF=unix SUBPROJECTS= .build-conf
- make[1]: Вход в каталог `/home/tester/.gem/jruby/1.8/gems/jruby-launcher-1.0.12-java'
- make -f inc/Makefile-rules.mk jruby
- make[2]: Вход в каталог `/home/tester/.gem/jruby/1.8/gems/jruby-launcher-1.0.12-java'
- mkdir -p build/unix/Linux
- rm -f build/unix/Linux/argparser.o.d
- g++ -O2 -Wall -I/opt/java/include -c argparser.cpp -MMD -MP -MF build/unix/Linux/argparser.o.d -o build/unix/Linux/argparser.o
- mkdir -p build/unix/Linux
- rm -f build/unix/Linux/utilsfuncs.o.d
- g++ -O2 -Wall -I/opt/java/include -c utilsfuncs.cpp -MMD -MP -MF build/unix/Linux/utilsfuncs.o.d -o build/unix/Linux/utilsfuncs.o
- utilsfuncs.cpp: В функции «std::string findOnPath(const char*)»:
- utilsfuncs.cpp:125:12: предупреждение: неиспользуемая переменная «found» [-Wunused-variable]
- mkdir -p build/unix/Linux
- rm -f build/unix/Linux/ng.o.d
- gcc -O2 -Wall -I/opt/java/include -c ng.c -MMD -MP -MF build/unix/Linux/ng.o.d -o build/unix/Linux/ng.o
- mkdir -p build/unix/Linux
- rm -f build/unix/Linux/strlcpy.o.d
- gcc -O2 -Wall -I/opt/java/include -c strlcpy.c -MMD -MP -MF build/unix/Linux/strlcpy.o.d -o build/unix/Linux/strlcpy.o
- mkdir -p build/unix/Linux
- rm -f build/unix/Linux/jrubyexe.o.d
- g++ -O2 -Wall -I/opt/java/include -c jrubyexe.cpp -MMD -MP -MF build/unix/Linux/jrubyexe.o.d -o build/unix/Linux/jrubyexe.o
- mkdir -p build/unix/Linux
- rm -f build/unix/Linux/unixlauncher.o.d
- g++ -O2 -Wall -I/opt/java/include -c unixlauncher.cpp -MMD -MP -MF build/unix/Linux/unixlauncher.o.d -o build/unix/Linux/unixlauncher.o
- g++ -O2 -Wall -I/opt/java/include -o build/unix/Linux/jruby-launcher build/unix/Linux/argparser.o build/unix/Linux/utilsfuncs.o build/unix/Linux/ng.o build/unix/Linux/strlcpy.o build/unix/Linux/jrubyexe.o build/unix/Linux/unixlauncher.o -lstdc++
- cp build/unix/Linux/jruby-launcher jruby
- make[2]: Выход из каталога `/home/tester/.gem/jruby/1.8/gems/jruby-launcher-1.0.12-java'
- make[1]: Выход из каталога `/home/tester/.gem/jruby/1.8/gems/jruby-launcher-1.0.12-java'
- /home/tester/.rvm/rubies/jruby-1.6.7/bin/jruby -S rake
- Gem::LoadError: Could not find rake (>= 0) amongst []
- to_specs at /home/tester/.rvm/rubies/jruby-1.6.7/lib/ruby/site_ruby/1.8/rubygems/dependency.rb:247
- to_spec at /home/tester/.rvm/rubies/jruby-1.6.7/lib/ruby/site_ruby/1.8/rubygems/dependency.rb:256
- gem at /home/tester/.rvm/rubies/jruby-1.6.7/lib/ruby/site_ruby/1.8/rubygems.rb:1208
- (root) at /home/tester/.rvm/rubies/jruby-1.6.7/bin/rake:18
- make: *** [test] Ошибка 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement