anyone skilled in p...
 

MegaSack DRAW - This year's winner is user - rgwb
We will be in touch

[Closed] anyone skilled in perl and modules??? Having a mare

12 Posts
6 Users
0 Reactions
54 Views
 Pook
Posts: 12684
Full Member
Topic starter
 

i want to install Circos http://circos.ca/software/download/ but i need Perl and then seemingly a degree in programming to get it working. Can anyone help?


 
Posted : 22/07/2015 8:07 pm
Posts: 28
Free Member
 

It has been a while, but what problem are you having, exactly ?
It looks like the package is tar/gzip packaged - can't check that on the tablet tonight ( and it has been a long day ).

Post more info and I'll try and help you in the morning.


 
Posted : 22/07/2015 8:24 pm
Posts: 19
Free Member
 

Only dabbled in Perl when installing something at work a while ago, but may be able to help. What are you installing on - Windows?


 
Posted : 22/07/2015 8:31 pm
Posts: 0
Free Member
 

I know how to install the modules on UNIX/Mac...

You don't need a degree in programming though it might seem that way.

Basically you download the module from CPAN and unzip it using either tar -xvf or gunzip then the file name.

Then you go to the directory where it unzipped to, type perl Makefile.PL, then type make, then make test, then make install. Then repeat for the other modules.

Haven't got a clue on windows though. Sorry.


 
Posted : 22/07/2015 8:41 pm
Posts: 19
Free Member
 

It's pretty much the same on Windows, but the CPAN shell makes it much easier (dunno if that's also available under UNIX).

From what I can tell from the Circos site it's a case of running it first to find the missing modules (lots of them apparently), then installing them all via the CPAN shell. So, for TTF fonts it would be install font::TTF::font.


 
Posted : 22/07/2015 8:44 pm
 Pook
Posts: 12684
Full Member
Topic starter
 

yeah - just got allthegear taking me through it step by step...


 
Posted : 22/07/2015 8:52 pm
Posts: 19
Free Member
 

Have fun, looks like there are plenty of steps.


 
Posted : 22/07/2015 9:04 pm
Posts: 0
Free Member
 

there are!! 🙂

All know is the last time I had to do something in Perl, at the end the company gave me a bottle of Bolly...

Rachel


 
Posted : 22/07/2015 9:24 pm
Posts: 28
Free Member
 

All know is the last time I had to do something in Perl, at the end the company gave me a bottle of Bolly...

No that is some subtle hinting. 🙂

What I have done for years is: have a model installation with all the CPAN modules installed - this is kept in a zip file. I then unzip that and install ActivePerl in over it to set everything up/create the documentation. You can then ( somehow or other ) use PPM to update all modules to the latest version.


 
Posted : 23/07/2015 7:26 am
Posts: 0
Free Member
 

cpanm (cpanminus - http://search.cpan.org/~miyagawa/App-cpanminus-1.7039/lib/App/cpanminus.pm) is your friend

http://learn.perl.org/installing/windows.html

Use the tools plenv/perlbrew, cpanm & carton have largely solved the issues around being stuck on specific outdated versions of system perl and dependancy management and installation.

Modern perl has also vastly improved what it means to program in perl ( http://modernperlbooks.com/, https://metacpan.org/pod/distribution/Moose/lib/Moose/Intro.pod)

If you still have issues with perl or circos let me know and I'll be happy to help.


 
Posted : 23/07/2015 8:01 am
Posts: 0
Free Member
 

We managed to get working perl with all the required modules installed from cpan last night but I think there are still a few things that need sorting out around circos itself.

Bolly will have to stay on ice... :'(

Rachel


 
Posted : 23/07/2015 8:05 am
Posts: 28
Free Member
 

Rachel,

I'd be thinking about getting Pook to sign a disclaimer stating that he is not going to be bringing dinosaurs back to life and opening a theme park if I were you.


 
Posted : 23/07/2015 8:32 am
Posts: 0
Free Member
 

cranberry - he assures me he just wants to draw pretty pictures...

Rachel


 
Posted : 23/07/2015 9:17 am