[magick-users] 6.0.2 on FreeBSD built but without JPG or PNG

David T-G davidtg-magick at justpickone.org
Mon Jun 14 03:09:19 PDT 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Kevin, et al --

It's amazing how much you can learn in a couple of days when helpful
people keep sending you email :-)

...and then Kevin Oberman said...
% 
% > From: David T-G <davidtg-magick at justpickone.org>
% > 
% > Having found the port tree for IM 602, I've built a test copy and

Note that I built my test copy apparently in quite an unorthodox way.  I
also had a note out to the port maintainer, Arjan van Leeuwen, who set me
straight on a few things :-)


% > installed it in /tmp/IM6 for testing.  Unfortunately, it reports that
% > there is no delegate for JPG when I try to convert a file, and
...
% 
% Take a look at the output of "make configure" and at the config.log file
% after the configure. The former will report on what it found and the
% latter will provide gory details.

Instead of the

  cd /usr/ports/graphics/ImageMagick
  sudo make
  cd work/ImageMagick-6.0.2
  sudo ./configure ... --prefix=/tmp/IM6
  sudo make
  mkdir /tmp/IM6
  make install

that I had tried the first time around, where configure options came from
the real build script, I wiped that and tried

  cd /usr/ports/graphics/ImageMagick
  sudo make PREFIX=/tmp/IM6
  sudo make install

and now have a lovely copy of IM in /tmp/IM6 for playing.  It does,
indeed, know about JPG, PNG, FPX, and the whole slew of other types.  It
apparently does not know about the APP1 profile type (like I really know
what profiles do yet anyway; all I know is that I have to strip them with

  +profile '*'
  
in order for my IE6 viewers to see the images) and, to my greater worry,
apparently does not make semitransparent watermarks just like 5.5.6
didn't.  Maybe the problem isn't with IM but with, say, my jpeg library;
I'm going to dig into that next.


% 
% Did you install jpeg-6b_3 and png-1.2.5_5from the ports? The configure
% script has trouble if the library is not where it's expected and it
% expects them where the ports install them. If you "hand installed" them,
% they may not be where the configure script is looking.

I think that I have jpeg-6b_2 in my list, but can't at the moment put my
finger on where I saw that.  IM no longer complains, though, so I'm not
worried.


% 
% I can assure you that ImageMagick 6.0.2-1 supports both formats on my
% system.
% 
% If you are not using portupgrade to manage ports, I'd suggest doing
% so. It can make life much easier. (ports/sysutils/portupgrade).

Hmmm...  I'll definitely check that out.  This is a production web server
and I'm hesitant to upgrade thigns willy-nilly, but if I do have to that
sounds like an excellent way to go.


% -- 
% R. Kevin Oberman, Network Engineer
% Energy Sciences Network (ESnet)
% Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab)
% E-mail: oberman at es.net			Phone: +1 510 486-8634


Thanks again & HAND

:-D
- -- 
David T-G
davidtg at justpickone.org
http://justpickone.org/davidtg/      Shpx gur Pbzzhavpngvbaf Qrprapl Npg!

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (FreeBSD)

iD8DBQFAzXlOGb7uCXufRwARAgVHAKCW+5fCRC+7LAKVrO/GywzmGtzm8ACeItJY
Ob1j1kZF/aeYkcUDsRdTYsA=
=husQ
-----END PGP SIGNATURE-----


More information about the Magick-users mailing list