G'day, ok, the problems appears to be that pkgsrc touches some files in the gnuradio-core/src/lib/general directory triggering the execution of the generate_all.py script which imports generate_common.py.
generate_common.py contains a list of files reg_roots = [ 'gr_add_const_XX', 'gr_multiply_const_XX', 'gr_add_XX', 'gr_sub_XX', 'gr_multiply_XX', 'gr_divide_XX', 'gr_mute_XX', 'gr_add_vXX', 'gr_multiply_vXX', 'gr_add_const_vXX', 'gr_multiply_const_vXX' ] It appars that those ending with _vXX are nolonger part of the distribution and may be a leftover from earlier distribution - old skeletons? :-) generate_all is also executed after a "gmake clean" since it removes several files that are supplied in the tarball, which need to be regenerated, causing the same problem. I removed the files ending in _vXX from the list in generate_common.py and successfully built the distribution. Can someone in the know verify this? Can we get it fixed for the official release tarball? Thanks in advance, cheerio Berndt On Thursday 09 November 2006 17:00, Berndt Josef Wulf wrote: > I've tried this version in pkgsrc and I'm getting the following error: > > gmake[5]: Entering directory > `/usr/pkgsrc/ham/gnuradio-core/work/gnuradio-3.0.1/gnuradio-core/src/lib/ge >neral' PYTHONPATH=../../../../gnuradio-core/src/python srcdir=. > ./generate_all.py Traceback (most recent call last): > File "./generate_all.py", line 33, in ? > generate_all () > File "./generate_all.py", line 28, in generate_all > generate_common.generate () > > File > "/usr/pkgsrc/ham/gnuradio-core/work/gnuradio-3.0.1/gnuradio-core/src/lib/ge >neral/generate_common.py", line 82, in generate > expand_h_cc_i (r, s) > > File > "/usr/pkgsrc/ham/gnuradio-core/work/gnuradio-3.0.1/gnuradio-core/src/lib/ge >neral/generate_common.py", line 68, in expand_h_cc_i > expand_template (d, root + '.h.t') > > File > "/usr/pkgsrc/ham/gnuradio-core/work/gnuradio-3.0.1/gnuradio-core/src/python >/build_utils.py", line 55, in expand_template > template = open_src (template_filename, 'r') > > File > "/usr/pkgsrc/ham/gnuradio-core/work/gnuradio-3.0.1/gnuradio-core/src/python >/build_utils.py", line 106, in open_src > return open (os.path.join (srcdir, name), mode) > IOError: [Errno 2] No such file or directory: './gr_add_vXX.h.t' > gmake[5]: *** [gr_add_cc.h] Error 1 > > The configuration string is shown > > ./configure --enable-doxygen --enable-dot --enable-html-docs > --sysconfdir=/usr/pkg/share/examples --disable-all-components > --enable-gnuradio-core --without-libintl-prefix --prefix=/usr/pkg > --host=i386--netbsdelf --mandir=/usr/pkg/man > > builds fine outside pkgsrc (1st pass) but fails in pkgsrc. The same > behavior is observed after "gmake clean" and building a second time (2nd > pass). Are these old skeletons of previous versions? What's gives? > > cheerio Berndt > > On Thursday 09 November 2006 02:38, Johnathan Corgan wrote: > > Unofficial tarballs for GNU Radio release 3.0.1 are available at: > > > > http://gnuradio.org/releases/gnuradio/gnuradio-3.0.1.tar.gz > > http://gnuradio.org/releases/gnuradio/gr-howto-write-a-block-3.0.1.tar.gz > > > > The release history and changes are available at: > > > > http://gnuradio.org/trac/wiki/Release3.0Branch > > > > Build instructions for GNU Radio 3.0 are at: > > > > http://gnuradio.org/trac/wiki/BuildGuide > > > > You may customize your configuration options according to: > > > > http://gnuradio.org/trac/wiki/BuildConfiguration > > > > Many thanks to those who tested the svn repository and release > > candidate. > > > > These tarballs will be uploaded to the GNU Project, signed, and made > > available on the official download mirrors in the next few days. > > _______________________________________________ > 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