php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #58800 Make failed
Submitted: 2009-08-11 10:29 UTC Modified: 2009-08-12 05:19 UTC
From: plugman at free dot fr Assigned:
Status: Closed Package: gmagick (PECL)
PHP Version: 5.2.6 OS: Ubuntu 9.04 - Jaunty Jackalope
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: plugman at free dot fr
New email:
PHP Version: OS:

 

 [2009-08-11 10:29 UTC] plugman at free dot fr
Description:
------------
When i want to install package an error on the make method occurs.

Reproduce code:
---------------
pecl install channel://pecl.php.net/gmagick-1.0.0a3

Expected result:
----------------
make success

Actual result:
--------------
running: make
/bin/bash /var/tmp/pear-build-root/gmagick-1.0.0a3/libtool --mode=compile gcc  -I. -I/tmp/pear/temp/gmagick -DPHP_ATOM_INC -I/var/tmp/pear-build-root/gmagick-1.0.0a3/include -I/var/tmp/pear-build-root/gmagick-1.0.0a3/main -I/tmp/pear/temp/gmagick -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/GraphicsMagick  -DHAVE_CONFIG_H  -g -O2   -c /tmp/pear/temp/gmagick/gmagick_helpers.c -o gmagick_helpers.lo
libtool: compile:  gcc -I. -I/tmp/pear/temp/gmagick -DPHP_ATOM_INC -I/var/tmp/pear-build-root/gmagick-1.0.0a3/include -I/var/tmp/pear-build-root/gmagick-1.0.0a3/main -I/tmp/pear/temp/gmagick -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/GraphicsMagick -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/gmagick/gmagick_helpers.c  -fPIC -DPIC -o .libs/gmagick_helpers.o
In file included from /usr/include/GraphicsMagick/magick/api.h:117,
                 from /usr/include/GraphicsMagick/wand/wand_api.h:13,
                 from /tmp/pear/temp/gmagick/php_gmagick.h:29,
                 from /tmp/pear/temp/gmagick/gmagick_helpers.c:20:
/usr/include/GraphicsMagick/magick/image.h:634: erreur: expected specifier-qualifier-list before ?size_t?
/usr/include/GraphicsMagick/magick/image.h:968: erreur: expected specifier-qualifier-list before ?FILE?
/usr/include/GraphicsMagick/magick/image.h:1075: erreur: expected declaration specifiers or ?...? before ?FILE?
In file included from /usr/include/GraphicsMagick/magick/paint.h:19,
                 from /usr/include/GraphicsMagick/magick/api.h:119,
                 from /usr/include/GraphicsMagick/wand/wand_api.h:13,
                 from /tmp/pear/temp/gmagick/php_gmagick.h:29,
                 from /tmp/pear/temp/gmagick/gmagick_helpers.c:20:
/usr/include/GraphicsMagick/magick/render.h:411: erreur: expected ?)? before ?*? token
In file included from /usr/include/GraphicsMagick/magick/api.h:127,
                 from /usr/include/GraphicsMagick/wand/wand_api.h:13,
                 from /tmp/pear/temp/gmagick/php_gmagick.h:29,
                 from /tmp/pear/temp/gmagick/gmagick_helpers.c:20:
/usr/include/GraphicsMagick/magick/utility.h:66: erreur: expected declaration specifiers or ?...? before ?*? token
/usr/include/GraphicsMagick/magick/utility.h:66: erreur: expected ?;?, ?,? or ?)? before ?size?
/usr/include/GraphicsMagick/magick/utility.h:71: erreur: expected declaration specifiers or ?...? before ?size_t?
/usr/include/GraphicsMagick/magick/utility.h:79: erreur: expected declaration specifiers or ?...? before ?MagickTextTranslate?
/usr/include/GraphicsMagick/magick/utility.h:100: erreur: expected declaration specifiers or ?...? before ?size_t?
/usr/include/GraphicsMagick/magick/utility.h:104: erreur: expected declaration specifiers or ?...? before ?size_t?
/usr/include/GraphicsMagick/magick/utility.h:125: erreur: expected ?;?, ?,? or ?)? before ?count?
/usr/include/GraphicsMagick/magick/utility.h:146: erreur: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__? before ?MagickStrlCat?
In file included from /usr/include/GraphicsMagick/magick/api.h:130,
                 from /usr/include/GraphicsMagick/wand/wand_api.h:13,
                 from /tmp/pear/temp/gmagick/php_gmagick.h:29,
                 from /tmp/pear/temp/gmagick/gmagick_helpers.c:20:
/usr/include/GraphicsMagick/magick/blob.h:68: erreur: expected ?;?, ?,? or ?)? before ?length?
/usr/include/GraphicsMagick/magick/blob.h:79: erreur: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__? before ?ReadBlob?
/usr/include/GraphicsMagick/magick/blob.h:90: erreur: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__? before ?*? token
/usr/include/GraphicsMagick/magick/blob.h:104: erreur: expected ?;?, ?,? or ?)? before ?length?
/usr/include/GraphicsMagick/magick/blob.h:123: erreur: expected ?;?, ?,? or ?)? before ?length?
In file included from /usr/include/GraphicsMagick/magick/api.h:133,
                 from /usr/include/GraphicsMagick/wand/wand_api.h:13,
                 from /tmp/pear/temp/gmagick/php_gmagick.h:29,
                 from /tmp/pear/temp/gmagick/gmagick_helpers.c:20:
