The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

ImageMagick 6 and Vbulletin

Discussion in 'General Discussion' started by CTC, Jan 13, 2007.

  1. CTC

    CTC Active Member

    Joined:
    Nov 29, 2006
    Messages:
    25
    Likes Received:
    0
    Trophy Points:
    1
    I have Cpanel, and i have some issues with Vbulletin and imagemagick

    It is not working on the forums.

    I have gone to WHM and then to Perl module and installed the ImageMagick for apache but it didnt fix the problem.

    in the forum admin it asks for a path to

    ImageMagick Binary Path
    Path to the ImageMagick 6 binaries (convert and identify). Example:

    Unix: /usr/local/bin/
    Windows: C:\imagemagick\

    could a kind user help me out. thanks in advance.
     
  2. Nhojohl

    Nhojohl Well-Known Member

    Joined:
    Nov 28, 2006
    Messages:
    101
    Likes Received:
    0
    Trophy Points:
    16
    If you're running linux and have root access on your box do the following to make sure it's installed...

    Code:
    # wget ftp://ftp.imagemagick.org/pub/ImageMagick/ImageMagick.tar.gz
    # gunzip -c ImageMagick.tar.gz | tar xvf -
    # cd ImageMagick-6.3.1
    # ./configure
    # make
    # make install
    # cd PerlMagick
    # perl Makefile.PL
    # make
    # make install
     
    #2 Nhojohl, Jan 13, 2007
    Last edited: Jan 13, 2007
  3. CTC

    CTC Active Member

    Joined:
    Nov 29, 2006
    Messages:
    25
    Likes Received:
    0
    Trophy Points:
    1
    image magik

    Hi There, is that command line missing something because it returned and error.
    No such file `ImageM...eMagick.tar.gz'.

    do i need to make a directory first?

    Many thanks so far.
     
  4. Nhojohl

    Nhojohl Well-Known Member

    Joined:
    Nov 28, 2006
    Messages:
    101
    Likes Received:
    0
    Trophy Points:
    16
    EDIT: I modified the original post...Try it now ;)
     
  5. boatdesign

    boatdesign Well-Known Member

    Joined:
    Sep 13, 2003
    Messages:
    158
    Likes Received:
    0
    Trophy Points:
    16
    Trying the above during make I get the following
    Code:
    libtool: link: warning: `/usr/lib/gcc-lib/i386-redhat-linux/3.2.3/../../..//libjpeg.la' seems to be moved
    libtool: link: warning: `/usr/lib/gcc-lib/i386-redhat-linux/3.2.3/../../..//libfreetype.la' seems to be moved
    /bin/sh ./libtool --silent --tag=CC   --mode=link gcc  -g -O2 -Wall -W -pthread -no-undefined -module -avoid-version -L/usr/X11R6/lib -lfreetype -lz -o coders/jpeg.la -rpath /usr/local/lib/ImageMagick-6.3.2/modules-Q16/coders coders/coders_jpeg_la-jpeg.lo magick/libMagick.la -ljpeg 
    libtool: link: warning: `/usr/lib/gcc-lib/i386-redhat-linux/3.2.3/../../..//libjpeg.la' seems to be moved
    libtool: link: warning: `/usr/lib/gcc-lib/i386-redhat-linux/3.2.3/../../..//libfreetype.la' seems to be moved
    /bin/sh ./libtool --silent --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I./magick -I./wand   -I/usr/include/freetype2 -I/usr/X11R6/include -I/usr/X11R6/include/X11 -I/usr/include/libxml2  -g -O2 -Wall -W -pthread -MT coders/coders_png_la-png.lo -MD -MP -MF coders/.deps/coders_png_la-png.Tpo -c -o coders/coders_png_la-png.lo `test -f 'coders/png.c' || echo './'`coders/png.c
    In file included from coders/png.c:78:
    /usr/local/include/zlib.h:82: redefinition of `struct z_stream_s'
    /usr/local/include/zlib.h:982: conflicting types for `gzwrite'
    /usr/include/zlib.h:705: previous declaration of `gzwrite'
    /usr/local/include/zlib.h:1189: redefinition of `struct internal_state'
    make: *** [coders/coders_png_la-png.lo] Error 1
    Any ideas?
     
  6. Website Rob

    Website Rob Well-Known Member

    Joined:
    Mar 23, 2002
    Messages:
    1,506
    Likes Received:
    0
    Trophy Points:
    36
    Location:
    Alberta, Canada
    cPanel Access Level:
    Root Administrator
    Although GD should work just fine for you, it does for our vBulletin, I have the found the following path to work well for locating ImageMagick for use in script path's.

    /usr/bin/
     
Loading...

Share This Page