Re: [Discuss-gnuradio] SVN Compiling Error

2007-04-30 Thread Michael Dickens
Great!  SVN trunk is working again on OSX 10.4.9 (both PPC and  
Intel) ... either clean or with "make distclean" if a bit old. - MLD


On Apr 30, 2007, at 2:02 PM, Johnathan Corgan wrote:

Fixed in the trunk, thanks...



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


Re: [Discuss-gnuradio] SVN Compiling Error

2007-04-30 Thread Johnathan Corgan
Michael Dickens wrote:

> Now that it's getting further along (a clean checkout this time),
> another issue:
> 
> should the file:  gnuradio-core/src/lib/io/io.i
> include (as written now, but doesn't compile on OSX):
> ---
> #include 
> #include 
> ---
> or (as compiles on OSX):
> ---
> #include 
> #include 

Fixed in the trunk, thanks...

-- 
Johnathan Corgan
Corgan Enterprises LLC
http://corganenterprises.com


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


Re: [Discuss-gnuradio] SVN Compiling Error

2007-04-30 Thread Michael Dickens

On Apr 30, 2007, at 12:45 PM, Robert McGwier wrote:
At Jonathan's suggestion,  I did a make distclean.  THAT brick bat  
through the window did the trick.  It now compiles and completes  
and make check works.


"make distclean" did indeed do the trick; should have tried that one  
up front.  Must be the cold (sniff, achooo) & medications.


Now that it's getting further along (a clean checkout this time),  
another issue:


should the file:  gnuradio-core/src/lib/io/io.i
include (as written now, but doesn't compile on OSX):
---
#include 
#include 
---
or (as compiles on OSX):
---
#include 
#include 
---

Here's the "svn diff"
---
Index: io.i
===
--- io.i(revision 5192)
+++ io.i(working copy)
@@ -35,8 +35,8 @@
#include 
#include 
#include 
-#include 
-#include 
+#include 
+#include 
%}



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


Re: [Discuss-gnuradio] SVN Compiling Error

2007-04-30 Thread Robert McGwier
At Jonathan's suggestion,  I did a make distclean.  THAT brick bat 
through the window did the trick.  It now compiles and completes and 
make check works.


Bob



Eric Blossom wrote:

On Mon, Apr 30, 2007 at 11:15:41AM -0400, Michael Dickens wrote:

"Making all in swig
make[3]: *** No rule to make target `../../../../gnuradio-core/src/ 
lib/runtime/gr_simple_flowgraph.i', needed by  
`gnuradio_swig_py_runtime.cc'.  Stop."


There is indeed no "gr_simple_flowgraph.i", and this is referenced in  
the file:

gnuradio-core/src/lib/swig/gnuradio_swig_py_runtime.d

While I can temporarily work around this by removing that line from  
the file, it would be better if someone corrected the issue. - MLD



This is a problem with how we compute swig dependencies.  It's got
some bugs; patches are welcome.  The file in question isn't required,
it's just that the dependency file is out of date.


I believe that this will fix it:

 $ cd 

 $ find . -name '*.d' -print0 | xargs -0 -L 1 cp /dev/null

 $ (./bootstrap && ./configure; make && make check && make install) 2>&1 | tee 
make.log


Eric


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




--
AMSAT Director and VP Engineering. Member: ARRL, AMSAT-DL,
TAPR, Packrats, NJQRP, QRP ARCI, QCWA, FRC. ARRL SDR WG Chair
"If you're going to be crazy, you have to get paid for it or
else you're going to be locked up." Hunter S. Thompson


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


Re: [Discuss-gnuradio] SVN Compiling Error

2007-04-30 Thread Johnathan Corgan
Eric Blossom wrote:

>> While I can temporarily work around this by removing that line from  
>> the file, it would be better if someone corrected the issue. - MLD

Actually, removing the line in the (5) files that contain that is the
right thing to do.  It's a generated file, created locally on your
machine, not in the repository.  You can also replace it with a zero
length file of the same name (but don't just delete it); it will then
get regenerated.

Unfortunately, this issue crops up from time to time when we make
changes that remove .i files from the repository.  Our swig dependency
handling is broken here.  A fresh check-out into a new directory doesn't
have the problem.

-- 
Johnathan Corgan
Corgan Enterprises LLC
http://corganenterprises.com


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


Re: [Discuss-gnuradio] SVN Compiling Error

2007-04-30 Thread Eric Blossom
On Mon, Apr 30, 2007 at 11:15:41AM -0400, Michael Dickens wrote:
> "Making all in swig
> make[3]: *** No rule to make target `../../../../gnuradio-core/src/ 
> lib/runtime/gr_simple_flowgraph.i', needed by  
> `gnuradio_swig_py_runtime.cc'.  Stop."
> 
> There is indeed no "gr_simple_flowgraph.i", and this is referenced in  
> the file:
> gnuradio-core/src/lib/swig/gnuradio_swig_py_runtime.d
> 
> While I can temporarily work around this by removing that line from  
> the file, it would be better if someone corrected the issue. - MLD


This is a problem with how we compute swig dependencies.  It's got
some bugs; patches are welcome.  The file in question isn't required,
it's just that the dependency file is out of date.


I believe that this will fix it:

 $ cd 

 $ find . -name '*.d' -print0 | xargs -0 -L 1 cp /dev/null

 $ (./bootstrap && ./configure; make && make check && make install) 2>&1 | tee 
make.log


Eric


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