Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion freeimage/image_science on leopard

Received: by 10.35.107.20 with SMTP id j20mr1090422pym.1193505876407;
        Sat, 27 Oct 2007 10:24:36 -0700 (PDT)
Received: by v3g2000hsg.googlegroups.com with HTTP;
	Sat, 27 Oct 2007 17:24:35 +0000 (UTC)
X-IP: 24.47.189.139
From:  Thomas Mango <tsma...@gmail.com>
To:  "Ruby on Rails: Talk" <rubyonrails-talk@googlegroups.com>
Subject: Re: freeimage/image_science on leopard
Date: Sat, 27 Oct 2007 17:24:35 -0000
Message-ID: <1193505875.205406.107510@v3g2000hsg.googlegroups.com>
In-Reply-To: <1193505474.118477.277670@22g2000hsm.googlegroups.com>
References: <3d5db09e0710270831q22ac54b0u1b7609fdb851c16@mail.gmail.com>
   <1193504260.254161.211600@22g2000hsm.googlegroups.com>
   <3d5db09e0710271010p6425c2cbna19939e334ff1190@mail.gmail.com>
   <1193505474.118477.277670@22g2000hsm.googlegroups.com>
User-Agent: G2/1.0
X-HTTP-UserAgent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en; rv:1.8.1.8) Gecko/20071010 Camino/1.5.2,gzip(gfe),gzip(gfe)
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

After reading http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-core/1=
2895
again, it seems to me like these patches have already been applied to
ruby in Leopard, so I did not rebuild ruby. Maybe that's what's going
on?

