Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Python installation issues in Fedora #72

Closed
danobi opened this issue Apr 19, 2016 · 1 comment
Closed

Python installation issues in Fedora #72

danobi opened this issue Apr 19, 2016 · 1 comment

Comments

@danobi
Copy link

danobi commented Apr 19, 2016

Experienced on Fedora 23

When running python3 setup.py install I get the following error:

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.

@danobi
Copy link
Author

danobi commented Apr 19, 2016

Nevermind, this is an issue with the specific Fedora distribution I have. Simply run sudo dnf install redhat-rpm-config to resolve this issue.

@danobi danobi closed this as completed Apr 19, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant