librelist archives

« back to archive

For real this time: Shoes works on Snow Leopard

For real this time: Shoes works on Snow Leopard

From:
Steve Klabnik
Date:
2010-06-14 @ 02:15
could not decode message

Re: [shoes] For real this time: Shoes works on Snow Leopard

From:
Devyn Cairns
Date:
2010-06-14 @ 05:30
could not decode message

Re: [shoes] For real this time: Shoes works on Snow Leopard

From:
Devyn Cairns
Date:
2010-06-14 @ 05:35
Problem. App opens, closes immediately. It doesn't appear to have anything
to do with my system libs.

http://cl.ly/1Mnm

-- 
   ~devyn

Re: [shoes] For real this time: Shoes works on Snow Leopard

From:
Steve Klabnik
Date:
2010-06-14 @ 05:39
>
> WHOA HOLY— seriously, that's amazing! how the— do tell!


Mostly just following the OSX build instructions. I'll add a page to the
wiki tomorrow.


Problem. App opens, closes immediately. It doesn't appear to have anything
> to do with my system libs.


Which app? Is that Hackety? I had to build my own libiconv....

Re: [shoes] For real this time: Shoes works on Snow Leopard

From:
Devyn Cairns
Date:
2010-06-14 @ 05:44
On Sun, Jun 13, 2010 at 10:39 PM, Steve Klabnik <steve@steveklabnik.com>wrote:

> WHOA HOLY— seriously, that's amazing! how the— do tell!
>
>
> Mostly just following the OSX build instructions. I'll add a page to the
> wiki tomorrow.
>
>
> Problem. App opens, closes immediately. It doesn't appear to have anything
>> to do with my system libs.
>
>
> Which app? Is that Hackety? I had to build my own libiconv....
>
>
>
No, just the Shoes.app you built (btw, you should really rename that to
Shoes.app.zip—OS X got confused ;-))



-- 
   ~devyn

Re: [shoes] For real this time: Shoes works on Snow Leopard

From:
Steve Klabnik
Date:
2010-06-15 @ 16:19
Checking out this screenshot, it seems that it's trying to load libiconv
from your /tmp/dep ? Do you have stuff in /tmp/dep?

If it's not actually building stuff into the .app, that'd kind of suck...

On Mon, Jun 14, 2010 at 1:35 AM, Devyn Cairns <devyn.cairns@gmail.com>wrote:

> Problem. App opens, closes immediately. It doesn't appear to have anything
> to do with my system libs.
>
> http://cl.ly/1Mnm
>
> --
>    ~devyn
>

Re: [shoes] For real this time: Shoes works on Snow Leopard

From:
Devyn Cairns
Date:
2010-06-16 @ 01:02
There is no /tmp/dep dir, so, I have no idea ;-)

I checked inside the app. The app has a ton of libraries in it related to
Shoes—but not libiconv.

On Tue, Jun 15, 2010 at 9:19 AM, Steve Klabnik <steve@steveklabnik.com>wrote:

> Checking out this screenshot, it seems that it's trying to load libiconv
> from your /tmp/dep ? Do you have stuff in /tmp/dep?
>
> If it's not actually building stuff into the .app, that'd kind of suck...
>
>
> On Mon, Jun 14, 2010 at 1:35 AM, Devyn Cairns <devyn.cairns@gmail.com>wrote:
>
>> Problem. App opens, closes immediately. It doesn't appear to have anything
>> to do with my system libs.
>>
>> http://cl.ly/1Mnm
>>
>> --
>>    ~devyn
>>
>
>


-- 
   ~devyn

Re: [shoes] For real this time: Shoes works on Snow Leopard

From:
Steve Klabnik
Date:
2010-06-16 @ 01:33
Yeah. That's apparently the issue. I need to get the libraries statically
compiled. :-/

On Tue, Jun 15, 2010 at 9:02 PM, Devyn Cairns <devyn.cairns@gmail.com>wrote:

> There is no /tmp/dep dir, so, I have no idea ;-)
>
> I checked inside the app. The app has a ton of libraries in it related to
> Shoes—but not libiconv.
>
>
>
>

