Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Can't build on OS X

#37

Here's the error:

spidermonkey.c:5:22: error: debugger.h: No such file or directory

spidermonkey.c: In function ‘Init_spidermonkey’:

spidermonkey.c:16: warning: implicit declaration of function ‘init_Johnson_SpiderMonkey_Debugger’

make: *** [spidermonkey.o] Error 1

rake aborted!

Command failed with status (2): [make...]

/Library/Ruby/Gems/1.8/gems/johnson-1.0.0/rakefile:76

(See full trace by running task with --trace)

Gem files will remain installed in /Library/Ruby/Gems/1.8/gems/johnson-1.0.0 for inspection.

Results logged to /Library/Ruby/Gems/1.8/gems/johnson-1.0.0/gem_make.out

rake aborted!

Command failed with status (1): [sudo gem install --local pkg/*.gem...]

(See full trace by running task with --trace)

[~/git/others/johnson] patnakajima(master)$ gcc -v

Using built-in specs.

Target: i686-apple-darwin9

Configured with: /var/tmp/gcc/gcc-5478~1/src/configure --disable-checking -enable-werror --prefix=/usr --mandir=/share/man --enable-languages=c,objc,c++,obj-c++ --program-transform-name=/^[cg][^.-]*$/s/$/-4.0/ --with-gxx-include-dir=/include/c++/4.0.0 --with-slibdir=/usr/lib --build=powerpc-apple-darwin9 --with-arch=apple --with-tune=generic --program-prefix= --host=i686-apple-darwin9 --target=i686-apple-darwin9

Thread model: posix

gcc version 4.0.1 (Apple Inc. build 5478)

Reported by Pat Nakajima · May 30th, 2008 @ 10:07 AM

State: resolved
Milestone: none
Assigned to: John Barnette John Barnette

Activity

  1. John Barnette
    John Barnette

    Thanks for the report, Pat. Was this in the course of an actual Rake build, or were you trying to create/install the gem?

    May 30th, 2008 @ 10:18 AM

  2. Pat Nakajima
    Pat Nakajima

    Hey, the most recent commit (9f0bedeea265de4bcdc2f4c7df9e7b82d2ec4ed4) took care of things. It's running quite well now. Thanks!

    Just so you know though, the error occurred after running rake install_gem.

    May 30th, 2008 @ 12:15 PM

  3. John Barnette
    John Barnette
    • State changed from new to resolved

    Yup, the manifest wasn't up-to-date. Thanks again for letting us know. :)

    May 30th, 2008 @ 12:48 PM

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.