Cannot locate GD and GD::Polyline

551 views
Skip to first unread message

Kayleigh Campbell

unread,
Mar 23, 2021, 5:20:44 AM3/23/21
to Circos
Hi there, 

I've been going around in circles trying to get Circos working on my Mac  for the last few days and I could really use some help! Forgive me if I've missed something obvious here...

My version of Circos is 0.69-8 (or 0.69-9?), perl v 5.18, and am running Mac OS 10.14.6. 

When I try the example:
> cd /usr/local/Cellar/circos/0.69-9/libexec/example/
> ./run
The "run.out" output says I am missing/can't locate GD and GD::Polyline. However, when I run:
> cd /usr/local/Cellar/circos/0.69-9/bin/circos –modules
All modules are returned with an "ok" status. 
Screen Shot 2021-03-22 at 8.53.23 PM.png
I explored a bit further and found that a version of the GD module is located in:
/usr/local/Cellar/gd/2.3.2/.
It's a more recent version than what was printed from the –modules output. Note that the version in /usr/bin/Cellar/gd matches the info returned when I run 'brew info GD'.

I'm really not sure what's going on here. Based off the terminal output attached, it looks like it's not searching the /usr/bin/Cellar/ directory for GD, whereas the other perl modules look like they are located in Library/Perl/5.18/ (yet it finds an earlier version of GD somewhere?)

Also, not sure if this is helpful or not, but here are the outputs for 'which':
> which perl
/usr/bin/perl
> which circos
/usr/local/bin/circos

Any help would be greatly appreciated!

Thanks, 
Kayleigh

-- 
Kayleigh Campbell, PhD Candidate
University of British Columbia
BC Children’s Hospital Research Institute

Martin

unread,
Mar 23, 2021, 5:27:29 AM3/23/21
to Circos
Sorry about this -- GD is truly terrible. One of these days I need to rewrite the graphics backend to use Imager, which is a much easier install.

GD::Polyline is a separate module that extends GD. I need to add it to the module check.


With perl, sometimes a module like AAA::BBB will be installed (e.g. same author, part of the same object structure, etc) when you install AAA but other times they're independent and just share a top-level name.

Install it via CPAN

> perl -MCPAN -e shell
install GD::Polyline


cpanm GD::Polyline

m
Reply all
Reply to author
Forward
0 new messages