Skip to content
This repository has been archived by the owner on Aug 18, 2018. It is now read-only.

build on FreeBSD error #36

Open
kivanio opened this issue Oct 26, 2010 · 3 comments
Open

build on FreeBSD error #36

kivanio opened this issue Oct 26, 2010 · 3 comments
Labels

Comments

@kivanio
Copy link

kivanio commented Oct 26, 2010

FreeBSD 7.1-RELEASE-p4
i386

gem install johnson --pre
Building native extensions. This could take a while...
ERROR: Error installing johnson:
ERROR: Failed to build gem native extension.

/usr/local/bin/ruby18 extconf.rb
Unknown modifier ' '

"./config/autoconf.mk", line 68: Missing dependency operator
"./config/autoconf.mk", line 70: Need an operator
"./config/autoconf.mk", line 72: Need an operator
"Makefile", line 49: Need an operator
"Makefile", line 51: Need an operator
"Makefile", line 53: Need an operator
"Makefile", line 55: Need an operator
"Makefile", line 58: Need an operator
"Makefile", line 60: Need an operator
"Makefile", line 63: Need an operator
"Makefile", line 64: Need an operator
"Makefile", line 66: Need an operator
"Makefile", line 67: Need an operator
"Makefile", line 69: Need an operator
"Makefile", line 71: Need an operator
"Makefile", line 80: Need an operator
"Makefile", line 81: Need an operator
"Makefile", line 83: Need an operator
"Makefile", line 85: Need an operator
"Makefile", line 88: Need an operator
"Makefile", line 89: Need an operator
"Makefile", line 93: Need an operator
"Makefile", line 94: Need an operator
"Makefile", line 95: Missing dependency operator
"Makefile", line 97: Need an operator
"Makefile", line 98: Missing dependency operator
"Makefile", line 99: Need an operator
"Makefile", line 102: Need an operator
"Makefile", line 104: Need an operator
"Makefile", line 105: Need an operator
"Makefile", line 106: Need an operator
"Makefile", line 109: Missing dependency operator
"Makefile", line 111: Need an operator
"Makefile", line 166: Need an operator
"Makefile", line 169: Need an operator
"Makefile", line 227: Need an operator
"Makefile", line 259: Need an operator
"Makefile", line 264: Need an operator
"Makefile", line 266: Need an operator
"Makefile", line 268: Need an operator
"Makefile", line 273: Need an operator
"Makefile", line 275: Missing dependency operator
"Makefile", line 277: Need an operator
"Makefile", line 285: Missing dependency operator
"Makefile", line 287: Need an operator
"Makefile", line 289: Need an operator
"./config/config.mk", line 52: Need an operator
"./config/config.mk", line 54: Need an operator
"./config/config.mk", line 56: Need an operator
"./config/autoconf.mk", line 68: Missing dependency operator
"./config/autoconf.mk", line 70: Need an operator
"./config/autoconf.mk", line 72: Need an operator
"./config/config.mk", line 58: Need an operator
"./config/config.mk", line 59: Need an operator
"./config/config.mk", line 60: Need an operator
"./config/insure.mk", line 46: Missing dependency operator
"./config/insure.mk", line 48: Missing dependency operator
"./config/insure.mk", line 51: Need an operator
"./config/insure.mk", line 53: Need an operator
"./config/config.mk", line 62: Need an operator
"./config/config.mk", line 63: Need an operator
Error expanding embedded variable.
*** 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=/usr/local/bin/ruby18
extconf.rb:37: could not make tracemonkey (RuntimeError)
from extconf.rb:23:in `chdir'
from extconf.rb:23

Gem files will remain installed in /usr/local/lib/ruby/gems/1.8/gems/johnson-2.0.0.pre3 for inspection.
Results logged to /usr/local/lib/ruby/gems/1.8/gems/johnson-2.0.0.pre3/ext/tracemonkey/gem_make.out

@kivanio
Copy link
Author

kivanio commented Oct 26, 2010

more details http://gist.github.com/647712

@smparkes
Copy link
Collaborator

Ugh. I did the most recent pass on the autoconf stuff. Painful.

Don't know about the other maintainers, but I don't have a freebsd system to test on (or the time, to be honest.) If you come up with a patch that doesn't break linux/os x, it'd be great.

@mxey
Copy link

mxey commented Mar 29, 2012

The easiest fix would be run "gmake" instead of "make" when it exists (Your makefile has GNU-specific stuff)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants