Re: [Discuss-gnuradio] New svn version

2008-12-04 Thread Johnathan Corgan
On Wed, Dec 3, 2008 at 1:40 AM, Paolo Di Monte <[EMAIL PROTECTED]> wrote:

> My distribution is Gentoo Linux.
[,,,]
> Any help would be very appreciated; just let me know what other informations
> could be useful to try to solve the problem
> thank you

Unfortunately I have not personally worked with the Gentoo "port" of
GNU Radio, so I can't really help you here.  Hopefully there are
others on the mailing list with the relevant experience.  From the
error messages, it appears that in the build environment, the default
search path for include files is missing something that is assumed to
be there by the build system (though I'm just speculating here.)

-Johnathan


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


Re: [Discuss-gnuradio] New svn version

2008-12-03 Thread Paolo Di Monte
2008/12/2 Paolo Di Monte <[EMAIL PROTECTED]>

> --
>
> On Mon, 2008-11-24 at 17:55 -0500, Catalin LACATUS wrote:
>
> >* I tried to recompile the new svn (updated 2days ago) version and I got*
> >* the following errors. I never see this error with previous version*
> >* (about 2weeks old). Please let me know how can I solve this problem.*
>
> >* gpio_swig.cc:3594:63: error: gnuradio_swig_bug_workaround.h: No such*
> >* file or directory*
>
> Apparently, the compiler cannot find the header files at compile time.
>
> While it's not clear in this specific case, often times the build system
> will get confused when an already built tree is then updated from svn.
>
> Please go to the top level of your source tree and run:
>
> $ make distclean
>
> Then you will need to go through bootstrap, configure, etc. again.
>
> If the problem persists, check out a fresh version of the trunk into a
> new directory and try it from there.
>
> Finally, if you're still stuck, let us know here.  The latest trunk is
> definitely working, as I compile it frequently on a number of different
> machines/OS combinations.
>
> -Johnathan
>
>
>
>
>  Sorry, but I'm new to the project (so I don't know if it could work 2
weeks ago) and having the same problem Catalin has.
My distribution is Gentoo Linux.
I tried both to follow the instructions on your wiki or to use the specific
ebuild you can find in attachment.
I also tried to run "make distclean", to change to a new directory or to
remove it and resync.

The stable version of GNU Radio installs without any problem, but I wanted
to try GRC and, from what I read, it's necessary to use the current
development version.
Any help would be very appreciated; just let me know what other informations
could be useful to try to solve the problem
thank you

Paolo

