Page 1 of 2

Wanted: professional (paid for) installation of IM on linux

Posted: 2008-06-01T03:51:15-07:00
by jfk1
Is it possible to pay for an ImageMagick installation? (on linux server with root). If so... who does one pay?
After 2 months trying.... i give up.... :(

Re: Wanted: professional (paid for) installation of IM on linux

Posted: 2008-06-01T07:35:00-07:00
by magick
Assume you have downloaded the latest ImageMagick release, ImageMagick-6.4.1-3.tar.gz. Use these commands to install ImageMagick:
  • tar xvfz ImageMagick-6.4.1-3.tar.gz
    cd ImageMagick-6.4.1
    ./configure
    make
    make install

Re: Wanted: professional (paid for) installation of IM on linux

Posted: 2008-06-02T06:35:26-07:00
by jfk1
hi, thanks very much for your reply.
i have had one more go at install with following error:

"Can't load '/usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/auto/Image/Magick/Magick.so' for module Image::Magick: libgomp.so.1: shared object cannot be dlopen()ed at /usr/lib/perl5/5.8.8/i386-linux-thread-multi/DynaLoader.pm line 230."

i installed with "--enable-shared" and "--with-perl"
i have altered altered "lt.so.conf" to reflect path "/usr/lib", which is where "libgomp.so.1" resides, also i have created a file in "ld.so.conf.d/" called im.conf to reflect path "/usr/local/lib" which i believe is the default install of IM.

any further suggestions would be appreciated.

Re: Wanted: professional (paid for) installation of IM on linux

Posted: 2008-06-02T06:39:15-07:00
by magick
Add --disable-openmp to your configure command line to get rid of the libgomp dependency and rebuild and reinstall.

Re: Wanted: professional (paid for) installation of IM on linux

Posted: 2008-06-02T12:43:49-07:00
by jfk1
magick wrote:Add --disable-openmp to your configure command line to get rid of the libgomp dependency and rebuild and reinstall.
i followed above instructions and it would appear that i have a successful install!!!! :D
i have tested with a very basic test script (incorporating "use Image::Magick") without error.
the main beneficiary of this install only works 14hrs per day (part-timer) therefore i cant get a full report until tomorrow (9.00am BST approx) when he will test his script.
therefore i hope to show my gratitude in full, sometime after that :)
jfk

Re: Wanted: professional (paid for) installation of IM on linux

Posted: 2008-06-03T06:58:35-07:00
by jfk1
probably a small error to the knowledgeable.... :)

Exception 420: no decode delegate for jpegs

LDFLAGS= -L/usr/local/lib -L/usr/lib

i think i nearly there! :)

Re: Wanted: professional (paid for) installation of IM on linux

Posted: 2008-06-03T07:47:57-07:00
by magick
Type
  • identify -list configure
    identify -list format
Most likely it does not list JPEG as a validated delegate library. Rerun the configure script and carefully review the last 50 lines or so of the output. Make sure it lists JPEG as validated. If not, check config.log for the reason it was not validated, fix the problem, and rerun configure and rebuild / reinstall ImageMagick.

Re: Wanted: professional (paid for) installation of IM on linux

Posted: 2008-06-04T00:22:02-07:00
by jfk1
magick wrote:Type
  • identify -list configure
    identify -list format
Most likely it does not list JPEG as a validated delegate library. Rerun the configure script and carefully review the last 50 lines or so of the output. Make sure it lists JPEG as validated. If not, check config.log for the reason it was not validated, fix the problem, and rerun configure and rebuild / reinstall ImageMagick.
could there be something fundamentally flawed with my install routine? please see config report plus example extract from config_log. not supporting any formats, however i can find lib files for all formats (in /usr/lib).

Code: Select all

ImageMagick is configured as follows. Please verify that this configuration
matches your expectations.

Host system type: i686-pc-linux-gnu
Build system type: i686-pc-linux-gnu

                  Option                        Value
-------------------------------------------------------------------------------
Shared libraries  --enable-shared=yes           yes
Static libraries  --enable-static=yes           yes
Module support    --with-modules=yes            yes
GNU ld            --with-gnu-ld=yes             yes
Quantum depth     --with-quantum-depth=16       16
High Dynamic Range Imagery
                  --enable-hdri=no              no

