https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=219641

--- Comment #7 from Dan MacDonald <allc...@gmail.com> ---
Hi

I'm trying to install pyqt5 built against python3 under TrueOS (FreeBSD 12) but
I have so far had no luck.

>From reading this thread I get the impression that without using the attached
patch I should be able to get pyqt5 to build against python3.4 like so:

cd /usr/ports/devel/py-qt5
make PYTHON_VERSION=python3.4 install

That only gets so far for me before I get this error:

===>  Staging for py34-qt5-5.7.1
===>   py34-qt5-5.7.1 depends on file: /usr/local/bin/python3.4 - found
===>   py34-qt5-5.7.1 depends on package: py34-qt5-core>=5.7.1 - not found
===>   py34-qt5-core-5.7.1 depends on file: /usr/local/bin/python3.4 - found
===>   py34-qt5-core-5.7.1 depends on package: py34-sip>=4.19.2 - found
===>   py34-qt5-core-5.7.1 depends on file: /usr/local/lib/qt5/bin/qmake -
found
===>   py34-qt5-core-5.7.1 depends on shared library: libqscintilla2-qt5.so -
found (/usr/local/lib/qt5/libqscintilla2-qt5.so)
===>   py34-qt5-core-5.7.1 depends on shared library: libQt5Core.so - found
(/usr/local/lib/qt5/libQt5Core.so)
===>  Configuring for py34-qt5-core-5.7.1
cd /usr/ports/devel/py-qt5-core/work/PyQt5_gpl-5.7.1 && /usr/bin/env
QT_SELECT=qt5 PYTHON="/usr/local/bin/python3.4"
XDG_DATA_HOME=/usr/ports/devel/py-qt5-core/work 
XDG_CONFIG_HOME=/usr/ports/devel/py-qt5-core/work 
HOME=/usr/ports/devel/py-qt5-core/work SHELL=/bin/sh CONFIG_SHELL=/bin/sh 
/usr/local/bin/python3.4 configure.py --enable QtCore --qsci-api
--qsci-api-destdir=/usr/local/share/qt5/qsci -b /usr/local/bin  -d
/usr/local/lib/python3.4/site-packages  -q /usr/local/lib/qt5/bin/qmake 
--confirm-license  --sipdir /usr/local/share/py-sip/PyQt5
Querying qmake about your Qt installation...
Determining the details of your Qt installation...
This is the GPL version of PyQt 5.7.1 (licensed under the GNU General Public
License) for Python 3.4.6 on freebsd12.
Found the license file pyqt-gpl.sip.
Error: Make sure you have a working sip on your PATH or use the --sip argument
to explicitly specify a working sip.
*** Error code 1

Stop.
make[3]: stopped in /usr/ports/devel/py-qt5-core
*** Error code 1

Stop.
make[2]: stopped in /usr/ports/devel/py-qt5-core
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/devel/py-qt5
*** Error code 1

Stop.
make: stopped in /usr/ports/devel/py-qt5

devel/py-sip seems to be installed already so I'm not sure why its not finding
it. I am able to build pyqt5 against python27 (the default) without problem,
but I have had zero success with py3.

Thanks for your help!

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
freebsd-python@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-python
To unsubscribe, send any mail to "freebsd-python-unsubscr...@freebsd.org"

Reply via email to