Hello my Serene Meditative Friends,
This looks like an old problem, but I'm having no luck in finding a solution. I'm running OpenSuse 12.2 x 64
Originally attempting to install Image::WordCloud and then narrowing my efforts to just installing GD, I can't seem to get it to work, even with --force or -n . See:
sudo cpanm -n GD
--> Working on GD
Fetching http://www.cpan.org/authors/id/L/LD/LDS/GD-2.50.tar.gz ... OK
Configuring GD-2.50 ... OK
Building GD-2.50 ... FAIL
! Installing GD failed. See /root/.cpanm/build.log for details.
In build.log, I don't see anything that tells me much:
cpanm (App::cpanminus) 1.5021 on perl 5.016000 built for x86_64-linux-
+thread-multi
Work directory is /root/.cpanm/work/1374016698.10363
You have make /usr/bin/make
You have LWP 6.04
You have /bin/tar: tar (GNU tar) 1.26
Copyright (C) 2011 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gp
+l.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Written by John Gilmore and Jay Fenlason.
You have /usr/bin/unzip
Searching GD on cpanmetadb ...
--> Working on GD
Fetching http://www.cpan.org/authors/id/L/LD/LDS/GD-2.50.tar.gz
-> OK
Unpacking GD-2.50.tar.gz
Entering GD-2.50
Checking configure dependencies from META.yml
Checking if you have ExtUtils::MakeMaker 0 ... Yes (6.68)
Configuring GD-2.50
Running Makefile.PL
Notice: Type perl Makefile.PL -h for command-line option summary.
Configuring for libgd version 2.0.36.
Checking for stray libgd header files...none found.
Included Features: GD_XPM GD_JPEG GD_FONTCONFIG GD_FREETYPE G
+D_PNG GD_GIF GD_GIFANIM GD_OPENPOLYGON GD_UNCLOSEDPOLY GD_ANIMGIF GD_
+FTCIRCLE VERSION_33
GD library used from: /usr
Checking if your kit is complete...
Looks good
Writing Makefile for GD
Writing MYMETA.yml and MYMETA.json
-> OK
Checking dependencies from MYMETA.json ...
Checking if you have ExtUtils::MakeMaker 0 ... Yes (6.68)
Checking if you have Math::Trig 0 ... Yes (1.23)
Building GD-2.50
/usr/bin/perl GD/Image.pm.PLS GD/Image.pm
Extracting Image.pm (with variable substitutions)
cp GD/Polyline.pm blib/lib/GD/Polyline.pm
cp qd.pl blib/lib/qd.pl
cp GD/Image.pm blib/lib/GD/Image.pm
cp GD.pm blib/lib/GD.pm
AutoSplitting blib/lib/GD.pm (blib/lib/auto/GD)
cp GD/Simple.pm blib/lib/GD/Simple.pm
cp GD/Polygon.pm blib/lib/GD/Polygon.pm
cp GD/Group.pm blib/lib/GD/Group.pm
/usr/bin/perl /usr/lib/perl5/5.16.0/ExtUtils/xsubpp -typemap /usr/lib
+/perl5/5.16.0/ExtUtils/typemap -typemap typemap GD.xs > GD.xsc && mv
+ GD.xsc GD.c
cc -c -I/usr/include -D_REENTRANT -D_GNU_SOURCE -DPERL_USE_SAFE_PUTEN
+V -fno-strict-aliasing -pipe -fstack-protector -D_LARGEFILE_SOURCE -D
+_FILE_OFFSET_BITS=64 -Wformat=0 -fmessage-length=0 -O2 -Wall -D_FORTI
+FY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-t
+ables -g -Wall -pipe -DVERSION=\"2.50\" -DXS_VERSION=\"2.50\" -fPIC
+ "-I/usr/lib/perl5/5.16.0/x86_64-linux-thread-multi/CORE" -DHAVE_JPE
+G -DHAVE_FT -DHAVE_XPM -DHAVE_GIF -DHAVE_PNG -DHAVE_ANIMGIF -DVERSION
+_33 -DHAVE_UNCLOSEDPOLY -DHAVE_FONTCONFIG -DHAVE_FTCIRCLE GD.c
GD.xs: In function ‘constant’:
GD.xs:337:1: warning: label ‘not_there’ defined but not used [-Wunused
+-label]
GD.c: In function ‘XS_GD__Image_trueColor’:
GD.c:714:9: warning: variable ‘packname’ set but not used [-Wunused-bu
+t-set-variable]
GD.c: In function ‘XS_GD__Image__new’:
GD.c:755:9: warning: variable ‘packname’ set but not used [-Wunused-bu
+t-set-variable]
GD.c: In function ‘XS_GD__Image__newFromPng’:
GD.c:818:9: warning: variable ‘packname’ set but not used [-Wunused-bu
+t-set-variable]
GD.c: In function ‘XS_GD__Image_newFromPngData’:
GD.c:856:9: warning: variable ‘packname’ set but not used [-Wunused-bu
+t-set-variable]
GD.c: In function ‘XS_GD__Image_newFromGdData’:
GD.c:901:9: warning: variable ‘packname’ set but not used [-Wunused-bu
+t-set-variable]
GD.c: In function ‘XS_GD__Image_newFromGd2Data’:
GD.c:934:9: warning: variable ‘packname’ set but not used [-Wunused-bu
+t-set-variable]
GD.c: In function ‘XS_GD__Image_newFromJpegData’:
GD.c:970:9: warning: variable ‘packname’ set but not used [-Wunused-bu
+t-set-variable]
GD.c: In function ‘XS_GD__Image_newFromWBMPData’:
GD.c:1015:9: warning: variable ‘packname’ set but not used [-Wunused-b
+ut-set-variable]
GD.c: In function ‘XS_GD__Image__newFromXbm’:
GD.c:1059:9: warning: variable ‘packname’ set but not used [-Wunused-b
+ut-set-variable]
GD.c: In function ‘XS_GD__Image__newFromGd’:
GD.c:1087:9: warning: variable ‘packname’ set but not used [-Wunused-b
+ut-set-variable]
GD.c: In function ‘XS_GD__Image__newFromGd2’:
GD.c:1115:9: warning: variable ‘packname’ set but not used [-Wunused-b
+ut-set-variable]
GD.c: In function ‘XS_GD__Image__newFromJpeg’:
GD.c:1146:9: warning: variable ‘packname’ set but not used [-Wunused-b
+ut-set-variable]
GD.c: In function ‘XS_GD__Image__newFromWBMP’:
GD.c:1185:9: warning: variable ‘packname’ set but not used [-Wunused-b
+ut-set-variable]
GD.c: In function ‘XS_GD__Image_newFromXpm’:
GD.c:1224:9: warning: variable ‘packname’ set but not used [-Wunused-b
+ut-set-variable]
GD.c: In function ‘XS_GD__Image__newFromGd2Part’:
GD.c:1269:9: warning: variable ‘packname’ set but not used [-Wunused-b
+ut-set-variable]
GD.c: In function ‘XS_GD__Image__newFromGif’:
GD.xs:856:19: warning: unused variable ‘truecolor’ [-Wunused-variable]
GD.c:1308:9: warning: variable ‘packname’ set but not used [-Wunused-b
+ut-set-variable]
GD.c: In function ‘XS_GD__Image_newFromGifData’:
GD.xs:876:19: warning: unused variable ‘truecolor’ [-Wunused-variable]
GD.c:1344:9: warning: variable ‘packname’ set but not used [-Wunused-b
+ut-set-variable]
GD.c: In function ‘XS_GD__Image_gifanimend’:
GD.c:1740:12: warning: variable ‘image’ set but not used [-Wunused-but
+-set-variable]
GD.c: In function ‘XS_GD__Image_colorClosestAlpha’:
GD.c:3545:6: warning: unused variable ‘a’ [-Wunused-variable]
GD.xs: In function ‘XS_GD__Image_stringFT’:
GD.xs:2192:6: warning: suggest parentheses around assignment used as t
+ruth value [-Wparentheses]
GD.xs:2196:6: warning: suggest parentheses around assignment used as t
+ruth value [-Wparentheses]
GD.xs:2208:13: warning: suggest parentheses around assignment used as
+truth value [-Wparentheses]
GD.xs:2216:13: warning: suggest parentheses around assignment used as
+truth value [-Wparentheses]
GD.c: In function ‘XS_GD__Image_useFontConfig’:
GD.xs:2298:10: warning: unused variable ‘errormsg’ [-Wunused-variable]
GD.c:4598:6: warning: unused variable ‘image’ [-Wunused-variable]
GD.c: In function ‘XS_GD__Font_load’:
GD.c:4805:9: warning: variable ‘packname’ set but not used [-Wunused-b
+ut-set-variable]
GD.c: In function ‘XS_GD__Font_Small’:
GD.c:4917:9: warning: variable ‘packname’ set but not used [-Wunused-b
+ut-set-variable]
GD.c: In function ‘XS_GD__Font_Large’:
GD.c:4945:9: warning: variable ‘packname’ set but not used [-Wunused-b
+ut-set-variable]
GD.c: In function ‘XS_GD__Font_Giant’:
GD.c:4973:9: warning: variable ‘packname’ set but not used [-Wunused-b
+ut-set-variable]
GD.c: In function ‘XS_GD__Font_MediumBold’:
GD.c:5001:9: warning: variable ‘packname’ set but not used [-Wunused-b
+ut-set-variable]
GD.c: In function ‘XS_GD__Font_Tiny’:
GD.c:5029:9: warning: variable ‘packname’ set but not used [-Wunused-b
+ut-set-variable]
GD.c: At top level:
GD.xs:61:1: warning: ‘not_here’ defined but not used [-Wunused-functio
+n]
Running Mkbootstrap for GD ()
chmod 644 GD.bs
rm -f blib/arch/auto/GD/GD.so
LD_RUN_PATH="/usr/lib64" cc -shared -L/usr/local/lib64 -fstack-protec
+tor GD.o -o blib/arch/auto/GD/GD.so \
-L/usr/lib64 -L/usr/lib64 -L/usr/lib64 -L/usr/lib64 -lXpm -lX11 -lj
+peg -lfontconfig -lfreetype -lpng -lz -lm -lgd \
/usr/lib64/gcc/x86_64-suse-linux/4.7/../../../../x86_64-suse-linux/bin
+/ld: cannot find -lXpm
collect2: error: ld returned 1 exit status
make: *** [blib/arch/auto/GD/GD.so] Error 1
-> FAIL Installing GD failed. See /root/.cpanm/build.log for details.
I have GD installed on my system; it's just the Perl I can't seem to get to install, as per above. Any simple solutions?
-
Are you posting in the right place? Check out Where do I post X? to know for sure.
-
Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
<code> <a> <b> <big>
<blockquote> <br /> <dd>
<dl> <dt> <em> <font>
<h1> <h2> <h3> <h4>
<h5> <h6> <hr /> <i>
<li> <nbsp> <ol> <p>
<small> <strike> <strong>
<sub> <sup> <table>
<td> <th> <tr> <tt>
<u> <ul>
-
Snippets of code should be wrapped in
<code> tags not
<pre> tags. In fact, <pre>
tags should generally be avoided. If they must
be used, extreme care should be
taken to ensure that their contents do not
have long lines (<70 chars), in order to prevent
horizontal scrolling (and possible janitor
intervention).
-
Want more info? How to link
or How to display code and escape characters
are good places to start.
|