mingw-cross-env-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

boost+python


From: Fedja Beader
Subject: boost+python
Date: Wed, 27 May 2020 21:33:21 +0000

Hello,

Has anyone succeeded in building Boost with Python support? I have tried using 
Alois Schloegl's repo at https://github.com/schloegl/mxe.git as it seems to be 
the only one with Python support.

Upon adding python to boost.mk's DEPS and removing the --without-python line, 
the build fails with:
./boost/python/detail/wrap_python.hpp:50:23: fatal error: pyconfig.h: No such 
file or directory

Adding --includedir='$(PREFIX)/$(TARGET)/Python-3.3.0' to boost.mk has no 
effect.
Ideas?

./usr/i686-w64-mingw32.static/Python-3.3.0/PC/os2emx/pyconfig.h
./usr/i686-w64-mingw32.static/Python-3.3.0/PC/os2vacpp/pyconfig.h
./usr/i686-w64-mingw32.static/Python-3.3.0/PC/pyconfig.h
./usr/i686-w64-mingw32.static/Python-3.3.0/pyconfig.h.in
./usr/i686-w64-mingw32.static/Python-3.3.0/pyconfig.h
./usr/share/Python-3.3.0/pyconfig.h.in
./usr/share/Python-3.3.0/PC/os2emx/pyconfig.h
./usr/share/Python-3.3.0/PC/os2vacpp/pyconfig.h
./usr/share/Python-3.3.0/PC/pyconfig.h
./usr/share/Python-3.3.0/pyconfig.h
./usr/i686-w64-mingw32.shared/Python-3.3.0/pyconfig.h.in
./usr/i686-w64-mingw32.shared/Python-3.3.0/PC/os2emx/pyconfig.h
./usr/i686-w64-mingw32.shared/Python-3.3.0/PC/os2vacpp/pyconfig.h
./usr/i686-w64-mingw32.shared/Python-3.3.0/PC/pyconfig.h
./usr/i686-w64-mingw32.shared/Python-3.3.0/pyconfig.h



Upon further investigation, it seems that the installation of Python does not 
exactly follow convention. It seems as if the whole build directory is copied 
there:

usr/i686-w64-mingw32.shared/Python-3.3.0/
usr/i686-w64-mingw32.shared/Python-3.3.0/Grammar
usr/i686-w64-mingw32.shared/Python-3.3.0/Tools
usr/i686-w64-mingw32.shared/Python-3.3.0/config.guess
usr/i686-w64-mingw32.shared/Python-3.3.0/Python
usr/i686-w64-mingw32.shared/Python-3.3.0/configure
usr/i686-w64-mingw32.shared/Python-3.3.0/README
usr/i686-w64-mingw32.shared/Python-3.3.0/Include
usr/i686-w64-mingw32.shared/Python-3.3.0/config.sub
usr/i686-w64-mingw32.shared/Python-3.3.0/LICENSE
usr/i686-w64-mingw32.shared/Python-3.3.0/Parser
usr/i686-w64-mingw32.shared/Python-3.3.0/Objects
usr/i686-w64-mingw32.shared/Python-3.3.0/setup_info.in
usr/i686-w64-mingw32.shared/Python-3.3.0/configure.ac
usr/i686-w64-mingw32.shared/Python-3.3.0/pyconfig.h.in
usr/i686-w64-mingw32.shared/Python-3.3.0/Makefile.pre.in
usr/i686-w64-mingw32.shared/Python-3.3.0/setup.py
usr/i686-w64-mingw32.shared/Python-3.3.0/config.log
usr/i686-w64-mingw32.shared/Python-3.3.0/Lib
usr/i686-w64-mingw32.shared/Python-3.3.0/PCbuild
usr/i686-w64-mingw32.shared/Python-3.3.0/Mac
usr/i686-w64-mingw32.shared/Python-3.3.0/Doc
usr/i686-w64-mingw32.shared/Python-3.3.0/Misc
usr/i686-w64-mingw32.shared/Python-3.3.0/Modules
usr/i686-w64-mingw32.shared/Python-3.3.0/install-sh
usr/i686-w64-mingw32.shared/Python-3.3.0/PC
usr/i686-w64-mingw32.shared/Python-3.3.0/config.site
usr/i686-w64-mingw32.shared/Python-3.3.0/autom4te.cache
usr/i686-w64-mingw32.shared/Python-3.3.0/config.status
usr/i686-w64-mingw32.shared/Python-3.3.0/setup_info
usr/i686-w64-mingw32.shared/Python-3.3.0/Makefile.pre
usr/i686-w64-mingw32.shared/Python-3.3.0/Makefile
usr/i686-w64-mingw32.shared/Python-3.3.0/pyconfig.h
usr/i686-w64-mingw32.shared/Python-3.3.0/_freeze_importlib.exe
usr/i686-w64-mingw32.shared/Python-3.3.0/libpython3.3.a
usr/i686-w64-mingw32.shared/Python-3.3.0/python.exe
usr/i686-w64-mingw32.shared/Python-3.3.0/libpython3.3.dll
usr/i686-w64-mingw32.shared/Python-3.3.0/libpython3.3.dll.a

However, ./usr/i686-w64-mingw32.static/include/Python-3.3.0/
does exist and has a lot of header files inside. But there is no pyconfig.h.
Strange.


- Fedja



reply via email to

[Prev in Thread] Current Thread [Next in Thread]