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

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
jfk1

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

Post 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.... :(
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

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

Post 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
jfk1

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

Post 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.
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

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

Post by magick »

Add --disable-openmp to your configure command line to get rid of the libgomp dependency and rebuild and reinstall.
jfk1

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

Post 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
jfk1

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

Post 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! :)
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

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

Post 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.
jfk1

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

Post 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.  */
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

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

Post 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.
jfk1

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

Post 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?
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

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

Post by magick »

Try installing the JPEG development RPM. If that works try the development RPM of the other delegate libraries you require.
Prince09

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

Post 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 ...
Prince09

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

Post 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
jfk1

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

Post 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.
jfk1

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

Post 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.
Post Reply