[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: boost+python
From: |
Alois Schlögl |
Subject: |
Re: boost+python |
Date: |
Fri, 29 May 2020 18:38:03 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.8.1 |
Dear Fedja,
the support for python is not in a usable state. It is a collection of
patches I found some time ago, but never got it working. Currently, this
python support in my repo is unmaintained. Sorry for the news. Feel free
to work on these, as I'd like to see python support on mxe as well.
Cheers,
Alois
Am 5/27/20 um 11:33 PM schrieb Fedja Beader:
> 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
- boost+python, Fedja Beader, 2020/05/27
- Re: boost+python,
Alois Schlögl <=