Re: [Discuss-gnuradio] Distcheck error on latest trunk

2009-01-22 Thread Eric Blossom
On Thu, Jan 22, 2009 at 12:45:24PM -0500, Michael Dickens wrote: > On Jan 22, 2009, at 12:29 PM, Johnathan Corgan wrote: >> Looks like we're going to need to change the SWIG detection mechanism >> in the build to conditionally define SWIGPYTHONARGS based on the >> detected version. Do you want t

Re: [Discuss-gnuradio] Distcheck error on latest trunk

2009-01-22 Thread Michael Dickens
On Jan 22, 2009, at 12:29 PM, Johnathan Corgan wrote: Looks like we're going to need to change the SWIG detection mechanism in the build to conditionally define SWIGPYTHONARGS based on the detected version. Do you want to take stab at that? GNU Radio right now requires SWIG 1.3.31 or newer,

Re: [Discuss-gnuradio] Distcheck error on latest trunk

2009-01-22 Thread Johnathan Corgan
On Thu, Jan 22, 2009 at 12:02:20PM -0500, Michael Dickens wrote: > To get the output directory correct, one > now needs to specify "-outcurrentdir" (or "-outdir .", which should be > backwards compatible back to about version 1.3.20). It is clear from SVN > [1] that this change is intentional,

Re: [Discuss-gnuradio] Distcheck error on latest trunk

2009-01-22 Thread Michael Dickens
On Jan 22, 2009, at 11:43 AM, Johnathan Corgan wrote: On Thu, Jan 22, 2009 at 11:39:25AM -0500, Michael Dickens wrote: After further investigation, this is a SWIG 1.3.37 bug. I retract this statement. I'm no longer sure if it's a bug. Issuing "swig -help" in the different versions results

Re: [Discuss-gnuradio] Distcheck error on latest trunk

2009-01-22 Thread Johnathan Corgan
On Thu, Jan 22, 2009 at 11:39:25AM -0500, Michael Dickens wrote: > After further investigation, this is a SWIG 1.3.37 bug. Thanks for looking into this. What platform configuration are you using that is shipping 1.3.37? > I will submit a bug fix to the SWIG folks, since there > doesn't seem t

Re: [Discuss-gnuradio] Distcheck error on latest trunk

2009-01-22 Thread Michael Dickens
After further investigation, this is a SWIG 1.3.37 bug. According to the documentation [1], "the default output directory for these language specific files is the same directory as the generated C/C++ file" ... which is clearly being violated since the .py file is being written to the dire

Re: [Discuss-gnuradio] Distcheck error on latest trunk

2009-01-21 Thread Eric Blossom
On Wed, Jan 21, 2009 at 09:41:38PM -0500, Michael Dickens wrote: > +++ > Making all in gr-usrp > Making all in src > /opt/local/bin/swig -c++ -fvirtual -python -modern -keyword -w511 - > DOMNITHREAD_POSIX=1 > [snip] > -I/GNURadio/trunk/build/gnuradio-3.2svn/_build/usrp/host/lib/legacy

Re: [Discuss-gnuradio] Distcheck error on latest trunk

2009-01-21 Thread Johnathan Corgan
On Wed, 2009-01-21 at 21:41 -0500, Michael Dickens wrote: > I'm happy to make these changes into a test branch to verify > compatibility with older SWIG version(s) ... that is, if this is the > correct way to go. Thoughts? Comments? Suggestions? - MLD Thanks for the offer...go for it. Can

[Discuss-gnuradio] Distcheck error on latest trunk

2009-01-21 Thread Michael Dickens
+++ Making all in gr-usrp Making all in src /opt/local/bin/swig -c++ -fvirtual -python -modern -keyword -w511 - DOMNITHREAD_POSIX=1 [snip] -I/GNURadio/trunk/build/gnuradio-3.2svn/_build/usrp/host/lib/legacy - module usrp_swig -o usrp_swig.cc ../../../gr-usrp/src/usrp.i Unable to