Greetings,
I read through a lot of posts to get through this install. Ended up that 90% of what I tried never worked but I finally found the way and thought I would share what I had to do to get ImageMagick to install nice and clean on my Redhat9.0 server.
First, after reading numerous posts from multiple forums, I had a lot of reservation concerning the required libraries. Initial failed tries revealed I was also at the mercy of the libs.
To remedy the library problem , I installed the latest XFree86 X11/X11R6 v4.4.0. The install via the Xinstall.sh made it super easy!
Information can be located at: http://xfree86.org/4.4.0/Install3.html
X11/X11R6 binaries location (VALID as of 22Aug2004) ftp://ftp.xfree86.org/pub/XFree86/4.4.0/binaries
To get started, cd to a location you do your installs from:
It is important to know what binary distribution you are using. (Links in code - VALID as of 22Aug2004)
In this case, I need the glicbc23 data. (Links in code - VALID as of 22Aug2004)
Now, we are ready to install. Be sure to use the link reference above for the install instruction.
You are on your own at this point. I chose all the defaults and pressed on. The additional .tgz files that were downloaded are optional.
Refer to the install doc for info to for X server configuration, if used.
After install is done, you might want to reboot...your choice
Now, I had to locate the X11R6 library
Next, add info to configuration to /usr/local/directadmin/customapache/configure.php
Make sure to ./build php!!!
Finally, ready to install ImageMagick!
Go back to the directory you do your installs from for SRC.
NOTE! I found this process to be very strange because I was under the understanding when a SRC.RPM file was rebuilt it would rebuild the file as a .RPM to which you do an RPM install.
Not this time!
Resource Location: http://www.imagemagick.net/download/linux/SRPMS/ImageMagick-6.0.5-3.src.rpm(VALID as of 22Aug2004)
Now, this is where things got wierd. Normally, the rebuilt rpm will be put in /usr/src/redhat/RPM/.
Not me...when the process was done, I located ImageMagick-6.0.5-3 in /usr/src/redhad/BUILD/ImageMagick-6.0.5-3
So...instead of trying to figure out why it did this, I resorted to an set of instructions for ImageMagick installation. Build instructions found here: http://imagemagick.sourceforge.net/www/install.html(VALID as of 22Aug2004)
Change directories and proceed.
You will need to remember where the X11R6 location is for the configure
At this point, I rebooted the server and took at look at my info.php file and found ImageMagick listed under PHP variables.
I am a beginner here so if there are any problems, I couldn't answer it. Also, I am sure there is a better way. I can tell you I tried several packages and methods. This is the only one that worked cleanly.
Hope this helps someone...
I read through a lot of posts to get through this install. Ended up that 90% of what I tried never worked but I finally found the way and thought I would share what I had to do to get ImageMagick to install nice and clean on my Redhat9.0 server.
First, after reading numerous posts from multiple forums, I had a lot of reservation concerning the required libraries. Initial failed tries revealed I was also at the mercy of the libs.
To remedy the library problem , I installed the latest XFree86 X11/X11R6 v4.4.0. The install via the Xinstall.sh made it super easy!
Information can be located at: http://xfree86.org/4.4.0/Install3.html
X11/X11R6 binaries location (VALID as of 22Aug2004) ftp://ftp.xfree86.org/pub/XFree86/4.4.0/binaries
To get started, cd to a location you do your installs from:
Code:
>cd /usr/local/src
Code:
>wget [url]ftp://ftp.xfree86.org/pub/XFree86/4.4.0/binaries/Xinstall.sh[/url]
>sh Xinstall.sh -check
Checking which OS you're running...
uname reports 'Linux' version '2.4.20-021stab022.3.777-smp', architecture 'i686'.
libc version is '6.3.2' (6.3).
Binary distribution name is 'Linux-ix86-glibc23'
If you don't find a binary distribution with this name, then
binaries for your platform are not available from XFree86.org.
Code:
>wget [url]ftp://ftp.xfree86.org/pub/XFree86/4.4.0/binaries/*.tgz[/url]
>wget [url]ftp://ftp.xfree86.org/pub/XFree86/4.4.0/binaries/extract.exe[/url]
>wget [url]ftp://ftp.xfree86.org/pub/XFree86/4.4.0/binaries/SUMS*[/url]
Code:
>sh Xinstall.sh
Refer to the install doc for info to for X server configuration, if used.
After install is done, you might want to reboot...your choice
Now, I had to locate the X11R6 library
Code:
prompt> locate X11R6
/usr/X11R6
/usr/X11R6/bin
/usr/X11R6/include
/usr/X11R6/lib
/usr/X11R6/man
...
...
Code:
--with-xpm-dir=/usr/X11R6
Finally, ready to install ImageMagick!
Go back to the directory you do your installs from for SRC.
NOTE! I found this process to be very strange because I was under the understanding when a SRC.RPM file was rebuilt it would rebuild the file as a .RPM to which you do an RPM install.
Not this time!
Resource Location: http://www.imagemagick.net/download/linux/SRPMS/ImageMagick-6.0.5-3.src.rpm(VALID as of 22Aug2004)
Code:
>cd /usr/local/rpm
>wget [url]http://www.imagemagick.net/download/linux/SRPMS/ImageMagick-6.0.5-3.src.rpm[/url]
>rpm --rebuild ImageMagick-6.0.5-3.src.rpm
Not me...when the process was done, I located ImageMagick-6.0.5-3 in /usr/src/redhad/BUILD/ImageMagick-6.0.5-3
So...instead of trying to figure out why it did this, I resorted to an set of instructions for ImageMagick installation. Build instructions found here: http://imagemagick.sourceforge.net/www/install.html(VALID as of 22Aug2004)
Change directories and proceed.
You will need to remember where the X11R6 location is for the configure
Code:
>cd /usr/src/redhat/BUILD/ImageMagick-6.0.5-3
>./configure --enable-shared --x-include=/usr/X11R6
>make
>make install
I am a beginner here so if there are any problems, I couldn't answer it. Also, I am sure there is a better way. I can tell you I tried several packages and methods. This is the only one that worked cleanly.
Hope this helps someone...