Entering edit mode
10.2 years ago
Avro
▴
160
Hi everyone,
I am having trouble compiling GD 2.49 to use Circos. Here is the error:
perl Makefile.PL
Notice: Type perl Makefile.PL -h for command-line option summary.
Configuring for libgd version 2.0.34.
Checking for stray libgd header files...
WARNING: found gd.h header file in /usr/includegd.h, but it is expected at /usr/local/include/gd.h. This may cause compile errors!
Possible problems found
Included Features: GD_JPEG GD_FONTCONFIG GD_FREETYPE GD_PNG GD_GIF GD_GIFANIM GD_OPENPOLYGON GD_UNCLOSEDPOLY GD_ANIMGIF GD_FTCIRCLE VERSION_33
GD library used from: /usr/local
Generating a Unix-style Makefile
Writing Makefile for GD
Writing MYMETA.yml and MYMETA.json
If I compile it anyway, Circos' example doesn't run. Has anyone encountered a similar problem. GD is really tricky. Any suggestion would be greatly appreciated. Thank you!
Hi Alex
Thank you for you answer. However, when I try the first option, I get several errors. When I try the second option, I still get the same error.
I'm not really sure.
Maybe before you manually compile GD, set the compilation prefix to
/usr/local
, i.e.,./configure --prefix=/usr/local ...
I'm not sure what the side effects would be of having two GD installations of different versions, but so long as you are not overwriting a version packaged with OS X, you should probably be fine.
You could also try to get help through the Circos site and mailing list. I see lots of questions there about getting past the installation "hump".