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: [SUMMARY Has anyone successfully installed imagemagick? Date: Mon, 27 May 2002 15:26:51 +0100 Sender: tru64-unix-managers-owner@ornl.gov Message-ID: <3CF2503B.10026.11D6C39@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 1022509602 10487 127.0.0.1 (27 May 2002 14:26:42 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 27 May 2002 14:26:42 +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 17CLSL-0002iv-00 for ; Mon, 27 May 2002 16:26:41 +0200 Original-Received: (qmail 24899 invoked by uid 5); 27 May 2002 14:27:18 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 24891 invoked from network); 27 May 2002 14:27:18 -0000 Original-Received: from unknown (HELO emroute1.cind.ornl.gov) (134.167.3.119) by 0 with SMTP; 27 May 2002 14:27:18 -0000 Original-Received: from emroute1.cind.ornl.gov (localhost [127.0.0.1]) by emroute1.cind.ornl.gov (PMDF V6.1 #39060) with ESMTP id <0GWR002ZMXHION@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Mon, 27 May 2002 10:27:18 -0400 (EDT) Original-Received: from helios.sciencephoto.co.uk (helios.sciencephoto.co.uk [194.200.237.129]) by emroute1.cind.ornl.gov (PMDF V6.1 #39060) with ESMTP id <0GWR008GUXH1T7@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Mon, 27 May 2002 10:27:02 -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 17CLSX-0000rA-00 for tru64-unix-managers@ornl.gov; Mon, 27 May 2002 15:26:53 +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:337 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:337 This has been a testing installation. The main cause of my wows was the use of the installed jpeg library at /usr/opt/java118/alpha/native_threads/libjpeg.so There is also a link to this file in /usr/shlib. I renamed the libjpeg.so and removed the symlink ( i think you should do it in that order). Asked for another configure. !!DAMM!!, still not support for Jpeg. Problems with jerror.h...etc. A closer inspection of the readme.txt says: If you want to install the IJG library itself, for use in compiling other programs besides ours, then you need to put the four include files jpeglib.h jerror.h jconfig.h jmorecfg.h into your include-file directory, and put the library file libjpeg.a (extension may vary depending on system) wherever library files go. If you generated a Makefile with "configure", it will do what it thinks is the right thing if you say make install-lib So a make install-lib copied the files into the correct place. That was the jpeg support bit correct. I had to rm -r the /usr/local/share/ImageMagick folder, make clean, and configure, make then make install. My test file was converted (with icc profiles intact). There was an error but I'll save that for another mailing list. I need to thank the following: Oisin McGuinness, David Ross, Olle Eriksson and Peter Stern for their advice on making sure that the correct jpeg library was used. Most opted to rename the file and put it back after. Oisin supported this view but pointed out that you can modify the LD_LIBRARY_PATH and _RLD_ROOT environment variables which should have the same effect. What else did I learn? To read the install docs carefully, especially when configure and make reports failures. That I am scared of C and should perhaps take a short course, read a book (any recommendations?). That this is a wonderful mailing list that hasn't failed me yet. Thanx. Dp. =============== original message ======= 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" ------- End of forwarded message ------- ~~ Dermot Paikkos * dermot@sciencephoto.com Network Administrator @ Science Photo Library Phone: 0207 432 1100 * Fax: 0207 286 8668