Re: [shoes] For real this time: Shoes works on Snow Leopard

From:
Cecil Coupe
Date:
2010-06-16 @ 01:59
Look thru the shoes rakefile for 'iconv' . It should be part of a normal
Ruby 1.9.1 installation.

On Tue, 2010-06-15 at 18:02 -0700, Devyn Cairns wrote:
> There is no /tmp/dep dir, so, I have no idea ;-)
> 
> 
> I checked inside the app. The app has a ton of libraries in it related
> to Shoes—but not libiconv.
> 
> On Tue, Jun 15, 2010 at 9:19 AM, Steve Klabnik
> <steve@steveklabnik.com> wrote:
>         Checking out this screenshot, it seems that it's trying to
>         load libiconv from your /tmp/dep ? Do you have stuff
>         in /tmp/dep?
>         
>         
>         If it's not actually building stuff into the .app, that'd kind
>         of suck...
>         
>         
>         
>         On Mon, Jun 14, 2010 at 1:35 AM, Devyn Cairns
>         <devyn.cairns@gmail.com> wrote:
>                 Problem. App opens, closes immediately. It doesn't
>                 appear to have anything to do with my system libs.
>                 
>                 
>                 http://cl.ly/1Mnm
>                 
>                 -- 
>                    ~devyn
>                 
>         
>         
> 
> 
> 
> -- 
>    ~devyn
> 

Re: [shoes] For real this time: Shoes works on Snow Leopard

From:
Steve Klabnik
Date:
2010-06-16 @ 02:17
The only instance I see is that it's included twice on line 408.

On Tue, Jun 15, 2010 at 9:59 PM, Cecil Coupe <ccoupe@cableone.net> wrote:

> Look thru the shoes rakefile for 'iconv' . It should be part of a normal
> Ruby 1.9.1 installation.
>
> On Tue, 2010-06-15 at 18:02 -0700, Devyn Cairns wrote:
> > There is no /tmp/dep dir, so, I have no idea ;-)
> >
> >
> > I checked inside the app. The app has a ton of libraries in it related
> > to Shoes—but not libiconv.
> >
> > On Tue, Jun 15, 2010 at 9:19 AM, Steve Klabnik
> > <steve@steveklabnik.com> wrote:
> >         Checking out this screenshot, it seems that it's trying to
> >         load libiconv from your /tmp/dep ? Do you have stuff
> >         in /tmp/dep?
> >
> >
> >         If it's not actually building stuff into the .app, that'd kind
> >         of suck...
> >
> >
> >
> >         On Mon, Jun 14, 2010 at 1:35 AM, Devyn Cairns
> >         <devyn.cairns@gmail.com> wrote:
> >                 Problem. App opens, closes immediately. It doesn't
> >                 appear to have anything to do with my system libs.
> >
> >
> >                 http://cl.ly/1Mnm
> >
> >                 --
> >                    ~devyn
> >
> >
> >
> >
> >
> >
> > --
> >    ~devyn
> >
>
>
>

Re: [shoes] For real this time: Shoes works on Snow Leopard

From:
Cecil Coupe
Date:
2010-06-16 @ 03:00
On Tue, 2010-06-15 at 22:17 -0400, Steve Klabnik wrote:
> The only instance I see is that it's included twice on line 408.

On a line to build Linux flags. In OSX, iconv is missing or called
something else or not needed in 10.6 or your Ruby install didn't put it
where older versions of OSX build system and the Rakefile expects it.

