Skip to content

Instantly share code, notes, and snippets.

@lmiphay
Created December 13, 2016 13:46
Show Gist options
  • Save lmiphay/881a033ff5c00cf0cd5486088f7237e4 to your computer and use it in GitHub Desktop.
Save lmiphay/881a033ff5c00cf0cd5486088f7237e4 to your computer and use it in GitHub Desktop.
Quick fix for dev-python/PyQt5-5.5.1 build failure
dev-python/PyQt5-5.5.1 builds fails with:
...
In file included from sipQtCoreqintptr.cpp:24:0:
sipAPIQtCore.h:28:17: fatal error: sip.h: No such file or directory
#include <sip.h>
^
compilation terminated.
In file included from sipQtCoreQtMouseButtons.cpp:24:0:
sipAPIQtCore.h:28:17: fatal error: sip.h: No such file or directory
#include <sip.h>
Quick fix:
cd /usr/include/python3.4m && ln -s ../python3.4/sip.h .
Refs:
https://bugs.gentoo.org/show_bug.cgi?id=568452
https://bugs.gentoo.org/show_bug.cgi?id=580348
https://gitweb.gentoo.org/data/gentoo-news.git/tree/2015-12-16-python-abiflags-rebuild-needed/2015-12-16-python-abiflags-rebuild-needed.en.txt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment