|
From: | Don Ward |
Subject: | Re: [Discuss-gnuradio] Error while building wxPython |
Date: | Mon, 7 Mar 2011 09:15:39 -0500 |
Vijay Pillai wrote:
I am following the instructions at (Step 9) available at http://gnuradio.org/redmine/wiki/gnuradio/WxPythonCygwin In the previous step, I am able to generate the test window so I assume everything is working to that point. After running the following commandpython setup.py build_ext --inplace WXPORT=msw COMPILER=cygwin BUILD_GLCANVAS=0 BUILD_GIZMOS=0 UNICODE=0 I get an error. I have tried various things such as use different versions ofgcc without much success.
I highly recommend picking one version of gcc and using that version only.If you switch versions, you should probably start over, recompiling everything.
I also changed the ownership of directories as was noted in the tips sectionfor installing on windows. The error that I get is attached at the end and seems to be related to gcc. What could be going wrong here? Error as follows - address@hidden /usr/src/wxPython-src-2.8.11.0/wxPython$ python setup.py build_ext --inplace WXPORT=msw COMPILER=cygwin BUILD_GLCANVAS=0 BUILD_GIZMOS=0 UNICODE=0 WARNING: WXWIN not set in environment. Assuming '..' Found wx-config: /usr/local/bin/wx-config Using flags: --toolkit=msw --unicode=no --version=2.8 Preparing CORE... Preparing STC... running build_ext building '_core_' extension gcc -mcygwin -mdll -O -Wall -DSWIG_TYPE_TABLE=_wxPython_table -DSWIG_PYTHON_OUTPUT_TUPLE -DWXP_USE_THREAD=1 -UNDEBUG -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -DWXUSINGDLL -D__WXMSW__ -Iinclude -Isrc -I/usr/local/lib/wx/include/msw-ansi-release-2.8 -I/usr/local/include/wx-2.8 -I/usr/include/python2.6 -c src/helpers.cpp -obuild/temp.cygwin-1.7.8-i686-2.6/src/helpers.o -O3 gcc: error trying to exec 'cc1plus': execvp: No such file or directory error: command 'gcc' failed with exit status 1
This seems to say that part of your gcc installation is missing. Use the command "cygcheck -c" to see what gcc is installed and to verify that the files required are present. Remove and reinstall any damaged packages. Remove any gcc/g++ versions other than the one you choose to use (only 3.4.4-999 is currently known to work with GNU Radio). Be prepared to rebuild any dependencies that you might have built with another compiler. -- Don W.
[Prev in Thread] | Current Thread | [Next in Thread] |