cusbg / prankweb

Web application for protein-ligand binding sites analysis and visualization
https://prankweb.cz
Apache License 2.0
7 stars 3 forks source link

Docker build fails with M1 macOS #146

Open luk27official opened 2 days ago

luk27official commented 2 days ago

Docker build fails when building the app with M1 macOS Chip (HMMer requires other processor architectures).

24.64 configure: ::::::::::--- no vector instruction set ---::::::::::
24.64 configure: HMMER3 requires SSE or VMX vector instructions.
24.64 configure: Supported platforms are x86 (Intel/AMD) and PowerPC.
24.64 configure: error: No supported vectorization found for your machine.
------
failed to solve: process "/bin/sh -c wget http://eddylab.org/software/hmmer/hmmer-3.3.2.tar.gz -q --no-check-certificate   && tar -xzf hmmer-3.3.2.tar.gz   && mv hmmer-3.3.2/ hmmer-3.3.2-build/   && cd hmmer-3.3.2-build/   && ./configure --prefix /opt/hmm-based-conservation-dependencies/hmmer-3.3.2/   && make   && make install   && cd easel/   && make install   && cd ../../   && rm -r hmmer-3.3.2-build/ hmmer-3.3.2.tar.gz" did not complete successfully: exit code: 1

There is not much we can do about this but it is better to have this reported.

skodapetr commented 2 days ago

@luk27official Perhaps you may add a note into the wiki?

luk27official commented 2 days ago

@luk27official Perhaps you may add a note into the wiki?

Done.

By the way, the issue might be resolved by this emulation: https://stackoverflow.com/questions/71181434/how-to-compile-a-project-which-requires-sse2-on-macbook-with-m1-chip

I have not tested that, though.