STEVE: Yes, wxRuby is being used on OS X. The wxRuby-user''s ML is the best place to go for help. I''ll cross post this and any responses if you don''t want to subscribe. WXRUBY-USERS: Steve is the guy who is working on the One-Click Ruby Installer for OS X. Can anyone spot what his problem is here? Thanks, Curt Stephen Steiner wrote:> > I''ve tried installing wxruby from the 0.4.0 panther .dmg file and am > having no success at all. > > I installed the package and trying any of the samples gives me the same > thing: > > ./calendar.rb:1:in `require'': No such file to load -- wxruby (LoadError) > from ./calendar.rb:1 > > I downloaded the source .tgz, ran ./configure (which didn''t have > execute permission and so, had to be tweaked) and the build got about > this far: > > /Volumes/BigMacStriper/Users/ssteiner/Documents/Downloads/wxruby-0.4.0- > src/src->make > g++ -fno-common -g -O2 -pipe -fno-common `wx-config --cxxflags` -I. > -I/usr/lib/ruby/1.8/powerpc-darwin7.5.0 > -I/usr/lib/ruby/1.8/powerpc-darwin7.5.0 -I. -x objective-c++ -c > wx.cpp > wx.cpp: In function `void Init_wxruby()'': > wx.cpp:149: error: call of overloaded `wxEntryStart(int&, char**)'' is > ambiguous > /usr/local/include/wx/init.h:29: error: candidates are: bool > wxEntryStart(int&, > wxChar**) > wx.cpp:31: error: int wxEntryStart(int, char**) > make: *** [wx.o] Error 1 > > Is anybody testing this on OS X? Who is the expert? > > Steve > > > --- > Incoming mail is certified Virus Free. > Checked by AVG anti-virus system (http://www.grisoft.com). > Version: 6.0.717 / Virus Database: 473 - Release Date: 7/8/2004 >
The OS X installer was made to work with the default OS X ruby installation at /usr/lib/ruby, so if you''re using ruby 1.8 it probably isn''t in your installation directory. Nick Curt Hibbs wrote:>STEVE: Yes, wxRuby is being used on OS X. The wxRuby-user''s ML is the best >place to go for help. I''ll cross post this and any responses if you don''t >want to subscribe. > >WXRUBY-USERS: Steve is the guy who is working on the One-Click Ruby >Installer for OS X. Can anyone spot what his problem is here? > >Thanks, >Curt > > >Stephen Steiner wrote: > > >>I''ve tried installing wxruby from the 0.4.0 panther .dmg file and am >>having no success at all. >> >>I installed the package and trying any of the samples gives me the same >>thing: >> >>./calendar.rb:1:in `require'': No such file to load -- wxruby (LoadError) >> from ./calendar.rb:1 >> >>I downloaded the source .tgz, ran ./configure (which didn''t have >>execute permission and so, had to be tweaked) and the build got about >>this far: >> >>/Volumes/BigMacStriper/Users/ssteiner/Documents/Downloads/wxruby-0.4.0- >>src/src->make >>g++ -fno-common -g -O2 -pipe -fno-common `wx-config --cxxflags` -I. >>-I/usr/lib/ruby/1.8/powerpc-darwin7.5.0 >>-I/usr/lib/ruby/1.8/powerpc-darwin7.5.0 -I. -x objective-c++ -c >>wx.cpp >>wx.cpp: In function `void Init_wxruby()'': >>wx.cpp:149: error: call of overloaded `wxEntryStart(int&, char**)'' is >>ambiguous >>/usr/local/include/wx/init.h:29: error: candidates are: bool >>wxEntryStart(int&, >> wxChar**) >>wx.cpp:31: error: int wxEntryStart(int, char**) >>make: *** [wx.o] Error 1 >> >>Is anybody testing this on OS X? Who is the expert? >> >>Steve >> >> >>--- >>Incoming mail is certified Virus Free. >>Checked by AVG anti-virus system (http://www.grisoft.com). >>Version: 6.0.717 / Virus Database: 473 - Release Date: 7/8/2004 >> >> >> > >_______________________________________________ >wxruby-users mailing list >wxruby-users@rubyforge.org >http://rubyforge.org/mailman/listinfo/wxruby-users > > > > >
Nick, Yes, I''ve actually installed 1.8 over the default installation (in /usr/lib and /usr/bin) on my machine and I''m sure that won''t help matters at all. Do you query the path of the ruby interpreter that''s actually performing the install? That might help get it in the right tree, at least. No wonder I''m leery of making a binary distribution! Steve On Aug 16, 2004, at 11:18 PM, Nick wrote:> > The OS X installer was made to work with the default OS X ruby > installation at /usr/lib/ruby, so if you''re using ruby 1.8 it probably > isn''t in your installation directory. > > Nick > > > Curt Hibbs wrote: > >> STEVE: Yes, wxRuby is being used on OS X. The wxRuby-user''s ML is the >> best >> place to go for help. I''ll cross post this and any responses if you >> don''t >> want to subscribe. >> >> WXRUBY-USERS: Steve is the guy who is working on the One-Click Ruby >> Installer for OS X. Can anyone spot what his problem is here? >> >> Thanks, >> Curt >> >> >> Stephen Steiner wrote: >> >>> I''ve tried installing wxruby from the 0.4.0 panther .dmg file and am >>> having no success at all. >>> >>> I installed the package and trying any of the samples gives me the >>> same >>> thing: >>> >>> ./calendar.rb:1:in `require'': No such file to load -- wxruby >>> (LoadError) >>> from ./calendar.rb:1 >>> >>> I downloaded the source .tgz, ran ./configure (which didn''t have >>> execute permission and so, had to be tweaked) and the build got about >>> this far: >>> >>> /Volumes/BigMacStriper/Users/ssteiner/Documents/Downloads/wxruby >>> -0.4.0- >>> src/src->make >>> g++ -fno-common -g -O2 -pipe -fno-common `wx-config --cxxflags` >>> -I. >>> -I/usr/lib/ruby/1.8/powerpc-darwin7.5.0 >>> -I/usr/lib/ruby/1.8/powerpc-darwin7.5.0 -I. -x objective-c++ -c >>> wx.cpp >>> wx.cpp: In function `void Init_wxruby()'': >>> wx.cpp:149: error: call of overloaded `wxEntryStart(int&, char**)'' is >>> ambiguous >>> /usr/local/include/wx/init.h:29: error: candidates are: bool >>> wxEntryStart(int&, >>> wxChar**) >>> wx.cpp:31: error: int wxEntryStart(int, char**) >>> make: *** [wx.o] Error 1 >>> >>> Is anybody testing this on OS X? Who is the expert? >>> >>> Steve >>> >>> >>> --- >>> Incoming mail is certified Virus Free. >>> Checked by AVG anti-virus system (http://www.grisoft.com). >>> Version: 6.0.717 / Virus Database: 473 - Release Date: 7/8/2004 >>> >>> >> >> _______________________________________________ >> wxruby-users mailing list >> wxruby-users@rubyforge.org >> http://rubyforge.org/mailman/listinfo/wxruby-users >> >> >> >> >
> > Yes, I''ve actually installed 1.8 over the default installation (in > /usr/lib and /usr/bin) on my machine and I''m sure that won''t help > matters at all.I simply test if /usr/lib/ruby exists. I made the installer for people who didn''t have experience building an extension, assuming they would use default ruby. I don''t have enough experience with the Apple installer to command it to find the default ruby (I''m not sure if it would even kick off .bashrc, so would it even be able to find it?) As far as wxruby is concerned, I''ve built in on ruby 1.6 and 1.8, so I know it''s possible.>> 1) Which version of wxWidgets are you using? > > I downloaded the latest from the wxWidgets site.You need wxMac 2.4.2, compiled as a static library (shared just gets too messy). 2.5 is an experimental build and won''t compile correctly. Use the following in the wxMac-2.4.2 directory mkdir build-mac cd build-mac ../configure --disable-shared --enable-static make sudo make install Then try building wxruby. Hopefully it will work better. Nick Stephen Steiner wrote:> Nick, > > Yes, I''ve actually installed 1.8 over the default installation (in > /usr/lib and /usr/bin) on my machine and I''m sure that won''t help > matters at all. > > Do you query the path of the ruby interpreter that''s actually > performing the install? That might help get it in the right tree, at > least. > > No wonder I''m leery of making a binary distribution! > > Steve > > > On Aug 16, 2004, at 11:18 PM, Nick wrote: > >> >> The OS X installer was made to work with the default OS X ruby >> installation at /usr/lib/ruby, so if you''re using ruby 1.8 it >> probably isn''t in your installation directory. >> >> Nick >> >> >> Curt Hibbs wrote: >> >>> STEVE: Yes, wxRuby is being used on OS X. The wxRuby-user''s ML is >>> the best >>> place to go for help. I''ll cross post this and any responses if you >>> don''t >>> want to subscribe. >>> >>> WXRUBY-USERS: Steve is the guy who is working on the One-Click Ruby >>> Installer for OS X. Can anyone spot what his problem is here? >>> >>> Thanks, >>> Curt >>> >>> >>> Stephen Steiner wrote: >>> >>>> I''ve tried installing wxruby from the 0.4.0 panther .dmg file and am >>>> having no success at all. >>>> >>>> I installed the package and trying any of the samples gives me the >>>> same >>>> thing: >>>> >>>> ./calendar.rb:1:in `require'': No such file to load -- wxruby >>>> (LoadError) >>>> from ./calendar.rb:1 >>>> >>>> I downloaded the source .tgz, ran ./configure (which didn''t have >>>> execute permission and so, had to be tweaked) and the build got about >>>> this far: >>>> >>>> /Volumes/BigMacStriper/Users/ssteiner/Documents/Downloads/wxruby >>>> -0.4.0- >>>> src/src->make >>>> g++ -fno-common -g -O2 -pipe -fno-common `wx-config --cxxflags` >>>> -I. >>>> -I/usr/lib/ruby/1.8/powerpc-darwin7.5.0 >>>> -I/usr/lib/ruby/1.8/powerpc-darwin7.5.0 -I. -x objective-c++ -c >>>> wx.cpp >>>> wx.cpp: In function `void Init_wxruby()'': >>>> wx.cpp:149: error: call of overloaded `wxEntryStart(int&, char**)'' is >>>> ambiguous >>>> /usr/local/include/wx/init.h:29: error: candidates are: bool >>>> wxEntryStart(int&, >>>> wxChar**) >>>> wx.cpp:31: error: int wxEntryStart(int, char**) >>>> make: *** [wx.o] Error 1 >>>> >>>> Is anybody testing this on OS X? Who is the expert? >>>> >>>> Steve >>>> >>>> >>>> --- >>>> Incoming mail is certified Virus Free. >>>> Checked by AVG anti-virus system (http://www.grisoft.com). >>>> Version: 6.0.717 / Virus Database: 473 - Release Date: 7/8/2004 >>>> >>>> >>> >>> _______________________________________________ >>> wxruby-users mailing list >>> wxruby-users@rubyforge.org >>> http://rubyforge.org/mailman/listinfo/wxruby-users >>> >>> >>> >>> >> > > > >