>
>
>
> # Copyright 1999-2007 Gentoo Foundation
> # Distributed under the terms of the GNU General Public License v2
> # $Header: $
>
> inherit flag-o-matic eutils subversion
>
> DESCRIPTION="GNU Radio SVN Latest"
> LICENSE="GPL-2"
> HOMEPAGE="http://www.gnuradio.org/trac";
>
> ESVN_REPO_URI="http://gnuradio.org/svn/gnuradio/trunk";
> #ESVN_PROJECT="${PN/-svn}"
> ESVN_BOOTSTRAP="cd ${S} && \
>./bootstrap"
>
> SLOT="0"
> IUSE="usrp usb doc jack wxwindows alsa sdl portaudio debug examples"
> KEYWORDS="x86 amd64"
>
>
> DEPEND="virtual/libc
>>=dev-lang/python-2.3
>>=dev-lang/swig-1.3.31
>>=sci-libs/fftw-3.0
>>=dev-util/cppunit-1.9.14
>dev-libs/boost
>dev-python/numeric
>wxwindows? ( >=dev-python/wxpython-2.5.2.7 )
>alsa? ( media-libs/alsa-lib
>media-sound/alsa-headers )
>usb? ( dev-libs/libusb )
>sdl? ( media-libs/libsdl )
>usrp? ( >=dev-embedded/sdcc-2.4.0 )
>doc? ( app-doc/doxygen
>   app-text/xmlto )
>jack? ( media-sound/jack-audio-connection-kit )
>portaudio? ( >=media-libs/portaudio-19 )"
> #   !gnuradio"
>
> pkg_setup() {
>elog "This ebuild does not currently install comedi dependencies."
>elog "If you require the comedi component you will need to install"
>elog "the neccessary libraries yourself prior to emerging gnuradio."
>
>if !(has_version "cross-avr/avr-libc") ; then
>
>elog "In order to build the ezdop and gr-ezdop components
> you will"
>elog "need avr-gcc and the corresponding binutils. This
> toolchain"
>elog "can be emerged with crossdev as follows:"
>elog "# emerge crossdev"
>elog "# crossdev -t avr"
>elog ""
>elog "You will need to emerge gnuradio after crossdev has
> finished"
>elog "installing the avr toolchain for the ezdop components
> to build."
>fi
>
>epause 5
> }
>
>
> src_unpack() {
>subversion_src_unpack
>TZ=UTC svn log -v "${ESVN_REPO_URI}" >ChangeLog
> }
>
>
> src_test()
> {
>emake check || die "make check failed"
> }
>
> src_install() {
>make install DESTDIR="${D}" || die "make install failed"
>
># Install examples
>if use examples ; then
>mkdir -p ${D}/usr/share/doc/${PF}/examples/
>cp -r gnuradio-examples/* ${D}/usr/share/doc/${PF}/examples/
>fi
> }
>
>
>
>
>
>


-- 

Pursuant to Legislative Decree No. 196/2003, you are hereby informed that
this message contains confidential information intended only for the use of
the addressee.

If you are not the addressee, and have received this message by mistake,
please delete it and immediately notify us. You may not copy or disseminate
this message to anyone.

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


Re: [Discuss-gnuradio] New svn version

2008-11-24 Thread Johnathan Corgan
On Mon, 2008-11-24 at 17:55 -0500, Catalin LACATUS wrote:

> I tried to recompile the new svn (updated 2days ago) version and I got
> the following errors. I never see this error with previous version
> (about 2weeks old). Please let me know how can I solve this problem.

> gpio_swig.cc:3594:63: error: gnuradio_swig_bug_workaround.h: No such
> file or directory

Apparently, the compiler cannot find the header files at compile time.

While it's not clear in this specific case, often times the build system
will get confused when an already built tree is then updated from svn.

Please go to the top level of your source tree and run:

$ make distclean

Then you will need to go through bootstrap, configure, etc. again.

If the problem persists, check out a fresh version of the trunk into a
new directory and try it from there.

Finally, if you're still stuck, let us know here.  The latest trunk is
definitely working, as I compile it frequently on a number of different
machines/OS combinations.

-Johnathan



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


[Discuss-gnuradio] New svn version

2008-11-24 Thread Catalin LACATUS
Hello,

I tried to recompile the new svn (updated 2days ago) version and I got the 
following errors. I never see this error with previous version (about 2weeks 
old). Please let me know how can I solve this problem.

Thank you,

Catalin

**Error***


gpio_swig.cc:3594:63: error: gnuradio_swig_bug_workaround.h: No such file or 
directory
gpio_swig.cc: In function ‘void* 
_p_gr_sync_decimatorTo_p_gr_basic_block(void*)’:
gpio_swig.cc:4466: error: ‘gr_sync_decimator’ was not declared in this scope
gpio_swig.cc:4466: error: expected primary-expression before ‘void’
gpio_swig.cc:4466: error: expected `)' before ‘void’
gpio_swig.cc: In function ‘void* 
_p_gr_sync_interpolatorTo_p_gr_basic_block(void*)’:
gpio_swig.cc:4481: error: ‘gr_sync_interpolator’ was not declared in this scope
gpio_swig.cc:4481: error: expected primary-expression before ‘void’
gpio_swig.cc:4481: error: expected `)' before ‘void’
gpio_swig.cc: In function ‘void* _p_gr_sync_decimatorTo_p_gr_sync_block(void*)’:
gpio_swig.cc:4487: error: ‘gr_sync_decimator’ was not declared in this scope
gpio_swig.cc:4487: error: expected primary-expression before ‘void’
gpio_swig.cc:4487: error: expected `)' before ‘void’
gpio_swig.cc: In function ‘void* 
_p_gr_sync_interpolatorTo_p_gr_sync_block(void*)’:
gpio_swig.cc:4493: error: ‘gr_sync_interpolator’ was not declared in this scope
gpio_swig.cc:4493: error: expected primary-expression before ‘void’
gpio_swig.cc:4493: error: expected `)' before ‘void’
gpio_swig.cc: In function ‘void* _p_gr_sync_decimatorTo_p_gr_block(void*)’:
gpio_swig.cc:4496: error: ‘gr_sync_decimator’ was not declared in this scope
gpio_swig.cc:4496: error: expected primary-expression before ‘void’
gpio_swig.cc:4496: error: expected `)' before ‘void’
gpio_swig.cc: In function ‘void* _p_gr_sync_interpolatorTo_p_gr_block(void*)’:
gpio_swig.cc:4505: error: ‘gr_sync_interpolator’ was not declared in this scope
gpio_swig.cc:4505: error: expected primary-expression before ‘void’
gpio_swig.cc:4505: error: expected `)' before ‘void’
make[5]: *** [gpio_swig.lo] Error 1
make[5]: Leaving directory `/home/gnuradio/gnuradio/gr-gpio/src/lib'
make[4]: *** [all] Error 2
make[4]: Leaving directory `/home/gnuradio/gnuradio/gr-gpio/src/lib'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/gnuradio/gnuradio/gr-gpio/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/gnuradio/gnuradio/gr-gpio'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/gnuradio/gnuradio'
make: *** [all] Error 2


**



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