In linux, 
> sudo find / -name 'iconv*' -print
will eventually produce
> /usr/bin/iconv
> /usr/lib/ruby/1.8/x86_64-linux/iconv.so
> /usr/lib/ruby/1.9.1/x86_64-linux/iconv.so
> 
> On Tue, Jun 15, 2010 at 9:59 PM, Cecil Coupe <ccoupe@cableone.net>
> wrote:
>         Look thru the shoes rakefile for 'iconv' . It should be part
>         of a normal
>         Ruby 1.9.1 installation.
>         
>         
>         On Tue, 2010-06-15 at 18:02 -0700, Devyn Cairns wrote:
>         > There is no /tmp/dep dir, so, I have no idea ;-)
>         >
>         >
>         > I checked inside the app. The app has a ton of libraries in
>         it related
>         > to Shoes—but not libiconv.
>         >
>         > On Tue, Jun 15, 2010 at 9:19 AM, Steve Klabnik
>         > <steve@steveklabnik.com> wrote:
>         >         Checking out this screenshot, it seems that it's
>         trying to
>         >         load libiconv from your /tmp/dep ? Do you have stuff
>         >         in /tmp/dep?
>         >
>         >
>         >         If it's not actually building stuff into the .app,
>         that'd kind
>         >         of suck...
>         >
>         >
>         >
>         >         On Mon, Jun 14, 2010 at 1:35 AM, Devyn Cairns
>         >         <devyn.cairns@gmail.com> wrote:
>         >                 Problem. App opens, closes immediately. It
>         doesn't
>         >                 appear to have anything to do with my system
>         libs.
>         >
>         >
>         >                 http://cl.ly/1Mnm
>         >
>         >                 --
>         >                    ~devyn
>         >
>         >
>         >
>         >
>         >
>         >
>         > --
>         >    ~devyn
>         >
>         
>         
>         
> 

Re: [shoes] For real this time: Shoes works on Snow Leopard

From:
Cecil Coupe
Date:
2010-06-16 @ 03:10
A quick google of 'iconv 10.6' tells me its a well known 64bit issue
with 10.6.?

On Tue, 2010-06-15 at 22:17 -0400, Steve Klabnik wrote:
> The only instance I see is that it's included twice on line 408.
> 
> On Tue, Jun 15, 2010 at 9:59 PM, Cecil Coupe <ccoupe@cableone.net>
> wrote:
>         Look thru the shoes rakefile for 'iconv' . It should be part
>         of a normal
>         Ruby 1.9.1 installation.
>         
>         
>         On Tue, 2010-06-15 at 18:02 -0700, Devyn Cairns wrote:
>         > There is no /tmp/dep dir, so, I have no idea ;-)
>         >
>         >
>         > I checked inside the app. The app has a ton of libraries in
>         it related
>         > to Shoes—but not libiconv.
>         >
>         > On Tue, Jun 15, 2010 at 9:19 AM, Steve Klabnik
>         > <steve@steveklabnik.com> wrote:
>         >         Checking out this screenshot, it seems that it's
>         trying to
>         >         load libiconv from your /tmp/dep ? Do you have stuff
>         >         in /tmp/dep?
>         >
>         >
>         >         If it's not actually building stuff into the .app,
>         that'd kind
>         >         of suck...
>         >
>         >
>         >
>         >         On Mon, Jun 14, 2010 at 1:35 AM, Devyn Cairns
>         >         <devyn.cairns@gmail.com> wrote:
>         >                 Problem. App opens, closes immediately. It
>         doesn't
>         >                 appear to have anything to do with my system
>         libs.
>         >
>         >
>         >                 http://cl.ly/1Mnm
>         >
>         >                 --
>         >                    ~devyn
>         >
>         >
>         >
>         >
>         >
>         >
>         > --
>         >    ~devyn
>         >
>         
>         
>         
> 

Re: [shoes] For real this time: Shoes works on Snow Leopard

From:
Steve Klabnik
Date:
2010-06-16 @ 03:36
I think I've solved the problem.

I just posted the freshly made dmg to my github:
http://github.com/steveklabnik/shoes/downloads

On Tue, Jun 15, 2010 at 11:10 PM, Cecil Coupe <ccoupe@cableone.net> wrote:

