Re: Image::Magick
Yes, open-source makes advanced things possible. But does installing Imagemagick and Perlmagick really need to be in the "advanced" category? Took me (a unix newbie, I admit) an awfully long time to get it working, and I never would have succeeded without access to a personal expert who had done it before himself. As I recall, these were the major steps: 1. Installed Fink. 2. Installed Imagemagick via Fink. 3. Installed a whole new Perl, since Perlmagick seemed to require a newer version than Apple provided. 4. Downloaded Imagemagick source just to get Perlmagick, then installed Perlmagick from source. I'm afraid I didn't take notes on all the minor stumbling blocks I encountered along the way, or I'd post more detailed instructions to save others the headaches. I do remember that it took me a very long time to get PerlMagick to build without errors. There was something about editing a makefile, which I first did incorrectly, then fixed it but it kept using the old renamed version until I moved that to a different directory. Or something. Now it all works, but I dread the next time I have to touch anything. Of course, there may have been an easier way that I didn't discover. Maybe you can install Perlmagick via Fink, though when I checked it was labeled unstable, and only available from source. So I offer my sympathy to others who are going through this ordeal, and I beg the experts to come up with a better method, or at least better instructions. Thanks for listening, Dan On Apr 27, 2004, at 2:28 PM, Sherm Pendley wrote: On Apr 27, 2004, at 3:45 PM, Chris Devers wrote: But still, think about it: do we need to make one of these refinements to the basic design of the wheel every time we want to take a car from one state to another, or *gasp* drive to another country? Of course not. Oh, I agree for the most part. The original poster, though, asked a question that (as far as I know) Fink can't answer. He already has ImageMagick and a given set of libraries, and he wants to install PerlMagick to use those. I can think of a couple ways that one *might* be able to convince Fink to install it that way - but neither of them is easy. And yet here we are tinkering over building software when perfectly good package management software will not only do this for you on demand, but they'll even provide you with pre-made versions for your platform. No argument here. Heck, I'm one of the people providing pre-made versions. The unfortunate fact is though, that no package management is perfect, and the pre-made versions won't always fit everyone's need. That's why open source is a Good Thing. It's good to have the option of a custom build, even when it's an option of last resort. sherm--
Re: Web servers with cable DSL
Interesting thread. Any advice for those of us lucky enough to be at a university, with few rules and plenty of bandwidth for noncommercial web hosting? In particular, how much do I need to know about security in order to run a server with CGI scripts from my office OSX box? Dan Schroeder Weber State University
installing PerlMagick
I'm having trouble installing PerlMagick--hope someone can help. Details are below. I should confess that I'm new to installing unix software so I'm probably overlooking something completely obvious. Running OSX 10.3.2. Perl 5.8.3 is installed in /usr/local, overriding Apple's default Perl. ImageMagick 5.5.6 is installed (from source) via fink in /sw, and works from the command line. Downloaded ImageMagick 5.5.6 manually from their web site, just to get PerlMagick, then edited Makefile.PL to add the /sw directories: 'INC' => '-I../ -I.. -I/sw/include/freetype2 -D_FILE_OFFSET_BITS=64 -D_REENTRANT -I/usr/X11R6/include -I/sw/include/libxml2 -I/sw/include', 'LIBS' => ['-L/usr/X11R6/lib -L/sw/lib -lMagick -llcms -ltiff -lfreetype -ljasper -ljpeg -lpng -lXext -lSM -lICE -lX11 -lbz2 -lxml2 -lz -lpthread -lm -ldpstk'], Then tried to build PerlMagick as follows: WS0010062749:~/downloads/ImageMagick-5.5.6/PerlMagick dschroeder$ perl Makefile.PL Note (probably harmless): No library found for -ljasper Writing Makefile for Image::Magick WS0010062749:~/downloads/ImageMagick-5.5.6/PerlMagick dschroeder$ make cc -c -I../ -I.. -I/sw/include/freetype2 -D_FILE_OFFSET_BITS=64 -D_REENTRANT -I/usr/X11R6/include -I/sw/include/libxml2 -I/sw/include -pipe -fno-common -DPERL_DARWIN -no-cpp-precomp -fno-strict-aliasing -Os -DVERSION=\"5.56\" -DXS_VERSION=\"5.56\" "-I/usr/local/lib/perl5/5.8.3/darwin-2level/CORE" -DHAVE_CONFIG_H Magick.c Running Mkbootstrap for Image::Magick () chmod 644 Magick.bs rm -f blib/arch/auto/Image/Magick/Magick.bundle LD_RUN_PATH="/sw/lib:/usr/X11R6/lib:/usr/lib" env MACOSX_DEPLOYMENT_TARGET=10.3 cc -bundle -undefined dynamic_lookup Magick.o -o blib/arch/auto/Image/Magick/Magick.bundle -L/usr/X11R6/lib -L/sw/lib -lMagick -llcms -ltiff -lfreetype -ljpeg -lpng -lXext -lSM -lICE -lX11 -lbz2 -lxml2 -lz -lpthread -lm -ldpstk chmod 755 blib/arch/auto/Image/Magick/Magick.bundle cp Magick.bs blib/arch/auto/Image/Magick/Magick.bs chmod 644 blib/arch/auto/Image/Magick/Magick.bs Manifying blib/man3/Image::Magick.3 /usr/local/bin/perl "-Iblib/arch" "-Iblib/lib" Makefile2.PL Makefile2 Writing Makefile for Image::Magick /usr/local/bin/perl "-Iblib/arch" "-Iblib/lib" MakefileOld.PL MakefileOld Note (probably harmless): No library found for -lMagick Note (probably harmless): No library found for -llcms Writing Makefile for Image::Magick WS0010062749:~/downloads/ImageMagick-5.5.6/PerlMagick dschroeder$ sudo make install Password: cc -c -I../ -I.. -I/usr/include/freetype2 -D_FILE_OFFSET_BITS=64 -D_REENTRANT -I/usr/X11R6/include -I/usr/include/libxml2 -pipe -fno-common -DPERL_DARWIN -no-cpp-precomp -fno-strict-aliasing -Os -DVERSION=\"5.56\" -DXS_VERSION=\"5.56\" "-I/usr/local/lib/perl5/5.8.3/darwin-2level/CORE" -DHAVE_CONFIG_H Magick.c In file included from Magick.xs:81: ../magick/api.h:15:36: magick/magick_config.h: No such file or directory ../magick/api.h:27:19: types.h: No such file or directory make: *** [Magick.o] Error 1 Note the error messages at the end. So: What am I doing wrong? Thanks a lot, Dan