[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Discuss-gnuradio] problems with BSD make
From: |
LRK |
Subject: |
Re: [Discuss-gnuradio] problems with BSD make |
Date: |
Sat, 9 Jul 2005 21:51:24 -0500 |
User-agent: |
Mutt/1.4.2.1i |
On Sat, Jul 09, 2005 at 02:46:42PM -0700, Eric Blossom wrote:
> On Sat, Jul 09, 2005 at 03:08:23PM -0500, LRK wrote:
> > On Sat, Jul 09, 2005 at 12:41:17PM -0700, Eric Blossom wrote:
> > > >
> > > > Is there any reason buildit could not call "gmake" rather than "make"?
> > > > Apparently Linux uses gmake anyway but FreeBSD does not.
> > >
> > > It should build using BSD "make". If it doesn't please submit a bug
> > > report providing details. Preferably with a patch that fixes the
> > > problem. [Shouldn't be too hard, there's probably somewhere a
> > > non-portable make feature slipped in.]
> >
> > Gmake is not the same as make under FreeBSD and there are a few things in
> > the Makefiles such as clean that don't work right. Thus I have to use gmake
> > which is easily done by patching the buildit file.
>
> Actually, I'm more interested in having a fix for the underlying
> problem -- the Makefile.am's that have the non-portable feature -- than
> just saying "use gmake". Part of automake's job is have this work
> with all makes. I've apparently let some non-portable rule get into
> one or more Makefile.am's.
>
> I'd appreciate your help in identifying exactly what's screwed up when
> building with BSD make.
Here's one:
using BSD make
if /usr/local/bin/swig -c++ -fvirtual -python -I../../../src/lib/runtime
-I../../../src/lib/general -I../../../src/lib/filter -I../../../src/lib/io
-I../../../src/lib/g72x -I../../../src/lib/atsc -I../../../src/lib/omnithread
-I../../../src/lib/general -I../../../src/lib/filter -I/usr/local/include
-I/usr/local/include/python2.4 -I. -MMD -MF "gnuradio_swig_python.Td" -module
gnuradio_swig_python -o gnuradio_swig_python.cc ; then mv -f
"gnuradio_swig_python.Td" "gnuradio_swig_python.d"; else rm -f
"gnuradio_swig_python.Td"; exit 1; fi
Must specify an input file. Use -help for available options.
*** Error code 1
Stop in /usr/gr/gr-build/gnuradio-core/src/lib/swig.
*** Error code 1
Stop in /usr/gr/gr-build/gnuradio-core/src/lib.
*** Error code 1
Stop in /usr/gr/gr-build/gnuradio-core/src.
*** Error code 1
Stop in /usr/gr/gr-build/gnuradio-core.
*** Error code 1
Stop in /usr/gr/gr-build/gnuradio-core.
>>> build FAILED in /usr/gr/gr-build/gnuradio-core
Using GNU make (gmake)
if /usr/local/bin/swig -c++ -fvirtual -python -I../../../src/lib/runtime
-I../../../src/lib/general -I../../../src/lib/filter -I../../../src/lib/io
-I../../../src/lib/g72x -I../../../src/lib/atsc -I../../../src/lib/omnithread
-I../../../src/lib/general -I../../../src/lib/filter -I/usr/local/include
-I/usr/local/include/python2.4 -I. -MMD -MF "gnuradio_swig_python.Td" -module
gnuradio_swig_python -o gnuradio_swig_python.cc gnuradio.i ;\
then mv -f "gnuradio_swig_python.Td" "gnuradio_swig_python.d"; else rm -f
"gnuradio_swig_python.Td"; exit 1; fi
The gnuradio.i is missing in the BSD make one.
--
LRK
address@hidden