Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Error in Gtk2::Ex::Graph::GD; module

by Anonymous Monk
on May 23, 2011 at 10:05 UTC ( #906279=perlquestion: print w/ replies, xml ) Need Help??
Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

Hi

I installed this(Gtk2::Ex::Graph::GD) module. It showed successfully installed. But when i use this module

use Gtk2::Ex::Graph::GD;

Error is coming like (This application has failed to start because libcario-2.dll was not found. Re-installing the application may fix this problem.)(This application has failed to start because Cario-2.dll was not found. Re-installing the application may fix this problem.) in alert box.Error

Can't load 'C:/Perl/site/lib/auto/Gtk2/Gtk2.dll' for module Gtk2: load +_file:The specified module could not be found at C :/Perl/lib/DynaLoader.pm line 202. at C:/Perl/site/lib/Gtk2/Ex/Graph/GD.pm line 13 Compilation failed in require at C:/Perl/site/lib/Gtk2/Ex/Graph/GD.pm +line 13. BEGIN failed--compilation aborted at C:/Perl/site/lib/Gtk2/Ex/Graph/GD +.pm line 13. Compilation failed in require at len.pl line 1. BEGIN failed--compilation aborted at len.pl line 1.

Comment on Error in Gtk2::Ex::Graph::GD; module
Select or Download Code
Re: Error in Gtk2::Ex::Graph::GD; module
by bluescreen (Friar) on May 23, 2011 at 14:08 UTC

    What kind of Perl distribution are you using: Strawberry, ActiveState, ... ? Did you install the module from CPAN, if so it should have passed the tests

    Without knowing anything from your system seems like there is a missing backend library. If that is the situation go to Gtk+ page and find the binaries for your system

Re: Error in Gtk2::Ex::Graph::GD; module
by zentara (Archbishop) on May 23, 2011 at 15:21 UTC
Re: Error in Gtk2::Ex::Graph::GD; module
by Anonymous Monk on May 23, 2011 at 17:58 UTC
    I installed this(Gtk2::Ex::Graph::GD) module.

    How? Where from?

    When I build Gtk2 I have to

    set GTK_BASEPATH=...\gtk-bundle set PATH=%GTK_BASEPATH%\bin;%PATH% set PKG_CONFIG_PATH=%GTK_BASEPATH%\lib\pkgconfig
    Because
    $ objdump -p blib\arch\auto\Gtk2\Gtk2.dll |grep DLL.Name DLL Name: KERNEL32.dll DLL Name: msvcrt.dll DLL Name: perl510.dll DLL Name: Cairo.dll DLL Name: Glib.dll DLL Name: Pango.dll DLL Name: libatk-1.0-0.dll DLL Name: libcairo-2.dll DLL Name: libgdk-win32-2.0-0.dll DLL Name: libgdk_pixbuf-2.0-0.dll DLL Name: libglib-2.0-0.dll DLL Name: libgobject-2.0-0.dll DLL Name: libgtk-win32-2.0-0.dll DLL Name: libpango-1.0-0.dll DLL Name: libpangocairo-1.0-0.dll
    If you installed Gtk2 , it should have come with libglib-2.0-0.dll... and they should be in your PATH

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://906279]
Approved by planetscape
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (7)
As of 2014-07-12 13:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When choosing user names for websites, I prefer to use:








    Results (240 votes), past polls