ail-project / ail-framework

AIL framework - Analysis Information Leak framework
GNU Affero General Public License v3.0
567 stars 79 forks source link

Debian 12 compiling issues #180

Closed michelep closed 1 year ago

michelep commented 1 year ago

On Debian 12 x64 mint, ./installing_deps.sh raise firstly this error:

      cld3/pycld3.cpp:250:12: fatal error: longintrepr.h: File o directory non esistente
        250 |   #include "longintrepr.h"
            |            ^~~~~~~~~~~~~~~
      compilation terminated.
      error: command '/usr/bin/x86_64-linux-gnu-gcc' failed with exit code 1
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for pycld3

and, after tried fix the path for "longintrepr.h" with:

ln -s /usr/include/python3.11/cpython/longintrepr.h /usr/include/python3.11/longintrepr.h

got a lot of errors while compiling wheels for pycld3 and pylibinjection:

Building wheels for collected packages: pycld3, pylibinjection, langid
  Building wheel for pycld3 (setup.py) ... error
  error: subprocess-exited-with-error
adulau commented 1 year ago

Just to be sure, did you install python-dev?

FYI; We didn't do a lot of tests with Debian as we use Ubuntu LTS for AIL testing. But we are interested if you have any additional feedback.

michelep commented 1 year ago

Just to be sure, did you install python-dev?

Yes.

FYI; We didn't do a lot of tests with Debian as we use Ubuntu LTS for AIL testing. But we are interested if you have any additional feedback.

Just to let you know, on Ubuntu 22.04 AIL install flawlessy.