Koozali.org: home of the SME Server

Imagick installation

WACOMalt

Imagick installation
« on: April 11, 2006, 11:29:24 PM »
okeedoke... so I have a phpBB forum (like the one we're on right now) and I have the attachment mod installed and working fine. The attachment mod has the option to use a resource called "imagick" to make attached images into thumbnails, etc etc.

now I need to install imagick, or if it is already on my server (somehow) I need to know the path its at.

it says "Enter the Path to the convert program of imagick, normally /usr/bin/convert (on windows: c:/imagemagick/convert.exe)."

so I need to iknow how to install this, and what path to use.

I found their website, but thats about all I am sure on.

thanks!

Offline byte

  • *
  • 2,183
  • +2/-0
Imagick installation
« Reply #1 on: April 11, 2006, 11:31:43 PM »
if your after the convert program and its not in where you think it should be then try a "locate convert" at the command line and this should tell you where it is
--[byte]--

Have you filled in a Bug Report over @ http://bugs.contribs.org ? Please don't wait to be told this way you help us to help you/others - Thanks!

Offline JonB

  • *
  • 351
  • +0/-0
Imagick installation
« Reply #2 on: April 12, 2006, 01:12:25 AM »
You don't need ImageMagick. PHP on SME7 is complied with GD support which is enabled and has support for .gif, .jpg and .png enabled.

phpBB2 will use GD if ImageMagick is not available.

Jon
...

WACOMalt

Imagick installation
« Reply #3 on: April 12, 2006, 02:59:18 AM »
Quote from: "JonB"
You don't need ImageMagick. PHP on SME7 is complied with GD support which is enabled and has support for .gif, .jpg and .png enabled.

phpBB2 will use GD if ImageMagick is not available.

Jon


wait, so if the attach mod says "location of imagick" then do I just put the location of GD?

I would still rather use imagick, as it supports over 90 formats, and has a bunch of other settings too. But I need to know if imagick is preinstalled? or if not, where can I get an rpm for it? and where would it be installing?

Offline raem

  • *
  • 3,972
  • +4/-0
Imagick installation
« Reply #4 on: April 12, 2006, 08:54:40 AM »
WACOMalt

> I would still rather use imagick,,,,


http://www.keane.co.nz/downloads/Gallery/imagemagick/
...

Offline Helgo

  • **
  • 51
  • +0/-0
    • home website
Imagick installation
« Reply #5 on: April 12, 2006, 11:18:26 AM »
Easy,

Yum install ImageMagic

Helgo
......

WACOMalt

Imagick installation
« Reply #6 on: April 12, 2006, 01:03:25 PM »
Quote from: "Helgo"
Easy,

Yum install ImageMagic

Helgo


seriously?! wow!

>_<

I obviously knew that, I just couldnt find the rpms for it. now which one do I want? the very top one?

oh wow, I didnt see the YUM part... :D many sorry for acting mean ;)

Offline marsa_matruh

  • ****
  • 249
  • +0/-0
Imagick installation
« Reply #7 on: April 12, 2006, 06:58:04 PM »
I would suggest :

Code: [Select]
yum --enablerepo=* install ImageMagick

WACOMalt

Imagick installation
« Reply #8 on: April 12, 2006, 11:45:06 PM »
Quote from: "marsa_matruh"
I would suggest :

Code: [Select]
yum --enablerepo=* install ImageMagick


All that did was give me a list of properties for the yum command.

and just "yum install ImageMagick" (or Imagick, ImageMagic or Imagic)

just said "no match for argument ImageMagick"

so uh...

