Re: [Discuss-gnuradio] Issues using gr-inspector after install

2018-04-14 Thread Sebastian Müller
Robert,

I’m sorry you’re having difficulties with gr-inspector. I have just tried
to clone, compile and install gr-inspector on Fedora 25 with GNU Radio
3.7.12 and it worked. Please see the attached screenshot [1] from today as
proof.
I have seen gr-inspector run on various setups and distros, including
Fedora, Ubuntu and Arch Linux. However, I cannot provide support for
setting up specific operating systems to meet the dependencies for
gr-inspector. I have uploaded my `cmake ..` and `make` command outputs as
reference for you [2]. Feel free to compare with your output and I’m sure
you’ll be able to track down the issue. Just from skimming I’ve noticed
that there is no line in your cmake output telling that Qt4 was found.

[1] https://imgur.com/a/Tm6Ag
[2] https://pastebin.com/M1hmA05a

Regards,

Sebastian Müller
gse...@gmail.com
PGP ID DC2AA3EE


Am 14. April 2018 um 04:08:43, Robert Stanford (rstanford8...@gmail.com)
schrieb:


 If anyone's interested or having the same issue: I've tried to run the
gr-inspector example in a Docker container (seen below) and received the
same error message.  So the issue doesn't seem to be limited to Ubuntu
17.10.

===
FROM fedora:27

RUN yum install -y git gnuradio gnuradio-devel qt qt-devel qwt qwt-devel
gcc gcc-c++ make cmake python python-devel python-pip qwtplot3d-qt4
qwtplot3d-qt4-devel cppunit-devel
RUN yum install -y rtl-sdr xterm gr-osmosdr
RUN pip install tensorflow

# gr-inspector
RUN echo "xterm_executable = /usr/bin/xterm" >>
/etc/gnuradio/conf.d/grc.conf
RUN git clone https://github.com/gnuradio/gr-inspector /tmp/gr-inspector
RUN mkdir /tmp/gr-inspector/build; cd /tmp/gr-inspector/build; cmake ..;
make -j4; make install

ENV PYTHONPATH $PYTHONPATH:/usr/local/lib64/python2.7/site-packages
CMD /bin/bash
===




On Wed, Apr 11, 2018 at 1:48 PM, Robert Stanford 
wrote:

>
>  I've found and installed the necessary package.  It still has the same
> error when running the example graph.  Like many GNURadio things, this
> seems not entirely portable.  Has anyone been able to get gr-inspector to
> run in a certain Docker environment?
>
> On Wed, Apr 11, 2018 at 1:34 PM, Sebastian Müller 
> wrote:
>
>> Hello Robert,
>>
>> please use the homepage I referenced to find the packages you need. I
>> searched for you last mail but I’m sure you’ll find the packages that
>> provide the headers as well after a little time of searching. Each OS is
>> different and I cannot support users in setting up their system to meet the
>> requirements for gr-inspector.
>>
>> Thanks,
>>
>> Sebastian Müller
>> gse...@gmail.com
>> PGP ID DC2AA3EE
>> 
>>
>> Am 10. April 2018 um 22:25:19, Robert Stanford (rstanford8...@gmail.com)
>> schrieb:
>>
>>
>>  Sebastian -
>>
>>  I have uninstalled qwt and qwtplot3d, and manually verified that no
>> files matching their name exists on the fs.  I have installed the two
>> packages you've included as references (libqwtplot3d-qt4-dev, libqwt-dev).
>>
>>  I have two new errors when running cmake, including a missing qwt header
>> file (though as I mentioned, I installed the -dev package).  Please see
>> https://pastebin.com/ruz43yTu
>>
>>  The header file that is missing is not included in the file list of the
>> packages you linked.
>>
>>  Thank you for your patience
>>
>>
>>
>>
>> On Tue, Apr 10, 2018 at 11:59 AM, Sebastian Müller 
>> wrote:
>>
>>> Hi Robert,
>>>
>>> I’m pretty sure you have a corrupt qwt installation on your machine
>>> (which is also 90% the issues users have with gr-inspector).
>>> The file libqwt-qt4.so.5 does not seem to come from qwt-6.1.0 source
>>> build, but from the debian package 'libqwt5-qt4‘.
>>> If you just use a symbolic link and trick cmake into finding this file,
>>> things might go wrong down the road since this is a qwt 5 library! I would
>>> avoid using symlinks for this purpose at all. See my other comments below.
>>>
>>> Am 9. April 2018 um 20:26:36, Robert Stanford (rstanford8...@gmail.com)
>>> schrieb:
>>>
>>>
>>>  Thanks for getting back to me.  The packages I installed were:
>>>
>>>  - libqwtplot3d-qt4-0v5, libqwtplot3d-qt4-dev from apt install
>>>  - qwt-6.1.0 (not the most recent, but what the page recommends), from
>>> source.  I'd previously tried installing the most recent from the repos
>>> (apt), but had the same error I mentioned above so uninstalled and
>>> installed this recommended version from source.
>>>- I installed this using these instructions: http://qwt.sourc
>>> eforge.net/qwtinstall.html
>>>
>>> Please uninstall all qwt related packages and files from your machine.
>>> As mentioned above, there seems to be other (broken) qwt installations.
>>> This is not an easy task, so please take some time to clean everything up!
>>>
>>>
>>>
>>>  gr-inspector (cmake) had errors until I did these three things:
>>>   - apt install gnuradio-dev
>>>
>>> This is normal if you

