Thread View: news.software.nntp
5 messages
5 total messages
Started by Jason
Tue, 20 Mar 2001 15:26
question about innreport and graphs
Author: Jason
Date: Tue, 20 Mar 2001 15:26
Date: Tue, 20 Mar 2001 15:26
13 lines
1646 bytes
1646 bytes
Hello, I am trying to produce graphs in my daily innreport. I get an error stating I need GD.pm installed. I have searched around and was unable to find any other similar questions, so I was wondering if anyone could point me in the right direction. What version of GD.pm do I need and where would be the best place to get it? Also, do I need a PNG module as well? I read that the newer versions of GD.pm use png instead of jpg or gif, so would I need that as well? Basically, I just want to know what pieces I need to get graphs in my daily innreports. Thanks in advance. Jason
Re: question about innreport and graphs
Author: Jason
Date: Tue, 20 Mar 2001 21:30
Date: Tue, 20 Mar 2001 21:30
63 lines
3807 bytes
3807 bytes
Ok, I've been trying to get these @#!$# graphs working all day now, and
I've had absolutely no luck. I knew I needed GD.pm, but the instructions
said I also needed LibPNG, Zlib, and gd, so I downloaded them all and
installed them all successfully.
Now, with GD.pm 1.32, I can get up to make just fine, but when I run make
test, I get the following output:
PERL_DL_NONLAZY=1 /opt/ANSperl/bin/perl -Iblib/arch -Iblib/lib
-I/opt/ANSperl/lib/5.6.0/
sun4-solaris -I/opt/ANSperl/lib/5.6.0 -e 'use Test::Harness qw(&runtests
$verbose); $ver
bose=0; runtests @ARGV;' t/*.t
t/GD................Can't load './blib/arch/auto/GD/GD.so' for module GD:
ld.so.1: /opt/
ANSperl/bin/perl: fatal: relocation error: file ./blib/arch/auto/GD/GD.so:
symbol TT_Get
_CharMap: referenced symbol not found at
/opt/ANSperl/lib/5.6.0/sun4-solaris/DynaLoader.
pm line 200.
at t/GD.t line 11
Compilation failed in require at t/GD.t line 11.
BEGIN failed--compilation aborted at t/GD.t line 11.
t/GD................dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-10
Failed 10/10 tests, 0.00% okay
Failed Test Status Wstat Total Fail Failed List of failed
-------------------------------------------------------------------------------
t/GD.t 255 65280 10 10 100.00% 1-10
Failed 1/1 test scripts, 0.00% okay. 10/10 subtests failed, 0.00% okay.
*** Error code 2
make: Fatal error: Command failed for target `test_dynamic'
when I ran make install, I don't get any errors there. I thought it might
be okay, but I still get "WARNING: can't make graphs as required. Install
GD.pm or disable this option." when innreport is run.
Can anyone please tell me what in the world is going on, because I'm about
to put my foot through my monitor. This seems like WAY too much work for a
couple of damn graphs. Has anyone else gotten graphs successfully working
through innreport, and if so, can you tell me what steps you went through?
Thanks,
Jason
Jason wrote:
> Hello, I am trying to produce graphs in my daily innreport. I get an
> error stating I need GD.pm installed. I have searched around and was
> unable to find any other similar questions, so I was wondering if anyone
> could point me in the right direction. What version of GD.pm do I need
> and where would be the best place to get it? Also, do I need a
> PNG module as well? I read that the newer versions of GD.pm use png
> instead of jpg or gif, so would I need that as well? Basically, I just
> want to know what pieces I need to get graphs in my daily innreports.
> Thanks in advance.
>
> Jason
Re: question about innreport and graphs
Author: Russ Allbery
Date: Wed, 21 Mar 2001 22:15
Date: Wed, 21 Mar 2001 22:15
30 lines
2210 bytes
2210 bytes
Jason <nospam@nospam.com> writes:
> Ok, I've been trying to get these @#!$# graphs working all day now, and
> I've had absolutely no luck. I knew I needed GD.pm, but the
> instructions said I also needed LibPNG, Zlib, and gd, so I downloaded
> them all and installed them all successfully.
> Now, with GD.pm 1.32, I can get up to make just fine, but when I run make
> test, I get the following output:
> PERL_DL_NONLAZY=1 /opt/ANSperl/bin/perl -Iblib/arch -Iblib/lib
> -I/opt/ANSperl/lib/5.6.0/
> sun4-solaris -I/opt/ANSperl/lib/5.6.0 -e 'use Test::Harness qw(&runtests
> $verbose); $ver
> bose=0; runtests @ARGV;' t/*.t
> t/GD................Can't load './blib/arch/auto/GD/GD.so' for module GD:
> ld.so.1: /opt/
> ANSperl/bin/perl: fatal: relocation error: file ./blib/arch/auto/GD/GD.so:
> symbol TT_Get
> _CharMap: referenced symbol not found at
At a guess, it's looking for freetype. Did you build gd with TrueType
support?
--
Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>
Please post questions rather than mailing me directly.
<http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Re: question about innreport and graphs
Author: Jason
Date: Thu, 22 Mar 2001 18:02
Date: Thu, 22 Mar 2001 18:02
38 lines
2647 bytes
2647 bytes
Actually I didn't. I'll try that right now. I wonder if I need a truetype package or if it's just an option to build gd with? Thanks for the tip Russ. Jason Russ Allbery wrote: > Jason <nospam@nospam.com> writes: > > > Ok, I've been trying to get these @#!$# graphs working all day now, and > > I've had absolutely no luck. I knew I needed GD.pm, but the > > instructions said I also needed LibPNG, Zlib, and gd, so I downloaded > > them all and installed them all successfully. > > > Now, with GD.pm 1.32, I can get up to make just fine, but when I run make > > test, I get the following output: > > > PERL_DL_NONLAZY=1 /opt/ANSperl/bin/perl -Iblib/arch -Iblib/lib > > -I/opt/ANSperl/lib/5.6.0/ > > sun4-solaris -I/opt/ANSperl/lib/5.6.0 -e 'use Test::Harness qw(&runtests > > $verbose); $ver > > bose=0; runtests @ARGV;' t/*.t > > t/GD................Can't load './blib/arch/auto/GD/GD.so' for module GD: > > ld.so.1: /opt/ > > ANSperl/bin/perl: fatal: relocation error: file ./blib/arch/auto/GD/GD.so: > > symbol TT_Get > > _CharMap: referenced symbol not found at > > At a guess, it's looking for freetype. Did you build gd with TrueType > support? > > -- > Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/> > > Please post questions rather than mailing me directly. > <http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Re: question about innreport and graphs
Author: Russ Allbery
Date: Thu, 22 Mar 2001 20:31
Date: Thu, 22 Mar 2001 20:31
16 lines
1664 bytes
1664 bytes
Jason <nospam@nospam.com> writes:
> Actually I didn't. I'll try that right now. I wonder if I need a
> truetype package or if it's just an option to build gd with? Thanks for
> the tip Russ.
gd has optional support for TrueType; if it's compiled with that support,
you generally have to link against freetype as well as gd whenever you
link against gd.
--
Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>
Please post questions rather than mailing me directly.
<http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads