When I follow the instruction git clone --recursive https://github.com/tdlib/telegram-bot-api.git cd telegram-bot-api rm -rf build mkdir build cd build cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX:PATH=.. .. cmake --build . --target install
I have an error
Traceback (most recent call last): File "/home/XXXXX/.local/bin/gperf", line 5, in <module> from gperf.gperf import main File "/home/XXXXX/.local/lib/python3.10/site-packages/gperf/gperf.py", line 50 print "%s: '%s'" % (e.strerror, e.filename) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)? make[2]: *** [td/tdutils/generate/CMakeFiles/tdmime_auto.dir/build.make:62: ../td/tdutils/generate/auto/mime_type_to_extension.cpp] Error 1 make[2]: *** Deleting file '../td/tdutils/generate/auto/mime_type_to_extension.cpp' make[1]: *** [CMakeFiles/Makefile2:863: td/tdutils/generate/CMakeFiles/tdmime_auto.dir/all] Error 2 make: *** [Makefile:130: all] Error 2
What's the problem with gperf??