2009-10-05 7 views
0

je l'ai déjà installé les éléments suivants:l'installation RMagick a échoué dans Ubuntu 9.04

  • ImageMagick
  • libmagickwand-dev

mais je reçois cette erreur.

====================================================================== 
Mon 05Oct09 19:36:06 
This installation of RMagick 2.12.0 is configured for 
Ruby 1.8.7 (i486-linux) and ImageMagick 6.4.5 Q16 
====================================================================== 



make 
cc -I. -I. -I/usr/lib/ruby/1.8/i486-linux -I. -DRUBY_EXTCONF_H=\"extconf.h\" -I/usr/include/ImageMagick -fPIC -I/usr/include/ImageMagick -fopenmp -c rmmontage.c 
cc -I. -I. -I/usr/lib/ruby/1.8/i486-linux -I. -DRUBY_EXTCONF_H=\"extconf.h\" -I/usr/include/ImageMagick -fPIC -I/usr/include/ImageMagick -fopenmp -c rmutil.c 
cc -I. -I. -I/usr/lib/ruby/1.8/i486-linux -I. -DRUBY_EXTCONF_H=\"extconf.h\" -I/usr/include/ImageMagick -fPIC -I/usr/include/ImageMagick -fopenmp -c rmmain.c 
cc -I. -I. -I/usr/lib/ruby/1.8/i486-linux -I. -DRUBY_EXTCONF_H=\"extconf.h\" -I/usr/include/ImageMagick -fPIC -I/usr/include/ImageMagick -fopenmp -c rmimage.c 
rmimage.c: In function ‘Image_function_channel’: 
rmimage.c:5136: error: ‘MagickFunction’ undeclared (first use in this function) 
rmimage.c:5136: error: (Each undeclared identifier is reported only once 
rmimage.c:5136: error: for each function it appears in.) 
rmimage.c:5136: error: expected ‘;’ before ‘function’ 
rmimage.c:5152: error: ‘function’ undeclared (first use in this function) 
rmimage.c:5158: error: ‘PolynomialFunction’ undeclared (first use in this function) 
rmimage.c:5164: error: ‘SinusoidFunction’ undeclared (first use in this function) 
make: *** [rmimage.o] Error 1 
+0

BTW, j'ai installé la version précédente (2.11.0) de RMagick et cela a fonctionné. Mais encore je veux savoir comment puis-je résoudre ce problème en utilisant RMagick 2.12.0. –

+0

'apt-get installez imagemagick librmagick-ruby libmagickwand-dev' puis' gem install rmagick -v '2.12.0'' – vansan

Répondre

0
gem install rmagick -v '2.12.1' 

pour la version:

Version: ImageMagick 6.3.7 08/07/09 Q16 

sur Debian Lenny réussi

0

peut-être essayer avec ImageMagick 6.5.6 comme c'est la dernière

1

On dirait que 2.12.1 est sorti, je viens de tester sur ma machine ubuntu et il semble installer très bien.

Questions connexes