For Programmers: Free Programming Magazines  


Home > Archive > PERL Programming > July 2004 > GD installation









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author GD installation
Xavi

2004-07-12, 8:57 am

Hi folks,
I'm just becoming crazy trying to install the GD module in my XP
computer!! :-S I've tried to install GD with activestate (ppm and
CPAN.pm) and as I can not install it correctly I've tried with
cygwin.. but as CPAN.pm was not running fine in my computer, I've
finally tried to install manually. The problem I've is that althought
the compilation of the module and dll seems to be ok, when I run the
test appears this error related with GD.dll:

bash-2.05b$ make test
/usr/bin/perl.exe "-MExtUtils::Command::MM" "-e" "test_harness(0,
'blib/lib', 'blib/arch')" t/*.t
t/GD..........Can't load './blib/arch/auto/GD/GD.dll' for module GD:
dlopen: Win32 error 126 at
/usr/lib/perl5/5.8.2/cygwin-thread-multi-64int/DynaLoader.pm line 229.
at t/GD.t line 13
Compilation failed in require at t/GD.t line 13.
BEGIN failed--compilation aborted at t/GD.t line 13.
t/GD..........dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-10
Failed 10/10 tests, 0.00% okay
t/Polyline....Can't load '/tmp/GD-2.11/blib/arch/auto/GD/GD.dll' for
module GD: dlopen: Win32 error 126 at
/usr/lib/perl5/5.8.2/cygwin-thread-multi-64int/DynaLoader.pm line 229.
at /tmp/GD-2.11/blib/lib/GD/Polyline.pm line 49
Compilation failed in require at /tmp/GD-2.11/blib/lib/GD/Polyline.pm
line 49.
BEGIN failed--compilation aborted at
/tmp/GD-2.11/blib/lib/GD/Polyline.pm line 49.
Compilation failed in require at t/Polyline.t line 10.
BEGIN failed--compilation aborted at t/Polyline.t line 10.
t/Polyline....dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED test 1
Failed 1/1 tests, 0.00% okay
Failed Test Stat Wstat Total Fail Failed List of Failed
-------------------------------------------------------------------------------
t/GD.t 255 65280 10 19 190.00% 1-10
t/Polyline.t 255 65280 1 2 200.00% 1
Failed 2/2 test scripts, 0.00% okay. 11/11 subtests failed, 0.00%
okay.
make: *** [test_dynamic] Error 2

I've tried to reinstall perl and also to clean all the GD environment,
but I've not found any way to archive a correct installation of GD.
Anyone have any suggestion?
Thanks.
Jan Harders

2004-07-12, 8:57 am

Xavi <xavier_planas@yahoo.es> typed:
> Hi folks,
> I'm just becoming crazy trying to install the GD module in my XP
> computer!! :-S I've tried to install GD with activestate (ppm and
> CPAN.pm) and as I can not install it correctly I've tried with
> cygwin.. but as CPAN.pm was not running fine in my computer, I've
> finally tried to install manually. The problem I've is that althought
> the compilation of the module and dll seems to be ok, when I run the
> test appears this error related with GD.dll:


What was the problem installing it with ppm? Did you try to download the
package from activestate, unpack it and run "ppm install Packagefile.ppd"?


Xavi

2004-07-12, 3:59 pm

Jan,
I've download the GD.ppd file to a local repository because I've
authentication problems with a reverse proxy. Then I've executed
install GD and the module have been installed correctly. But as soon
as I've tried to run a demo script (use GD;) I've recieved an error
about PerlCRT.dll. I've reinstalled all the perl binaries and all the
folders that have not deleted by the uninstaller and also I've
uninstalled the GD libraries in system32. Actually, when I try to
execute any script with GD under activestate installation generates a
memory dump. :(
Do you have any suggestion?

"Jan Harders" <janh@hitservice.net> wrote in message news:<2lf4i4Fbncb6U1@uni-berlin.de>...
> Xavi <xavier_planas@yahoo.es> typed:
>
> What was the problem installing it with ppm? Did you try to download the
> package from activestate, unpack it and run "ppm install Packagefile.ppd"?

Xavi

2004-07-12, 3:59 pm

"Jan Harders" <janh@hitservice.net> wrote in message news:<2lf4i4Fbncb6U1@uni-berlin.de>...
> Xavi <xavier_planas@yahoo.es> typed:
>
> What was the problem installing it with ppm? Did you try to download the
> package from activestate, unpack it and run "ppm install Packagefile.ppd"?


Hi Jan,

As I was experiencing auth problems with my proxy I download the
GD.ppd and I've installed in a local repository without any install
problem. But when I try to use the GD modules, then appears some
errors about PerlCRT.dll. I've reinstalled the entire activestate perl
distro, deleting also the folders that the uninstaller didn't delete
and the GD library located at system32 folder.
After reinstall totally the perl activestate distribution actually
when I run any script with use GD the XP generetes a memory dump. :-(
.. Do you have any suggestion?
Matt Garrish

2004-07-12, 8:56 pm


"Xavi" <xavier_planas@yahoo.es> wrote in message
news:7f31376b.0407120705.48367e40@posting.google.com...
> "Jan Harders" <janh@hitservice.net> wrote in message

news:<2lf4i4Fbncb6U1@uni-berlin.de>...
Packagefile.ppd"?[color=darkred]
>
> Hi Jan,
>
> As I was experiencing auth problems with my proxy I download the
> GD.ppd and I've installed in a local repository without any install
> problem. But when I try to use the GD modules, then appears some
> errors about PerlCRT.dll. I've reinstalled the entire activestate perl
> distro, deleting also the folders that the uninstaller didn't delete
> and the GD library located at system32 folder.
> After reinstall totally the perl activestate distribution actually
> when I run any script with use GD the XP generetes a memory dump. :-(
> . Do you have any suggestion?



Fastest way to your answer is usually http://groups.google.com

Searching for the dll you mention produced the following (made tiny to save
the cyber-trees):

http://tinyurl.com/6cmtr

Matt


Xavi

2004-07-13, 3:57 pm

"Matt Garrish" <matthew.garrish@sympatico.ca> wrote in message
> Fastest way to your answer is usually http://groups.google.com
>
> Searching for the dll you mention produced the following (made tiny to save
> the cyber-trees):
>
> http://tinyurl.com/6cmtr
>
> Matt


Matt,
I've included the path of the dll into the PATH variable but the
problem still remains. For any reason seems that my XP installation
can not load GD.dll. I've read a lot of news about GD and perl and
I've tried to do all the recomendations I've found, but since now any
of them fix the problem. Actually the activestate perl distro is
dumping cores every time I try to execute a script with use GD.
Anybody have any suggestion or similar experience trying to install GD
in an XP system?
Kind regards
Xavi

2004-07-13, 3:57 pm

"Matt Garrish" <matthew.garrish@sympatico.ca> wrote in message news:<nbFIc.10738$TB3.330233@news20.bellglobal.com>...
> "Xavi" <xavier_planas@yahoo.es> wrote in message
> news:7f31376b.0407120705.48367e40@posting.google.com...
> news:<2lf4i4Fbncb6U1@uni-berlin.de>...
> Packagefile.ppd"?
>
>
> Fastest way to your answer is usually http://groups.google.com
>
> Searching for the dll you mention produced the following (made tiny to save
> the cyber-trees):
>
> http://tinyurl.com/6cmtr
>
> Matt


Finally I've achived to install GD uninstalling activestate 5.8 and
installing 5.6 without any problem.

Kind regards.
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com