You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm getting the following while trying to install memprof gem
Installing gem memprof-0.3.10
/home/divya/.rvm/gems/ree-1.8.7-2012.02/gems/memprof-0.3.10/.gitignore
....
....
/home/divya/.rvm/gems/ree-1.8.7-2012.02/gems/memprof-0.3.10/spec/tracing_spec.rb
Building native extensions. This could take a while...
ERROR: Error installing memprof:
ERROR: Failed to build gem native extension.
/home/divya/.rvm/rubies/ree-1.8.7-2012.02/bin/ruby extconf.rb
(I'm about to compile yajl.. this will definitely take a while)
-- tar zxvf yajl-1.0.9.tar.gz
-- sed -i -e 's,yajl,json,g' *.h *.c api/*.h
-- /home/divya/.rvm/rubies/ree-1.8.7-2012.02/bin/ruby extconf.rb
*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of
necessary libraries and/or headers. Check the mkmf.log file for more
details. You may need configuration options.
Provided configuration options:
--with-opt-dir
--without-opt-dir
--with-opt-include
--without-opt-include=${opt-dir}/include
--with-opt-lib
--without-opt-lib=${opt-dir}/lib
--with-make-prog
--without-make-prog
--srcdir=.
--curdir
--ruby=/home/divya/.rvm/rubies/ree-1.8.7-2012.02/bin/ruby
extconf.rb:17:in `sys': /home/divya/.rvm/rubies/ree-1.8.7-2012.02/bin/ruby extconf.rb failed, please report to [email protected] with pastie.org link to /home/divya/.rvm/gems/ree-1.8.7-2012.02/gems/memprof-0.3.10/ext/mkmf.log (RuntimeError)
from extconf.rb:50
from extconf.rb:35:in `chdir'
from extconf.rb:35
from extconf.rb:31:in `chdir'
from extconf.rb:31
Gem files will remain installed in /home/divya/.rvm/gems/ree-1.8.7-2012.02/gems/memprof-0.3.10 for inspection.
Results logged to /home/divya/.rvm/gems/ree-1.8.7-2012.02/gems/memprof-0.3.10/ext/gem_make.out
I don't see '/home/divya/.rvm/gems/ree-1.8.7-2012.02/gems/memprof-0.3.10/ext/mkmf.log' file.
'/home/divya/.rvm/gems/ree-1.8.7-2012.02/gems/memprof-0.3.10/ext/src/mkmf.log' ends with the following 2 lines after yajl gets extracted.
"sed -i -e 's,yajl,json,g' *.h *.c api/*.h"
"/home/divya/.rvm/rubies/ree-1.8.7-2012.02/bin/ruby extconf.rb"
/home/divya/.rvm/rubies/ree-1.8.7-2012.02/bin/ruby: no such file to load -- ./siteconf20140529-5820-s957to-0.rb (LoadError)
The file siteconf20140529-5820-s957to-0.rb is present in '/home/divya/.rvm/gems/ree-1.8.7-2012.02/gems/memprof-0.3.10/ext'
If i goto '/home/divya/.rvm/gems/ree-1.8.7-2012.02/gems/memprof-0.3.10/ext/src/yajl-1.0.9/src' and run ruby extconf.rb , it generates the Makefile and make runs properly and yajl is built
The text was updated successfully, but these errors were encountered:
letronje
changed the title
trouble installing memprof for profile a legacy ree app
trouble installing memprof for profiling a legacy ree app
May 29, 2014
I'm getting the following while trying to install memprof gem
I don't see '/home/divya/.rvm/gems/ree-1.8.7-2012.02/gems/memprof-0.3.10/ext/mkmf.log' file.
'/home/divya/.rvm/gems/ree-1.8.7-2012.02/gems/memprof-0.3.10/ext/src/mkmf.log' ends with the following 2 lines after yajl gets extracted.
The file siteconf20140529-5820-s957to-0.rb is present in '/home/divya/.rvm/gems/ree-1.8.7-2012.02/gems/memprof-0.3.10/ext'
If i goto '/home/divya/.rvm/gems/ree-1.8.7-2012.02/gems/memprof-0.3.10/ext/src/yajl-1.0.9/src' and run
ruby extconf.rb
, it generates the Makefile and make runs properly and yajl is builtThe text was updated successfully, but these errors were encountered: