Page 1 of 1

Installing ImageMagicK library

Posted: Sun Dec 26, 2004 5:22 am
by kopibean
Hi, I would like to install yappa-ng photo album on my GentooX but it requires the ImageMagicK (http://www.imagemagick.net) library to view the photo. Is it possible for me to use emerge sync to install this library in my GentooX? If yes, can anyone kind to show me how can I do it? Thanks.

Posted: Sun Dec 26, 2004 8:45 am
by nobspangle
no, but according to the website you can also use the GD libraries, make sure you compile mod_php with gd and gd-external in your USE flags

Posted: Mon Dec 27, 2004 1:46 am
by kopibean
Thanks. Yes, the photo album can use the GD library as well. I don't quite understand how do to install the GD library too, do I use emerge sync with some parameters or do I need to manually compile them? Could you advise? Thanks.

Posted: Mon Dec 27, 2004 8:07 am
by Trogdor
Add 'gd' to the USE flags in /etc/make.conf, and it will install automatically when you recompile the program(s) that need GD.

Posted: Tue Dec 28, 2004 1:39 am
by kopibean
Hi to all, thanks and Happy New Year ahead :)

I have added the "gd" and "gd-external" into the USE line in make.conf file and "emerge apache php_mod php" again. However the gd library doesnt seem to get compiled along the way. Is there any other steps that I need to perform to get the GD library compile? Thanks.

Posted: Thu Dec 30, 2004 5:13 am
by kopibean
Hi, I have found a way to install imagemagick library using protege :)

> emerge PECL-imagick