> A quick google of 'iconv 10.6' tells me its a well known 64bit issue
> with 10.6.?
>
> On Tue, 2010-06-15 at 22:17 -0400, Steve Klabnik wrote:
> > The only instance I see is that it's included twice on line 408.
> >
> > On Tue, Jun 15, 2010 at 9:59 PM, Cecil Coupe <ccoupe@cableone.net>
> > wrote:
> >         Look thru the shoes rakefile for 'iconv' . It should be part
> >         of a normal
> >         Ruby 1.9.1 installation.
> >
> >
> >         On Tue, 2010-06-15 at 18:02 -0700, Devyn Cairns wrote:
> >         > There is no /tmp/dep dir, so, I have no idea ;-)
> >         >
> >         >
> >         > I checked inside the app. The app has a ton of libraries in
> >         it related
> >         > to Shoes—but not libiconv.
> >         >
> >         > On Tue, Jun 15, 2010 at 9:19 AM, Steve Klabnik
> >         > <steve@steveklabnik.com> wrote:
> >         >         Checking out this screenshot, it seems that it's
> >         trying to
> >         >         load libiconv from your /tmp/dep ? Do you have stuff
> >         >         in /tmp/dep?
> >         >
> >         >
> >         >         If it's not actually building stuff into the .app,
> >         that'd kind
> >         >         of suck...
> >         >
> >         >
> >         >
> >         >         On Mon, Jun 14, 2010 at 1:35 AM, Devyn Cairns
> >         >         <devyn.cairns@gmail.com> wrote:
> >         >                 Problem. App opens, closes immediately. It
> >         doesn't
> >         >                 appear to have anything to do with my system
> >         libs.
> >         >
> >         >
> >         >                 http://cl.ly/1Mnm
> >         >
> >         >                 --
> >         >                    ~devyn
> >         >
> >         >
> >         >
> >         >
> >         >
> >         >
> >         > --
> >         >    ~devyn
> >         >
> >
> >
> >
> >
>
>
>

Re: [shoes] For real this time: Shoes works on Snow Leopard

From:
ashbb
Date:
2010-06-16 @ 11:55
Congrats!!
Does anyone try to run his new build?

ashbb

Re: [shoes] For real this time: Shoes works on Snow Leopard

From:
Devyn Cairns
Date:
2010-06-16 @ 17:15
Works! Perfectly.

On Wed, Jun 16, 2010 at 4:55 AM, ashbb <ashbbb@gmail.com> wrote:

> Congrats!!
> Does anyone try to run his new build?
>
> ashbb
>



-- 
   ~devyn

Re: [shoes] For real this time: Shoes works on Snow Leopard

From:
Devyn Cairns
Date:
2010-06-16 @ 17:43
One thing: simple-sphere.rb. Possibly because of :resizable => false?

On Wed, Jun 16, 2010 at 10:15 AM, Devyn Cairns <devyn.cairns@gmail.com>wrote:

> Works! Perfectly.
>
>
> On Wed, Jun 16, 2010 at 4:55 AM, ashbb <ashbbb@gmail.com> wrote:
>
>> Congrats!!
>> Does anyone try to run his new build?
>>
>> ashbb
>>
>
>
>
> --
>    ~devyn
>



-- 
   ~devyn

Re: [shoes] For real this time: Shoes works on Snow Leopard

From:
Devyn Cairns
Date:
2010-06-16 @ 17:48
And a manual issue:

http://cl.ly/1OAx

On Wed, Jun 16, 2010 at 10:43 AM, Devyn Cairns <devyn.cairns@gmail.com>wrote:

> One thing: simple-sphere.rb. Possibly because of :resizable => false?
>
>
> On Wed, Jun 16, 2010 at 10:15 AM, Devyn Cairns <devyn.cairns@gmail.com>wrote:
>
>> Works! Perfectly.
>>
>>
>> On Wed, Jun 16, 2010 at 4:55 AM, ashbb <ashbbb@gmail.com> wrote:
>>
>>> Congrats!!
>>> Does anyone try to run his new build?
>>>
>>> ashbb
>>>
>>
>>
>>
>> --
>>    ~devyn
>>
>
>
>
> --
>    ~devyn
>



-- 
   ~devyn

Re: [shoes] For real this time: Shoes works on Snow Leopard

From:
Steve Klabnik
Date:
2010-06-16 @ 18:09
Hrm, I'm seeing something similar to your manual issue in Hackety, as well:
http://github.com/steveklabnik/hacketyhack/issues#issue/1

