Advertisement
Guest User

Untitled

a guest
Mar 23rd, 2012
55
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 9.87 KB | None | 0 0
  1. [tester@Fortinbras ~]$ rvm get head
  2. Downloading RVM from wayneeseguin branch master
  3.   % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
  4.                                  Dload  Upload   Total   Spent    Left  Speed
  5. 100   125  100   125    0     0    164      0 --:--:-- --:--:-- --:--:--   213
  6. 100  938k  100  938k    0     0   226k      0  0:00:04  0:00:04 --:--:--  372k
  7.  
  8. Upgrading the RVM installation in /home/tester/.rvm/
  9.     RVM PATH line found in /home/tester/.bashrc /home/tester/.zshrc.
  10.     RVM sourcing line found in /home/tester/.bash_profile /home/tester/.zlogin.
  11.  
  12. Upgrade Notes:
  13.  
  14.   * No new notes to display.
  15.  
  16. # RVM:  Shell scripts enabling management of multiple ruby environments.
  17. # RTFM: https://rvm.beginrescueend.com/
  18. # HELP: http://webchat.freenode.net/?channels=rvm (#rvm on irc.freenode.net)
  19. # Screencast: http://screencasts.org/episodes/how-to-use-rvm
  20.  
  21. # In case of any issues read output of 'rvm requirements' and/or 'rvm notes'                                                                                                                    
  22.                                                                                                                                                                                                
  23. Upgrade of RVM in /home/tester/.rvm/ is complete.
  24.  
  25. # tester,
  26. #
  27. #   Thank you for using RVM!
  28. #   I sincerely hope that RVM helps to make your life easier and more enjoyable!!!
  29. #
  30. # ~Wayne
  31.  
  32.  
  33. rvm 1.11.2 (master) by Wayne E. Seguin <wayneeseguin@gmail.com>, Michal Papis <mpapis@gmail.com> [https://rvm.beginrescueend.com/]
  34.  
  35. RVM reloaded!
  36. [tester@Fortinbras ~]$ rvm reinstall jruby --1.8 --patch rubygems_etc
  37. it seems that /home/tester/.rvm/src/jruby-1.6.7 is already non existent.
  38. it seems that /home/tester/.rvm/rubies/jruby-1.6.7 is already non existent.
  39. Removing jruby-1.6.7 aliases...
  40. Removing jruby-1.6.7 wrappers...
  41. Removing jruby-1.6.7 environments...
  42. Removing jruby-1.6.7 binaries...
  43. jruby-1.6.7 - #fetching
  44. Cloning from git://github.com/jruby/jruby.git, this may take a while depending on your connection...
  45. Cloning into '/home/tester/.rvm/repos/jruby'...
  46. remote: Counting objects: 188238, done.
  47. remote: Compressing objects: 100% (43919/43919), done.
  48. remote: Total 188238 (delta 132548), reused 186838 (delta 131342)
  49. Receiving objects: 100% (188238/188238), 86.08 MiB | 378 KiB/s, done.
  50. Resolving deltas: 100% (132548/132548), done.
  51. HEAD is now at 43e91dd * JRUBY-6334 Added specs for the current behavor of master
  52. From git://github.com/jruby/jruby
  53.  * branch            master     -> FETCH_HEAD
  54. Already up-to-date.
  55. Copying from repo to src path...
  56. Applying patch 'rubygems_etc' (located at /home/tester/.rvm/patches/jruby/rubygems_etc.patch)
  57. Error running 'patch -F 25 -p1 -N -f <"/home/tester/.rvm/patches/jruby/rubygems_etc.patch"', please read /home/tester/.rvm/log/jruby-1.6.7/patch.apply.rubygems_etc.log
  58. jruby-1.6.7 - #ant jar
  59. jruby-1.6.7 - #ant jar  -Djruby.default.ruby.version=1.8
  60. Building Nailgun
  61. jruby-1.6.7 - #installing to /home/tester/.rvm/rubies/jruby-1.6.7
  62. jruby-1.6.7 - #importing default gemsets (/home/tester/.rvm/gemsets/)
  63. Copying across included gems
  64. WARNING:  You don't have /home/tester/.gem/jruby/1.8/bin in your PATH,
  65.          gem executables will not run.
  66. Building native extensions.  This could take a while...
  67. ERROR:  Error installing jruby-launcher:
  68.        ERROR: Failed to build gem native extension.
  69.  
  70.        /home/tester/.rvm/rubies/jruby-1.6.7/bin/jruby extconf.rb
  71. # These line gets substituted with the actual Config::CONFIG items location by extconf.rb
  72. PREFIX = /home/tester/.rvm/rubies/jruby-1.6.7
  73. BINDIR = /home/tester/.rvm/rubies/jruby-1.6.7/bin
  74. INSTALLDIR = $(PREFIX)/lib/ruby/shared/rubygems/defaults
  75. OLDINSTALLDIR = $(PREFIX)/lib/ruby/site_ruby/1.8/rubygems/defaults
  76.  
  77. ifeq (true,$(shell test -x $(BINDIR)/jruby && echo true))
  78. RAKE=$(BINDIR)/jruby -S rake
  79. else
  80. RAKE=rake
  81. endif
  82.  
  83. build: .build-post
  84.  
  85. .build-pre:
  86.  
  87. .build-post: .build-impl build-exe test
  88.  
  89. build-exe:
  90.        @if [ "$(findstring mingw, $(CONF))" ]; then                                                                                    \
  91.        ${MAKE} -f ${SUB_CONFMK} SUBPROJECTS=${SUBPROJECTS} jruby.exe jrubyw.exe;                                       \
  92.        if [ -d ../jruby ]; then cp jruby.exe jrubyw.exe jruby.dll ../jruby/bin/; fi;                                   \
  93.        if [ -d D:/work/jruby-dev/jruby ]; then cp jruby.exe jrubyw.exe jruby.dll D:/work/jruby-dev/jruby/bin/; fi;     \
  94.        fi
  95.  
  96. jruby.res: resources/jruby.rc
  97.        windres $^ -O coff -o $@
  98.  
  99. jruby.exe: jrubyexe.cpp nbexecloader.h utilsfuncs.cpp utilsfuncswin.cpp jruby.res
  100.        g++ $(CXXFLAGS) $^ -s -o $@ $(LDLIBSOPTIONS)
  101.  
  102. jrubyw.exe: jrubyexe.cpp nbexecloader.h utilsfuncs.cpp utilsfuncswin.cpp jruby.res
  103.        g++ $(CXXFLAGS) -DJRUBYW -mwindows $^ -s -o $@ $(LDLIBSOPTIONS)
  104.  
  105. install:
  106.        @if [ ! -f ./jruby ]; then echo "Please run 'make' first."; exit 1; fi
  107.        @if [ x$(BINDIR) = xnotspecified/bin ]; then echo "Please define where to install by passing PREFIX=<jruby-home>."; exit 1; fi
  108.        @if [ ! -w $(BINDIR) ]; then echo "'$(BINDIR)' does not exist or cannot write to '$(BINDIR)'."; exit 1; fi
  109.        @if [ -f $(BINDIR)/jruby -a ! -w $(BINDIR)/jruby ]; then echo "Cannot write to '$(BINDIR)/jruby'."; exit 1; fi
  110.        cp ./jruby $(BINDIR)/jruby
  111.        @if [ x$(PREFIX) = xnotspecified ]; then echo "Please define where to install by passing PREFIX=<jruby-home>."; exit 1; fi
  112.        @if [ ! -w $(INSTALLDIR) ]; then \
  113.                if [ ! -w $(OLDINSTALLDIR) ]; then \
  114.                        echo "Neither '$(INSTALLDIR)' nor '$(OLDINSTALLDIR)' exist and are writable"; exit 1; \
  115.                else \
  116.                        echo "cp ./lib/rubygems/defaults/jruby_native.rb $(OLDINSTALLDIR)"; \
  117.                        cp ./lib/rubygems/defaults/jruby_native.rb $(OLDINSTALLDIR); \
  118.                fi; \
  119.        else \
  120.                echo "cp ./lib/rubygems/defaults/jruby_native.rb $(INSTALLDIR)"; \
  121.                cp ./lib/rubygems/defaults/jruby_native.rb $(INSTALLDIR); \
  122.        fi;
  123.  
  124. test:
  125.        $(RAKE)
  126.  
  127. # Universal binary on OSX
  128. FAT_ARCHES=i386 ppc x86_64
  129.  
  130. fat: $(FAT_ARCHES)
  131.        lipo -create $(foreach arch,$(FAT_ARCHES),build/unix/Darwin-$(arch)/jruby-launcher) -output jruby
  132.        $(RAKE)
  133.  
  134. $(FAT_ARCHES):
  135.        $(MAKE) -f $(SUB_CONFMK) CND_PLATFORM=Darwin-$@ CFLAGS="-arch $@" build/unix/Darwin-$@/jruby-launcher
  136.  
  137. clean: .clean-post
  138.  
  139. .clean-pre:
  140.        -rm -rf build/*
  141.  
  142. .clean-post: .clean-impl
  143.        rm -f *.exe *.res
  144.  
  145. clobber: .clobber-post
  146.  
  147. .clobber-pre:
  148.  
  149. .clobber-post: .clobber-impl
  150.  
  151. all: .all-post
  152.  
  153. .all-pre:
  154.  
  155. .all-post: .all-impl
  156.  
  157. help: .help-post
  158.  
  159. .help-pre:
  160.  
  161. .help-post: .help-impl
  162.  
  163. # Use the manually-maintained inc/*.mk makefiles.
  164. # Pass NETBEANS=true on the command-line to use NB's generated
  165. # nbproject/*.mk
  166.  
  167. ifdef NETBEANS
  168. SUB_IMPLMK=nbproject/Makefile-impl.mk
  169. else
  170. SUB_IMPLMK=inc/Makefile-impl.mk
  171. SUB_CONFMK=inc/Makefile-rules.mk
  172. endif
  173.  
  174. # include project implementation makefile
  175. include $(SUB_IMPLMK)
  176.  
  177. # Pick conf based on OS. for mingw64, must manually override for now.
  178. ifeq ($(OS),Windows_NT)
  179. CONF=mingw
  180. else
  181. CONF=unix
  182. endif
  183.  
  184. ifdef NETBEANS
  185. SUB_CONFMK=nbproject/Makefile-${CONF}.mk
  186. endif
  187.  
  188. make
  189. make -f inc/Makefile-rules.mk CONF=unix SUBPROJECTS= .build-conf
  190. make[1]: Вход в каталог `/home/tester/.gem/jruby/1.8/gems/jruby-launcher-1.0.12-java'
  191. make -f inc/Makefile-rules.mk jruby
  192. make[2]: Вход в каталог `/home/tester/.gem/jruby/1.8/gems/jruby-launcher-1.0.12-java'
  193. mkdir -p build/unix/Linux
  194. rm -f build/unix/Linux/argparser.o.d
  195. 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
  196. mkdir -p build/unix/Linux
  197. rm -f build/unix/Linux/utilsfuncs.o.d
  198. 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
  199. utilsfuncs.cpp: В функции «std::string findOnPath(const char*)»:
  200. utilsfuncs.cpp:125:12: предупреждение: неиспользуемая переменная «found» [-Wunused-variable]
  201. mkdir -p build/unix/Linux
  202. rm -f build/unix/Linux/ng.o.d
  203. 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
  204. mkdir -p build/unix/Linux
  205. rm -f build/unix/Linux/strlcpy.o.d
  206. 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
  207. mkdir -p build/unix/Linux
  208. rm -f build/unix/Linux/jrubyexe.o.d
  209. 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
  210. mkdir -p build/unix/Linux
  211. rm -f build/unix/Linux/unixlauncher.o.d
  212. 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
  213. 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++
  214. cp build/unix/Linux/jruby-launcher jruby
  215. make[2]: Выход из каталога `/home/tester/.gem/jruby/1.8/gems/jruby-launcher-1.0.12-java'
  216. make[1]: Выход из каталога `/home/tester/.gem/jruby/1.8/gems/jruby-launcher-1.0.12-java'
  217. /home/tester/.rvm/rubies/jruby-1.6.7/bin/jruby -S rake
  218. SyntaxError: /home/tester/.rvm/bin/rake:5: syntax error, unexpected tSTRING_BEG
  219.  
  220.   printf "%b" "$(tput setaf 1)ERROR: Gem rake is not installed, run \`gem install rake\` first.$(tput sgr0)\n"
  221.          ^
  222. make: *** [test] Ошибка 1
  223.  
  224.  
  225. Gem files will remain installed in /home/tester/.gem/jruby/1.8/gems/jruby-launcher-1.0.12-java for inspection.
  226. Results logged to /home/tester/.gem/jruby/1.8/gems/jruby-launcher-1.0.12-java/./gem_make.out
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement