Q: See compiler errors when calling make from php?

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
IMFreak
Posts: 2
Joined: 2008-05-22T19:08:01-07:00

Q: See compiler errors when calling make from php?

Post by IMFreak »

I am trying to make ImageMagick by calling configure, make, and make install
from php. I don't have shell access to the server hosting me. I have successfully
done these steps in the past with an older version of ImageMagick. But now, the
current version stops when trying to compile quantum.c and the php output does
not show any errors. How can I see the compiler errors? e.g. Is the compiler
output stored in a file? Can I configure differently and see output?

IMFreak
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: Q: See compiler errors when calling make from php?

Post by magick »

Chances are your server host limits the amount of memory any program can consume and quantum.c is causing your compiler to exceed this limit. The source module is not that big but it includes a number of inline methods from quantum-private.h that causes memory usage to exceed 2MB when compiling. If that is the problem and we get additional reports of this nature we will consider separating quantum.c into two source modules to reduce the compiler memory requirements.
IMFreak
Posts: 2
Joined: 2008-05-22T19:08:01-07:00

Re: Q: See compiler errors when calling make from php?

Post by IMFreak »

OK, thanks:
virtual memory exhausted: Cannot allocate memory
Post Reply