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.
|