[rt-users] Still having problems with GD and RT 3.6.0pre1

Drew Barnes barnesaw at ucrwcu.rwc.uc.edu
Fri Apr 21 15:00:06 EDT 2006


Try this:

cd to /home/psmith/.cpan/build/GD-2.32
perl Makefile.pl
make
make test
make install


Phil Smith III wrote:
> Ah.  "install GD" says up-to-date; "force test GD" fails:
>
> cpan> force test GD
> Running test for module GD
> Running make for L/LD/LDS/GD-2.32.tar.gz
> WARNING: This key is not certified with a trusted signature!
> Primary key fingerprint: 2E66 557A B97C 19C7 91AF  8E20 328D A867 450F 89EC
> Signature for /home/psmith/.cpan/sources/authors/id/L/LD/LDS/CHECKSUMS ok
> Checksum for /home/psmith/.cpan/sources/authors/id/L/LD/LDS/GD-2.32.tar.gz ok
> GD-2.32/
> GD-2.32/t/
> GD-2.32/t/test.out.3.jpeg
> GD-2.32/t/GD.t
> GD-2.32/t/tile.jpeg
> GD-2.32/t/test.out.4.jpeg
> GD-2.32/t/test.out.5.jpeg
> GD-2.32/t/test.out.6.jpeg
> GD-2.32/t/test.out.7.jpeg
> GD-2.32/t/test.out.8.jpeg
> GD-2.32/t/test.out.9.jpeg
> GD-2.32/t/test.out.3.png-1
> GD-2.32/t/Polyline.t
> GD-2.32/t/test.out.4.png-1
> GD-2.32/t/test.out.4.png-2
> GD-2.32/t/test.out.10.png-1
> GD-2.32/t/test.out.10.png-2
> GD-2.32/t/test.out.10.png-3
> GD-2.32/t/test.out.1.png
> GD-2.32/t/test.out.2.gif
> GD-2.32/t/test.out.2.png
> GD-2.32/t/test.out.3.gif
> GD-2.32/t/test.out.3.png
> GD-2.32/t/test.out.4.gif
> GD-2.32/t/test.out.4.png
> GD-2.32/t/test.out.5.gif
> GD-2.32/t/test.out.5.png
> GD-2.32/t/test.out.6.gif
> GD-2.32/t/test.out.6.png
> GD-2.32/t/test.out.7.gif
> GD-2.32/t/test.out.7.png
> GD-2.32/t/test.out.8.gif
> GD-2.32/t/test.out.8.png
> GD-2.32/t/test.out.9.gif
> GD-2.32/t/test.out.9.png
> GD-2.32/t/test.out.5.png-1
> GD-2.32/t/Generic.ttf
> GD-2.32/t/test.out.6.png-1
> GD-2.32/t/test.out.7.png-1
> GD-2.32/t/frog.jpg
> GD-2.32/t/frog.xpm
> GD-2.32/t/test.out.10.jpeg
> GD-2.32/t/test.out.8.png-1
> GD-2.32/t/test.out.8.png-2
> GD-2.32/t/test.out.8.png-3
> GD-2.32/t/test.out.8.png-4
> GD-2.32/t/test.out.8.png-5
> GD-2.32/t/test.out.8.png-6
> GD-2.32/t/tile.gif
> GD-2.32/t/tile.png
> GD-2.32/t/test.out.2.png-1
> GD-2.32/t/test.out.9.png-1
> GD-2.32/t/test.out.9.png-2
> GD-2.32/t/palettemap.png
> GD-2.32/t/test.out.10.gif
> GD-2.32/t/test.out.10.png
> GD-2.32/t/test.out.2.jpeg
> GD-2.32/GD/
> GD-2.32/GD/Polygon.pm
> GD-2.32/GD/Simple.pm
> GD-2.32/GD/Image.pm.PLS
> GD-2.32/GD/Polyline.pm
> GD-2.32/GD.pm
> GD-2.32/GD.xs
> GD-2.32/demos/
> GD-2.32/demos/brushes.pl
> GD-2.32/demos/font_list.png
> GD-2.32/demos/fonttest
> GD-2.32/demos/polys.pl
> GD-2.32/demos/fills.pl
> GD-2.32/demos/truetype_test
> GD-2.32/demos/shapes.pl
> GD-2.32/demos/copies.pl
> GD-2.32/demos/ttf.pl
> GD-2.32/demos/gd_example.cgi
> GD-2.32/demos/tile.png
> GD-2.32/demos/polyline.pl
> GD-2.32/demos/transform.pl
> GD-2.32/qd.pl
> GD-2.32/README
> GD-2.32/Makefile.PL
> GD-2.32/README.QUICKDRAW
> GD-2.32/META.yml
> GD-2.32/typemap
> GD-2.32/bdf_scripts/
> GD-2.32/bdf_scripts/README
> GD-2.32/bdf_scripts/bdf2gdfont.PLS
> GD-2.32/bdf_scripts/bdftogd
> GD-2.32/bdf_scripts/bdf2gdfont.pl
> GD-2.32/README.unix
> GD-2.32/ChangeLog
> GD-2.32/MANIFEST
> Removing previously used /home/psmith/.cpan/build/GD-2.32
> Package came without SIGNATURE
>
>
>   CPAN.pm: Going to build L/LD/LDS/GD-2.32.tar.gz
>
> NOTICE: This module requires libgd 2.0.28 or higher.
>         it will NOT work with earlier versions. If you are getting
>         compile or link errors, then please get and install a new
>         version of libgd from www.boutell.com. Do NOT ask Lincoln
>         for help until you try this.
>
>         If you are using Math::Trig 1.01 or lower, it has a bug that
>         causes a "prerequisite not found" warning to be issued.  You may
>         safely ignore this warning.
>
>         Type perl Makefile.PL -h for command-line option summary
>
> Configuring for libgd version 2.0.33.
> Included Features:          GD_JPEG GD_PNG GD_GIF GD_UNCLOSEDPOLY GD_ANIMGIF GD_FTCIRCLE VERSION_33
> GD library used from:       /usr/local
>
> If you experience compile problems, please check the @INC, @LIBPATH and @LIBS
> arrays defined in Makefile.PL and manually adjust, if necessary.
>
> Checking if your kit is complete...
> Looks good
> Writing Makefile for GD
> /usr/bin/perl "-Iblib/arch" "-Iblib/lib" 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
> /usr/bin/perl /usr/lib/perl5/5.8.5/ExtUtils/xsubpp  -typemap /usr/lib/perl5/5.8.5/ExtUtils/typemap -typemap typemap  GD.xs > GD.xsc && mv GD.xsc GD.c
> gcc -c  -I/usr/local/include -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBUGGING -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -g -pipe -m32 -march=i386 -mtune=pentium4   -DVERSION=\"2.32\" -DXS_VERSION=\"2.32\" -fPIC "-I/usr/lib/perl5/5.8.5/i386-linux-thread-multi/CORE"  -DHAVE_JPEG -DHAVE_FT -DHAVE_GIF -DHAVE_PNG -DHAVE_ANIMGIF -DVERSION_33 -DHAVE_UNCLOSEDPOLY -DHAVE_FTCIRCLE GD.c
> Running Mkbootstrap for GD ()
> chmod 644 GD.bs
> rm -f blib/arch/auto/GD/GD.so
> gcc  -shared -L/usr/local/lib GD.o  -o blib/arch/auto/GD/GD.so   -L/usr/lib -L/usr/local/lib -ljpeg -lpng12 -lz -lm -lgd   
> chmod 755 blib/arch/auto/GD/GD.so
> cp GD.bs blib/arch/auto/GD/GD.bs
> chmod 644 blib/arch/auto/GD/GD.bs
> cp bdf_scripts/bdf2gdfont.pl blib/script/bdf2gdfont.pl
> /usr/bin/perl "-MExtUtils::MY" -e "MY->fixin(shift)" blib/script/bdf2gdfont.pl
> Manifying blib/man1/bdf2gdfont.pl.1
> Manifying blib/man3/GD::Polyline.3pm
> Manifying blib/man3/GD::Image.3pm
> Manifying blib/man3/GD::Simple.3pm
> Manifying blib/man3/GD.3pm
> Manifying blib/man3/GD::Polygon.3pm
>   /usr/bin/make  -- OK
> Running make test
> PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
> t/GD..........Can't load './blib/arch/auto/GD/GD.so' for module GD: /usr/lib/libgd.so.2: undefined symbol: overflow2 at /usr/lib/perl5/5.8.5/i386-linux-thread-multi/DynaLoader.pm line 230.
>  at t/GD.t line 14
> Compilation failed in require at t/GD.t line 14.
> BEGIN failed--compilation aborted at t/GD.t line 14.
> t/GD..........dubious                                                        
>         Test returned status 255 (wstat 65280, 0xff00)
> DIED. FAILED tests 1-12
>         Failed 12/12 tests, 0.00% okay
> t/Polyline....Can't load '/home/psmith/.cpan/build/GD-2.32/blib/arch/auto/GD/GD.so' for module GD: /usr/lib/libgd.so.2: undefined symbol: overflow2 at /usr/lib/perl5/5.8.5/i386-linux-thread-multi/DynaLoader.pm line 230.
>  at /home/psmith/.cpan/build/GD-2.32/blib/lib/GD/Polyline.pm line 45
> Compilation failed in require at /home/psmith/.cpan/build/GD-2.32/blib/lib/GD/Polyline.pm line 45.
> BEGIN failed--compilation aborted at /home/psmith/.cpan/build/GD-2.32/blib/lib/GD/Polyline.pm line 45.
> Compilation failed in require at t/Polyline.t line 10.
> BEGIN failed--compilation aborted at t/Polyline.t line 10.
> t/Polyline....dubious                                                        
>         Test returned status 255 (wstat 65280, 0xff00)
> DIED. FAILED test 1
>         Failed 1/1 tests, 0.00% okay
> Failed Test  Stat Wstat Total Fail  Failed  List of Failed
> -------------------------------------------------------------------------------
> t/GD.t        255 65280    12   23 191.67%  1-12
> t/Polyline.t  255 65280     1    2 200.00%  1
> Failed 2/2 test scripts, 0.00% okay. 13/13 subtests failed, 0.00% okay.
> make: *** [test_dynamic] Error 255
>   /usr/bin/make test -- NOT OK
> Failed during this command:
>   LDS/GD-2.32.tar.gz                           : make_test NO 
>
> -----Original Message-----
> From: Ruslan Zakirov [mailto:ruslan.zakirov at gmail.com] 
> Sent: Friday, April 21, 2006 2:35 PM
> To: Phil Smith III
> Cc: Drew Barnes; rt-users at lists.bestpractical.com
> Subject: Re: [rt-users] Still having problems with GD and RT 3.6.0pre1
>
> Run `cpan` shell (or perl -MCPAN -e shell) as root and from shell try next:
> cpan> install GD
> if it says it's up to date run
> cpan> force test GD
> if all tests are OK then run
> cpan> force install GD
>
>
> On 4/21/06, Phil Smith III <lists at akphs.com> wrote:
>   
>> I am only an egg: how do I 'rebuild the GD module manually'?
>>
>> ...phsiii
>>
>> -----Original Message-----
>> From: Drew Barnes [mailto:barnesaw at ucrwcu.rwc.uc.edu]
>> Sent: Friday, April 21, 2006 10:14 AM
>> To: Phil Smith III
>> Cc: rt-users at lists.bestpractical.com
>> Subject: Re: [rt-users] Still having problems with GD and RT 3.6.0pre1
>>
>> Go to /home/psmith/.cpan/build and rebuild the GD module manually.  It
>> sounds like you recompiled the GD libraries and probably need to
>> recompile the module.
>>
>>
>> Phil Smith III wrote:
>>     
>>> Thanks to Jesse's kind advice, I've at least figured out that the reason graphing isn't working is because GD doesn't have PNG support installed.
>>>
>>> But I've managed to get GD happy -- at least, it CLAIMS it's happy, has PNG support -- and graphing still isn't working.
>>>
>>> Weirder, the RT 'make testdeps' says GD is missing still; and if I run 'make fixdeps', I get (snipped, of course):
>>>
>>>         GD ...MISSING
>>>         Install module GD
>>> Going to read /home/psmith/.cpan/Metadata
>>>   Database was generated on Fri, 21 Apr 2006 10:47:17 GMT
>>> GD is up to date (2.32).
>>>
>>> Then 'make fixdeps' says "SOMETHING WAS MISSING!" at the end again.  Same results with/without
>>>   export set RT_FIX_DEPS_CMD=cpan
>>> before the 'make fixdeps'.
>>>
>>> Any ideas?
>>>       
>> _______________________________________________
>> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
>>
>> Community help: http://wiki.bestpractical.com
>> Commercial support: sales at bestpractical.com
>>
>>
>> Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
>> Buy a copy at http://rtbook.bestpractical.com
>>
>>
>> We're hiring! Come hack Perl for Best Practical: http://bestpractical.com/about/jobs.html
>>
>>     
>
>
> --
> Best regards, Ruslan.
>
>   

-- 
Drew Barnes
Applications Analyst
Raymond Walters College
University of Cincinnati




More information about the rt-users mailing list