Hi Don, Thank you for your suggestion. I set the version for libgcc1, gcc4-core, gcc4-g++ to the same (4.3.4-3) and then it seemed to work (not exactly sure why this should make it work, but I read a thread online that said all the different gcc variants should have the same version)
Best regards, -Vijay --- On Mon, 3/7/11, Don Ward <don2387w...@sprynet.com> wrote: From: Don Ward <don2387w...@sprynet.com> Subject: Re: [Discuss-gnuradio] Error while building wxPython To: Discuss-gnuradio@gnu.org Date: Monday, March 7, 2011, 9:15 AM 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 command > python 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 of > gcc 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 section > for 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 - > > Vijay@DG70JBG1 /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_OUTP > UT_TUPLE -DWXP_USE_THREAD=1 -UNDEBUG -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES > -DWXU > SINGDLL -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 > -o > build/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. _______________________________________________ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio
_______________________________________________ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio