Re: [Discuss-gnuradio] GNU Radio not installing: Build Failed

2018-06-09 Thread CEL
ke which I believe is
> sufficient to make all this work on Centos, but it would be great to
> get your eyes on it once we've made that change to ensure that it
> does work properly for you. I believe the hope is to make that change
> in the next month.
> 
> Ubuntu 14.04 is the other older OS which pushes the minimum versions
> of dependencies, it remains supported (by Canonical) till the middle
> of next year. My *entirely personal* guess is that CentOS 7(.0?)
> official support on master will be dropped around the same time, but
> of course no one has any interest in making an arbitrary break in
> compatibility. The maint-X.X branches should help reduce the impact
> and increase the longevity of GNU Radio on these very long term
> support OSs.
> 
> Cheers,
> Derek
> 
> 
> On Fri, Jun 8, 2018 at 4:01 PM, Jason Matusiak  ring.com> wrote:
> > Derek, this was much appreciated and seems to have fixed my
> > problems on Centos 7.
> >  
> > A note about the C++11 mandatory changes that would help me (and
> > probably others).  There are a lot of us who have been forced into
> > using Centos 7 and their so very antiquated tools.  Ubuntu's newer
> > tools (probably cmake) are smart enough to know to switch to c++11
> > because of the need in the source code.  Centos doesn't appear to
> > be smart enough to do that, and so even though we can build the
> > c++11 code if the tools that are installed if we hand-touched the
> > source with some mods, the system wasn't smart enough to do it on
> > its own.
> >  
> > So my hope is that there might be something you can do in the
> > recipes or gnuradio itself that would force the Centos tools to use
> > c++11 (it appears that some mods to the CMakeLists.txt file like I
> > mentioned in my other thread might be enough (and it shouldn't
> > heart the Ubuntu users any).
> >  
> > Anyway, thanks for the temporary rollback!
> >  
> > > - Original Message -
> > > 
> > > 
> > > Hello Curt,
> > >  
> > > The fix for this issue was merged into the GNU Radio master
> > > branch last night. Thank you for posting the PR and describing
> > > your solution here. The 3.8 release is going to raise the minimum
> > > version requirements of an appreciable number of dependencies in
> > > order to make sure that GNU Radio development can keep moving
> > > forward smoothly. C++11 will be mandatory on master at some time
> > > before that release occurs, but today isn't here quite yet.
> > >  
> > > Thanks,
> > > Derek
> > > 
> > > On Fri, Jun 8, 2018 at 2:11 AM, Curt Corum 
> > > wrote:
> > > > Mir and Jason,
> > > > I've been working through something similar and have found a
> > > > solution.
> > > > Please see the github issue: https://github.com/gnuradio/pybomb
> > > > s/issues/502 and below.
> > > > -Curt
> > > >  
> > > > Dear pybombs team and community,
> > > > Had issues with building gnuradio-default on relatively clean
> > > > but up to date Ubuntu 16.04 LTS. Seems related to https://www.m
> > > > ail-archive.com/discuss-gnuradio@gnu.org/msg66739.html https://
> > > > www.mail-archive.com/discuss-gnuradio@gnu.org/msg66739.html
> > > > #424 #448
> > > > $ pybombs --version
> > > > 2.3.2
> > > > $ gcc --version
> > > > gcc (Ubuntu 6.4.0-17ubuntu1~16.04) 6.4.0 20180424
> > > > It was necessary to do the following to get the gnuradio-
> > > > default recipe to build thrift, boost, uhd and gnuradio without
> > > > errors:
> > > > >sudo apt-get install g++-6
> > > > >sudo update-alternatives --install /usr/bin/gcc gcc
> > > > /usr/bin/gcc-6 60 --slave /usr/bin/g++ g++ /usr/bin/g++-6
> > > > >sudo update-alternatives --config gcc
> > > > and setting gcc-6 to default
> > > > uninstall most of boost 1.58 binary packages (all but non -dev
> > > > distribution packages)
> > > > adding the following to gnuradio-default.lwr
> > > > # gnuradio-default.lwr
> > > > #binary boost linking fails *** CAC
> > > > boost:
> > > >   forcebuild: True
> > > > and modifying config.yml (directly as could not figure out how
> > > > to escape -std=c++-11 for pybombs config --env)
> > > > # config.yml
> > > > env:
> > > >   CXXFLAGS: -std=c++11 -fext-numeric-literals
> > > > and modifying bo

Re: [Discuss-gnuradio] GNU Radio not installing: Build Failed

2018-06-08 Thread Curt Corum
Derek,

Great!

It was also necessary to have


|-fext-numeric-literals |

in the mix as well for uhd and gnuradio to both build. Not sure if that
is covered implicitly?

Curt


On 06/08/2018 01:52 AM, Derek Kozel wrote:
> Hello Curt,
>
> The fix for this issue was merged into the GNU Radio master branch
> last night. Thank you for posting the PR and describing your solution
> here. The 3.8 release is going to raise the minimum version
> requirements of an appreciable number of dependencies in order to make
> sure that GNU Radio development can keep moving forward smoothly.
> C++11 will be mandatory on master at some time before that release
> occurs, but today isn't here quite yet.
>
> Thanks,
> Derek
>
> On Fri, Jun 8, 2018 at 2:11 AM, Curt Corum  > wrote:
>
> Mir and Jason,
>
> I've been working through something similar and have found a solution.
>
> Please see the github issue:
> https://github.com/gnuradio/pybombs/issues/502
>  and below.
>
> -Curt
>
>
> Dear pybombs team and community,
>
> Had issues with building gnuradio-default on relatively clean but
> up to date Ubuntu 16.04 LTS. Seems related to
> https://www.mail-archive.com/discuss-gnuradio@gnu.org/msg66739.html
> 
> https://www.mail-archive.com/discuss-gnuradio@gnu.org/msg66739.html
> 
> #424  #448
> 
>
> SNIP
>

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


Re: [Discuss-gnuradio] GNU Radio not installing: Build Failed

2018-06-08 Thread Derek Kozel
Hi Jason,

Centos 7 is being specifically looked at for 3.8 as it will define the
minimum version of most dependencies. We don't yet have a CentOS 7
regression test VM, but it is something to consider. We will be enforcing
the C++11 requirement in CMake which I believe is sufficient to make all
this work on Centos, but it would be great to get your eyes on it once
we've made that change to ensure that it does work properly for you. I
believe the hope is to make that change in the next month.

Ubuntu 14.04 is the other older OS which pushes the minimum versions of
dependencies, it remains supported (by Canonical) till the middle of next
year. My *entirely personal* guess is that CentOS 7(.0?) official support
on master will be dropped around the same time, but of course no one has
any interest in making an arbitrary break in compatibility. The maint-X.X
branches should help reduce the impact and increase the longevity of GNU
Radio on these very long term support OSs.

Cheers,
Derek


On Fri, Jun 8, 2018 at 4:01 PM, Jason Matusiak <
ja...@gardettoengineering.com> wrote:

> Derek, this was much appreciated and seems to have fixed my problems on
> Centos 7.
>
> A note about the C++11 mandatory changes that would help me (and probably
> others).  There are a lot of us who have been forced into using Centos 7
> and their so very antiquated tools.  Ubuntu's newer tools (probably cmake)
> are smart enough to know to switch to c++11 because of the need in the
> source code.  Centos doesn't appear to be smart enough to do that, and so
> even though we can build the c++11 code if the tools that are installed if
> we hand-touched the source with some mods, the system wasn't smart enough
> to do it on its own.
>
> So my hope is that there might be something you can do in the recipes or
> gnuradio itself that would force the Centos tools to use c++11 (it appears
> that some mods to the CMakeLists.txt file like I mentioned in my other
> thread might be enough (and it shouldn't heart the Ubuntu users any).
>
> Anyway, thanks for the temporary rollback!
>
>
> - Original Message -
>
>
> Hello Curt,
>
> The fix for this issue was merged into the GNU Radio master branch last
> night. Thank you for posting the PR and describing your solution here. The
> 3.8 release is going to raise the minimum version requirements of an
> appreciable number of dependencies in order to make sure that GNU Radio
> development can keep moving forward smoothly. C++11 will be mandatory on
> master at some time before that release occurs, but today isn't here quite
> yet.
>
> Thanks,
> Derek
>
> On Fri, Jun 8, 2018 at 2:11 AM, Curt Corum  wrote:
>
>> Mir and Jason,
>>
>> I've been working through something similar and have found a solution.
>>
>> Please see the github issue: https://github.com/gnuradio/
>> pybombs/issues/502 and below.
>>
>> -Curt
>>
>>
>>
>> Dear pybombs team and community,
>>
>> Had issues with building gnuradio-default on relatively clean but up to
>> date Ubuntu 16.04 LTS. Seems related to https://www.mail-archive.com/
>> discuss-gnuradio@gnu.org/msg66739.html https://www.mail-archive.com/
>> discuss-gnuradio@gnu.org/msg66739.html #424
>> <https://github.com/gnuradio/pybombs/issues/424> #448
>> <https://github.com/gnuradio/pybombs/issues/448>
>>
>> $ pybombs --version
>> 2.3.2
>>
>> $ gcc --version
>> gcc (Ubuntu 6.4.0-17ubuntu1~16.04) 6.4.0 20180424
>>
>> It was necessary to do the following to get the gnuradio-default recipe
>> to build thrift, boost, uhd and gnuradio without errors:
>>
>> >sudo apt-get install g++-6
>> >sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-6 60 
>> >--slave /usr/bin/g++ g++ /usr/bin/g++-6
>> >sudo update-alternatives --config gcc
>>
>> and setting gcc-6 to default
>>
>> uninstall most of boost 1.58 binary packages (all but non -dev
>> distribution packages)
>> adding the following to gnuradio-default.lwr
>>
>> # gnuradio-default.lwr
>> #binary boost linking fails *** CAC
>> boost:
>>   forcebuild: True
>>
>> and modifying config.yml (directly as could not figure out how to escape
>> -std=c++-11 for pybombs config --env)
>>
>> # config.yml
>> env:
>>   CXXFLAGS: -std=c++11 -fext-numeric-literals
>>
>> and modifying boost.lwr
>>
>>  # boost.lwr
>>   satisfy:
>>   deb: libboost-all-dev >= 1.6 || libboost-dev >= 1.6
>>   rpm: (boost-devel >= 1.6) || (boost_1_61-devel >= 1.6) || 
>> (boost_1_64-devel >= 1.6) || (boost_1_65-devel >= 1.6)
>>   pacman: boost 

Re: [Discuss-gnuradio] GNU Radio not installing: Build Failed

2018-06-08 Thread Jason Matusiak
Derek, this was much appreciated and seems to have fixed my problems on Centos 
7.
 
A note about the C++11 mandatory changes that would help me (and probably 
others).  There are a lot of us who have been forced into using Centos 7 and 
their so very antiquated tools.  Ubuntu's newer tools (probably cmake) are 
smart enough to know to switch to c++11 because of the need in the source code. 
 Centos doesn't appear to be smart enough to do that, and so even though we can 
build the c++11 code if the tools that are installed if we hand-touched the 
source with some mods, the system wasn't smart enough to do it on its own.
 
So my hope is that there might be something you can do in the recipes or 
gnuradio itself that would force the Centos tools to use c++11 (it appears that 
some mods to the CMakeLists.txt file like I mentioned in my other thread might 
be enough (and it shouldn't heart the Ubuntu users any).
 
Anyway, thanks for the temporary rollback!
 
- Original Message - 

  Hello Curt,
 
The fix for this issue was merged into the GNU Radio master branch last night. 
Thank you for posting the PR and describing your solution here. The 3.8 release 
is going to raise the minimum version requirements of an appreciable number of 
dependencies in order to make sure that GNU Radio development can keep moving 
forward smoothly. C++11 will be mandatory on master at some time before that 
release occurs, but today isn't here quite yet.
 
Thanks,
Derek


 On Fri, Jun 8, 2018 at 2:11 AM, Curt Corum  wrote:
   Mir and Jason,
 I've been working through something similar and have found a solution.
 Please see the github issue: https://github.com/gnuradio/pybombs/issues/502 
and below.
 -Curt
  
 Dear pybombs team and community,
 Had issues with building gnuradio-default on relatively clean but up to date 
Ubuntu 16.04 LTS. Seems related to 
https://www.mail-archive.com/discuss-gnuradio@gnu.org/msg66739.html 
https://www.mail-archive.com/discuss-gnuradio@gnu.org/msg66739.html #424 #448
 $ pybombs --version
 2.3.2
 $ gcc --version
 gcc (Ubuntu 6.4.0-17ubuntu1~16.04) 6.4.0 20180424
 It was necessary to do the following to get the gnuradio-default recipe to 
build thrift, boost, uhd and gnuradio without errors:
 >sudo apt-get install g++-6
 >sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-6 60 --slave 
 >/usr/bin/g++ g++ /usr/bin/g++-6
 >sudo update-alternatives --config gcc
  and setting gcc-6 to default
 uninstall most of boost 1.58 binary packages (all but non -dev distribution 
packages)
 adding the following to gnuradio-default.lwr
 # gnuradio-default.lwr
 #binary boost linking fails *** CAC
 boost:
 forcebuild: True
  and modifying config.yml (directly as could not figure out how to escape 
-std=c++-11 for pybombs config --env)
 # config.yml
 env:
 CXXFLAGS: -std=c++11 -fext-numeric-literals
  and modifying boost.lwr
  # boost.lwr
 satisfy:
 deb: libboost-all-dev >= 1.6 || libboost-dev >= 1.6
 rpm: (boost-devel >= 1.6) || (boost_1_61-devel >= 1.6) || (boost_1_64-devel >= 
1.6) || (boost_1_65-devel >= 1.6)
 pacman: boost >= 1.6
 port: boost >= 1.6
 portage: dev-libs/boost >= 1.6
  Wanted to make sure this got captured as it took several days to resolve and 
seems to be an ongoing issue.
 -Curt
  
  
 
 On 06/07/2018 11:00 AM, discuss-gnuradio-requ...@gnu.org wrote:
 Message: 5
 Date: Thu, 7 Jun 2018 15:13:38 +0100
 From: Mir Muhammad Lodro 
 To: discuss-gnuradio@gnu.org
 Subject: [Discuss-gnuradio] GNU Radio not installing: Build Failed
 Message-ID:
 
 Content-Type: text/plain; charset="utf-8"
 
 Hi All
 i am installing GNU Radio on Linux 16.04, but it's not installing by saying
 this file requires compiler and library support for ISO 2011 standard. This
 can be done by issuing -std=c++11 or -std=gnu++11 when one has to run
 single file. But here the build process is automated. I would be grateful
 if you can look into the following prompt response and guide what could be
 the possible solution. I have already installed GNU Radio on different
 machine running 16.04, but I am surprise to see the error when installing
 on another machine and despite repeating the very same steps.
 
 The as it as prompt response is:
 
 root@pezp63763:/home/eexmmlo# pybombs prefix init -a default
 prefix/default/ -R gnuradio-default
 PyBOMBS - INFO - PyBOMBS Version 2.3.2
 PyBOMBS.prefix - WARNING - There already is a prefix in
 `/home/eexmmlo/prefix/default'.
 Continue using this path Y/[N]? y
 Alias `default' already exists, overwrite Y/[N]? y
 PyBOMBS.prefix - INFO - Installing default packages for prefix...
 PyBOMBS.prefix - INFO -
 - gnuradio
 PyBOMBS.install_manager - INFO - Phase 1: Creating install tree and
 installing binary packages:
 Install tree:
 |
 \- gnuradio
 PyBOMBS.install_manager - INFO - Phase 2: Recursively installing source
 packages to prefix:
 PyBOMBS.install_manager - INFO - Installing package: gnuradio
 PyBOMBS.Packager.so

Re: [Discuss-gnuradio] GNU Radio not installing: Build Failed

2018-06-08 Thread Derek Kozel
Hello Curt,

The fix for this issue was merged into the GNU Radio master branch last
night. Thank you for posting the PR and describing your solution here. The
3.8 release is going to raise the minimum version requirements of an
appreciable number of dependencies in order to make sure that GNU Radio
development can keep moving forward smoothly. C++11 will be mandatory on
master at some time before that release occurs, but today isn't here quite
yet.

Thanks,
Derek

On Fri, Jun 8, 2018 at 2:11 AM, Curt Corum  wrote:

> Mir and Jason,
>
> I've been working through something similar and have found a solution.
>
> Please see the github issue: https://github.com/gnuradio/
> pybombs/issues/502 and below.
>
> -Curt
>
>
> Dear pybombs team and community,
>
> Had issues with building gnuradio-default on relatively clean but up to
> date Ubuntu 16.04 LTS. Seems related to https://www.mail-archive.com/
> discuss-gnuradio@gnu.org/msg66739.html https://www.mail-archive.com/
> discuss-gnuradio@gnu.org/msg66739.html #424
> <https://github.com/gnuradio/pybombs/issues/424> #448
> <https://github.com/gnuradio/pybombs/issues/448>
>
> $ pybombs --version
> 2.3.2
>
> $ gcc --version
> gcc (Ubuntu 6.4.0-17ubuntu1~16.04) 6.4.0 20180424
>
> It was necessary to do the following to get the gnuradio-default recipe to
> build thrift, boost, uhd and gnuradio without errors:
>
> >sudo apt-get install g++-6
> >sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-6 60 
> >--slave /usr/bin/g++ g++ /usr/bin/g++-6
> >sudo update-alternatives --config gcc
>
> and setting gcc-6 to default
>
> uninstall most of boost 1.58 binary packages (all but non -dev
> distribution packages)
> adding the following to gnuradio-default.lwr
>
> # gnuradio-default.lwr
> #binary boost linking fails *** CAC
> boost:
>   forcebuild: True
>
> and modifying config.yml (directly as could not figure out how to escape
> -std=c++-11 for pybombs config --env)
>
> # config.yml
> env:
>   CXXFLAGS: -std=c++11 -fext-numeric-literals
>
> and modifying boost.lwr
>
>  # boost.lwr
>   satisfy:
>   deb: libboost-all-dev >= 1.6 || libboost-dev >= 1.6
>   rpm: (boost-devel >= 1.6) || (boost_1_61-devel >= 1.6) || (boost_1_64-devel 
> >= 1.6) || (boost_1_65-devel >= 1.6)
>   pacman: boost >= 1.6
>   port: boost >= 1.6
>   portage: dev-libs/boost >= 1.6
>
> Wanted to make sure this got captured as it took several days to resolve
> and seems to be an ongoing issue.
>
> -Curt
>
>
>
>
> On 06/07/2018 11:00 AM, discuss-gnuradio-requ...@gnu.org wrote:
>
> Message: 5
> Date: Thu, 7 Jun 2018 15:13:38 +0100
> From: Mir Muhammad Lodro  
> To: discuss-gnuradio@gnu.org
> Subject: [Discuss-gnuradio] GNU Radio not installing: Build Failed
> Message-ID:
>
> 
> Content-Type: text/plain; charset="utf-8"
>
> Hi All
> i am installing GNU Radio on Linux 16.04, but it's not installing by saying
> this file requires compiler and library support for ISO 2011 standard. This
> can be done by issuing -std=c++11 or -std=gnu++11  when one has to run
> single file. But here the build process is automated. I would be grateful
> if you can look into the following prompt response and guide what could be
> the possible solution. I have already installed GNU Radio on different
> machine running 16.04, but I am surprise to see the error when installing
> on another machine  and despite repeating the very same steps.
>
> The as it as prompt response is:
>
> root@pezp63763:/home/eexmmlo# pybombs prefix init -a default
> prefix/default/ -R gnuradio-default
> PyBOMBS - INFO - PyBOMBS Version 2.3.2
> PyBOMBS.prefix - WARNING - There already is a prefix in
> `/home/eexmmlo/prefix/default'.
> Continue using this path Y/[N]? y
> Alias `default' already exists, overwrite Y/[N]? y
> PyBOMBS.prefix - INFO - Installing default packages for prefix...
> PyBOMBS.prefix - INFO -
>   - gnuradio
> PyBOMBS.install_manager - INFO - Phase 1: Creating install tree and
> installing binary packages:
> Install tree:
> |
> \- gnuradio
> PyBOMBS.install_manager - INFO - Phase 2: Recursively installing source
> packages to prefix:
> PyBOMBS.install_manager - INFO - Installing package: gnuradio
> PyBOMBS.Packager.source - WARNING - Build dir already exists:
> /home/eexmmlo/prefix/default/src/gnuradio/build
> Building:(100%) [=
> 
> ]
> [  4%] Built target volk_obj
> [  4%] Built target volk
> [  4%] Built target volk_test_all
> [  4%] Built target volk_profile
> [  5%] Built target volk

[Discuss-gnuradio] GNU Radio not installing: Build Failed

2018-06-07 Thread Curt Corum
Mir and Jason,

I've been working through something similar and have found a solution.

Please see the github issue:
https://github.com/gnuradio/pybombs/issues/502 and below.

-Curt


Dear pybombs team and community,

Had issues with building gnuradio-default on relatively clean but up to
date Ubuntu 16.04 LTS. Seems related to
https://www.mail-archive.com/discuss-gnuradio@gnu.org/msg66739.html
https://www.mail-archive.com/discuss-gnuradio@gnu.org/msg66739.html #424
<https://github.com/gnuradio/pybombs/issues/424> #448
<https://github.com/gnuradio/pybombs/issues/448>

$ pybombs --version
2.3.2

$ gcc --version
gcc (Ubuntu 6.4.0-17ubuntu1~16.04) 6.4.0 20180424

It was necessary to do the following to get the gnuradio-default recipe
to build thrift, boost, uhd and gnuradio without errors:

|>sudo apt-get install g++-6 >sudo update-alternatives --install
/usr/bin/gcc gcc /usr/bin/gcc-6 60 --slave /usr/bin/g++ g++
/usr/bin/g++-6 >sudo update-alternatives --config gcc |

and setting gcc-6 to default

uninstall most of boost 1.58 binary packages (all but non -dev
distribution packages)
adding the following to gnuradio-default.lwr

|# gnuradio-default.lwr #binary boost linking fails *** CAC boost:
forcebuild: True |

and modifying config.yml (directly as could not figure out how to escape
-std=c++-11 for pybombs config --env)

|# config.yml env: CXXFLAGS: -std=c++11 -fext-numeric-literals |

and modifying boost.lwr

|# boost.lwr satisfy: deb: libboost-all-dev >= 1.6 || libboost-dev >= 1.6
rpm: (boost-devel >= 1.6) || (boost_1_61-devel >= 1.6) ||
(boost_1_64-devel >= 1.6) || (boost_1_65-devel >= 1.6) pacman: boost >=
1.6 port: boost >= 1.6 portage: dev-libs/boost >= 1.6 |

Wanted to make sure this got captured as it took several days to resolve
and seems to be an ongoing issue.

-Curt




On 06/07/2018 11:00 AM, discuss-gnuradio-requ...@gnu.org wrote:
> Message: 5
> Date: Thu, 7 Jun 2018 15:13:38 +0100
> From: Mir Muhammad Lodro 
> To: discuss-gnuradio@gnu.org
> Subject: [Discuss-gnuradio] GNU Radio not installing: Build Failed
> Message-ID:
>   
> Content-Type: text/plain; charset="utf-8"
>
> Hi All
> i am installing GNU Radio on Linux 16.04, but it's not installing by saying
> this file requires compiler and library support for ISO 2011 standard. This
> can be done by issuing -std=c++11 or -std=gnu++11  when one has to run
> single file. But here the build process is automated. I would be grateful
> if you can look into the following prompt response and guide what could be
> the possible solution. I have already installed GNU Radio on different
> machine running 16.04, but I am surprise to see the error when installing
> on another machine  and despite repeating the very same steps.
>
> The as it as prompt response is:
>
> root@pezp63763:/home/eexmmlo# pybombs prefix init -a default
> prefix/default/ -R gnuradio-default
> PyBOMBS - INFO - PyBOMBS Version 2.3.2
> PyBOMBS.prefix - WARNING - There already is a prefix in
> `/home/eexmmlo/prefix/default'.
> Continue using this path Y/[N]? y
> Alias `default' already exists, overwrite Y/[N]? y
> PyBOMBS.prefix - INFO - Installing default packages for prefix...
> PyBOMBS.prefix - INFO -
>   - gnuradio
> PyBOMBS.install_manager - INFO - Phase 1: Creating install tree and
> installing binary packages:
> Install tree:
> |
> \- gnuradio
> PyBOMBS.install_manager - INFO - Phase 2: Recursively installing source
> packages to prefix:
> PyBOMBS.install_manager - INFO - Installing package: gnuradio
> PyBOMBS.Packager.source - WARNING - Build dir already exists:
> /home/eexmmlo/prefix/default/src/gnuradio/build
> Building:(100%) [=
> 
> ]
> [  4%] Built target volk_obj
> [  4%] Built target volk
> [  4%] Built target volk_test_all
> [  4%] Built target volk_profile
> [  5%] Built target volk-config-info
> [  6%] Built target pygen_volk_python_volk_modtool_34493
> [  6%] Built target pygen_volk_python_volk_modtool_04eb6
> [  7%] Built target pmt_generated
> [  7%] Built target gnuradio-pmt
> [ 10%] Built target gnuradio-runtime
> [ 11%] Built target test-gnuradio-runtime
> [ 11%] Built target gr_runtime_test
> [ 11%] Built target test-gnuradio-pmt
> [ 11%] Built target gr_pmt_test
> [ 11%] Built target gnuradio-config-info
> [ 11%] Built target pmt_swig_swig_doc
> [ 11%] Built target _pmt_swig_swig_tag
> [ 11%] Built target pmt_swig_gnuradio_runtime_swig_7dd5e
> [ 11%] Built target _pmt_swig
> [ 11%] Built target runtime_swig_swig_doc
> [ 11%] Built target pmt_swig
> [ 11%] Built target _runtime_swig_swig_tag
> [ 11%] Built target runtime_swig_gnuradio_runtime_swig_7dd5e
> [ 11%] Built target _runtim

Re: [Discuss-gnuradio] GNU Radio not installing: Build Failed

2018-06-07 Thread Dave NotTelling
Check out the thread titled: install issues with c++11.  I think you two
are having the same issue with PyBombs and C++11

On Thu, Jun 7, 2018 at 10:16 AM Mir Muhammad Lodro 
wrote:

> Hi All
> i am installing GNU Radio on Linux 16.04, but it's not installing by
> saying this file requires compiler and library support for ISO 2011
> standard. This can be done by issuing -std=c++11 or -std=gnu++11  when one
> has to run single file. But here the build process is automated. I would be
> grateful if you can look into the following prompt response and guide what
> could be the possible solution. I have already installed GNU Radio on
> different machine running 16.04, but I am surprise to see the error when
> installing on another machine  and despite repeating the very same steps.
>
> The as it as prompt response is:
>
> root@pezp63763:/home/eexmmlo# pybombs prefix init -a default
> prefix/default/ -R gnuradio-default
> PyBOMBS - INFO - PyBOMBS Version 2.3.2
> PyBOMBS.prefix - WARNING - There already is a prefix in
> `/home/eexmmlo/prefix/default'.
> Continue using this path Y/[N]? y
> Alias `default' already exists, overwrite Y/[N]? y
> PyBOMBS.prefix - INFO - Installing default packages for prefix...
> PyBOMBS.prefix - INFO -
>   - gnuradio
> PyBOMBS.install_manager - INFO - Phase 1: Creating install tree and
> installing binary packages:
> Install tree:
> |
> \- gnuradio
> PyBOMBS.install_manager - INFO - Phase 2: Recursively installing source
> packages to prefix:
> PyBOMBS.install_manager - INFO - Installing package: gnuradio
> PyBOMBS.Packager.source - WARNING - Build dir already exists:
> /home/eexmmlo/prefix/default/src/gnuradio/build
> Building:(100%)
> [=]
> [  4%] Built target volk_obj
> [  4%] Built target volk
> [  4%] Built target volk_test_all
> [  4%] Built target volk_profile
> [  5%] Built target volk-config-info
> [  6%] Built target pygen_volk_python_volk_modtool_34493
> [  6%] Built target pygen_volk_python_volk_modtool_04eb6
> [  7%] Built target pmt_generated
> [  7%] Built target gnuradio-pmt
> [ 10%] Built target gnuradio-runtime
> [ 11%] Built target test-gnuradio-runtime
> [ 11%] Built target gr_runtime_test
> [ 11%] Built target test-gnuradio-pmt
> [ 11%] Built target gr_pmt_test
> [ 11%] Built target gnuradio-config-info
> [ 11%] Built target pmt_swig_swig_doc
> [ 11%] Built target _pmt_swig_swig_tag
> [ 11%] Built target pmt_swig_gnuradio_runtime_swig_7dd5e
> [ 11%] Built target _pmt_swig
> [ 11%] Built target runtime_swig_swig_doc
> [ 11%] Built target pmt_swig
> [ 11%] Built target _runtime_swig_swig_tag
> [ 11%] Built target runtime_swig_gnuradio_runtime_swig_7dd5e
> [ 11%] Built target _runtime_swig
> [ 11%] Built target pygen_gnuradio_runtime_swig_bc893
> [ 12%] Built target pygen_gnuradio_runtime_swig_c7096
> [ 13%] Built target pygen_gnuradio_runtime_python_gnuradio_0cff0
> [ 13%] Built target pygen_gnuradio_runtime_python_gnuradio_gr_c39fa
> [ 13%] Built target pygen_gnuradio_runtime_python_gnuradio_gru_e77e9
> [ 13%] Built target pygen_gnuradio_runtime_python_gnuradio_ctrlport_20832
> [ 13%] Built target pygen_gnuradio_runtime_python_gnuradio_ctrlport_c0e39
> [ 13%] Built target pygen_gnuradio_runtime_python_gnuradio_ctrlport_2dcdd
> [ 13%] Built target pygen_gnuradio_runtime_python_gnuradio_ctrlport_a87ad
> [ 13%] Built target pygen_gnuradio_runtime_python_pmt_5fb7b
> [ 13%] Built target pygen_gnuradio_runtime_examples_mp_sched_be1cd
> [ 13%] Built target pygen_gnuradio_runtime_examples_network_14cb6
> [ 13%] Built target pygen_gnuradio_runtime_examples_volk_benchmark_0f7b0
> [ 14%] Built target blocks_generated_includes
> [ 14%] Building CXX object
> gr-blocks/lib/CMakeFiles/gnuradio-blocks.dir/float_array_to_int.cc.o
> In file included from /usr/include/c++/5/cstdint:35:0,
>  from
> /home/eexmmlo/prefix/default/src/gnuradio/gr-blocks/lib/float_array_to_int.cc:30:
> /usr/include/c++/5/bits/c++0x_warning.h:32:2: error: #error This file
> requires compiler and library support for the ISO C++ 2011 standard. This
> support must be enabled with the -std=c++11 or -std=gnu++11 compiler
> options.
>  #error This file requires compiler and library support \
>   ^
> /home/eexmmlo/prefix/default/src/gnuradio/gr-blocks/lib/float_array_to_int.cc:32:14:
> error: ‘int64_t’ does not name a type
>  static const int64_t MAX_INT =  INT32_MAX;
>   ^
> /home/eexmmlo/prefix/default/src/gnuradio/gr-blocks/lib/float_array_to_int.cc:33:14:
> error: ‘int64_t’ does not name a type
>  static const int64_t MIN_INT =  INT32_MIN;
>   ^
> /home/eexmmlo/prefix/default/src/gnuradio/gr-blocks/lib/float_array_to_int.cc:
> In function ‘void float_array_to_int(const float*, int*, float, int)’:
> /home/eexmmlo/prefix/default/src/gnuradio/gr-blocks/lib/float_array_to_int.cc:39:5:
> error: ‘int64_t’ was not declared in this scope
>  int64_t r = 

[Discuss-gnuradio] GNU Radio not installing: Build Failed

2018-06-07 Thread Mir Muhammad Lodro
Hi All
i am installing GNU Radio on Linux 16.04, but it's not installing by saying
this file requires compiler and library support for ISO 2011 standard. This
can be done by issuing -std=c++11 or -std=gnu++11  when one has to run
single file. But here the build process is automated. I would be grateful
if you can look into the following prompt response and guide what could be
the possible solution. I have already installed GNU Radio on different
machine running 16.04, but I am surprise to see the error when installing
on another machine  and despite repeating the very same steps.

The as it as prompt response is:

root@pezp63763:/home/eexmmlo# pybombs prefix init -a default
prefix/default/ -R gnuradio-default
PyBOMBS - INFO - PyBOMBS Version 2.3.2
PyBOMBS.prefix - WARNING - There already is a prefix in
`/home/eexmmlo/prefix/default'.
Continue using this path Y/[N]? y
Alias `default' already exists, overwrite Y/[N]? y
PyBOMBS.prefix - INFO - Installing default packages for prefix...
PyBOMBS.prefix - INFO -
  - gnuradio
PyBOMBS.install_manager - INFO - Phase 1: Creating install tree and
installing binary packages:
Install tree:
|
\- gnuradio
PyBOMBS.install_manager - INFO - Phase 2: Recursively installing source
packages to prefix:
PyBOMBS.install_manager - INFO - Installing package: gnuradio
PyBOMBS.Packager.source - WARNING - Build dir already exists:
/home/eexmmlo/prefix/default/src/gnuradio/build
Building:(100%) [=

]
[  4%] Built target volk_obj
[  4%] Built target volk
[  4%] Built target volk_test_all
[  4%] Built target volk_profile
[  5%] Built target volk-config-info
[  6%] Built target pygen_volk_python_volk_modtool_34493
[  6%] Built target pygen_volk_python_volk_modtool_04eb6
[  7%] Built target pmt_generated
[  7%] Built target gnuradio-pmt
[ 10%] Built target gnuradio-runtime
[ 11%] Built target test-gnuradio-runtime
[ 11%] Built target gr_runtime_test
[ 11%] Built target test-gnuradio-pmt
[ 11%] Built target gr_pmt_test
[ 11%] Built target gnuradio-config-info
[ 11%] Built target pmt_swig_swig_doc
[ 11%] Built target _pmt_swig_swig_tag
[ 11%] Built target pmt_swig_gnuradio_runtime_swig_7dd5e
[ 11%] Built target _pmt_swig
[ 11%] Built target runtime_swig_swig_doc
[ 11%] Built target pmt_swig
[ 11%] Built target _runtime_swig_swig_tag
[ 11%] Built target runtime_swig_gnuradio_runtime_swig_7dd5e
[ 11%] Built target _runtime_swig
[ 11%] Built target pygen_gnuradio_runtime_swig_bc893
[ 12%] Built target pygen_gnuradio_runtime_swig_c7096
[ 13%] Built target pygen_gnuradio_runtime_python_gnuradio_0cff0
[ 13%] Built target pygen_gnuradio_runtime_python_gnuradio_gr_c39fa
[ 13%] Built target pygen_gnuradio_runtime_python_gnuradio_gru_e77e9
[ 13%] Built target pygen_gnuradio_runtime_python_gnuradio_ctrlport_20832
[ 13%] Built target pygen_gnuradio_runtime_python_gnuradio_ctrlport_c0e39
[ 13%] Built target pygen_gnuradio_runtime_python_gnuradio_ctrlport_2dcdd
[ 13%] Built target pygen_gnuradio_runtime_python_gnuradio_ctrlport_a87ad
[ 13%] Built target pygen_gnuradio_runtime_python_pmt_5fb7b
[ 13%] Built target pygen_gnuradio_runtime_examples_mp_sched_be1cd
[ 13%] Built target pygen_gnuradio_runtime_examples_network_14cb6
[ 13%] Built target pygen_gnuradio_runtime_examples_volk_benchmark_0f7b0
[ 14%] Built target blocks_generated_includes
[ 14%] Building CXX object gr-blocks/lib/CMakeFiles/
gnuradio-blocks.dir/float_array_to_int.cc.o
In file included from /usr/include/c++/5/cstdint:35:0,
 from /home/eexmmlo/prefix/default/
src/gnuradio/gr-blocks/lib/float_array_to_int.cc:30:
/usr/include/c++/5/bits/c++0x_warning.h:32:2: error: #error This file
requires compiler and library support for the ISO C++ 2011 standard. This
support must be enabled with the -std=c++11 or -std=gnu++11 compiler
options.
 #error This file requires compiler and library support \
  ^
/home/eexmmlo/prefix/default/src/gnuradio/gr-blocks/lib/float_array_to_int.cc:32:14:
error: ‘int64_t’ does not name a type
 static const int64_t MAX_INT =  INT32_MAX;
  ^
/home/eexmmlo/prefix/default/src/gnuradio/gr-blocks/lib/float_array_to_int.cc:33:14:
error: ‘int64_t’ does not name a type
 static const int64_t MIN_INT =  INT32_MIN;
  ^
/home/eexmmlo/prefix/default/src/gnuradio/gr-blocks/lib/float_array_to_int.cc:
In function ‘void float_array_to_int(const float*, int*, float, int)’:
/home/eexmmlo/prefix/default/src/gnuradio/gr-blocks/lib/float_array_to_int.cc:39:5:
error: ‘int64_t’ was not declared in this scope
 int64_t r = llrintf(scale * in[i]);
 ^
/home/eexmmlo/prefix/default/src/gnuradio/gr-blocks/lib/float_array_to_int.cc:40:9:
error: ‘r’ was not declared in this scope
 if (r < MIN_INT)
 ^
/home/eexmmlo/prefix/default/src/gnuradio/gr-blocks/lib/float_array_to_int.cc:40:13:
error: ‘MIN_INT’ was not declared in this scope
 if (r < MIN_INT)
 ^