I should reiterate that image_science may not be the culprit here but
FreeImage...
On 10/26/07, Michael Steinfeld
<mikeisgreat-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
wrote:> Does anyone know how to contact the image_science folks?
>
> In any case, it appears image_science is broken on leopard.
> After fighting a bit with the Makefile for FreeImage, I have been able
> to compile it successfully.
>
> After installing the image_science gem and I start mongrel this is what I
get..
>
> luser@budward :> mongrel_rails start
> ** Ruby version is up-to-date; cgi_multipart_eof_fix was not loaded
> ** Starting Mongrel listening at 0.0.0.0:3000
> ** Starting Rails with development environment...
> Undefined symbols for architecture i386:
> "_rb_yield", referenced from:
> _rb_yield$non_lazy_ptr in ccDrwKX2.o
> "_rb_check_type", referenced from:
> _unload in ccDrwKX2.o
> _with_crop in ccDrwKX2.o
> _height in ccDrwKX2.o
> _width in ccDrwKX2.o
> _resize in ccDrwKX2.o
> _save in ccDrwKX2.o
> "_ruby_debug", referenced from:
> _ruby_debug$non_lazy_ptr in ccDrwKX2.o
> "_rb_num2long", referenced from:
> _resize in ccDrwKX2.o
> _resize in ccDrwKX2.o
> "_rb_raise", referenced from:
> _unload in ccDrwKX2.o
> _FreeImageErrorHandler in ccDrwKX2.o
> _with_image in ccDrwKX2.o
> _with_crop in ccDrwKX2.o
> _height in ccDrwKX2.o
> _width in ccDrwKX2.o
> _resize in ccDrwKX2.o
> _save in ccDrwKX2.o
> "_rb_const_get_at", referenced from:
> _Init_Inline_ImageScience_aa58 in ccDrwKX2.o
> "_rb_cNilClass", referenced from:
> _rb_cNilClass$non_lazy_ptr in ccDrwKX2.o
> "_rb_cObject", referenced from:
> _rb_cObject$non_lazy_ptr in ccDrwKX2.o
> "_rb_eTypeError", referenced from:
> _rb_eTypeError$non_lazy_ptr in ccDrwKX2.o
> "_rb_intern", referenced from:
> _Init_Inline_ImageScience_aa58 in ccDrwKX2.o
> "_rb_ensure", referenced from:
> _wrap_and_yield in ccDrwKX2.o
> "_rb_define_method", referenced from:
> _Init_Inline_ImageScience_aa58 in ccDrwKX2.o
> _Init_Inline_ImageScience_aa58 in ccDrwKX2.o
> _Init_Inline_ImageScience_aa58 in ccDrwKX2.o
> _Init_Inline_ImageScience_aa58 in ccDrwKX2.o
> _Init_Inline_ImageScience_aa58 in ccDrwKX2.o
> "_rb_define_singleton_method", referenced from:
> _Init_Inline_ImageScience_aa58 in ccDrwKX2.o
> "_rb_data_object_alloc", referenced from:
> _wrap_and_yield in ccDrwKX2.o
> "_rb_eRuntimeError", referenced from:
> _rb_eRuntimeError$non_lazy_ptr in ccDrwKX2.o
> "_rb_str2cstr", referenced from:
> _with_image in ccDrwKX2.o
> _save in ccDrwKX2.o
> "_rb_cTrueClass", referenced from:
> _rb_cTrueClass$non_lazy_ptr in ccDrwKX2.o
> "_rb_iv_get", referenced from:
> _wrap_and_yield in ccDrwKX2.o
> _copy_icc_profile in ccDrwKX2.o
> _save in ccDrwKX2.o
> "_rb_cFalseClass", referenced from:
> _rb_cFalseClass$non_lazy_ptr in ccDrwKX2.o
> "_rb_cSymbol", referenced from:
> _rb_cSymbol$non_lazy_ptr in ccDrwKX2.o
> "_rb_iv_set", referenced from:
> _wrap_and_yield in ccDrwKX2.o
> "_rb_cFixnum", referenced from:
> _rb_cFixnum$non_lazy_ptr in ccDrwKX2.o
> "_rb_eArgError", referenced from:
> _rb_eArgError$non_lazy_ptr in ccDrwKX2.o
> ld: symbol(s) not found for architecture i386
> collect2: ld returned 1 exit status
> Undefined symbols for architecture ppc:
> "_rb_yield", referenced from:
> _rb_yield$non_lazy_ptr in ccVAeq8i.o
> "_rb_check_type", referenced from:
> _unload in ccVAeq8i.o
> _with_crop in ccVAeq8i.o
> _height in ccVAeq8i.o
> _width in ccVAeq8i.o
> _resize in ccVAeq8i.o
> _save in ccVAeq8i.o
> "_ruby_debug", referenced from:
> _ruby_debug$non_lazy_ptr in ccVAeq8i.o
> "_rb_num2long", referenced from:
> _resize in ccVAeq8i.o
> _resize in ccVAeq8i.o
> "_rb_raise", referenced from:
> _unload in ccVAeq8i.o
> _FreeImageErrorHandler in ccVAeq8i.o
> _with_image in ccVAeq8i.o
> _with_crop in ccVAeq8i.o
> _height in ccVAeq8i.o
> _width in ccVAeq8i.o
> _resize in ccVAeq8i.o
> _save in ccVAeq8i.o
> "_rb_const_get_at", referenced from:
> _Init_Inline_ImageScience_aa58 in ccVAeq8i.o
> "_rb_cNilClass", referenced from:
> _rb_cNilClass$non_lazy_ptr in ccVAeq8i.o
> "_rb_cObject", referenced from:
> _rb_cObject$non_lazy_ptr in ccVAeq8i.o
> "_rb_eTypeError", referenced from:
> _rb_eTypeError$non_lazy_ptr in ccVAeq8i.o
> "_rb_intern", referenced from:
> _Init_Inline_ImageScience_aa58 in ccVAeq8i.o
> "_rb_ensure", referenced from:
> _wrap_and_yield in ccVAeq8i.o
> "_rb_define_method", referenced from:
> _Init_Inline_ImageScience_aa58 in ccVAeq8i.o
> _Init_Inline_ImageScience_aa58 in ccVAeq8i.o
> _Init_Inline_ImageScience_aa58 in ccVAeq8i.o
> _Init_Inline_ImageScience_aa58 in ccVAeq8i.o
> _Init_Inline_ImageScience_aa58 in ccVAeq8i.o
> "_rb_define_singleton_method", referenced from:
> _Init_Inline_ImageScience_aa58 in ccVAeq8i.o
> "_rb_data_object_alloc", referenced from:
> _wrap_and_yield in ccVAeq8i.o
> "_rb_eRuntimeError", referenced from:
> _rb_eRuntimeError$non_lazy_ptr in ccVAeq8i.o
> "_rb_str2cstr", referenced from:
> _with_image in ccVAeq8i.o
> _save in ccVAeq8i.o
> "_rb_cTrueClass", referenced from:
> _rb_cTrueClass$non_lazy_ptr in ccVAeq8i.o
> "_rb_iv_get", referenced from:
> _wrap_and_yield in ccVAeq8i.o
> _copy_icc_profile in ccVAeq8i.o
> _save in ccVAeq8i.o
> "_rb_cFalseClass", referenced from:
> _rb_cFalseClass$non_lazy_ptr in ccVAeq8i.o
> "_rb_cSymbol", referenced from:
> _rb_cSymbol$non_lazy_ptr in ccVAeq8i.o
> "_rb_iv_set", referenced from:
> _wrap_and_yield in ccVAeq8i.o
> "_rb_cFixnum", referenced from:
> _rb_cFixnum$non_lazy_ptr in ccVAeq8i.o
> "_rb_eArgError", referenced from:
> _rb_eArgError$non_lazy_ptr in ccVAeq8i.o
> ld: symbol(s) not found for architecture ppc
> collect2: ld returned 1 exit status
> lipo: can''t open input file:
> /var/folders/vj/vji-L2RIHIe8Q5K2EoFRKk+++TI/-Tmp-//cc83n4YL.out (No
> such file or directory)
> /Library/Ruby/Gems/1.8/gems/RubyInline-3.6.4/lib/inline.rb:399:in
> `build'': error executing cc -arch ppc -arch i386 -pipe -bundle
> -fno-common -arch ppc -arch i386 -Os -pipe -fno-common -I
>
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/universal-darwin9.0
> -I /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/include
> -o "/Users/luser/.ruby_inline/Inline_ImageScience_aa58.bundle"
> "/Users/luser/.ruby_inline/Inline_ImageScience_aa58.c"
-lfreeimage
> -lstdc++: 256 (CompilationError)
> Renamed /Users/mike/.ruby_inline/Inline_ImageScience_aa58.c to
> /Users/mike/.ruby_inline/Inline_ImageScience_aa58.c.bad from
> /Library/Ruby/Gems/1.8/gems/RubyInline-3.6.4/lib/inline.rb:676:in
> `inline''
> from
/Library/Ruby/Gems/1.8/gems/image_science-1.1.3/lib/image_science.rb:84
> from
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems/custom_require.rb:32:in
> `gem_original_require''
> from
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems/custom_require.rb:32:in
> `require''
> from
/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''
> from
/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''
> from
/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''
> from
/Users/mike/Sites/tunecore/release-3.5/config/environment.rb:79
> ... 11 levels...
> from
/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''
> from
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/mongrel-1.0.1/bin/mongrel_rails:243
> from /usr/bin/mongrel_rails:16:in `load''
> from /usr/bin/mongrel_rails:16
>
>
> --
> Mike
>
--
Michael Steinfeld
Linux Admin/Developer
AIM: mikesteinfeld
GTALK: mikeisgreat-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---