discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] UHD/gnuradio on CentOS 7 install problems


From: Martin Braun
Subject: Re: [Discuss-gnuradio] UHD/gnuradio on CentOS 7 install problems
Date: Tue, 4 Oct 2016 14:25:19 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.3.0

PyBOMBS doesn't have an easy way of telling it that you don't need WxGUI
if you're building from a prefix recipe (i.e., -R gnuradio-default).
I'm not sure why WX doesn't compile on CentOS 7, but if it fails, it'll
take down your PyBOMBS build. Since the whole point of PyBOMBS is to
take all the installation pain away, this is definitely an issue.

I've flagged wxpython as optional in gnuradio-default and
gnuradio-stable. If you run
$ pybombs recipes update

you should get the new versions and a failing WX won't crash your build.

Cheers,
Martin

On 10/04/2016 01:56 PM, Marcus Müller wrote:
> Hi Chad,
> 
> the question I'd ask here is:
> Do you *really* need WxGUI support? It's going away with GNU Radio 3.8,
> and if you remove the Wx dependency from the GNU Radio package, GNU
> Radio will build just as well, but you'll only be presented with the
> actively maintained QtGUI.
> 
> Best regards,
> 
> Marcus
> 
> 
> On 10/04/2016 01:23 PM, Chad M. Spooner wrote:
>>
>> Forum:
>>
>> I'm trying to get gnuradio/UHD up on a CentOS 7 machine. I've made a
>> lot of progress, but have a problem I can't understand. 
>>
>> I'll provide details below, but the error message is obtained during
>> the attempted installation of wxpython. It is a compiler error. The
>> first error that appears is:
>>
>> ---------------------------------------------------------------------------
>>
>> /usr/local/gnuradio/src/wxpython/bk-deps g++ -c -o coredll_imagpng.o
>> -I./.pch/wxprec_coredll -D__WXGTK__ -DWXBUILDING -I./src/tiff
>> -I./src/jpeg -DWXUSINGDLL -DWXMAKINGDLL_CORE -DwxUSE_BASE=0 -fPIC
>> -DPIC -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES
>> -I/usr/local/gnuradio/src/wxpython/lib/wx/include/gtk2-ansi-release-2.8 
>> -I./include
>> -pthread -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include
>> -I/usr/include/atk-1.0 -I/usr/include/cairo
>> -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0
>> -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include
>> -I/usr/include/pixman-1 -I/usr/include/freetype2
>> -I/usr/include/libpng15 -I/usr/include/libdrm -I/usr/include/harfbuzz
>> -DWX_PRECOMP -pthread -Wall -Wundef -Wno-ctor-dtor-privacy -O2
>> -fno-strict-aliasing ./src/common/imagpng.cpp
>> ./src/common/imagpng.cpp: In member function ‘virtual bool
>> wxPNGHandler::LoadFile(wxImage*, wxInputStream&, bool, int)’:
>> ./src/common/imagpng.cpp:532:30: error: ‘voidp’ was not declared in
>> this scope
>> (voidp) NULL,
>> ^
>>
>> -------------------------------------------------------------------------------------------
>>
>> Machine: HP Z Book G3 running CentOS 7,
>> kernel 3.10.0-327.36.1.el7.x86_64 #1 SMP.
>>
>> PyBOMBS: Version 2.2.0
>>
>> Python: Version 3.5.2
>>
>> pip: pip 8.1.2 from /usr/local/lib/python3.5/site-packages (python 3.5)
>>
>> gcc: gcc version 4.8.5 20150623 (Red Hat 4.8.5-4) (GCC)
>>
>> Here is the command line I used to try to install gnuradio and UHD:
>>
>> pybombs prefix init /usr/local/gnuradio -a gnuradio -R gnuradio-default
>>
>> I've attached the full text log of what appeared on the screen after I
>> issued that command.
>>
>> (I've got UHD running under Ubuntu 16.04 and Fedora Core 24, but since
>> CentOS is residing on a very fast SSD and I need fast I/O, I was
>> hoping to get UHD (at least) going on CentOS too.)
>>
>> Thanks for any advice anybody might have.
>>
>> Chad
>>
>> -- 
>> Chad M. Spooner, PhD
>> NorthWest Research Associates
>> 301 Webster Street
>> Monterey, CA 93940
>> address@hidden <mailto:address@hidden>
>> cell: (831) 521 6743
>> office: (831) 582 4904
>>
>>
>> _______________________________________________
>> Discuss-gnuradio mailing list
>> address@hidden
>> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
> 
> 
> 
> _______________________________________________
> 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]