Welcome to ask.woodem.org. You may post when you login through your GitHub account.

Compile Woo on Arch Linux

0 votes
7 views
asked Oct 8 by felipetaja (120 points)

Dear eudoxos,

I've followed documentation in order to compile woo on Arch Linux, but now I am facing this error

felipe@DeLorean woo $ scons jobs=2 CXX='ccache g++' features=qt5,opengl,vtk,openmp,gts PYTHON=/usr/bin/python3


scons: Reading SConscript files ...
@@@ Using flavor [none] (scons.flavor-default) @@@
@@@ Will create new flavor file scons.flavor-default
AttributeError: 'module' object has no attribute '_multiarch':
  File "/home/felipe/Documentos/Mestrado PUC/Projeto/Programas/woodem/woo/SConstruct", line 98:
    multiarchTriplet=getattr(sys,'implementation',sys)._multiarch

I hope this is a simple thing I don't know how to solve. What sould I do?

Thanks,

Felipe

1 Answer

0 votes
answered Oct 8 by eudoxos (44,970 points)

Hi Felipe,

this is funny as the _multiarch attribute is a standard part of python(3), see https://www.python.org/dev/peps/pep-0421/ and https://wiki.debian.org/Python/MultiArch.

Please checkout the latest commit (https://github.com/woodem/woo/commit/14a0f94fd5eeb7b669c498537be18d22242f5178) which ignores the exception and warns; multiarchTriplet is only used to set default QT5DIR, so you will have to set that one by hand (something like scons ... QT5DIR=/usr/lib/x86_64-linux-gnu/qt5).

Let me know if it worked for your & have fun with Woo :)

Cheers! Vaclav

commented Oct 10 by felipetaja (120 points)

Wow!!! You are reallly fast. It worked. Thanks a lot...

...