ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> ruby-talk
ruby-talk
Re: mkmf problems on Mac OS X Leopard
by Has other posts by this author
Oct 29 2007 2:11PM messages near this date
Re: mkmf problems on Mac OS X Leopard | [ANN] Binary Search 0.0.2 released
On 29 Oct, 20:41, Wincent Colaiuta <w...@[...].com>  wrote:
>  On Oct 29, 6:27 pm, has <has.te...@[...].net> wrote:
> 
>  > Note: it may help to indicate which Ruby installation you're using -
>  > Apple's or something else?
> 
>  At the moment, totally stock standard; this is a clean install using
>  Apple's Ruby (ruby 1.8.6 (2007-06-07 patchlevel 36) [universal-
>  darwin9.0]). Will continue to investigate.

Try the following:

require 'mkmf'
$LDFLAGS << ' -framework Cocoa'
have_func('NSApp') # should put 'checking for NSApp()... yes'

If it outputs 'checking for NSApp()... no', that would suggest it's
related to the problem I described. (BTW, I assume you're running the
exconf.rb script via /usr/bin/ruby, yes? What sort of hardware are you
on; PPC or i386?)

HTH

has
--
http://appscript.sourceforge.net
http://rb-appscript.rubyforge.org
Thread:
Wincent Colaiuta
Laurent Sansonetti
Wincent Colaiuta
Tim Hunter
Wincent Colaiuta
Wincent Colaiuta
Has

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved