[OT] Has anyone successfully installed imagemagick?

From: Dermot Paikkos (dermot@sciencephoto.com)
Date: Fri May 24 2002 - 14:19:37 EDT


Hi Managers,

        Sys stuff: Compaq Alpha DS10 without VGA, Tru 64 5.1
                cc: Compaq C V6.3-027, ImageMagick 5.4.4, jpeg-6
                        installed.

I have been trying to install ImageMagick but keep hitting problems. I
need to be able to convert TIFF image files into JPEG (and keep the
icc profiles intact). ImageMagick seems the only app I can use that
will do this.

The jpeg libraries seem to be installed correctly. I can use cjpeg to
convert bmp's to jpegs. However whenever I configure ImageMagick
it tells me that jpeg support failed. I have appended part of the log
below. The 2 problem files seem to be /usr/local/include/jpeglib.h
and /usr/local/include/jconfig.h.

I out of my depth with C, although I am not afraid to add a semi
colon here and there to remove errors, I can't fathom this error out.

The PLATFORM.txt says:

======================
Digital Unix and OSF/1
  Problem:
    Digital Unix provides an outdated JPEG shared library as part of
        the system.
  Indications:
    ImageMagick fails to link.
  Solution:
    Ensure that the JPEG library you installed is used. Be sure to
    install the JPEG library as a shared library.
============================

I am not sure how to do this. Installing GNU libtool proved impossible
as well and I didn't want to keep adding other libraries to a
production system. I hope this isn't off topic. If anyone has had some
experience with installing ImageMagick, I would appreciate some
help.

Thanx.
Dp.

============= CONFIG.LOG ================
configure:19116: checking jpeglib.h usability
configure:19125: cc -c -g -D_REENTRANT -I/usr/local/include
conftest.c >&5
cc: Warning: /usr/local/include/jconfig.h, line 12: The redefinition of
the macro "HAVE_STDLIB_H" conflicts with a current definition
because the replacement lists differ. The redefinition is now in effect.
(macroredef)
#define HAVE_STDLIB_H
----------------------^
configure:19128: $? = 0
configure:19131: test -s conftest.o
configure:19134: $? = 0
configure:19143: result: yes
configure:19147: checking jpeglib.h presence
configure:19154: cc -E -D_REENTRANT -I/usr/local/include
conftest.c
cc: Warning: /usr/local/include/jconfig.h, line 12: The redefinition of
the macro "HAVE_STDLIB_H" conflicts with a current definition
because the replacement lists differ. The redefinition is now in effect.
(macroredef)
#define HAVE_STDLIB_H
----------------------^
configure:19160: $? = 0
configure:19178: result: yes
configure:19196: checking for jpeglib.h
configure:19203: result: yes
configure:19214: checking for jpeg_read_header in -ljpeg
configure:19247: cc -o conftest -g -D_REENTRANT -
I/usr/local/include -L/usr/l
ocal/lib conftest.c -ljpeg -lXext -lXt -lSM -lICE -lX11 -lpthread -lm
>&5
ld:
Unresolved:
jpeg_read_header
configure:19250: $? = 1
configure: failed program was:
#line 19221 "configure"
#include "confdefs.h"
========================

==== Part of the configure file in question (with line numbers)=

 19214 echo "$as_me:$LINENO: checking for jpeg_read_header in
-ljpeg" >&5
 19215 echo $ECHO_N "checking for jpeg_read_header in -ljpeg...
$ECHO_C" >&6
 19216 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set;
then
 19217 echo $ECHO_N "(cached) $ECHO_C" >&6
 19218 else
 19219 ac_check_lib_save_LIBS=$LIBS
 19220 LIBS="-ljpeg $LIBS"
 19221 cat >conftest.$ac_ext <<_ACEOF
 19222 #line $LINENO "configure"
 19223 #include "confdefs.h"

~~
Dermot Paikkos * dermot@sciencephoto.com
Network Administrator @ Science Photo Library
Phone: 0207 432 1100 * Fax: 0207 286 8668



This archive was generated by hypermail 2.1.7 : Sat Apr 12 2008 - 10:48:42 EDT