
다음 소프트웨어를 컴파일하지 못했고 오류가 발생했습니다.
wget -c https://sourceforge.net/projects/r8s/files/r8s1.81.tar.gz
tar xvfz r8s1.81.tar.gz
cd r8s1.81/src
make -f Makefile.linux
ReadNexusFile2.c: In function ‘doSimCommand’:
ReadNexusFile2.c:5385:12: warning: too many arguments for format [-Wformat-extra-args]
printf("\nBranch evolution simulation:\nseed=%li\n\nrate transition=%f\n",
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
make: *** No rule to make target '/usr/include/sys/errno.h', needed by 'memory.o'. Stop.
또한 Docker 컨테이너를 찾았습니다.여기r8s인데 우리 HPC는 Docker를 허용하지 않아서 Dockerfile을 찾을 수 없는 것 같습니다.
소프트웨어를 어떻게 컴파일할 수 있나요?
미리 감사드립니다.
답변1
다음 소스의 솔루션을 결합해야 했습니다.
- http://phylobotanist.blogspot.com/2015/02/dated-phylogenies-my-experience-using.html
- https://www.biostars.org/p/386655/#386677
> sudo apt install gfortran
> wget -q https://sourceforge.net/projects/r8s/files/r8s1.81.tar.gz \
&& tar -zxvf r8s1.81.tar.gz \
&& cd r8s1.81/src \
&& sed -i 's|/usr/include/sys/errno.h||' Makefile.linux \
&& sed -i 's/continuousML.o //' Makefile.linux \
&& sed -i 's/continuousML.o:/#continuousML.o:/' Makefile.linux \
&& make -f Makefile.linux