/usr/include/GraphicsMagick/magick/color.h:64: erreur: expected ?)? before ?*? token
/usr/include/GraphicsMagick/magick/color.h:70: erreur: expected declaration specifiers or ?...? before ?FILE?
In file included from /usr/include/GraphicsMagick/magick/api.h:138,
                 from /usr/include/GraphicsMagick/wand/wand_api.h:13,
                 from /tmp/pear/temp/gmagick/php_gmagick.h:29,
                 from /tmp/pear/temp/gmagick/gmagick_helpers.c:20:
/usr/include/GraphicsMagick/magick/magick.h:77: erreur: expected ?)? before ?*? token
In file included from /usr/include/GraphicsMagick/magick/api.h:146,
                 from /usr/include/GraphicsMagick/wand/wand_api.h:13,
                 from /tmp/pear/temp/gmagick/php_gmagick.h:29,
                 from /tmp/pear/temp/gmagick/gmagick_helpers.c:20:
/usr/include/GraphicsMagick/magick/registry.h:42: erreur: expected specifier-qualifier-list before ?size_t?
/usr/include/GraphicsMagick/magick/registry.h:68: erreur: expected declaration specifiers or ?...? before ?size_t?
In file included from /usr/include/GraphicsMagick/magick/api.h:148,
                 from /usr/include/GraphicsMagick/wand/wand_api.h:13,
                 from /tmp/pear/temp/gmagick/php_gmagick.h:29,
                 from /tmp/pear/temp/gmagick/gmagick_helpers.c:20:
/usr/include/GraphicsMagick/magick/magic.h:53: erreur: expected ?)? before ?*? token
In file included from /usr/include/GraphicsMagick/magick/api.h:149,
                 from /usr/include/GraphicsMagick/wand/wand_api.h:13,
                 from /tmp/pear/temp/gmagick/php_gmagick.h:29,
                 from /tmp/pear/temp/gmagick/gmagick_helpers.c:20:
/usr/include/GraphicsMagick/magick/delegate.h:98: erreur: expected ?)? before ?*? token
In file included from /usr/include/GraphicsMagick/magick/api.h:150,
                 from /usr/include/GraphicsMagick/wand/wand_api.h:13,
                 from /tmp/pear/temp/gmagick/php_gmagick.h:29,
                 from /tmp/pear/temp/gmagick/gmagick_helpers.c:20:
/usr/include/GraphicsMagick/magick/module.h:57: erreur: expected ?)? before ?*? token
In file included from /usr/include/GraphicsMagick/magick/api.h:152,
                 from /usr/include/GraphicsMagick/wand/wand_api.h:13,
                 from /tmp/pear/temp/gmagick/php_gmagick.h:29,
                 from /tmp/pear/temp/gmagick/gmagick_helpers.c:20:
/usr/include/GraphicsMagick/magick/profile.h:18: erreur: expected declaration specifiers or ?...? before ?size_t?
/usr/include/GraphicsMagick/magick/profile.h:23: erreur: expected ?;?, ?,? or ?)? before ?length?
In file included from /usr/include/GraphicsMagick/magick/api.h:153,
                 from /usr/include/GraphicsMagick/wand/wand_api.h:13,
                 from /tmp/pear/temp/gmagick/php_gmagick.h:29,
                 from /tmp/pear/temp/gmagick/gmagick_helpers.c:20:
/usr/include/GraphicsMagick/magick/resource.h:35: erreur: expected ?)? before ?*? token
In file included from /usr/include/GraphicsMagick/wand/wand_api.h:40,
                 from /tmp/pear/temp/gmagick/php_gmagick.h:29,
                 from /tmp/pear/temp/gmagick/gmagick_helpers.c:20:
/usr/include/GraphicsMagick/wand/magick_wand.h:47: erreur: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__? before ?CopyMagickString?
/usr/include/GraphicsMagick/wand/magick_wand.h:239: erreur: expected ?;?, ?,? or ?)? before ?length?
/usr/include/GraphicsMagick/wand/magick_wand.h:332: erreur: expected declaration specifiers or ?...? before ?size_t?
make: *** [gmagick_helpers.lo] Erreur 1
ERROR: `make' failed

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2009-08-12 05:19 UTC] vito@php.net
Sorry, but your problem does not imply a bug in PECL itself.  For a
list of more appropriate places to ask for help using PECL, please
visit http://pecl.php.net/support.php as this bug system is not the
appropriate forum for asking support questions. 

Thank you for your interest in PECL.

Check the version of GraphicsMagick on your box, it may be too old.

Try the following:

   a. Download GraphicsMagick-1.3.5.tar.gz from www.graphicsmagick.org
   b. tar xvfz GraphicsMagick-1.3.5.tar.gz
   c. cd GraphicsMagick-1.3.5
   d. ./configure --without-perl --enable-shared
      (use the --prefix="[YOUR_PATH]" to specify the path of your desired bin path
       the default configuration installs to /usr/local/bin.
       Leave out the /bin path from your path specification)
   e. make install (as root)

I had tried Gmagick with ver 1.2.6 up to 1.3.5 of GraphicsMagick. It appears 1.3.6 is also available now.
 
PHP Copyright © 2001-2019 The PHP Group
All rights reserved.
Last updated: Sat Dec 07 19:01:24 2019 UTC