[Mongrel] mongrel memory usage ballooning and process stomping

Michael D'Auria michael.dauria at gmail.com
Fri Jan 19 10:33:29 EST 2007


Hunter,

I would just install it without using ports, you can check out the
image_science page for info on how to compile with specific Mac OSX tips.


On 1/18/07, Hunter Hillegas <lists at lastonepicked.com> wrote:
>
> I'm interested in trying ImageScience but I can't get FreeImage, the
> processing lib, to build on MacOS X 10.4 (Intel). Has anyone had luck?
>
> I tried building from source and using DarwinPorts, both no dice:
>
> gonzo:~/Unix/Sources/imagescience_stuff/FreeImage hunter$ sudo port
> install freeimage
> --->  Building freeimage with target all
> Error: Target com.apple.build returned: shell command "cd "/opt/local/
> var/db/dports/build/
> _opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dp
> orts_graphics_freeimage/work/FreeImage" && make all" returned error 2
> Command output: Source/FreeImage/BitmapAccess.cpp:813: error:
> expected `;' before 'TAGMAP'
> Source/FreeImage/BitmapAccess.cpp:821: error: 'strcmp' was not
> declared in this scope
> Source/FreeImage/BitmapAccess.cpp:825: error: 'FreeImage_GetTagCount'
> was not declared in this scope
> Source/FreeImage/BitmapAccess.cpp:825: error: 'WORD' was not declared
> in this scope
> Source/FreeImage/BitmapAccess.cpp:825: error:
> 'FreeImage_TagDataWidth' cannot be used as a function
> Source/FreeImage/BitmapAccess.cpp:825: error:
> 'FreeImage_GetTagLength' was not declared in this scope
> Source/FreeImage/BitmapAccess.cpp:839: error: 'WORD' was not declared
> in this scope
> Source/FreeImage/BitmapAccess.cpp:858: error: 'TAGMAP' is not a class
> or namespace
> Source/FreeImage/BitmapAccess.cpp:858: error: 'iterator' was not
> declared in this scope
> Source/FreeImage/BitmapAccess.cpp:858: error: expected `;' before 'i'
> Source/FreeImage/BitmapAccess.cpp:859: error: 'i' was not declared in
> this scope
> Source/FreeImage/BitmapAccess.cpp:869: error: 'TAGMAP' is not a class
> or namespace
> Source/FreeImage/BitmapAccess.cpp:869: error: 'iterator' was not
> declared in this scope
> Source/FreeImage/BitmapAccess.cpp:869: error: expected `;' before 'i'
> Source/FreeImage/BitmapAccess.cpp:869: error: 'i' was not declared in
> this scope
> Source/FreeImage/BitmapAccess.cpp:874: error: type '<type error>'
> argument given to 'delete', expected pointer
> Source/FreeImage/BitmapAccess.cpp: In function 'BOOL
> FreeImage_GetMetadata(FREE_IMAGE_MDMODEL, FIBITMAP*, const char*,
> FITAG**)':
> Source/FreeImage/BitmapAccess.cpp:887: error: 'TAGMAP' was not
> declared in this scope
> Source/FreeImage/BitmapAccess.cpp:887: error: 'tagmap' was not
> declared in this scope
> Source/FreeImage/BitmapAccess.cpp:891: error: 'METADATAMAP' was not
> declared in this scope
> Source/FreeImage/BitmapAccess.cpp:891: error: 'metadata' was not
> declared in this scope
> Source/FreeImage/BitmapAccess.cpp:891: error: 'struct
> FREEIMAGEHEADER' has no member named 'metadata'
> Source/FreeImage/BitmapAccess.cpp: In function 'unsigned int
> FreeImage_GetMetadataCount(FREE_IMAGE_MDMODEL, FIBITMAP*)':
> Source/FreeImage/BitmapAccess.cpp:912: error: 'TAGMAP' was not
> declared in this scope
> Source/FreeImage/BitmapAccess.cpp:912: error: 'tagmap' was not
> declared in this scope
> Source/FreeImage/BitmapAccess.cpp:915: error: 'METADATAMAP' was not
> declared in this scope
> Source/FreeImage/BitmapAccess.cpp:915: error: 'metadata' was not
> declared in this scope
> Source/FreeImage/BitmapAccess.cpp:915: error: 'struct
> FREEIMAGEHEADER' has no member named 'metadata'
> make[1]: *** [Source/FreeImage/BitmapAccess.o-ppc] Error 1
> make: *** [all] Error 2
>
>
> On Jan 18, 2007, at 11:59 AM, Ezra Zygmuntowicz wrote:
>
> > Mini magick is very nice. But also look at ImageScience. If you are
> > only using rmagick for thumbnailing, resizing and cropping then image
> > science is much better. Its about 5 times faster and it doesn't leak
> > any memory. Highly recommended.
>
> _______________________________________________
> Mongrel-users mailing list
> Mongrel-users at rubyforge.org
> http://rubyforge.org/mailman/listinfo/mongrel-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/mongrel-users/attachments/20070119/f83a700a/attachment.html 


More information about the Mongrel-users mailing list