Re: [Discuss-gnuradio] Issues using gr-inspector after install

2018-04-14 Thread Robert Stanford
 Sabastian -

 Thanks for the screenshots.  I'll keep hammering at it.  If I do
eventually get a Docker environment working, I'll send it your way in case
you'd like to include it.

 Thanks again


On Sat, Apr 14, 2018 at 11:19 AM, Sebastian Müller  wrote:

> Robert,
>
> I’m sorry you’re having difficulties with gr-inspector. I have just tried
> to clone, compile and install gr-inspector on Fedora 25 with GNU Radio
> 3.7.12 and it worked. Please see the attached screenshot [1] from today as
> proof.
> I have seen gr-inspector run on various setups and distros, including
> Fedora, Ubuntu and Arch Linux. However, I cannot provide support for
> setting up specific operating systems to meet the dependencies for
> gr-inspector. I have uploaded my `cmake ..` and `make` command outputs as
> reference for you [2]. Feel free to compare with your output and I’m sure
> you’ll be able to track down the issue. Just from skimming I’ve noticed
> that there is no line in your cmake output telling that Qt4 was found.
>
> [1] https://imgur.com/a/Tm6Ag
> [2] https://pastebin.com/M1hmA05a
>
> Regards,
>
> Sebastian Müller
> gse...@gmail.com
> PGP ID DC2AA3EE
> 
>
> Am 14. April 2018 um 04:08:43, Robert Stanford (rstanford8...@gmail.com)
> schrieb:
>
>
>  If anyone's interested or having the same issue: I've tried to run the
> gr-inspector example in a Docker container (seen below) and received the
> same error message.  So the issue doesn't seem to be limited to Ubuntu
> 17.10.
>
> ===
> FROM fedora:27
>
> RUN yum install -y git gnuradio gnuradio-devel qt qt-devel qwt qwt-devel
> gcc gcc-c++ make cmake python python-devel python-pip qwtplot3d-qt4
> qwtplot3d-qt4-devel cppunit-devel
> RUN yum install -y rtl-sdr xterm gr-osmosdr
> RUN pip install tensorflow
>
> # gr-inspector
> RUN echo "xterm_executable = /usr/bin/xterm" >>
> /etc/gnuradio/conf.d/grc.conf
> RUN git clone https://github.com/gnuradio/gr-inspector /tmp/gr-inspector
> RUN mkdir /tmp/gr-inspector/build; cd /tmp/gr-inspector/build; cmake ..;
> make -j4; make install
>
> ENV PYTHONPATH $PYTHONPATH:/usr/local/lib64/python2.7/site-packages
> CMD /bin/bash
> ===
>
>
>
>
> On Wed, Apr 11, 2018 at 1:48 PM, Robert Stanford 
> wrote:
>
>>
>>  I've found and installed the necessary package.  It still has the same
>> error when running the example graph.  Like many GNURadio things, this
>> seems not entirely portable.  Has anyone been able to get gr-inspector to
>> run in a certain Docker environment?
>>
>> On Wed, Apr 11, 2018 at 1:34 PM, Sebastian Müller 
>> wrote:
>>
>>> Hello Robert,
>>>
>>> please use the homepage I referenced to find the packages you need. I
>>> searched for you last mail but I’m sure you’ll find the packages that
>>> provide the headers as well after a little time of searching. Each OS is
>>> different and I cannot support users in setting up their system to meet the
>>> requirements for gr-inspector.
>>>
>>> Thanks,
>>>
>>> Sebastian Müller
>>> gse...@gmail.com
>>> PGP ID DC2AA3EE
>>> 
>>>
>>> Am 10. April 2018 um 22:25:19, Robert Stanford (rstanford8...@gmail.com)
>>> schrieb:
>>>
>>>
>>>  Sebastian -
>>>
>>>  I have uninstalled qwt and qwtplot3d, and manually verified that no
>>> files matching their name exists on the fs.  I have installed the two
>>> packages you've included as references (libqwtplot3d-qt4-dev, libqwt-dev).
>>>
>>>  I have two new errors when running cmake, including a missing qwt
>>> header file (though as I mentioned, I installed the -dev package).  Please
>>> see https://pastebin.com/ruz43yTu
>>>
>>>  The header file that is missing is not included in the file list of the
>>> packages you linked.
>>>
>>>  Thank you for your patience
>>>
>>>
>>>
>>>
>>> On Tue, Apr 10, 2018 at 11:59 AM, Sebastian Müller 
>>> wrote:
>>>
 Hi Robert,

 I’m pretty sure you have a corrupt qwt installation on your machine
 (which is also 90% the issues users have with gr-inspector).
 The file libqwt-qt4.so.5 does not seem to come from qwt-6.1.0 source
 build, but from the debian package 'libqwt5-qt4‘.
 If you just use a symbolic link and trick cmake into finding this file,
 things might go wrong down the road since this is a qwt 5 library! I would
 avoid using symlinks for this purpose at all. See my other comments below.

 Am 9. April 2018 um 20:26:36, Robert Stanford (rstanford8...@gmail.com)
 schrieb:


  Thanks for getting back to me.  The packages I installed were:

  - libqwtplot3d-qt4-0v5, libqwtplot3d-qt4-dev from apt install
  - qwt-6.1.0 (not the most recent, but what the page recommends), from
 source.  I'd previously tried installing the most recent from the repos
 (apt), but had the same error I mentioned above so uninstalled and
 installed this recommended version from source.
- I installed this using these instruct