Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: installing perl GD module

by planetscape (Chancellor)
on Jun 16, 2007 at 12:33 UTC ( [id://621579]=note: print w/replies, xml ) Need Help??


in reply to installing perl GD module

While I'm afraid I simply don't recall details such as the system on which you are trying to install GD::whatever (I stopped reading your CB sends once it became obvious you were not listening to the advice you were being given by bart, runrig, and others), I will nevertheless try to recap that advice, in the hopes that you are listening now.

  1. Install libgd. To install libgd, follow the instructions here.
  2. Install GD::whatever. Use Bundle::CPAN or whatever is appropriate for your system to actually install GD::whatever. As was pointed out in the CB and elsewhere, simply copying .pm modules to various and random "error locations" is insufficient to actually install modules that require compilation. Hint: GD::whatever requires compilation.
  3. If you are still having problems, please read the excellent and copious help found in our fabulous Tutorials section, specifically Installing Modules.

HTH,

planetscape

Replies are listed 'Best First'.
Re^2: installing perl GD module
by Anonymous Monk on Dec 01, 2015 at 03:47 UTC
    Recently,i was trying to install software circos, and stuck in the problem of installing GD modules. Actually, I have tried install the GD modules as following:
    $cpanm GD --> Working on GD Fetching http://www.cpan.org/authors/id/L/LD/LDS/GD-2.56.tar.gz ... OK Configuring GD-2.56 ... N/A ! Configure failed for GD-2.56. See /home/clad/.cpanm/work/1448933575. +20068/build.log for details.
    Then i checked the build.log and found that libgd 2.0.28 or higher was needed.
    cpanm (App::cpanminus) 1.6922 on perl 5.016003 built for x86_64-linux- +thread-multi Work directory is /home/clad/.cpanm/work/1448933575.20068 You have make /usr/bin/make You have LWP 6.05 You have /usr/bin/tar: tar (GNU tar) 1.26 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by John Gilmore and Jay Fenlason. You have /usr/bin/unzip Checking if you have ExtUtils::MakeMaker 6.31 ... Yes (7.10) Checking if you have ExtUtils::Install 1.46 ... Yes (1.58) Searching GD on cpanmetadb ... --> Working on GD Fetching http://www.cpan.org/authors/id/L/LD/LDS/GD-2.56.tar.gz -> OK Unpacking GD-2.56.tar.gz Entering GD-2.56 Checking configure dependencies from META.json Checking if you have Module::Build 0.42 ... Yes (0.4214) Checking if you have Module::Build 0.36 ... Yes (0.4214) Configuring GD-2.56 Running Build.PL **UNRECOVERABLE ERROR** Could not find gdlib-config in the search path. Please install libgd 2 +.0.28 or higher. Running Makefile.PL Notice: Type perl Makefile.PL -h for command-line option summary. **UNRECOVERABLE ERROR** Could not find gdlib-config in the search path. Please install libgd 2 +.0.28 or higher. If you want to try to compile anyway, please rerun this script with th +e option --ignore_missing_gd. -> N/A -> FAIL Configure failed for GD-2.56. See /home/clad/.cpanm/work/14489 +33575.20068/build.log for details.
    Thus, i installed the libgd. Following the README.TXT:
    1. Type './configure' 2. Type 'make install'
    Once again, i got another problem.
    $make install Making install in src make[1]: Entering directory `/home/clad/zzx/software/libgd-2.1.1/src' make[2]: Entering directory `/home/clad/zzx/software/libgd-2.1.1/src' /usr/bin/mkdir -p '/usr/local/lib' /usr/bin/mkdir: cannot create directory ‘/usr/local/lib’: File exists make[2]: *** [install-libLTLIBRARIES] Error 1 make[2]: Leaving directory `/home/clad/zzx/software/libgd-2.1.1/src' make[1]: *** [install-am] Error 2 make[1]: Leaving directory `/home/clad/zzx/software/libgd-2.1.1/src' make: *** [install-recursive] Error 1

    Then, i tried to used sources fetched from git and ran bootstrap.sh. The error message was "Can't find naturaldocs; not generating user manual."

    I was really confused about what to do now.

    I really appreciate it if you could spare some time and help me out.

    Best regards.

Re^2: installing perl GD module
by pandafish (Initiate) on Dec 01, 2015 at 04:00 UTC
    Following your advice i always got the error message as following:

    Making install in src

    make1: Entering directory `/home/clad/zzx/software/libgd-2.1.1/src'

    make2: Entering directory `/home/clad/zzx/software/libgd-2.1.1/src'

    /usr/bin/mkdir -p '/usr/local/lib'

    /usr/bin/mkdir: cannot create directory ‘/usr/local/lib’: File exists

    make2: *** install-libLTLIBRARIES Error 1

    make2: Leaving directory `/home/clad/zzx/software/libgd-2.1.1/src'

    make1: *** install-am Error 2<

    make1: Leaving directory `/home/clad/zzx/software/libgd-2.1.1/src'

    make: *** install-recursive Error 1

    Then, i tried to used sources fetched from git and ran bootstrap.sh. The error message was "Can't find naturaldocs; not generating user manual."

    I was really confused about what to do now.

    I really appreciate it if you could spare some time and help me out.

    I was really confused about what to do now.

    I really appreciate it if you could spare some time and help me out.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (4)
As of 2024-03-19 02:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found