Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: Error while installing Perl module GD-2.73.

by kcott (Archbishop)
on Sep 16, 2021 at 06:08 UTC ( [id://11136803]=note: print w/replies, xml ) Need Help??


in reply to Error while installing Perl module GD-2.73.

++marto is absolutely correct ("Re: Error while installing Perl module GD-2.73.") in requesting you supply more pertinent details.

My best guess is that you, or your script, is using Module::Build. The SYNOPSIS for that module shows ./Build, not Build, for all except MS platforms. Perhaps that's a place to start troubleshooting your problem.

For what it's worth, I typically install GD via the core cpan utility without any problems. I currently have v2.73 installed. Perhaps another option for you to try.

— Ken

Replies are listed 'Best First'.
Re^2: Error while installing Perl module GD-2.73.
by Anonymous Monk on Sep 16, 2021 at 08:14 UTC
    Thank you marto and Ken for the reply.
    I even tried to install the module manually, i get the same below error which i get from the perl script.
    C:\app\sources>perl C:\app\sources\builds\win64\modules\ GD-2.73\Makefile.PL Notice: Type perl Makefile.PL -h for command-line option summary. 'gdlib-config' is not recognized as an internal or external command, operable program or batch file. Can't locate ExtUtils/PkgConfig.pm in @INC (you may need to install th +e ExtUtils ::PkgConfig module) (@INC contains: C:/app/bin/Perl/site/lib C :/app/bin/Perl/lib) at C:\app\sources\builds\win64 \modules\GD-2.73\Makefile.PL line 449.
    Is it probem with the "gdlib-config" or do i need to install xtUtils ::PkgConfig module for the same

    Thank you

      You need to satisfy dependencies of modules you wish to install. Tools like cpan/cpanm do this for you by default. Additionally there are often non perl dependencies which should be mentioned in the module documentation, README. Strawberry Perl ships with GD along with much more.

      And why can't it be that you need to install both gdlib-config and ExtUtils::PkgConfig? The former, as part of the GD package (I don't mean the Perl GD module which is a wrapper) can be done (among many other ways) manually by downloading GD sources or binary-installer. The latter is a Perl module to be installed in the usual ways.

      Copying and pasting from one installation/computer to another is rarely a good solution and shows (to me at least) poor IT skills. Albeit, sometimes it is the only solution. AFAIC this is not what you want to do in this case because others reported success.

      bw, bliako

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11136803]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (5)
As of 2024-03-28 18:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found