discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: qt-gui problems with GNU 3.8


From: Mark Koenig
Subject: Re: qt-gui problems with GNU 3.8
Date: Tue, 19 Nov 2019 16:46:23 +0000

So, I opened the docker contained and I did what you suggested (cleaning up 
make and removing the build directory) then successfully rebuilt the gnuradio 
package with the qt-gui module.

What’s odd is that if I try and do this automatically with a dockerfile, using 
the docker build command, I get the qt-gui failures. 

Any thoughts why?

Mark

On 11/19/19, 10:38 AM, "Müller, Marcus   (CEL)" <address@hidden> wrote:

    That sounds like `moc` is misbehaving. Or CMake is and the Makefiles
    aren't correctly regenerating all necessary files if subsets are
    already there.
    
    a) If you haven't, uninstall all potentially half-installed GNU Radios
    (don't ask), purge your build folder and cmake; make -j8 again
    b) If that doesn't solve it, we'll need to look at the paths: Do the
    paths (starting with __ in your, I presume censored, email) look right?
    
    Best regards,
    Marcus
    
    On Tue, 2019-11-19 at 15:31 +0000, Mark Koenig wrote:
    > Marcus,
    > 
    > Here is some feedback regarding using the rpms you helped me create.
    > 
    > I can run ‘cmake’ with no errors, but running ‘make’ I see the errors 
below with respect to the qt-gui package.  Any advice on how to fix this 
problem?
    > 
    > Thank you
    > 
    > Mark
    > 
    > #38 2179. [ 79%] Generating 
__/include/gnuradio/qtgui/moc_spectrumdisplayform.cpp
    > #38 2179. standard input:0: Note: No relevant classes found. No output 
generated.
    > #38 2179. [ 79%] Generating __/include/gnuradio/qtgui/moc_displayform.cpp
    > #38 2179. standard input:0: Note: No relevant classes found. No output 
generated.
    > #38 2179. [ 79%] Generating 
__/include/gnuradio/qtgui/moc_timedisplayform.cpp
    > #38 2179. standard input:0: Note: No relevant classes found. No output 
generated.
    > #38 2179. [ 79%] Generating 
__/include/gnuradio/qtgui/moc_timecontrolpanel.cpp
    > #38 2179. standard input:0: Note: No relevant classes found. No output 
generated.
    > #38 2179. [ 79%] Generating 
__/include/gnuradio/qtgui/moc_timerasterdisplayform.cpp
    > #38 2179. standard input:0: Note: No relevant classes found. No output 
generated.
    > #38 2179. [ 79%] Generating 
__/include/gnuradio/qtgui/moc_freqdisplayform.cpp
    > #38 2179. standard input:0: Note: No relevant classes found. No output 
generated.
    > #38 2179. [ 79%] Generating 
__/include/gnuradio/qtgui/moc_freqcontrolpanel.cpp
    > #38 2179. standard input:0: Note: No relevant classes found. No output 
generated.
    > #38 2179. [ 79%] Generating 
__/include/gnuradio/qtgui/moc_constellationdisplayform.cpp
    > #38 2179. standard input:0: Note: No relevant classes found. No output 
generated.
    > #38 2179. [ 80%] Generating 
__/include/gnuradio/qtgui/moc_waterfalldisplayform.cpp
    > #38 2179. standard input:0: Note: No relevant classes found. No output 
generated.
    > #38 2179. [ 80%] Generating 
__/include/gnuradio/qtgui/moc_histogramdisplayform.cpp
    > #38 2179. standard input:0: Note: No relevant classes found. No output 
generated.
    > #38 2179. [ 80%] Generating 
__/include/gnuradio/qtgui/moc_numberdisplayform.cpp
    > #38 2179. standard input:0: Note: No relevant classes found. No output 
generated.
    > #38 2179. [ 80%] Generating 
__/include/gnuradio/qtgui/moc_vectordisplayform.cpp
    > #38 2179. standard input:0: Note: No relevant classes found. No output 
generated.
    > #38 2179. [ 80%] Generating __/include/gnuradio/qtgui/moc_form_menus.cpp
    > #38 2179. standard input:0: Note: No relevant classes found. No output 
generated.
    > #38 2179. [ 80%] Generating __/include/gnuradio/qtgui/moc_DisplayPlot.cpp
    > #38 2179. standard input:0: Note: No relevant classes found. No output 
generated.
    > #38 2179. [ 80%] Generating 
__/include/gnuradio/qtgui/moc_FrequencyDisplayPlot.cpp
    > #38 2179. standard input:0: Note: No relevant classes found. No output 
generated.
    > #38 2179. [ 80%] Generating 
__/include/gnuradio/qtgui/moc_TimeDomainDisplayPlot.cpp
    > #38 2179. standard input:0: Note: No relevant classes found. No output 
generated.
    > #38 2179. [ 80%] Generating 
__/include/gnuradio/qtgui/moc_TimeRasterDisplayPlot.cpp
    > #38 2179. standard input:0: Note: No relevant classes found. No output 
generated.
    > #38 2179. [ 80%] Generating 
__/include/gnuradio/qtgui/moc_WaterfallDisplayPlot.cpp
    > #38 2179. standard input:0: Note: No relevant classes found. No output 
generated.
    > #38 2179. [ 80%] Generating 
__/include/gnuradio/qtgui/moc_ConstellationDisplayPlot.cpp
    > #38 2179. standard input:0: Note: No relevant classes found. No output 
generated.
    > #38 2179. [ 81%] Generating 
__/include/gnuradio/qtgui/moc_HistogramDisplayPlot.cpp
    > #38 2179. standard input:0: Note: No relevant classes found. No output 
generated.
    > #38 2179. [ 81%] Generating 
__/include/gnuradio/qtgui/moc_VectorDisplayPlot.cpp
    > #38 2179. standard input:0: Note: No relevant classes found. No output 
generated.
    > #38 2179. [ 81%] Generating moc_edit_box_msg_impl.cpp
    > #38 2179. standard input:0: Note: No relevant classes found. No output 
generated.
    > #38 2180. [ 81%] Generating 
__/include/gnuradio/qtgui/moc_spectrumdisplayform.cpp
    > #38 2180. standard input:0: Note: No relevant classes found. No output 
generated.
    > #38 2180. [ 81%] Building CXX object 
gr-qtgui/lib/CMakeFiles/gnuradio-qtgui.dir/__/include/gnuradio/qtgui/moc_spectrumdisplayform.cpp.o
    > #38 2180. c++: error: 
/opt/truearrow/6.3/src/gnuradio/build/gr-qtgui/lib/__/include/gnuradio/qtgui/moc_spectrumdisplayform.cpp:
 No such file or directory
    > #38 2180. c++: fatal error: no input files
    > #38 2180. compilation terminated.
    > #38 2180. make[2]: *** 
[gr-qtgui/lib/CMakeFiles/gnuradio-qtgui.dir/build.make:714: 
gr-qtgui/lib/CMakeFiles/gnuradio-qtgui.dir/__/include/gnuradio/qtgui/moc_spectrumdisplayform.cpp.o]
 Error 1
    > #38 2180. make[1]: *** [CMakeFiles/Makefile2:9430: 
gr-qtgui/lib/CMakeFiles/gnuradio-qtgui.dir/all] Error 2
    > #38 2180. make: *** [Makefile:141: all] Error 2
    > #38 DONE 2180.6s
    > 
    > 
    > 
    > 
    > On 11/15/19, 3:50 PM, "Müller, Marcus   (CEL)" <address@hidden> wrote:
    > 
    >     Ah, it's the same old blues; need to have qt(4)-devel packaged for 
qwt.
    >     
    >     (What I've tried is: Run Fedora as host, and have a podman (or docker,
    >     as if I care, replace "podman" by "docker" below) container
    >     
    >     marcus@workstation> podman run -it --rm centos:8)
    >     
    >     This is a very rough rundown of what I just did in a fresh CentOS 8
    >     container:
    >     
    >     [root@hash /]# dnf check-update; dnf install -y epel-release
    >     [root@hash /]# dnf update -y
    >     [root@hash /]# dnf install -y make rpm-build qt5-qt*-devel rpmdevtools
    >     ccache
    >     [root@hash /]# adduser mockbuild
    >     [root@hash /]# cd
    >     [root@hash ~]# curl -o qwt-6.1.3-11.fc31.src.rpm 
    >     
https://ftp-stud.hs-esslingen.de/pub/fedora/linux/releases/31/Everything/source/tree/Packages/q/qwt-6.1.3-11.fc31.src.rpm
    >     [root@hash ~]# rpm -i qwt-6.1.3-11.fc31.src.rpm
    >     
    >     I had to hunt down a lot of qt4 lines in the qwt.spec and remove them
    >     before this builds on CentOS 8. I have just attached a diff for a
    >     successfully building Qwt6 on the Bug that Vasil mentioned [2], so we
    >     can try that one; continue with
    >     
    >     [root@hash ~]# cd rpmbuild/SPECS
    >     [root@hash SPECS]# rm qwt.spec
    >     [root@hash SPECS]# curl -o qwt.spec 
    >     https://bugzilla.redhat.com/attachment.cgi?id=1636615
    >     [root@hash SPECS]# rpmbuild -bs qwt.spec
    >     [root@hash SPECS]# cd ../SRPMS
    >     [root@hash SRPMS]# rpmbuild -rb *.src.rpm
    >     … waaaait …
    >     
    >     This should, if the build succeeds (mine is still running), give you
    >     qwt6-qt5 packages. Install these! 
    >     
    >     [root@hash SRPMS]# cd ../RPMS/
    >     [root@hash RPMS]# ls */*
    >     noarch/qwt-doc-6.1.3-11.el8.noarch.rpm
    >     x86_64/qwt-qt5-6.1.3-11.el8.x86_64.rpm
    >     x86_64/qwt-qt5-devel-6.1.3-11.el8.x86_64.rpm
    >     x86_64/qwt-debugsource-6.1.3-11.el8.x86_64.rpm
    >     x86_64/qwt-qt5-debuginfo-6.1.3-11.el8.x86_64.rpm
    >     [root@hash RPMS]# cd x86_64
    >     [root@hash x86_64]# dnf install -y *
    >     
    >     Try to build GNU Radio now!
    >     
    >     
    >     Best regards,
    >     Marcus
    >     
    >     On Fri, 2019-11-15 at 21:46 +0200, Vasil Velichkov wrote:
    >     > Hi Mark,
    >     > 
    >     > On 15/11/2019 21.19, Mark Koenig wrote:
    >     > > I am trying to build gnuradio branch maint-3.8 and I am having 
trouble getting qt-gui to enabled.  I am currently using the new distro CentOS 
8, and I cannot find any ‘qwt’ packages.  Has anyone got gnuradio to build on 
CentOS 8 yet?  I am very close to having all the modules I desire to be built 
and enabled.
    >     > > 
    >     > > Any help would be greatly appreciated.
    >     > 
    >     > The qwt package is usually available from the EPEL repositories[1] 
but there are still no package for epel8, see [2]
    >     > 
    >     > [1] https://fedoraproject.org/wiki/EPEL
    >     > [2] https://bugzilla.redhat.com/show_bug.cgi?id=1751172
    >     > 
    >     > Regards,
    >     > Vasil
    >     > 
    >     
    > 
    


reply via email to

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