From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Dermot Paikkos Newsgroups: gmane.os.tru64.managers Subject: [OT] Has anyone successfully installed imagemagick? Date: Fri, 24 May 2002 19:19:37 +0100 Sender: tru64-unix-managers-owner@ornl.gov Message-ID: <3CEE9249.21551.6AC0A58@localhost> Reply-To: dermot@sciencephoto.com NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7BIT X-Trace: main.gmane.org 1022265554 10901 127.0.0.1 (24 May 2002 18:39:14 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 24 May 2002 18:39:14 +0000 (UTC) Return-path: Original-Received: from sws1.ctd.ornl.gov ([160.91.20.101]) by main.gmane.org with smtp (Exim 3.33 #1 (Debian)) id 17BJy5-0002pb-00 for ; Fri, 24 May 2002 20:39:14 +0200 Original-Received: (qmail 3029 invoked by uid 5); 24 May 2002 18:19:49 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 3021 invoked from network); 24 May 2002 18:19:49 -0000 Original-Received: from unknown (HELO emroute2.cind.ornl.gov) (128.219.159.41) by 0 with SMTP; 24 May 2002 18:19:49 -0000 Original-Received: from emroute2.cind.ornl.gov (LOCALHOST [127.0.0.1]) by emroute2.cind.ornl.gov (PMDF V6.1-1 #39060) with ESMTP id <0GWM00ERAO9050@emroute2.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Fri, 24 May 2002 14:19:48 -0400 (EDT) Original-Received: from helios.sciencephoto.co.uk (helios.sciencephoto.co.uk [194.200.237.129]) by emroute2.cind.ornl.gov (PMDF V6.1-1 #39060) with ESMTP id <0GWM009PFO8YEW@emroute2.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Fri, 24 May 2002 14:19:47 -0400 (EDT) Original-Received: from dione.sciencephoto.co.uk ([194.200.237.140] helo=dione) by helios.sciencephoto.co.uk with esmtp (Exim 3.16 #3) id 17BJf8-0000Eb-00 for tru64-unix-managers@ornl.gov; Fri, 24 May 2002 19:19:38 +0100 Original-To: tru64-unix-managers@ornl.gov X-Mailer: Pegasus Mail for Windows (v4.01) Content-description: Mail message body Priority: normal Xref: main.gmane.org gmane.os.tru64.managers:321 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:321 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