Delegate Configuration:
BZLIB             --with-bzlib=yes              no
DJVU              --with-djvu=no                no
DPS               --with-dps=yes                no
FlashPIX          --with-fpx=yes                no
FontConfig        --with-fontconfig=no          no
FreeType          --with-freetype=yes           no
GhostPCL          None                          pcl6 (unknown)
GhostXPS          None                          gxps (unknown)
Ghostscript       None                          gs (8.15.2)
result_ghostscript_font_dir='none'
Ghostscript fonts --with-gs-font-dir=default
Ghostscript lib   --with-gslib=yes              no (failed tests)
Graphviz          --with-gvc=yes                no
JBIG              --with-jbig=yes               no
JPEG v1           --with-jpeg=yes               no
JPEG-2000         --with-jp2=yes                no
LCMS              --with-lcms=yes               no
LQR               --with-lqr=no         no
Magick++          --with-magick-plus-plus=yes   no (failed tests)
OpenEXR           --with-openexr=yes            no
PERL              --with-perl=yes               /usr/bin/perl
PNG               --with-png=yes                no
RSVG              --with-rsvg=no                no
TIFF              --with-tiff=yes               no
result_windows_font_dir='none'
Windows fonts     --with-windows-font-dir=
WMF               --with-wmf=yes                no
X11               --with-x=                     no
XML               --with-xml=no         no
ZLIB              --with-zlib=yes               yes

X11 Configuration:
      X_CFLAGS        =
      X_PRE_LIBS      =
      X_LIBS          =
      X_EXTRA_LIBS    =

Options used to compile and link:
  PREFIX          = /usr/local
  EXEC-PREFIX     = /usr/local
  VERSION         = 6.4.1
  CC              = gcc
  CFLAGS          = -g -O2 -Wall -W -pthread
  MAGICK_CFLAGS   = -g -O2 -Wall -W -pthread
  CPPFLAGS        = -I/usr/local/include/ImageMagick
  PCFLAGS         =
  DEFS            = -DHAVE_CONFIG_H
  LDFLAGS         = -L/usr/lib
  MAGICK_LDFLAGS  = -L/usr/local/lib -L/usr/lib
  LIBS            = -lMagickCore -lz -lm -lpthread
  CXX             = g++
  CXXFLAGS        = -pthread

Code: Select all

configure:36807: result: Checking for JPEG support
configure:36809: result: -------------------------------------------------------------
configure:36823: checking jconfig.h usability
configure:36840: gcc -c  -g -O2 -Wall -W -pthread  conftest.c >&5
conftest.c:199:21: error: jconfig.h: No such file or directory
configure:36847: $? = 1
configure: failed program was:
| /* confdefs.h.  */

Re: Wanted: professional (paid for) installation of IM on linux

Posted: 2008-06-04T05:17:51-07:00
by magick
Install the JPEG development headers which includes jconfig.h. Run the configure script again until it claims the JPEG delegate library is validated.

Re: Wanted: professional (paid for) installation of IM on linux

Posted: 2008-06-04T15:40:58-07:00
by jfk1
magick wrote:Install the JPEG development headers which includes jconfig.h. Run the configure script again until it claims the JPEG delegate library is validated.
sure... i hear what u saying..... however.... JPEG was only an example of my present set-up. does this mean that all image formats need re-installing? (which are not supported in my last configure of IM). lib files are there already for all formats. i suspect a complete OS fed/redhat maybe called for?

Re: Wanted: professional (paid for) installation of IM on linux

Posted: 2008-06-04T16:09:53-07:00
by magick
Try installing the JPEG development RPM. If that works try the development RPM of the other delegate libraries you require.

Re: Wanted: professional (paid for) installation of IM on linux

Posted: 2008-06-05T07:57:39-07:00
by Prince09
I found ImageMagick installation tough as well. This blog helped me out a lot .. It has pretty good instructions on installing imagemagick with support for JPEG, PNG and TIFF formats (the basic installation supports only GIF, as you may be knowing ..)

http://www.randycullom.com/chatterbox/a ... _imag.html

If you are interested in font-rendering and stuff like that, you will want to install it with freetype, though i still haven't got that component to work ...

Re: Wanted: professional (paid for) installation of IM on linux

Posted: 2008-06-05T08:19:07-07:00
by Prince09
I just forgot to mention I had to use a slightly different configure command .. for some reason the program was not recognizing the run-time library paths and had to specify it in the configure command.

./configure --enable-shared=yes --disable-static LDFLAGS=’-L/usr/local/lib –Wl,-rpath,/usr/local/lib’ > config.result

Re: Wanted: professional (paid for) installation of IM on linux

Posted: 2008-06-06T16:00:12-07:00
by jfk1
Prince09 wrote:I just forgot to mention I had to use a slightly different configure command .. for some reason the program was not recognizing the run-time library paths and had to specify it in the configure command.

./configure --enable-shared=yes --disable-static LDFLAGS=’-L/usr/local/lib –Wl,-rpath,/usr/local/lib’ > config.result
hmmm this is very interesting! it would seem i maybe have same problem. IM doesnt find lib files, even tho they are there. it does show the correct LDFLAGS paths. maybe using "rpath.." will help. thanx very much for ur reply, and help.

Re: Wanted: professional (paid for) installation of IM on linux

Posted: 2008-06-06T16:16:16-07:00
by jfk1
thanx for reply. in the process of following below instruction, but naturally got issues there also... :) will update progress soon. (today was chemo day... so usually get some problems... may a few days)
magick wrote:Try installing the JPEG development RPM. If that works try the development RPM of the other delegate libraries you require.