rajewsky-lab / mirdeep2

Discovering known and novel miRNAs from small RNA sequencing data
GNU General Public License v3.0
135 stars 49 forks source link

Fail to install #103

Closed ShenTTT closed 1 year ago

ShenTTT commented 1 year ago

I tried to install using install.pl:

(base) butterflylab@butterflyserver2:~/mirdeep2-0.1.3$ perl install.pl

###############################################################################################
# Last update: Dec 03, 2017
# This is the miRDeep2 installer
# It is tested under a bash and zsh shell
# It will try to download all necessary third-party tools and install them.
# To run this installer you need to have mirdeep2.0.0.8 or later
#
###############################################################################################

gcc version: 9.4.0-1ubuntu1~20.04.1)                                      already installed, nothing to do ...
bin directory created successful
Checking environment variables ...
--2022-10-30 18:53:33--  https://sourceforge.net/projects/bowtie-bio/files/bowtie/
Resolving sourceforge.net... 104.18.10.128, 104.18.11.128
Connecting to sourceforge.net|104.18.10.128|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: ‘to_del’

to_del                  [ <=>                ] 113,44K  --.-KB/s    in 0,008s  

2022-10-30 18:53:33 (13,8 MB/s) - ‘to_del’ saved [116158]

bowtie                                           already installed, nothing to do ...
Downloading Vienna package now

--2022-10-30 18:53:38--  https://www.tbi.univie.ac.at/RNA/download/sourcecode/1_8_x/ViennaRNA-1.8.4.tar.gz
Resolving www.tbi.univie.ac.at... 131.130.44.61
Connecting to www.tbi.univie.ac.at|131.130.44.61|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1397733 (1,3M) [application/x-gzip]
Saving to: ‘ViennaRNA-1.8.4.tar.gz’

ViennaRNA-1.8.4.tar 100%[===================>]   1,33M   881KB/s    in 1,5s    

2022-10-30 18:53:40 (881 KB/s) - ‘ViennaRNA-1.8.4.tar.gz’ saved [1397733/1397733]

Installing Vienna package now 

Building of /home/butterflylab/mirdeep2-0.1.3/essentials/ViennaRNA-1.8.4/install_dir/bin/RNAfold successful
Downloading SQUID library now

--2022-10-30 18:54:03--  http://eddylab.org/software/squid/squid.tar.gz
Resolving eddylab.org... 96.126.110.11, 2600:3c03::f03c:91ff:fec8:383c
Connecting to eddylab.org|96.126.110.11|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 301432 (294K) [application/x-gzip]
Saving to: ‘squid.tar.gz’

squid.tar.gz        100%[===================>] 294,37K   281KB/s    in 1,0s    

2022-10-30 18:54:05 (281 KB/s) - ‘squid.tar.gz’ saved [301432/301432]

Extracting squid and configuring it now

Building of /home/butterflylab/mirdeep2-0.1.3/essentials/squid-1.9g/libsquid.a successful
Downloading randfold now

--2022-10-30 18:54:12--  http://bioinformatics.psb.ugent.be/supplementary_data/erbon/nov2003/downloads/randfold-2.0.tar.gz
Resolving bioinformatics.psb.ugent.be... 193.190.62.206
Connecting to bioinformatics.psb.ugent.be|193.190.62.206|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 68099 (67K) [application/x-gzip]
Saving to: ‘randfold-2.0.tar.gz’

randfold-2.0.tar.gz 100%[===================>]  66,50K   131KB/s    in 0,5s    

2022-10-30 18:54:13 (131 KB/s) - ‘randfold-2.0.tar.gz’ saved [68099/68099]

Installing randfold now

Building of /home/butterflylab/mirdeep2-0.1.3/essentials/randfold-2.0/randfold successful
Compress::Zlib                   already installed, nothing to do ...
--2022-10-30 18:54:14--  http://www.cpan.org/authors/id/M/MH/MHOSKEN/CHECKSUMS
Resolving www.cpan.org... 199.232.45.55, 2a04:4e42:48::311
Connecting to www.cpan.org|199.232.45.55|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 7786 (7,6K)
Saving to: ‘CHECKSUMS’

CHECKSUMS           100%[===================>]   7,60K  --.-KB/s    in 0s      

2022-10-30 18:54:14 (709 MB/s) - ‘CHECKSUMS’ saved [7786/7786]

Downloading Font::TTF now

--2022-10-30 18:54:14--  http://www.cpan.org/authors/id/M/MH/MHOSKEN/Font-TTF-1.05.tar.gz
Resolving www.cpan.org... 199.232.45.55, 2a04:4e42:48::311
Connecting to www.cpan.org|199.232.45.55|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 256957 (251K) [application/x-gzip]
Saving to: ‘Font-TTF-1.05.tar.gz’

Font-TTF-1.05.tar.g 100%[===================>] 250,93K  --.-KB/s    in 0,02s   

2022-10-30 18:54:15 (10,5 MB/s) - ‘Font-TTF-1.05.tar.gz’ saved [256957/256957]

Installing Font-TTF now

Warning: prerequisite IO::String 0 not found.
Font::TTF                                        installation successful 
--2022-10-30 18:54:16--  http://www.cpan.org/authors/id/S/SS/SSIMMS/CHECKSUMS
Resolving www.cpan.org... 199.232.45.55, 2a04:4e42:48::311
Connecting to www.cpan.org|199.232.45.55|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 12848 (13K)
Saving to: ‘CHECKSUMS’

CHECKSUMS           100%[===================>]  12,55K  --.-KB/s    in 0s      

2022-10-30 18:54:16 (322 MB/s) - ‘CHECKSUMS’ saved [12848/12848]

Downloading PDF-API2 now

--2022-10-30 18:54:16--  http://ftp-stud.hs-esslingen.de/pub/Mirrors/CPAN/authors/id/S/SS/SSIMMS/PDF-API2-XS-1.002.tar.gz
Resolving ftp-stud.hs-esslingen.de... 129.143.116.10, 2001:7c0:700::10
Connecting to ftp-stud.hs-esslingen.de|129.143.116.10|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 36957 (36K) [application/x-gzip]
Saving to: ‘PDF-API2-XS-1.002.tar.gz’

PDF-API2-XS-1.002.t 100%[===================>]  36,09K   143KB/s    in 0,3s    

2022-10-30 18:54:17 (143 KB/s) - ‘PDF-API2-XS-1.002.tar.gz’ saved [36957/36957]

Installing PDF-API2 now

Warning: prerequisite PDF::API2 0 not found.

Please run the install.pl script again to check if
    everything is properly installed.

I saw several warnings towards the end. And when I try to run the program anyway, it did not work


Please run the install.pl script first before using the miRDeep2 package
The install script is located in /home/butterflylab/mirdeep2-0.1.3/ so just do

cd /home/butterflylab/mirdeep2-0.1.3/
perl install.pl

Do I need to manually install some dependencies? Or how can I fix this? Thanks!

ShenTTT commented 1 year ago

I fixed this by manually install The PDF-API2 as suggested here:

https://github.com/rajewsky-lab/mirdeep2/issues/54#issuecomment-884759270