You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Peace (Issue Comment Edited) (JIRA)" <ji...@apache.org> on 2011/09/30 21:51:45 UTC

[jira] [Issue Comment Edited] (THRIFT-1367) Mac OSX build fails with "no such file to load -- spec/rake/spectask"

    [ https://issues.apache.org/jira/browse/THRIFT-1367?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13118326#comment-13118326 ] 

Peace edited comment on THRIFT-1367 at 9/30/11 7:49 PM:
--------------------------------------------------------

This is odd. I ran "./configure --without-rb" and see the argument in the config.log file, but the configure script continues to have references to rb and ruby. 'make' still fails trying to build the ruby lib. Confirmed that this happens from a pristine source tree.
Update: "./configure --with-rb=no" tries to build rb as well.

When I ran "bundle exec rake", it complained that it couldn't find mongrel in any of the gem sources so I called "gem install mongrel". Then it complained about not finding rspec...

Could these problems be specific to OSX?
                
      was (Author: peace):
    This is odd. I ran "./configure --without-rb" and see the argument in the config.log file, but the configure script continues to have references to rb and ruby. 'make' still fails trying to build the ruby lib. Confirmed that this happens from a pristine source tree.

When I ran "bundle exec rake", it complained that it couldn't find mongrel in any of the gem sources. I called "gem install mongrel". Then it complained about not finding rspec...

Could these problems be specific to OSX?
                  
> Mac OSX build fails with "no such file to load -- spec/rake/spectask"
> ---------------------------------------------------------------------
>
>                 Key: THRIFT-1367
>                 URL: https://issues.apache.org/jira/browse/THRIFT-1367
>             Project: Thrift
>          Issue Type: Bug
>          Components: Ruby - Library
>    Affects Versions: 0.8
>         Environment: Mac OSX 10.7.1 (Lion)
>            Reporter: Peace
>            Assignee: Jake Farrell
>             Fix For: 0.8
>
>
> Running "make" successfully builds the compiler and most of the libs but fails out on the ruby lib with the message:
> Making all in rb
> /usr/bin/rake 
> (in ... thrift/lib/rb)
> rake aborted!
> no such file to load -- spec/rake/spectask
> ... thrift/lib/rb/Rakefile:23
> The one hit I found online that might be related:
> https://github.com/cgs/evernote/pull/5
> "The "no such file to load -- spec/rake/spectask" error is because this gem's specs use rspec1.
> I just submitted a pull request to update to rspec2."
> I'm running with pkgconfig from MacPorts and starting the build from scratch (bootstrap.sh & onwards).

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira