discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] QTGUI Issue


From: Richard Bell
Subject: Re: [Discuss-gnuradio] QTGUI Issue
Date: Wed, 28 Jan 2015 11:06:30 -0800

If I attempt to manually configure the pyqt4 source that pybombs installed to pybombs/src/pyqt4, by executing the configure command I found in pyqt4's recipe file, the following errors occur:

address@hidden pyqt4]$ python configure.py --confirm-license -b $prefix/bin -d $prefix/lib/python2.6/site-packages/ -v $prefix/share/sip/ --verbose
Determining the layout of your Qt installation...
/usr/lib64/qt-3.3/bin/qmake -o qtdirs.mk qtdirs.pro
make -f qtdirs.mk
g++ -c -pipe -Wall -W -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -fno-strict-aliasing  -DQT_NO_DEBUG -DQT_SHARED -DQT_TABLET_SUPPORT -DQT_THREAD_SUPPORT -I/usr/lib64/qt-3.3/mkspecs/default -I. -I/usr/lib64/qt-3.3/include -o qtdirs.o qtdirs.cpp
qtdirs.cpp:1:17: error: QFile: No such file or directory
qtdirs.cpp:2:24: error: QLibraryInfo: No such file or directory
qtdirs.cpp:3:23: error: QTextStream: No such file or directory
qtdirs.cpp: In function ‘int main(int, char**)’:
qtdirs.cpp:7: error: ‘QFile’ was not declared in this scope
qtdirs.cpp:7: error: expected ‘;’ before ‘outf’
qtdirs.cpp:9: error: ‘outf’ was not declared in this scope
qtdirs.cpp:9: error: ‘QIODevice’ has not been declared
qtdirs.cpp:9: error: ‘QIODevice’ has not been declared
qtdirs.cpp:9: error: ‘QIODevice’ has not been declared
qtdirs.cpp:12: error: ‘QTextStream’ was not declared in this scope
qtdirs.cpp:12: error: expected ‘;’ before ‘out’
qtdirs.cpp:14: error: ‘out’ was not declared in this scope
qtdirs.cpp:14: error: ‘QLibraryInfo’ has not been declared
qtdirs.cpp:14: error: ‘QLibraryInfo’ has not been declared
qtdirs.cpp:15: error: ‘QLibraryInfo’ has not been declared
qtdirs.cpp:15: error: ‘QLibraryInfo’ has not been declared
qtdirs.cpp:16: error: ‘QLibraryInfo’ has not been declared
qtdirs.cpp:16: error: ‘QLibraryInfo’ has not been declared
qtdirs.cpp:17: error: ‘QLibraryInfo’ has not been declared
qtdirs.cpp:17: error: ‘QLibraryInfo’ has not been declared
qtdirs.cpp:18: error: ‘QLibraryInfo’ has not been declared
qtdirs.cpp:18: error: ‘QLibraryInfo’ has not been declared
qtdirs.cpp:19: error: ‘QLibraryInfo’ has not been declared
qtdirs.cpp:19: error: ‘QLibraryInfo’ has not been declared
qtdirs.cpp:21: error: ‘QT_VERSION’ was not declared in this scope
qtdirs.cpp:22: error: ‘QT_EDITION’ was not declared in this scope
qtdirs.cpp:24: error: ‘QLibraryInfo’ has not been declared
qtdirs.cpp:90: error: ‘qreal’ was not declared in this scope
make: *** [qtdirs.o] Error 1
Error: Failed to determine the layout of your Qt installation. Try again using
the --verbose flag to see more detail about the problem.
address@hidden pyqt4]$


Keep in mind, this error is very different then the error pybombs reports during the automatic install. This leads me to believe my manual install may be leaving out configure information that is required by pyqt4 that pybombs normally handles. I'm just not sure.


On Wed, Jan 28, 2015 at 10:30 AM, Richard Bell <address@hidden> wrote:
I also realize I've been referring to PyQWT in previous emails as the problem, mistakingly. I meant to be saying PyQT4, as the previous thread output error shows. Apologies for the confusion.

pyqt4 is the component which fails source installs on my fresh centos 6.6.

Rich

On Wed, Jan 28, 2015 at 8:42 AM, Richard Bell <address@hidden> wrote:
You don't get much from this error. Copy and pasted below:

Installing from source: pyqt4
Configuring: (100%) [==========================================================]
Configuration failed. Re-trying with higher verbosity.
make: *** No targets specified and no makefile found.  Stop.
Build failed. See output above for error messages.
address@hidden pybombs]$


I've recreated this error several times on clean CentOS 6.6 installs.

Rich

On Wed, Jan 28, 2015 at 1:07 AM, Tom Rondeau <address@hidden> wrote:
On Tue, Jan 27, 2015 at 5:28 PM, Richard Bell <address@hidden> wrote:
Yes I did ./pybombs remove, which uninstalls everything. I also have pybombs set to install everything from source, so I know for sure what's being installed. All but PyQWT, because that source install is broken for some reason.

So the process is, I begin with

./pybombs install gnuradio

This installs all dependencies for gnuradio until it gets to PyQWT and fails. I then install PyQWT through yum, because that works. Then I restart the pybombs install the same way as before. It recognizes PyQWT as being installed via rpm and continues until completion.

Rich

What's the specific failure message for PyQWT in PyBOMBS? PyQWT is a strange build process and depends on things being "right," so that might be borking things right there. When using PyBOMBS, it's best to stay inside it for everything possible, so when you see these errors occur, we should focus on that instead of the problems that result from it.

Tom

 
On Tue, Jan 27, 2015 at 1:59 PM, Sylvain Munaut <address@hidden> wrote:
Did you rebuild PyQWT & GR from scratch ?

I mean when you have this stack : Qt / Qwt / PyQWT / GR.

If you change anything, you need to rebuild anything above it. So
change Qt, you need to rebuild Qwt / PyQWt and GR from scratch or it
might be built against old headers that have incompatible ABI.


Cheers,

   Sylvain


_______________________________________________
Discuss-gnuradio mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio






reply via email to

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