I''m trying to install Image Science on my Mac (according to the instructions on http://seattlerb.rubyforge.org/ImageScience.html) so I can use attachment_fu for image resizing. However the commands beginning with ''sudo port'' just throw up a command not found error. Is there some part of Xcode I need to install? Alternatively I''ve tried compiling based on the readme.osx file - using ''make -f Makefile.osx'' but then I get a different error: g++-4.0 -Wno-ctor-dtor-privacy -Os -arch ppc -I. -ISource -ISource/ Metadata -ISource/FreeImageToolkit -ISource/LibJPEG -ISource/LibMNG - ISource/LibPNG -ISource/LibTIFF -ISource/ZLib -isysroot /Developer/ SDKs/MacOSX10.3.9.sdk -c Source/FreeImage/BitmapAccess.cpp -o Source/ FreeImage/BitmapAccess.o-ppc Source/FreeImage/BitmapAccess.cpp:30:20: error: malloc.h: No such file or directory make: *** [Source/FreeImage/BitmapAccess.o-ppc] Error 1 Can anyone help? I''m probably just being an idiot! Andy Croll www.deepcalm.com --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
To use ''port'' you''ll need to install MacPorts first: http://www.macports.org/ On 4/5/07, andycroll-AtINh79MtmZWk0Htik3J/w@public.gmane.org <andyjcroll-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org> wrote:> > I''m trying to install Image Science on my Mac (according to the > instructions on http://seattlerb.rubyforge.org/ImageScience.html) so I > can use attachment_fu for image resizing. However the commands > beginning with ''sudo port'' just throw up a command not found error. Is > there some part of Xcode I need to install? > > Alternatively I''ve tried compiling based on the readme.osx file - > using ''make -f Makefile.osx'' but then I get a different error: > > g++-4.0 -Wno-ctor-dtor-privacy -Os -arch ppc -I. -ISource -ISource/ > Metadata -ISource/FreeImageToolkit -ISource/LibJPEG -ISource/LibMNG - > ISource/LibPNG -ISource/LibTIFF -ISource/ZLib -isysroot /Developer/ > SDKs/MacOSX10.3.9.sdk -c Source/FreeImage/BitmapAccess.cpp -o Source/ > FreeImage/BitmapAccess.o-ppc > Source/FreeImage/BitmapAccess.cpp:30:20: error: malloc.h: No such file > or directory > make: *** [Source/FreeImage/BitmapAccess.o-ppc] Error 1 > > Can anyone help? I''m probably just being an idiot! > > Andy Croll > www.deepcalm.com > > > > >--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Knew it had to be something obvious I was missing. Thanks Rob! Life/ frustration-saver. On Apr 5, 12:30 pm, "Rob Bevan" <robbe...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> To use ''port'' you''ll need to install MacPorts first:http://www.macports.org/ > > On 4/5/07, andycr...-AtINh79MtmZWk0Htik3J/w@public.gmane.org <andyjcr...-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org> wrote: > > > > > I''m trying to install Image Science on my Mac (according to the > > instructions onhttp://seattlerb.rubyforge.org/ImageScience.html) so I > > can use attachment_fu for image resizing. However the commands > > beginning with ''sudo port'' just throw up a command not found error. Is > > there some part of Xcode I need to install? > > > Alternatively I''ve tried compiling based on the readme.osx file - > > using ''make -f Makefile.osx'' but then I get a different error: > > > g++-4.0 -Wno-ctor-dtor-privacy -Os -arch ppc -I. -ISource -ISource/ > > Metadata -ISource/FreeImageToolkit -ISource/LibJPEG -ISource/LibMNG - > > ISource/LibPNG -ISource/LibTIFF -ISource/ZLib -isysroot /Developer/ > > SDKs/MacOSX10.3.9.sdk -c Source/FreeImage/BitmapAccess.cpp -o Source/ > > FreeImage/BitmapAccess.o-ppc > > Source/FreeImage/BitmapAccess.cpp:30:20: error: malloc.h: No such file > > or directory > > make: *** [Source/FreeImage/BitmapAccess.o-ppc] Error 1 > > > Can anyone help? I''m probably just being an idiot! > > > Andy Croll > >www.deepcalm.com--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Rob Bevan wrote:> To use ''port'' you''ll need to install MacPorts first: > http://www.macports.org/I''m trying to install freeimage with MacPorts 1.4.0 on OSX 10.4.7, and I seem to be having problems with the makefile. I''m not the only one: http://sourceforge.net/forum/forum.php?thread_id=1711080&forum_id=36110 Updating MacPorts with "sudo port -d selfupdate" works fine, but I get compiler errors with "sudo port install freeimage". I assume this is either due to a bad makefile for PPC macs being included in the latest port for freeimage, or to a bad environment variable somehow being set in my shell... I don''t have X11 installed, but AFAIK freeimage doesn''t require it. I''m pretty clueless when it comes to command-line stuff (before I got into RoR the last time I did any serious delvelopment was in the heyday of CodeWarrior), so if anyone here has any suggestions I (and the other guys having trouble installing freeimage with MacPorts) would really appreciate it. Thanks! -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
On 14 Apr 2007, at 04:33, Jonathon Wolfe wrote:> I''m trying to install freeimage with MacPorts 1.4.0 on OSX 10.4.7, > and I > seem to be having problems with the makefile. I''m not the only one: > > http://sourceforge.net/forum/forum.php? > thread_id=1711080&forum_id=36110 > > Updating MacPorts with "sudo port -d selfupdate" works fine, but I get > compiler errors with "sudo port install freeimage". I assume this is > either due to a bad makefile for PPC macs being included in the latest > port for freeimage, or to a bad environment variable somehow being set > in my shell... I don''t have X11 installed, but AFAIK freeimage doesn''t > require it. > > I''m pretty clueless when it comes to command-line stuff (before I got > into RoR the last time I did any serious delvelopment was in the > heyday > of CodeWarrior), so if anyone here has any suggestions I (and the > other > guys having trouble installing freeimage with MacPorts) would really > appreciate it.You need to install the latest version of the MacOS X Developer tools (you can download the 700 MB (IIRC) disk image from the Apple Developer Connection site). Best regards Peter De Berdt --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Peter De Berdt wrote:> On 14 Apr 2007, at 04:33, Jonathon Wolfe wrote: > >> port for freeimage, or to a bad environment variable somehow being set >> in my shell... I don''t have X11 installed, but AFAIK freeimage doesn''t >> require it. >> >> I''m pretty clueless when it comes to command-line stuff (before I got >> into RoR the last time I did any serious delvelopment was in the >> heyday >> of CodeWarrior), so if anyone here has any suggestions I (and the >> other >> guys having trouble installing freeimage with MacPorts) would really >> appreciate it. > > You need to install the latest version of the MacOS X Developer tools > (you can download the 700 MB (IIRC) disk image from the Apple > Developer Connection site). > > > Best regards > > Peter De BerdtThanks very much. I will try this on my PPC machine -- I tried the installation on a MacBook with a new version of the developer tools and it worked fine. I had assumed it was a problem with the makefile for PPC systems. -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Peter De Berdt wrote:> On 14 Apr 2007, at 04:33, Jonathon Wolfe wrote: > >> port for freeimage, or to a bad environment variable somehow being set >> in my shell... I don''t have X11 installed, but AFAIK freeimage doesn''t >> require it. >> >> I''m pretty clueless when it comes to command-line stuff (before I got >> into RoR the last time I did any serious delvelopment was in the >> heyday >> of CodeWarrior), so if anyone here has any suggestions I (and the >> other >> guys having trouble installing freeimage with MacPorts) would really >> appreciate it. > > You need to install the latest version of the MacOS X Developer tools > (you can download the 700 MB (IIRC) disk image from the Apple > Developer Connection site). > > > Best regards > > Peter De BerdtThanks Peter, the culprit on my PPC machine was indeed an outdated installation of the OSX developer tools. I''ll try to tell the other people who''ve had the same problem. -Jon Wolfe -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---