I'm going to open up Issues on my own shoes account, we should probably put
bug reports there, as to not make the list too noisy.

Re: [shoes] For real this time: Shoes works on Snow Leopard

From:
Cecil Coupe
Date:
2010-06-14 @ 02:34
Congratulations!

On Sun, 2010-06-13 at 22:15 -0400, Steve Klabnik wrote:
> Hey guys. I just compiled and ran shoes on Snow Leopard. Wow. Check it
> out:
> 
> 
> WIN.png
> 
> 
> 
> I pushed the changes to GitHub and sent a pull request. It was
> literally like a 45 character change.
> 
> 
> Basically, once I got everything straightened out, the only thing that
> wasn't working was two symbols from Carbon. I converted those to their
> Cocoa equivalents, and boom. Done.
> 
> 
> I'm so happy.

Re: [shoes] For real this time: Shoes works on Snow Leopard

From:
Steve Klabnik
Date:
2010-06-14 @ 02:40
Thanks. If anyone wants to try it, here it is:
http://github.com/steveklabnik/shoes/downloads

Also, I screwed up slightly, and left the wrong Rakefile in that merge. so
my current github is the right one.


Also, when trying to load up Hackety, I'm getting 'no such file to load:
hpricot_scan'. Did hpricot get removed from Shoes? Time to investigate...

Re: [shoes] For real this time: Shoes works on Snow Leopard

From:
Cecil Coupe
Date:
2010-06-14 @ 03:07
Hpricot is in my version of shoes:

> ccoupe@twb:~/Projects/shoes$ find . -name 'hpricot_scan*' -print
> ./dist/ruby/gems/1.9.1/gems/hpricot-0.8.1/lib/hpricot_scan.so
> ./req/hpricot/ext/hpricot_scan
> ./req/hpricot/ext/hpricot_scan/hpricot_scan.o
> ./req/hpricot/ext/hpricot_scan/hpricot_scan.so
> ./req/hpricot/ext/hpricot_scan/hpricot_scan.h
> ./req/hpricot/ext/hpricot_scan/hpricot_scan.c

On Sun, 2010-06-13 at 22:40 -0400, Steve Klabnik wrote:
> Thanks. If anyone wants to try it, here it
> is: http://github.com/steveklabnik/shoes/downloads
> 
> 
> Also, I screwed up slightly, and left the wrong Rakefile in that
> merge. so my current github is the right one.
> 
> 
> 
> 
> Also, when trying to load up Hackety, I'm getting 'no such file to
> load: hpricot_scan'. Did hpricot get removed from Shoes? Time to
> investigate...

Re: [shoes] For real this time: Shoes works on Snow Leopard

From:
Steve Klabnik
Date:
2010-06-14 @ 04:24
Cecil (or anyone else), when you get the chance, would you mind checking
your build output to see if/when it actually compiles those extensions? I
just have this:

mkdir -p dist/ruby/gems/1.9.1/gems/hpricot-0.8.1/lib

cp -r req/hpricot/lib/hpricot dist/ruby/gems/1.9.1/gems/hpricot-0.8.1/lib

cp -r req/hpricot/lib/hpricot.rb dist/ruby/gems/1.9.1/gems/hpricot-0.8.1/lib

mkdir -p dist/ruby/gems/1.9.1/gems/hpricot-0.8.1/lib

cp req/hpricot/gemspec
> dist/ruby/gems/1.9.1/specifications/hpricot-0.8.1.gemspec


when it comes to hpricot. I'm not sure when it should be building those
extensions...


more investigations are in order.

Re: [shoes] For real this time: Shoes works on Snow Leopard

From:
Steve Klabnik
Date:
2010-06-14 @ 04:38
Oh wait, I found it. Check out this sweet diff:

index 962a978..503ca3f 100644

--- a/Rakefile

+++ b/Rakefile

@@ -81,9 +81,9 @@ def copy_ext xdir, libdir

     dxdir = xdir.gsub %r!^req/\w+/!, 'deps/'

     copy_files "#{dxdir}/*.so", libdir

   when /darwin/

