On Mon, Sep 21, 2020 at 9:23 AM Vojtěch Polášek <[email protected]> wrote: > > Hi, > > I am running this program in the %post section of the kickstart. > > pip install tesserwrap > > This is the output: > > ### > > WARNING: Running pip install with root privileges is generally not a > good idea. Try `pip3 install --user` instead. > ERROR: Command errored out with exit status 1: > command: /usr/bin/python3 -u -c 'import sys, setuptools, tokenize; > sys.argv[0] = '"'"'/tmp/pip-install-s683avc5/tesserwrap/setup.py'"'"'; > __file__='"'"'/tmp/pip-install-s683avc5/tesserwrap/setup.py'"'"';f=getattr(tokenize, > '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', > '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' > install --record /tmp/pip-record-t33ik5oc/install-record.txt > --single-version-externally-managed --compile > cwd: /tmp/pip-install-s683avc5/tesserwrap/ > Complete output (19 lines): > ld: cannot find -ltesseract_api > ld: warning: cannot find entry symbol _start; not setting start address > running install > running build > running build_py > creating build > creating build/lib.linux-x86_64-3.8 > creating build/lib.linux-x86_64-3.8/tesserwrap > copying tesserwrap/core.py -> build/lib.linux-x86_64-3.8/tesserwrap > copying tesserwrap/__init__.py -> build/lib.linux-x86_64-3.8/tesserwrap > running build_ext > building 'libtesserwrap' extension > creating build/temp.linux-x86_64-3.8 > creating build/temp.linux-x86_64-3.8/tesserwrap > creating build/temp.linux-x86_64-3.8/tesserwrap/cpp > gcc -pthread -Wno-unused-result -Wsign-compare > -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -g -pipe -Wall > -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 > -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong > -grecord-gcc-switches -m64 -mtune=generic -fasynchronous-unwind-tables > -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 > -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 > -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong > -grecord-gcc-switches -m64 -mtune=generic -fasynchronous-unwind-tables > -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 > -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 > -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong > -grecord-gcc-switches -m64 -mtune=generic -fasynchronous-unwind-tables > -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv > -fPIC -I/usr/local/include -I/usr/include/python3.8 -c > tesserwrap/cpp/tesseract_ext.cpp -o > build/temp.linux-x86_64-3.8/tesserwrap/cpp/tesseract_ext.o > gcc: fatal error: cannot execute ‘cc1plus’: execvp: No such file or > directory > compilation terminated. > error: command 'gcc' failed with exit status 1 > > ### > > Any idea what might cause this? When I run the command while running > created live media (after creation), it finishes normally. > > Here is the kickstart: > > https://github.com/vojtapolasek/Fegora/blob/liveimage/fegora_live_cz.ks >
Not sure, but why wouldn't you package tesserwrap for Fedora? -- 真実はいつも一つ!/ Always, there's only one truth! _______________________________________________ livecd mailing list -- [email protected] To unsubscribe send an email to [email protected] Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/[email protected]
