configure.py fails for PyQT 5.9.2 and QT 5.10.0

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

configure.py fails for PyQT 5.9.2 and QT 5.10.0

Williams Jr., Ernest L.

Hi,


I am trying to build PyQT 5.9.2 against QT-5.10.0

Also, I am using Python 3.6.3


I can't get pass the configure stage.


Can someone propose a solution?


configure.py error follows:


[ernesto@neutrino rhel7-x86_64]$ pwd
/usr/local/controls/package/PyQt5/5.9.2/build/rhel7-x86_64
[ernesto@neutrino rhel7-x86_64]$ python3 ../../src/PyQt5_gpl-5.9.2/configure.py --verbose
Querying qmake about your Qt installation...
Determining the details of your Qt installation...
/usr/local/controls/package/Qt/5.10.0/rhel7-x86_64/bin/qmake -o cfgtest_QtCore.mk cfgtest_QtCore.pro
WARNING: Failure to find: config-tests/cfgtest_QtCore.cpp
make -f cfgtest_QtCore.mk
make: *** No rule to make target `config-tests/cfgtest_QtCore.cpp', needed by `cfgtest_QtCore.o'.  Stop.
Error: Failed to determine the detail of your Qt installation. Try again using
the --verbose flag to see more detail about the problem.
[ernesto@neutrino rhel7-x86_64]$

Cheers,


Ernest Williams
Dept. Head, Advanced Control Systems
Advanced Instrumentation Research, Technology Innovation Directorate
SLAC National Laboratory, Stanford University

_______________________________________________
PyQt mailing list    [hidden email]
https://www.riverbankcomputing.com/mailman/listinfo/pyqt
Reply | Threaded
Open this post in threaded view
|

Re: configure.py fails for PyQT 5.9.2 and QT 5.10.0

Florian Bruhin
Hi,

On Mon, Dec 18, 2017 at 05:01:43AM +0000, Williams Jr., Ernest L. wrote:
> [ernesto@neutrino rhel7-x86_64]$ python3 ../../src/PyQt5_gpl-5.9.2/configure.py --verbose
> Querying qmake about your Qt installation...
> Determining the details of your Qt installation...
> /usr/local/controls/package/Qt/5.10.0/rhel7-x86_64/bin/qmake -o cfgtest_QtCore.mk cfgtest_QtCore.pro
> WARNING: Failure to find: config-tests/cfgtest_QtCore.cpp

This sounds like it's failing because you're trying to run it from outside the
PyQt directory. I'm not sure that's supported. Can you try running it while
inside that directory instead?

Florian

--
https://www.qutebrowser.org  | [hidden email] (Mail/XMPP)
   GPG: 916E B0C8 FD55 A072  | https://the-compiler.org/pubkey.asc
         I love long mails!  | https://email.is-not-s.ms/

_______________________________________________
PyQt mailing list    [hidden email]
https://www.riverbankcomputing.com/mailman/listinfo/pyqt

signature.asc (849 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: configure.py fails for PyQT 5.9.2 and QT 5.10.0

Williams Jr., Ernest L.



Ernest Williams
Dept. Head, Advanced Control Systems
Advanced Instrumentation Research, Technology Innovation Directorate
SLAC National Laboratory, Stanford University



From: Florian Bruhin <[hidden email]>
Sent: Monday, December 18, 2017 7:15 AM
To: Williams Jr., Ernest L.
Cc: PyQT mailing list
Subject: Re: [PyQt] configure.py fails for PyQT 5.9.2 and QT 5.10.0
 
Hi,

On Mon, Dec 18, 2017 at 05:01:43AM +0000, Williams Jr., Ernest L. wrote:
> [ernesto@neutrino rhel7-x86_64]$ python3 ../../src/PyQt5_gpl-5.9.2/configure.py --verbose
> Querying qmake about your Qt installation...
> Determining the details of your Qt installation...
> /usr/local/controls/package/Qt/5.10.0/rhel7-x86_64/bin/qmake -o cfgtest_QtCore.mk cfgtest_QtCore.pro
> WARNING: Failure to find: config-tests/cfgtest_QtCore.cpp

This sounds like it's failing because you're trying to run it from outside the
PyQt directory. I'm not sure that's supported. Can you try running it while
inside that directory instead?

==========
Awesome.
I had just finished a successful out-of-source-tree build for "sip"

So, I proceeded in the same way with PyQT5;  oops.

When I execute "configure.py" from the source directory all is well.

Thanks again:

[ernesto@neutrino PyQt5_gpl-5.9.2]$ python3 ./configure.py --verbose
Querying qmake about your Qt installation...
Determining the details of your Qt installation...
/usr/local/controls/package/Qt/5.10.0/rhel7-x86_64/bin/qmake -o cfgtest_QtCore.mk cfgtest_QtCore.pro
Info: creating stash file /usr/local/controls/package/PyQt5/5.9.2/src/PyQt5_gpl-5.9.2/.qmake.stash
make -f cfgtest_QtCore.mk
g++ -c -pipe -O2 -std=gnu++11 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_CORE_LIB -I. -I../../../../python/3.6.3/rhel7-x86_64/include/python3.6m -I../../../../Qt/5.10.0/rhel7-x86_64/include -I../../../../Qt/5.10.0/rhel7-x86_64/include/QtCore -I. -I../../../../Qt/5.10.0/rhel7-x86_64/mkspecs/linux-g++ -o cfgtest_QtCore.o config-tests/cfgtest_QtCore.cpp
g++ -Wl,-O1 -Wl,-rpath,/usr/local/controls/package/Qt/5.10.0/rhel7-x86_64/lib -o cfgtest_QtCore cfgtest_QtCore.o   -L/usr/local/controls/package/Qt/5.10.0/rhel7-x86_64/lib -lQt5Core -lpthread
./cfgtest_QtCore cfgtest_QtCore.out
This is the GPL version of PyQt 5.9.2 (licensed under the GNU General Public
License) for Python 3.6.3 on linux.

Type 'L' to view the license.
Type 'yes' to accept the terms of the license.
Type 'no' to decline the terms of the license.

Do you accept the terms of the license? yes
Found the license file pyqt-gpl.sip.





Florian

--
https://www.qutebrowser.org  | [hidden email] (Mail/XMPP)

   GPG: 916E B0C8 FD55 A072  | https://the-compiler.org/pubkey.asc

         I love long mails!  | https://email.is-not-s.ms/


_______________________________________________
PyQt mailing list    [hidden email]
https://www.riverbankcomputing.com/mailman/listinfo/pyqt
Reply | Threaded
Open this post in threaded view
|

Re: configure.py fails for PyQT 5.9.2 and QT 5.10.0

Phil Thompson-5
In reply to this post by Florian Bruhin
On 18 Dec 2017, at 3:15 pm, Florian Bruhin <[hidden email]> wrote:

>
> Hi,
>
> On Mon, Dec 18, 2017 at 05:01:43AM +0000, Williams Jr., Ernest L. wrote:
>> [ernesto@neutrino rhel7-x86_64]$ python3 ../../src/PyQt5_gpl-5.9.2/configure.py --verbose
>> Querying qmake about your Qt installation...
>> Determining the details of your Qt installation...
>> /usr/local/controls/package/Qt/5.10.0/rhel7-x86_64/bin/qmake -o cfgtest_QtCore.mk cfgtest_QtCore.pro
>> WARNING: Failure to find: config-tests/cfgtest_QtCore.cpp
>
> This sounds like it's failing because you're trying to run it from outside the
> PyQt directory. I'm not sure that's supported. Can you try running it while
> inside that directory instead?

It is supported - just broken. Should be fixed in tonight's snapshot.

Thanks,
Phil
_______________________________________________
PyQt mailing list    [hidden email]
https://www.riverbankcomputing.com/mailman/listinfo/pyqt