alekseyzimin / masurca

GNU General Public License v3.0
245 stars 35 forks source link

Installation Issue: cp error #235

Open aakashsur opened 3 years ago

aakashsur commented 3 years ago

The last line of install.sh in 4.0.3 is -

(cd Flye && make && cp -a ../Flye $DEST);

The last copy turns out to throw the following error -

cp: '../Flye' and '/root/MaSuRCA-4.0.3/Flye' are the same file
ilikvlad commented 3 years ago

Have the same issue! I wonder if other parts of the software (I need only POLCA) are ok anyway?

diogomilanesi commented 3 years ago

Same

ilikvlad commented 3 years ago

However, POLCA is running smoothly for me, despite this error. I’ve also noticed that the same "cp" error applies to 4.0.2, 4.0.3, 4.0.4 versions.

aakashsur commented 3 years ago

I believe I just deleted the line and it doesn't cause any problems. I was building a docker container for masurca and the error caused a build failure so I had to remove it.

erinyoung commented 2 years ago

Is there a fix for this coming?

I also want to make a container, but I don't want to have to remove lines.

lucasnell commented 2 years ago

I removed just the part doing the copying using

sed -i 's/ && cp -a \.\.\/Flye \$DEST//g' install.sh

This might be a bit safer than removing the line altogether.