-    # Dir.chdir(xdir) do

-    #   `ruby extconf.rb; make`

-    # end

+    Dir.chdir(xdir) do

+       `ruby extconf.rb; make`

+    end

     copy_files "#{xdir}/*.bundle", libdir

   else

     Dir.chdir(xdir) do



*facepalm*


I almost have Hackety working. I'm going to make a separate thread about
that issue, if I can't figure it out.

Re: [shoes] For real this time: Shoes works on Snow Leopard

From:
i5m
Date:
2010-06-21 @ 14:08
Thanks for this. This was on my nag-list for OSX PPC (There is an email from
me somewhere in one of the archives).
-----------------------
i5m.co.uk
GPG Key: 0xA18A602B


On Mon, Jun 14, 2010 at 5:38 AM, Steve Klabnik <steve@steveklabnik.com>wrote:

> Oh wait, I found it. Check out this sweet diff:
>
> index 962a978..503ca3f 100644
>
> --- a/Rakefile
>
> +++ b/Rakefile
>
> @@ -81,9 +81,9 @@ def copy_ext xdir, libdir
>
>      dxdir = xdir.gsub %r!^req/\w+/!, 'deps/'
>
>      copy_files "#{dxdir}/*.so", libdir
>
>    when /darwin/
>
> -    # Dir.chdir(xdir) do
>
> -    #   `ruby extconf.rb; make`
>
> -    # end
>
> +    Dir.chdir(xdir) do
>
> +       `ruby extconf.rb; make`
>
> +    end
>
>      copy_files "#{xdir}/*.bundle", libdir
>
>    else
>
>      Dir.chdir(xdir) do
>
>
>
> *facepalm*
>
>
> I almost have Hackety working. I'm going to make a separate thread about
> that issue, if I can't figure it out.
>

Re: [shoes] For real this time: Shoes works on Snow Leopard

From:
Cecil Coupe
Date:
2010-06-14 @ 05:01
Not the first time the rakefile and the deps processing haven't done the
right thing as OS versions evolve. I'd bet they were commented out so
the bulk of shoes would compile and the author intended to deal with the
'req' tree later when the most difficult 10.6 OSX issues were fixed.

--Cecil



On Mon, 2010-06-14 at 00:38 -0400, Steve Klabnik wrote:
> Oh wait, I found it. Check out this sweet diff:
> 
> 
>         index 962a978..503ca3f 100644
>         --- a/Rakefile
>         +++ b/Rakefile
>         @@ -81,9 +81,9 @@ def copy_ext xdir, libdir
>              dxdir = xdir.gsub %r!^req/\w+/!, 'deps/'
>              copy_files "#{dxdir}/*.so", libdir
>            when /darwin/
>         -    # Dir.chdir(xdir) do
>         -    #   `ruby extconf.rb; make`
>         -    # end
>         +    Dir.chdir(xdir) do
>         +       `ruby extconf.rb; make`
>         +    end
>              copy_files "#{xdir}/*.bundle", libdir
>            else
>              Dir.chdir(xdir) do
> 
> 
> 
> 
> *facepalm* 
> 
> 
> 
> 
> I almost have Hackety working. I'm going to make a separate thread
> about that issue, if I can't figure it out.

Re: [shoes] For real this time: Shoes works on Snow Leopard

From:
ashbb
Date:
2010-06-14 @ 13:49
Hey Steve,

Awesome! Thank you for the great work.
Then we can release Shoes 3 on WhyDay! :-D

ashbb

Re: [shoes] For real this time: Shoes works on Snow Leopard

From:
Steve Klabnik
Date:
2010-06-14 @ 03:12
Yeah, it's there, apparently:

$ find . -name 'hpricot_scan*' -print
./req/hpricot/ext/hpricot_scan
./req/hpricot/ext/hpricot_scan/hpricot_scan.c
./req/hpricot/ext/hpricot_scan/hpricot_scan.h


OOOOOH. Wait a minute. Seems as though it's not compiling hpricot.
IIIINTERESTING.

Looks like I have more work to do before it's 100% working.