Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Perl > Perl Misc > module installation

Thread Tools

module installation

Posts: n/a
Thanks to Ben's and Michele's advice, I'm reconfirming the modeule

cpan[61]> install Imager

Imager is up to date (0.62).

Indeed the problem may arise because intially I did by:

install Bundle:Imager

following some web "instructions".

and later I also tried:

install GD
install PGPLOT

and so.

When I tried to uninstall them, I went to perl directory but could not find
the modules and therefore could not "delete" them. Now I guess maybe the
installation was not clean and makes the problem happen.

the author's codes are:

use Imager;
use Imager:lot;

$plot = Imager:lot->new(Width => 550,
Height => 350,
GlobalFont => 'ImUgly.ttf');

my @X = 0..100;
my @Y = map { sin($_/10) } @X;
my @Z = map { 1+cos($_/10) } @X;

$plot->AddDataSet(X => \@X, Y => \@Z);
$plot->AddDataSet(X => \@X, Y => \@Y,
style=>{marker=>{size => 2,
symbol => 'circle',
color => Imager::Color->new('red'),

$img = Imager->new(xsize=>600, ysize => 400);
$img->box(filled=>1, color=>'white');

$plot->{'Ylabel'} = 'angst';
$plot->{'Xlabel'} = 'time';
$plot->{'Title'} = 'Quality time';

$plot->Render(Image => $img, Xoff => 40, Yoff => 370);
$img->write(file => "testout.png");

cpan[63]> install Imagerlot

Running install for module 'Imager:lot'
Running make for A/AD/ADDI/Imager-Plot-0.09.tar.gz
Has already been unwrapped into directory
'/usr/bin/perl Makefile.PL' returned status 65280, won't make
Running make test
Make had some problems, won't test
Running make install
Make had some problems, won't install

Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: module docstring, documentation,anything? please note is the module type/object NOT some module Maric Michaud Python 0 06-24-2006 12:42 PM
Crypt::RSA, manual module installation alex Perl 1 06-25-2004 11:31 AM
alternate module installation Tom Anderson Python 0 03-05-2004 03:21 PM
Search for dialog based question/answer module for installation/configuration procedures Raphael Bossek Python 1 08-21-2003 10:56 AM