Page 1 of 1

Q: See compiler errors when calling make from php?

Posted: 2008-05-22T19:13:45-07:00
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

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

Posted: 2008-05-22T19:27:58-07:00
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.

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

Posted: 2008-05-25T09:53:39-07:00
by IMFreak
OK, thanks:
virtual memory exhausted: Cannot allocate memory