<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class="">Hi Mahmood,</div><div class=""><br class=""></div><div class="">Have you tried following the item “3. Set up your environment” under the “Installation Procedure” section on this page? </div><div class=""><a href="http://www.ensembl.org/info/docs/api/api_installation.html" class="">http://www.ensembl.org/info/docs/api/api_installation.html</a></div><div class=""><br class=""></div><div class="">The Bio/EnsEMBL/Registry.pm should be located at ${HOME}/src/ensembl/modules.</div><div class=""><br class=""></div><div class="">Hope this helps!</div><div class=""><br class=""></div><div class="">Regards,</div><div class="">Zhicheng</div><div class="">.</div><br class=""><div><blockquote type="cite" class=""><div class="">On 27 Jun 2017, at 20:27, Mahmood Naderan <<a href="mailto:mahmood.nt@gmail.com" class="">mahmood.nt@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class=""><div class="gmail_default" style="font-family:tahoma,sans-serif">Hello,<br class=""></div><div class="gmail_default" style="font-family:tahoma,sans-serif">I finished installing the API according to <a href="http://www.ensembl.org/info/docs/api/api_installation.html" class="">http://www.ensembl.org/info/docs/api/api_installation.html</a><br class=""><br class=""></div><div class="gmail_default" style="font-family:tahoma,sans-serif">As I wrote a simple script to connect to the database, I get this error<br class=""><br class="">Can't locate Bio/EnsEMBL/Registry.pm in @INC (@INC contains: /opt/perl/lib/site_perl/5.14.2/x86_64-linux-thread-multi /opt/perl/lib/site_perl/5.14.2 /opt/perl/lib/5.14.2/x86_64-linux-thread-multi /opt/perl/lib/5.14.2 .) at <a href="http://test.pl/" class="">test.pl</a> line 1.<br class="">BEGIN failed--compilation aborted at <a href="http://test.pl/" class="">test.pl</a> line 1.<br class=""><br class=""><br class=""></div><div class="gmail_default" style="font-family:tahoma,sans-serif">That is correct because there is no Bio::EnsEMBL in the cpan list.<br class=""><br class="">[root@cluster ~]# /opt/perl/bin/cpan -a | grep Bio::EnsEMBL<br class="">[root@cluster ~]#<br class=""><br class=""><br class=""></div><div class="gmail_default" style="font-family:tahoma,sans-serif">It has not been stated in the installation guide that such package is needed. What should I do? <br class=""></div><div class="gmail_default" style="font-family:tahoma,sans-serif">Is it OK to run "cpanm Bio::EnsEMBL::Registry"? I want to be sure that it is safe to do that.<br class=""><br class=""></div><div class="gmail_default" style="font-family:tahoma,sans-serif">P.S: Sorry for sending a lot of questions. These may seems obvious and easy to solve, but for a newbie it takes a while to boot!<br class=""><br class=""></div><div class="gmail_default" style="font-family:tahoma,sans-serif"><br clear="all" class=""></div><div class=""><div class="gmail_signature"><div dir="ltr" class=""><font face="tahoma,sans-serif" class="">Regards,<br class="">Mahmood</font><br class=""><br class=""><br class=""></div></div></div>
</div>
_______________________________________________<br class="">Dev mailing list    <a href="mailto:Dev@ensembl.org" class="">Dev@ensembl.org</a><br class="">Posting guidelines and subscribe/unsubscribe info: <a href="http://lists.ensembl.org/mailman/listinfo/dev" class="">http://lists.ensembl.org/mailman/listinfo/dev</a><br class="">Ensembl Blog: <a href="http://www.ensembl.info/" class="">http://www.ensembl.info/</a><br class=""></div></blockquote></div><br class=""></body></html>