You are not logged in.

#1 2022-02-11 12:41:02

RedArcher
Member
From: South Africa
Registered: 2009-09-03
Posts: 154

Help building ctranslate2

Package Details: ctranslate2-git 1235.6d8b6f9-1
https://aur.archlinux.org/packages/ctranslate2-git

copying ctranslate2/converters/opennmt_tf.py -> build/lib.linux-x86_64-3.10/ctranslate2/converters
copying ctranslate2/converters/fairseq.py -> build/lib.linux-x86_64-3.10/ctranslate2/converters
copying ctranslate2/converters/opennmt_py.py -> build/lib.linux-x86_64-3.10/ctranslate2/converters
running build_ext
building 'ctranslate2.translator' extension
creating build/temp.linux-x86_64-3.10
gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -march=x86-64 -mtune=generic -O3 -pipe -fno-plt -march=x86-64 -mtune=generic -O3 -pipe -fno-plt -march=x86-64 -mtune=generic -O3 -pipe -fno-plt -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fPIC -I/usr/lib/python3.10/site-packages/pybind11/include -I/usr/include/python3.10 -c translator.cc -o build/temp.linux-x86_64-3.10/translator.o -std=c++17
translator.cc:11:10: fatal error: ctranslate2/translator_pool.h: No such file or directory
   11 | #include <ctranslate2/translator_pool.h>
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
error: command '/usr/bin/gcc' failed with exit code 1
==> ERROR: A failure occurred in build().
    Aborting...

Any help is appreciated.
Thank you

Offline

#2 2022-02-11 13:22:57

ishaanbhimwal
Member
Registered: 2022-01-21
Posts: 48
Website

Re: Help building ctranslate2

The package has not been updated since 2021-04-30 and is flagged out of date. See the latest comments on it's AUR page for similar issues.

Offline

#3 2022-02-11 14:20:18

RedArcher
Member
From: South Africa
Registered: 2009-09-03
Posts: 154

Re: Help building ctranslate2

I know.

I've opened this thread under PKGBUILD Requests in the hope someone would provide a PKGBUILD or give instructions as to how to build this package.

Thank you for the one(s) who would give assistance on that matter.

Offline

#4 2022-02-11 22:34:07

Stefan Husmann
Member
From: Germany
Registered: 2007-08-07
Posts: 1,391

Re: Help building ctranslate2

The python part IMHO has to be split out of the PKGBUILD. see my suggestion in AUR comment.

Offline

Board footer

Powered by FluxBB