Closed danobi closed 8 years ago
Experienced on Fedora 23
When running python3 setup.py install I get the following error:
python3 setup.py install
running install running build running build_ext skipping 'src/python/termboxmodule.c' Cython extension (up-to-date) building 'termbox' extension gcc -pthread -Wno-unused-result -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -fPIC -I/usr/include/python3.4m -c src/python/termboxmodule.c -o build/temp.linux-x86_64-3.4/src/python/termboxmodule.o -Wno-error=declaration-after-statement gcc: error: /usr/lib/rpm/redhat/redhat-hardened-cc1: No such file or directory error: command 'gcc' failed with exit status 1
My guess is that the build script considers Fedora a RHEL install.
Nevermind, this is an issue with the specific Fedora distribution I have. Simply run sudo dnf install redhat-rpm-config to resolve this issue.
sudo dnf install redhat-rpm-config
Experienced on Fedora 23
When running
python3 setup.py install
I get the following error:My guess is that the build script considers Fedora a RHEL install.