Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??
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.


In reply to Re^2: installing perl GD module by Anonymous Monk
in thread installing perl GD module by boby

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":



  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or How to display code and escape characters are good places to start.
Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others cooling their heels in the Monastery: (4)
As of 2024-04-18 18:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found