|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2010-01-27 13:53 UTC] spinn909 at gmail dot com
Description: ------------ Maybe I'm doing something wrong, but I can't get the module working on a Debian Lenny amd64 system. When compiling the module I get the following warnings: /tmp/gmagick/gmagick-1.0.3b3/gmagick_methods.c: In function "zim_gmagick_readimage": /tmp/gmagick/gmagick-1.0.3b3/gmagick_methods.c:68: warning: cast to pointer from integer of different size /tmp/gmagick/gmagick-1.0.3b3/gmagick_methods.c:68: warning: cast to pointer from integer of different size /tmp/gmagick/gmagick-1.0.3b3/gmagick_methods.c: In function "zim_gmagick___construct": /tmp/gmagick/gmagick-1.0.3b3/gmagick_methods.c:99: warning: cast to pointer from integer of different size /tmp/gmagick/gmagick-1.0.3b3/gmagick_methods.c:99: warning: cast to pointer from integer of different size I am actually able to compile, install and load the module, but when I try to use it, it doesn't work, and I get the following error in Apache's error.log: apache2: magick/semaphore.c:525: LockSemaphoreInfo: Assertion `semaphore_info != (SemaphoreInfo *) ((void *)0)' failed. [Wed Jan 27 19:38:08 2010] [notice] child pid 18961 exit signal Aborted (6) PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Oct 25 13:00:01 2025 UTC |
Hi, my GraphicsMagick build config is very basic, beforehand I installed a couple of libraries (JPEG, PNG, TIFF and FreeType) and built GraphicsMagick with --without-perl --enable-shared. Haven't used any of the other optional features. GM works normally and I am able to convert images from the command line. My PHP code is also very simple, this is all it takes for the error to appear in my apache error.log: $gm = new Gmagick('image.jpg'); Let me know if there's any other info you might need, or if there's something other I should try (install an additional library, try a different build config).