Skip to content

Instantly share code, notes, and snippets.

@kjunichi
Created September 20, 2012 15:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kjunichi/3756744 to your computer and use it in GitHub Desktop.
Save kjunichi/3756744 to your computer and use it in GitHub Desktop.
Pro:gobject-introspection-1.33.14
I'm using HomeBrew
checking for /usr/local/bin/python3 script directory... ${prefix}/lib/python3.2/site-packages
checking for /usr/local/bin/python3 extension module directory... ${exec_prefix}/lib/python3.2/site-packages
checking for headers required to compile python extensions... not found
configure: error: Python headers not found
cd /usr/local/Cellar/python3/3.2.3/Frameworks/Python.framework/Versions/3.2/include
ln -s python3.2m python3.2
This time configure has no error.
But,make has errors.
make all-recursive
Making all in .
CCLD libcmph.la
CCLD libgirepository-gthash.la
CCLD libgirepository-1.0.la
CCLD libgirepository-internals.la
CCLD libgiscanner.la
CC _giscanner_la-giscannermodule.lo
giscanner/giscannermodule.c:43: warning: return type defaults to 'int'
giscanner/giscannermodule.c:43: warning: no previous prototype for 'DL_EXPORT'
giscanner/giscannermodule.c: In function 'DL_EXPORT':
giscanner/giscannermodule.c:43: error: expected declaration specifiers before 'init_giscanner'
giscanner/giscannermodule.c:75: error: storage class specified for parameter 'PyGISourceType'
@tprrt
Copy link

tprrt commented Nov 26, 2015

DL_EXPORT has been removed from Python 3, you have to use python2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment