Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Perl error when installing program in linux-based server #43

Open
ruthbpaula opened this issue Dec 18, 2020 · 5 comments
Open

Perl error when installing program in linux-based server #43

ruthbpaula opened this issue Dec 18, 2020 · 5 comments

Comments

@ruthbpaula
Copy link

I have been trying to install Mfannot in a linux-based server. When I run “mfannot –h” to test the program I keep getting the following error:

Can't locate PirObject.pm in @INC (you may need to install the PirObject module) (@INC contains: /home/pfonseca/Mfannot/mf2sqn/qualifs.pl /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.22.1 /usr/local/share/perl/5.22.1 /usr/lib/x86_64-linux-gnu/perl5/5.22 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.22 /usr/share/perl/5.22 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base .) at /home/pfonseca/Mfannot/MFannot/mfannot line 52.
BEGIN failed--compilation aborted at /home/pfonseca/Mfannot/MFannot/mfannot line 52.

It seems to be a problem with the perl version, but I have installed multiple versions and the program still does not recognize it.

Do you have any thoughts about how to fix this so I can successfully run Mfannot in the local server?

I would also like to ask if the webserver is still working (https://megasun.bch.umontreal.ca/cgi-bin/mfannot/mfannotInterface.pl). Last weekend I have submitted a sequence but still did not get the result.

Thank you in advance,
Ruth

@natacha-beck
Copy link
Collaborator

Hi Ruth,

It seems like the installation of the PirObject library was not properly done

You should:

  1. Install the PirObject library, you can have a look here.
  2. Install the PirModels: https://github.com/BFL-lab/PirModels
  3. Setup an environment variable that point to the location of your PirModels for example: ENV PIR_DATAMODEL_PATH /root/PirModels

Hope it will help you to set up properly.

Thanks to bringing to our attention the webserver issue we will have a look.

@natacha-beck
Copy link
Collaborator

@ruthbpaula were you able to get the installation done ?

@ruthbpaula
Copy link
Author

ruthbpaula commented Dec 29, 2020 via email

@natacha-beck
Copy link
Collaborator

Hi Ruth,

I suspect an issue with the installation of the MF2sqn, can you refer to the document and get it a try.
You can run MFannot with the option -d to get more trace and help you to debug.

I wish you all the best for 2021!

@natacha-beck
Copy link
Collaborator

@ruthbpaula were you able to get the installation done ?

@natacha-beck natacha-beck reopened this Mar 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants