Just for if this happens for anyone else.

If you have an issue with WRasterImage not always appearing on your 
site, you may occasionally also segfault. The stack trace will reveal 
that ImageToBlob is returning a null pointer and not setting the size 
parameter or the size parameter is zero. This means that GraphicsMagick 
is out of date, this is apparent on Ubuntu 10.04.

The solution is to remove GraphicsMagick, download the latest tarball 
from sourceforge, build and install using
./configure --enable-shared --enable-static=no
make
sudo make install

Then rebuild wt with the following additional parameter to cmake
-DGM_PREFIX=/usr/local/include/GraphicsMagick/

Hope this saves someone the time it took me to find.

--
Thomas

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct
_______________________________________________
witty-interest mailing list
witty-interest@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/witty-interest

Reply via email to