chado error
Entering edit mode
4 months ago
82101202089 ▴ 10

When use chado, there is an error:

Can't use 'defined(@array)' (Maybe you should just omit the defined()?) at /usr/local/share/perl/5.26.1/Bio/GMOD/DB/ line 498.
Compilation failed in require at /usr/local/bin/ line 13.
BEGIN failed--compilation aborted at /usr/local/bin/ line 13.

I try to switch to an earlier version perl, but it not ok?

Is there another way to run it

gff3 chado load • 195 views
Entering edit mode
4 months ago

There are several options here:

  • go back to an earlier perl version, use of defined (@array) was deprecated in 5.16 and then turned into a compile error somewhere in 5.22, use e.g. perl 5.20 and you will be ok
  • provide a bug report on the gmod chado mailing list or on their bug tracker in github:
  • try the github version: or one of its forks, maybe it is already fixed there
  • fix the error locally as advised by the error message. Edit the file /usr/local/bin/ in line 13 and delete defined. Hopefully, this was the only error. Check syntax by running perl -c /usr/local/bin/, fix any errors, rinse and repeat.

Login before adding your answer.

Traffic: 2029 users visited in the last hour
Help About
Access RSS

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6