discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] Compilation from CVS sources


From: Eric Blossom
Subject: Re: [Discuss-gnuradio] Compilation from CVS sources
Date: Mon, 8 Sep 2003 13:37:36 -0700
User-agent: Mutt/1.4.1i

On Sun, Sep 07, 2003 at 10:14:43PM +0530, Ramakrishnan Muthukrishnan wrote:
> 
> 
> I checked out the CVS copy of gnuradio today. When I do
> ./bootstrap I get the following errors. Any idea, where I
> am goofing up ? It looks like I am the only person having 
> compilation problems with gnuradio... :-(
> 
> astra:~/gnuradio$ ./bootstrap
> aclocal: macro `AM_PATH_PYTHON' required but not defined
> configure.ac: 26: required file `./config.h.in' not found
> src/pspectra/lib/Makefile.am:31: variable `QT_LIBS' not defined
...

Not sure what your problem is.  Do you have multiple versions of
automake, autoconf or libtool on your system?  Are you getting the
correct ones?  Is your PATH correct?

This is what I get when building from a fresh check out of the CVS
tree.  I'm running under Mandrake 9.1, with newer versions of 
autoconf, automake and libtool installed in /home/bleeding

$ autoconf --version
autoconf (GNU Autoconf) 2.57
Written by David J. MacKenzie and Akim Demaille.

Copyright 2002 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

$ automake --version
automake (GNU automake) 1.7.5
Written by Tom Tromey <address@hidden>.

Copyright 2003 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

$ libtool --version
ltmain.sh (GNU libtool) 1.5 (1.1220 2003/04/05 19:32:58)

Copyright (C) 2003  Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

$ gcc --version
gcc (GCC) 3.2.2 (Mandrake Linux 9.1 3.2.2-3mdk)
Copyright (C) 2002 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

$ ./bootstrap
configure.ac: installing `./missing'
configure.ac:26: required file `./config.h.in' not found
src/gnu/atsc/Makefile.am: installing `./depcomp'
src/gnu/scripting/Makefile.am: installing `./py-compile'
configure.in: installing `config/missing'
examples/hierarchy/Makefile.am: installing `config/depcomp'
configure.in:37: required file `include/config.h.in' not found

# FYI, the missing files are normal...

$ ./configure --enable-maintainer-mode

checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... yes
checking for style of include used by make... GNU
checking for egrep... grep -E
checking for ANSI C header files... no
checking for sys/types.h... no
checking for sys/stat.h... no
checking for stdlib.h... no
checking for string.h... no
checking for memory.h... no
checking for strings.h... no
checking for inttypes.h... no
checking for stdint.h... no
checking for unistd.h... no
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for AIX... no
checking for library containing strerror... none required
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking for ANSI C header files... (cached) no
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking how to run the C++ preprocessor... g++ -E
checking whether C++ has bool... yes
checking whether C++ has buggy scoping in for-loops... no
checking whether user wants assertions... yes
checking whether user wants warnings... yes
checking whether gcc accepts -Wall... yes
checking whether g++ accepts -Wall... yes
checking whether g++ accepts -Woverloaded-virtual... yes
checking whether user wants gprof... no
checking whether user wants prof... no
checking whether ln -s works... yes
checking whether make sets $(MAKE)... (cached) yes
checking for a BSD-compatible install... /usr/bin/install -c
checking for a sed that does not truncate output... /bin/sed
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking how to recognise dependent libraries... pass_all
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for g77... g77
checking whether we are using the GNU Fortran 77 compiler... yes
checking whether g77 accepts -g... yes
checking the maximum length of command line arguments... 32768
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc static flag  works... yes
checking if gcc supports -fno-rtti -fno-exceptions... yes
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... GNU/Linux ld.so
appending configuration tag "F77" to libtool
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for g77 option to produce PIC... -fPIC
checking if g77 PIC flag -fPIC works... yes
checking if g77 supports -c -o file.o... yes
checking whether the g77 linker (/usr/bin/ld) supports shared libraries... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking for python... /usr/bin/python
checking for python version... 2.2
checking for python platform... linux-i386
checking for python script directory... ${prefix}/lib/python2.2/site-packages
checking for python extension module directory... 
${exec_prefix}/lib/python2.2/site-packages
checking for Python include path... /usr/include/python2.2
checking for swig... /home/bleeding/bin/swig
checking for SWIG version... 1.3.19
checking for socket in -lsocket... no
checking for the pthreads library -lpthreads... no
checking whether pthreads work without any flags... no
checking whether pthreads work with -Kthread... no
checking whether pthreads work with -kthread... no
checking for the pthreads library -llthread... no
checking whether pthreads work with -pthread... yes
checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
checking if more special flags are required for pthreads... no
checking for cc_r... gcc
checking for ANSI C header files... (cached) no
checking for sys/wait.h that is POSIX.1 compatible... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking for strings.h... (cached) no
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for unistd.h... (cached) no
checking linux/ppdev.h usability... yes
checking linux/ppdev.h presence... yes
checking for linux/ppdev.h... yes
checking sys/io.h usability... yes
checking sys/io.h presence... yes
checking for sys/io.h... yes
checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking for Qt... yes:
    QT_CXXFLAGS=-I/usr/lib/qt3/include
    QT_DIR=/usr/lib/qt3
    QT_LIBS=-L/usr/lib/qt3/lib -lqt-mt  -lSM -lICE  -L/usr/X11R6/lib -lX11 
-lXext -lXmu -lXt -lXi 
    QT_UIC=/usr/lib/qt3/bin/uic
    QT_MOC=/usr/lib/qt3/bin/moc
checking correct functioning of Qt installation... success
checking whether to enable GUI... yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for size_t... yes
checking whether time.h and sys/time.h may both be included... yes
checking for working alloca.h... yes
checking for alloca... yes
checking for stdlib.h... (cached) no
checking for unistd.h... (cached) no
checking for getpagesize... yes
checking for working mmap... yes
checking for function prototypes... yes
checking whether setvbuf arguments are reversed... no
checking for vprintf... yes
checking for _doprnt... no
checking for gettimeofday... yes
checking for select... yes
checking for socket... yes
checking for strcspn... yes
checking for strerror... yes
checking for strspn... yes
checking for nanosleep... yes
checking for doxygen... /usr/bin/doxygen
checking for dot... no
checking for machine dependent speedups... x86
checking for mc4020 A/D driver include file... no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config/Makefile
config.status: creating doc/Doxyfile
config.status: creating doc/Makefile
config.status: creating doc/other/Makefile
config.status: creating src/Makefile
config.status: creating src/data_files/Makefile
config.status: creating src/pspectra/Makefile
config.status: creating src/pspectra/amps/Makefile
config.status: creating src/pspectra/doc/Makefile
config.status: creating src/pspectra/lib/Makefile
config.status: creating src/pspectra/lib/audio/Makefile
config.status: creating src/pspectra/lib/perf/Makefile
config.status: creating src/pspectra/lib/vr/Makefile
config.status: creating src/pspectra/lib/vrgui/Makefile
config.status: creating src/pspectra/lib/vrio/Makefile
config.status: creating src/pspectra/lib/vrio/needs-work/Makefile
config.status: creating src/pspectra/lib/vrp/Makefile
config.status: creating src/pspectra/lib/vrp/needs-work/Makefile
config.status: creating src/pspectra/needs-work/Makefile
config.status: creating src/pspectra/needs-work/guptest/Makefile
config.status: creating src/pspectra/needs-work/mmmb/Makefile
config.status: creating src/pspectra/needs-work/multichannel/Makefile
config.status: creating src/pspectra/needs-work/perf/Makefile
config.status: creating src/pspectra/needs-work/rtp/Makefile
config.status: creating src/pspectra/needs-work/scope/Makefile
config.status: creating src/pspectra/needs-work/sim/Makefile
config.status: creating src/pspectra/needs-work/test/Makefile
config.status: creating src/pspectra/pam/Makefile
config.status: creating src/utils/Makefile
config.status: creating src/gnu/Makefile
config.status: creating src/gnu/atsc/Makefile
config.status: creating src/gnu/examples/Makefile
config.status: creating src/gnu/codecon/Makefile
config.status: creating src/gnu/gen_interpolator_taps/Makefile
config.status: creating src/gnu/lib/Makefile
config.status: creating src/gnu/lib/gr/Makefile
config.status: creating src/gnu/lib/grbase/Makefile
config.status: creating src/gnu/lib/grgui/Makefile
config.status: creating src/gnu/lib/grio/Makefile
config.status: creating src/gnu/lib/dtv/Makefile
config.status: creating src/gnu/lib/reed-solomon/Makefile
config.status: creating src/gnu/lib/omnithread/Makefile
config.status: creating src/gnu/scripting/Makefile
config.status: creating src/gnu/tests/Makefile
config.status: creating config.h
config.status: executing depfiles commands
configure: configuring in cppunit
configure: running /bin/sh './configure' --prefix=/usr/local/gnuradio  
'--enable-maintainer-mode' --cache-file=/dev/null --srcdir=.
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking dependency style of gcc... gcc3
checking for a sed that does not truncate output... /bin/sed
checking for egrep... grep -E
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking how to run the C++ preprocessor... g++ -E
checking for g77... g77
checking whether we are using the GNU Fortran 77 compiler... yes
checking whether g77 accepts -g... yes
checking the maximum length of command line arguments... 32768
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc static flag  works... yes
checking if gcc supports -fno-rtti -fno-exceptions... yes
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... GNU/Linux ld.so
appending configuration tag "F77" to libtool
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for g77 option to produce PIC... -fPIC
checking if g77 PIC flag -fPIC works... yes
checking if g77 supports -c -o file.o... yes
checking whether the g77 linker (/usr/bin/ld) supports shared libraries... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking for a BSD-compatible install... /usr/bin/install -c
checking whether make sets $(MAKE)... (cached) yes
checking whether we are using the GNU C++ compiler... (cached) yes
checking whether g++ accepts -g... (cached) yes
checking dependency style of g++... (cached) gcc3
checking for doxygen... /usr/bin/doxygen
checking for dot... no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating cppunit.spec
config.status: creating cppunit-config
config.status: creating config/Makefile
config.status: creating src/Makefile
config.status: creating src/cppunit/Makefile
config.status: creating include/Makefile
config.status: creating include/cppunit/Makefile
config.status: creating include/cppunit/extensions/Makefile
config.status: creating doc/Makefile
config.status: creating doc/Doxyfile
config.status: creating examples/Makefile
config.status: creating examples/hierarchy/Makefile
config.status: creating include/config.h
config.status: executing depfiles commands
config.status: executing default commands

# Then finally the make (highly abbreviated...)

$ make

make  all-recursive
make[1]: Entering directory `/home/eb/test/gnuradio'
Making all in config
make[2]: Entering directory `/home/eb/test/gnuradio/config'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/eb/test/gnuradio/config'
Making all in cppunit
make[2]: Entering directory `/home/eb/test/gnuradio/cppunit'
Making all in config
make[3]: Entering directory `/home/eb/test/gnuradio/cppunit/config'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/eb/test/gnuradio/cppunit/config'
Making all in src
make[3]: Entering directory `/home/eb/test/gnuradio/cppunit/src'
Making all in cppunit
make[4]: Entering directory `/home/eb/test/gnuradio/cppunit/src/cppunit'
if /bin/sh ../../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. 
-I../../include -I./../../include    -O2 -MT TestAssert.lo -MD -MP -MF 
".deps/TestAssert.Tpo" \
  -c -o TestAssert.lo `test -f 'TestAssert.cpp' || echo './'`TestAssert.cpp; \
then mv -f ".deps/TestAssert.Tpo" ".deps/TestAssert.Plo"; \
else rm -f ".deps/TestAssert.Tpo"; exit 1; \
fi
mkdir .libs
 g++ -DHAVE_CONFIG_H -I. -I. -I../../include -I./../../include -O2 -MT 
TestAssert.lo -MD -MP -MF .deps/TestAssert.Tpo -c TestAssert.cpp  -fPIC -DPIC 
-o .libs/TestAssert.o
 g++ -DHAVE_CONFIG_H -I. -I. -I../../include -I./../../include -O2 -MT 
TestAssert.lo -MD -MP -MF .deps/TestAssert.Tpo -c TestAssert.cpp -o 
TestAssert.o >/dev/null 2>&1
if /bin/sh ../../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. 
-I../../include -I./../../include    -O2 -MT TestCase.lo -MD -MP -MF 
".deps/TestCase.Tpo" \
  -c -o TestCase.lo `test -f 'TestCase.cpp' || echo './'`TestCase.cpp; \
then mv -f ".deps/TestCase.Tpo" ".deps/TestCase.Plo"; \
else rm -f ".deps/TestCase.Tpo"; exit 1; \
fi
 g++ -DHAVE_CONFIG_H -I. -I. -I../../include -I./../../include -O2 -MT 
TestCase.lo -MD -MP -MF .deps/TestCase.Tpo -c TestCase.cpp  -fPIC -DPIC -o 
.libs/TestCase.o
 g++ -DHAVE_CONFIG_H -I. -I. -I../../include -I./../../include -O2 -MT 
TestCase.lo -MD -MP -MF .deps/TestCase.Tpo -c TestCase.cpp -o TestCase.o 
>/dev/null 2>&1
if /bin/sh ../../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. 
-I../../include -I./../../include    -O2 -MT TestSuite.lo -MD -MP -MF 
".deps/TestSuite.Tpo" \
  -c -o TestSuite.lo `test -f 'TestSuite.cpp' || echo './'`TestSuite.cpp; \
then mv -f ".deps/TestSuite.Tpo" ".deps/TestSuite.Plo"; \
else rm -f ".deps/TestSuite.Tpo"; exit 1; \
fi

[ Giant snip... ]

Generating file member index...
Generating namespace member index...
Generating page index...
Generating graph info page...
Generating search index...
Generating style sheet...
make[3]: Leaving directory `/home/eb/test/gnuradio/doc'
make[2]: Leaving directory `/home/eb/test/gnuradio/doc'
make[2]: Entering directory `/home/eb/test/gnuradio'
make[2]: Nothing to be done for `all-am'.
make[2]: Leaving directory `/home/eb/test/gnuradio'
make[1]: Leaving directory `/home/eb/test/gnuradio'


Hope this helps...

Eric




reply via email to

[Prev in Thread] Current Thread [Next in Thread]