what do I do?

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: Imagick installation
« Reply #9 on: April 13, 2006, 01:33:41 AM »
Quote from: "WACOMalt"
okeedoke... so I have a phpBB forum (like the one we're on right now) and I have the attachment mod installed and working fine.


You really should be posting this in the 7.x contribs forum.

Offline raem

  • *
  • 3,972
  • +4/-0
Imagick installation
« Reply #10 on: April 13, 2006, 02:09:45 AM »
WACOMalt

You probably need to enable the appropriate repository
Have a look at the server manager software installer panel.
Search these forums, bugzilla & devinfo list archives for "yum" for more details.
For a general overview of yum
see
http://fedora.redhat.com/docs/yum/
...

WACOMalt

Imagick installation
« Reply #11 on: April 13, 2006, 03:33:09 AM »
Why cant I just install it from an RPM I download myself? the only option I saw in the server manager was whether or not I could select individual packages or not. I set it to yes, chose to install additional software, and didnt see imagick in the list.

on the link earlier in this post, with the list of imagick RPMs, which one do I want?

I assume its one of these 4. remember I need a version that will work with my php forum, if that matters.
ImageMagick-5.4.9-1.i386.rpm
ImageMagick-Magick++-5.4.9-1.i386.rpm
ImageMagick-devel-5.4.9-1.i386.rpm
ImageMagick-perl-5.4.9-1.i386.rpm

Offline raem

  • *
  • 3,972
  • +4/-0
Imagick installation
« Reply #12 on: April 13, 2006, 07:03:49 AM »
WACOMalt

After clicking the "Change software installer settings" button you would have seen a list of respositories.
These are the repositories used by yum.
The defaults for sme7RC1 are
SMEServer - addons
SMEServer - os
SMEServer - updates

These repositories are considered "safe" by the developers.

If you wish to add other repositories in order to download other rpms not listed, then search these forums & elsewhere for suitable commands. The answers have been previously given.
I also suggested other locations to search as all of those places have posted various details about using yum with sme7.
I also gave you a link to read & learn generally about yum, the idea being for you to learn what yum is all about before blindly using it.

If you install inappropriate rpms from inappropriate repositories you could stop your sme server from working.


> ...I assume its one of these 4. remember I need a version that will
> work with my php forum, if that matters.

You would install all 4 rpms , but they need to be compatible with sme7 OS. If you copy these to a empty folder on your sme server, then do
rpm -Uvh *.rpm
you will get an error which will also advise you of some other rpms that also need to be installed ie dependencies.

You can search
rpmfind.net
for just about any rpm you are after, but make sure you download ones that suit your operating system.

Hope that steers you in the right direction.
...

Offline marsa_matruh

  • ****
  • 249
  • +0/-0
Imagick installation
« Reply #13 on: April 13, 2006, 09:34:28 AM »
Quote from: "WACOMalt"

Code: [Select]
yum --enablerepo=* install ImageMagick
All that did was give me a list of properties for the yum command.


Sure, it is ok. I checked yesterday.
Code: [Select]

[root@serveur root]# yum --enablerepo=* install ImageMagick

[...]

=============================================================================
Package                 Arch       Version          Repository        Size
=============================================================================
Installing:
ImageMagick             i386       6.0.7.1-14       updates           2.4 M
Installing for dependencies:
fontconfig              i386       2.2.3-7          smeos             116 k
xorg-x11-Mesa-libGL     i386       6.8.2-1.EL.13.20  base              373 k
xorg-x11-libs           i386       6.8.2-1.EL.13.20  base              2.6 M

Transaction Summary
=============================================================================
Install      4 Package(s)
Update       0 Package(s)
Remove       0 Package(s)
Total download size: 5.4 M
Is this ok [y/N]:


It will pick up the packages in CentOS repository, as they are not provided by Sme.

After, you had better :
Code: [Select]

[root@serveur root]# /sbin/e-smith/signal-event post-upgrade;
[root@serveur root]# /sbin/e-smith/signal-event reboot;

Offline raem

  • *
  • 3,972
  • +4/-0
Imagick installation
« Reply #14 on: April 13, 2006, 11:31:57 AM »
marsa_matruh

Just out of interest, what repositories do you have enabled ?

You must have more than the defaults in a clean install of sme7RC1 as listed in previous post.
...