in reply to Before I give-up on Chart::Clicker.....

Chart::Clicker has some prereqs that must be satisfied before you install it. See the GTK+ Project. You'll be needing most of the packages there. Make sure that you've got them installed, then run this script. It'll install all the dependencies. I commented out the two modules that gave me a problem,
#!/usr/bin/perl use strict; use warnings; use CPAN; CPAN::Shell->install( "Test::PDF", "ExtUtils::PkgConfig", "ExtUtils::Depends", "Cairo", "Test::LongString", "Text::Flow", "Graphics::Primitive::Driver::Cairo", "Math::Gradient", "Set::Infinite", "DateTime::Set", "Algorithm::Diff", "Text::Diff", "Test::Differences", "Color::Scheme", "Class::Data::Inheritable", "Class::Accessor::Fast", "Module::Pluggable", "Color::Library", "Test::Number::Delta", "MooseX::Aliases", "Graphics::Color", "Forest", "Graphics::Primitive", "MooseX::AttributeHelpers", "JSON::Any", "File::Path", "File::NFSLock", #"IO::Dir", "Path::Class", "Carp::Clan", "MooseX::Types", "MooseX::Types::Path::Class", "Test::TempDir", "Test::NoWarnings", "Test::Tester", "Test::Deep", "String::RewritePrefix", "MooseX::Storage", "Math::Complex", "Check::ISA", "Hash::Util::FieldHash::Compat", "Algorithm::C3", "Class::C3", "MRO::Compat", "Scope::Guard", "Devel::GlobalDestruction", "Class::MOP", "Try::Tiny", "Moose", "Task::Weaken", "XSLoader", "base", "Variable::Magic", "Data::OptList", "Sub::Install", "Params::Util", "Sub::Exporter", "B::Hooks::EndOfScope", "Sub::Identify", "Sub::Name", "Package::Stash", "namespace::clean", "Tie::RefHash", "Test::use::ok", "Tie::ToObject", "Data::Visitor", "MooseX::Clone", "Geometry::Primitive", "ExtUtils::MakeMaker", "Layout::Manager", "Time::Local", "List::MoreUtils", "DateTime::Locale", "File::Temp", "Exporter", "ExtUtils::ParseXS", "Module::Build", "Attribute::Handlers", "ExtUtils::CBuilder", "Params::Validate", "Class::Singleton", "DateTime::TimeZone", "Test", "Text::Wrap", "Pod::Escapes", "Pod::Simple", "File::Spec", "Pod::Man", "Sub::Uplevel", "Test::Exception", "Test::Harness", "Test::More", #"Scalar::Util", "DateTime", "Chart::Clicker");

Replies are listed 'Best First'.
Re^2: Before I give-up on Chart::Clicker.....
by ChuckBland (Initiate) on Jul 14, 2010 at 20:26 UTC
    Khen1950fx, I have not had success on two difference machines. One has PERL 5.12 and the other 5.10. I haave tried GTK+ 2.16 and 2.20. I got all the third-party dependency files that were checked and installed them. Then I ran the script. It always stop at the same place while making File-NFSLock, at the line: t/200_bl_ex.t ..... 2/22 I have even uncommented the items in your script that were uncommented. What am I missing? Chuck
      You're not missing anything. There's a bug report on the rt that mentions the exact same problem. See: Bug #40185 for File-NSLock. You'll find an attachment with a patch that should work for you.

        I've worked around the NFSLock issue and I have the Cairo library installed.

        However.....

        I can't get the PERL Cairo module to install. Whether I use CPAN or the manual method, all the files compile but the link fails. Here's the error....

        C:\Perl\site\bin\g++.exe -out:blib\arch\auto\Cairo\Cairo.dll -mdll -L"C:\Perl\li b\CORE" Cairo.o CairoFont.o CairoMatrix.o CairoPath.o CairoPattern.o CairoSurfac e.o CairoFt.o cairo-perl-enums.o C:\Perl\lib\CORE\perl510.lib -lkernel32 -luse r32 -lgdi32 -lwinspool -lcomdlg32 -ladvapi32 -lshell32 -lole32 -loleaut32 -lneta pi32 -luuid -lws2_32 -lmpr -lwinmm -lversion -lodbc32 -lodbccp32 -lcomctl32 -lms vcrt -def:Cairo.def

        C:\Perl\site\lib\auto\MinGW\bin\..\lib\gcc\mingw32\3.4.5\..\..\..\..\mingw32\bin \ld.exe: cannot open output file ut:blib\arch\auto\Cairo\Cairo.dll: Invalid argument

        collect2: ld returned 1 exit status

        dmake.exe: Error code 129, while making 'blib\arch\auto\Cairo\Cairo.dll' TSCH/Cairo-1.061.tar.gz C:\Perl\site\bin\dmake.exe -- NOT OK

        It appears something can't handle the "-out:", since the file it can't find is prefixed with "ut:".

        Are things supposed to be this hard?

        Chuck