On Oct 27, 1:17 pm, Thomas Mango <tsma...@gmail.com> wrote:
> Nope, same thing.
>
> On Oct 27, 1:10 pm, "Michael Steinfeld" <mikeisgr...@gmail.com> wrote:
>
> > try removing ~/.ruby_inline
>
> > then try again.
>
> > On 10/27/07, Thomas Mango <tsma...@gmail.com> wrote:
>
> > > I've gotten pretty far with Michael's help so far. After editing
> > > Makefile.osx and making sure that the 10.3 developer sdk was installed
> > > from the Leopard install disk (through xcode dev tools install) I was
> > > able to get freeimage installed through macport as well as the image
> > > science gem installed. Still not loading correctly though:
>
> > > CompilationError (error executing cc -arch ppc -arch i386 -pipe -
> > > bundle -I/opt/local/include  -fno-common -arch ppc -arch i386 -Os -
> > > pipe -fno-common -I /System/Library/Frameworks/Ruby.framework/Version=
s/
> > > 1.8/usr/lib/ruby/1.8/universal-darwin9.0 -I /System/Library/Framework=
s/
> > > Ruby.framework/Versions/1.8/usr/include -o "/Users/
> > > tsmango/.ruby_inline/Inline_ImageScience_aa58.bundle" "/Users/
> > > tsmango/.ruby_inline/Inline_ImageScience_aa58.c" -L/opt/local/lib -
> > > lfreeimage -lstdc++: 256
> > > Renamed /Users/tsmango/.ruby_inline/Inline_ImageScience_aa58.c to /
> > > Users/tsmango/.ruby_inline/Inline_ImageScience_aa58.c.bad):
> > >     /Library/Ruby/Gems/1.8/gems/RubyInline-3.6.4/lib/inline.rb:399:in
> > > `build'
> > >     /Library/Ruby/Gems/1.8/gems/RubyInline-3.6.4/lib/inline.rb:676:in
> > > `inline'
> > >     /Library/Ruby/Gems/1.8/gems/image_science-1.1.3/lib/
> > > image_science.rb:84
> > >     /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/
> > > ruby/1.8/rubygems/custom_require.rb:32:in `gem_original_require'
> > >     /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/
> > > ruby/1.8/rubygems/custom_require.rb:32:in `require'
> > >     /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/
> > > ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/
> > > dependencies.rb:495:in `require'
> > >     /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/
> > > ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/
> > > dependencies.rb:342:in `new_constants_in'
> > >     /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/
> > > ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/
> > > dependencies.rb:495:in `require'
> > >     .//app/controllers/users_controller.rb:1
> > >     /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/
> > > ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/
> > > dependencies.rb:203:in `load_without_new_constant_marking'
> > >     /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/
> > > ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/
> > > dependencies.rb:203:in `load_file'
> > >     /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/
> > > ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/
> > > dependencies.rb:342:in `new_constants_in'
> > >     /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/
> > > ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/
> > > dependencies.rb:202:in `load_file'
> > >     /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/
> > > ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/
> > > dependencies.rb:94:in `require_or_load'
> > >     /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/
> > > ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/
> > > dependencies.rb:248:in `load_missing_constant'
> > >     /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/
> > > ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/
> > > dependencies.rb:452:in `const_missing'
> > >     /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/
> > > ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/
> > > dependencies.rb:464:in `const_missing'
> > >     /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/
> > > ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/inflector.r=
b:
> > > 250:in `constantize'
> > >     /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/
> > > ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/core_ext/
> > > string/inflections.rb:148:in `constantize'
> > >     /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/
> > > ruby/gems/1.8/gems/actionpack-1.13.3/lib/action_controller/routing.rb:
> > > 1284:in `recognize'
> > >     /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/
> > > ruby/gems/1.8/gems/rails-1.2.3/lib/dispatcher.rb:40:in `dispatch'
> > >     /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/
> > > ruby/gems/1.8/gems/mongrel-1.0.1/lib/mongrel/rails.rb:78:in `process'
> > >     /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/
> > > ruby/gems/1.8/gems/mongrel-1.0.1/lib/mongrel/rails.rb:76:in
> > > `synchronize'
> > >     /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/
> > > ruby/gems/1.8/gems/mongrel-1.0.1/lib/mongrel/rails.rb:76:in `process'
> > >     /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/
> > > ruby/gems/1.8/gems/mongrel-1.0.1/lib/mongrel.rb:618:in
> > > `process_client'
> > >     /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/
> > > ruby/gems/1.8/gems/mongrel-1.0.1/lib/mongrel.rb:617:in `each'
> > >     /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/
> > > ruby/gems/1.8/gems/mongrel-1.0.1/lib/mongrel.rb:617:in
> > > `process_client'
> > >     /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/
> > > ruby/gems/1.8/gems/mongrel-1.0.1/lib/mongrel.rb:736:in `run'
> > >     /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/
> > > ruby/gems/1.8/gems/mongrel-1.0.1/lib/mongrel.rb:736:in `initialize'
> > >     /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/
> > > ruby/gems/1.8/gems/mongrel-1.0.1/lib/mongrel.rb:736:in `new'
> > >     /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/
> > > ruby/gems/1.8/gems/mongrel-1.0.1/lib/mongrel.rb:736:in `run'
> > >     /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/
> > > ruby/gems/1.8/gems/mongrel-1.0.1/lib/mongrel.rb:720:in `initialize'
> > >     /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/
> > > ruby/gems/1.8/gems/mongrel-1.0.1/lib/mongrel.rb:720:in `new'
> > >     /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/
> > > ruby/gems/1.8/gems/mongrel-1.0.1/lib/mongrel.rb:720:in `run'
> > >     /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/
> > > ruby/gems/1.8/gems/mongrel-1.0.1/lib/mongrel/configurator.rb:271:in
> > > `run'
> > >     /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/
> > > ruby/gems/1.8/gems/mongrel-1.0.1/lib/mongrel/configurator.rb:270:in
> > > `each'
> > >     /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/
> > > ruby/gems/1.8/gems/mongrel-1.0.1/lib/mongrel/configurator.rb:270:in
> > > `run'
> > >     /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/
> > > ruby/gems/1.8/gems/mongrel-1.0.1/bin/mongrel_rails:127:in `run'
> > >     /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/
> > > ruby/gems/1.8/gems/mongrel-1.0.1/lib/mongrel/command.rb:211:in `run'
> > >     /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/
> > > ruby/gems/1.8/gems/mongrel-1.0.1/bin/mongrel_rails:243
> > >     /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/
> > > ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/
> > > dependencies.rb:488:in `load'
> > >     /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/
> > > ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/
> > > dependencies.rb:488:in `load'
> > >     /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/
> > > ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/
> > > dependencies.rb:342:in `new_constants_in'
> > >     /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/
> > > ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/
> > > dependencies.rb:488:in `load'
> > >     /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/
> > > ruby/gems/1.8/gems/rails-1.2.3/lib/commands/servers/mongrel.rb:60
> > >     /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/
> > > ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require'
> > >     /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/
> > > ruby/1.8/rubygems/custom_require.rb:27:in `require'
> > >     /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/
> > > ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/
> > > dependencies.rb:495:in `require'
> > >     /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/
> > > ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/
> > > dependencies.rb:342:in `new_constants_in'
> > >     /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/
> > > ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/
> > > dependencies.rb:495:in `require'
> > >     /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/
> > > ruby/gems/1.8/gems/rails-1.2.3/lib/commands/server.rb:39
> > >     /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/
> > > ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require'
> > >     /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/
> > > ruby/1.8/rubygems/custom_require.rb:27:in `require'
> > >     script/server:3
>
> > > On Oct 27, 11:31 am, "Michael Steinfeld" <mikeisgr...@gmail.com>
> > > wrote:
> > > > ---------- Forwarded message ----------
> > > > From: Michael Steinfeld <mikeisgr...@gmail.com>
> > > > Date: Oct 27, 2007 11:21 AM
> > > > Subject: Re: freeimage on leopard
> > > > To: Thomas Mango <tsma...@gmail.com>
>
> > > > Hi Thomas,
>
> > > >  I have been able to successfully install FreeImage and Image_Scien=
ce
> > > > but I can't guarantee the results. In my situation, my image uploads
> > > > seem to be a bit broken. Although FreeImage and Image_Science do
> > > > install successfully as far as I can tell.
>
> > > >  This was my stopping point last night, so I have not investigated
> > > > further. I plan to today. However, your mileage may vary.
>
> > > > I filed a bug report
>
> ...
>
> read more =BB