Thread

Posted on Tue May 3 13:42:43 2005 by garethtrl
empty files on Red Hat EL 3

I have installed Chart 2.3 on a Red Hat El 3 machine. Perl 5.8.0.

# perl -MCPAN -e 'install Chart::Base'

etc.

The install apears to work fine. When I go into the install directory and do 'make test' that reports success. But all the test charts in 'samples/' are 0-byte files.

It's not file permissions, I have deleted them all and run make test again, they are generated at 0-bytes.

I do have png libraries.

No errors are generated, each script just silently writes an empty file. And the test harness thinks they all succeeded.

Has anyone seen this? Or has anyone got Chart to work on RH EL 3, Perl 5.8.0? Suggestions much appreciated.

# make test PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/bars.............ok t/bars_2...........ok t/bars_3...........ok t/bars_4...........ok t/bars_5...........ok t/bars_6...........ok t/bars_7...........ok t/bars_8...........ok t/bars_9...........ok t/composite........ok t/composite_1......ok t/composite_2......ok t/composite_3......ok t/composite_4......ok t/composite_5......ok t/composite_f......ok t/direction_1......ok t/direction_2......ok t/direction_3......ok t/direction_4......ok t/error_1..........ok t/error_2..........ok t/f_ticks..........ok t/hbars_1..........ok t/hbars_2..........ok t/hbars_3..........ok t/hbars_4..........ok t/Humidity.........ok t/lines............ok t/lines_1..........ok t/lines_2..........ok t/lines_3..........ok t/lines_4..........ok t/lines_5..........ok t/lines_6..........ok t/linespoints......ok t/linespoints_1....ok t/linespoints_2....ok t/linespoints_3....ok t/mapbars..........ok t/mapcomp..........ok t/Math_1_over_x....ok t/mountain.........ok t/mountain_2.......ok t/pareto_1.........ok t/pareto_2.........ok t/pie_1............ok t/pie_2............ok t/pie_3............ok t/pie_4............ok t/pie_5............ok t/points...........ok t/points_100.......ok t/split_1..........ok t/split_2..........ok t/stackedbars......ok t/stackedbars_2....ok t/stackedbars_3....ok All tests successful. Files=58, Tests=60, 18 wallclock secs (16.91 cusr + 0.87 csys = 17.78 CPU)
Direct Responses: 441 | Write a response
Posted on Tue May 10 15:10:35 2005 by garethtrl in response to 411
Re: empty files on Red Hat EL 3
OK I'll answer my own question :-) It seems to be something to do with the order in which libraries are built, or maybe something picking up an old version of a library. I already had libgd-2.0.33 and GD-2.19 I re-compiled and re-installed first libgd and then GD. Then Chart worked! If you have a similar problem you might want to try that.
Write a response