Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Help on ImageMagick (unix) 1

Status
Not open for further replies.

Sleidia

Technical User
May 4, 2001
1,284
FR
Hello,

I have difficulties to install/use ImageMagick on my server.
Could someone teach me a step by step solution?

I can unzip/untar, I can run configure but then, after
I run "make" an error occures (error 1).

Also, what is the purpose of "make" and "make install"?
Running "configure" isn't enough for finishing installation?

Last but not least, it would be wonderful if I could get a simple php script that can output a simple image.

Thanks for the help!!!

My Work...
...and More...
 
"configure" is a script which analyzes your system to determine which compiler options would best work with your particular architecture. It then creates the Makefile.

"make" then uses the Makefile created by configure to compile the software and any accompanying libraries on which the software may depend. Those libraries may also be provided to give other programming environments "hooks" into the functionality of the code.

"Make install" performs those steps necessary to install the program on your system. These steps include, but are not limited to, installing the program, installing and registering any libraries the program needs that were created during the compile, installing documentaion, creating default configuration files.

Some software distributions, for example those involving encryption, include a step between "make" and "make install", namely "make test" which runs the software from the local directory to insure proper functioning of the software prior to install.

All of this is necessary in an open source environment. A particular piece of source code may need to be installed on Linus i386, Linux PowerPC, Linux Sparc, BSD, AIX, HPUX, and others. By using the "configure" script, it allows a piece of source code to reconstruct itself in such a way that it has a good chance of successfully compiling.



It is also very difficult to provide assistance without knowing what the make script was doing at the time it reported the error, and what other text accompanied it.


Out of curiosity, what does this have to do with PHP?
 
Thank you for such an detailed explanation.
I'm going to re-install it in order to see on
which operation it stops.
Have you used this utility before?
Perhaps, passing some arguments to "configure"
will make the installation succesful.

The reasons why I posted this message in the PHP
forum are:
1) There wasn't any forum about this soft.
2) This was thanks to the PHP documention (GD library)
that I knew about this soft! (not detailed enough though).
My goal is to learn how to create/modify image files by
sending commands to this soft via PHP.

Thanks again.
My Work...
...and More...
 
You may not need ImageMagick, which is why I brought it up.

PHP has a family of image-manipulation functions that use the GD library. Those functions may provide the functionality you need.

For help specific to ImageMagick, you might want to take a look at the ImageMagick mailing list archives. Point a web browser to and look for the link to signon to their mailing list. At the bottom of that second page, there is web-access to their mailing list archives.
 
I may sound stupid, but I found the installation of
GD library quite obscure (need of others modules?, etc...).
Also, it doesn't support gif files anymore.

I've never used mailing support before. I didn't know it could be an efficient way to get help.

Thanks again. My Work...
...and More...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top