Auto* again

Hi,
I am trying to compile GNURadio on FreeBSD but once more auto* is making
things very difficult…

Can anyone tell me how to decode/fix the following errors?
I’ve tried deleting all copies of auto* and libtool and installing the
latest, as well as reinstalling the ports mentioned (xmms, libart, etc)

Are the configure scripts in GNURadio for a specific version of auto*?
If so, which ones? :slight_smile:

[inchoate 12:18] ~/projects/gnuradio/gnuradio-core >aclocal19 -I config
/usr/X11R6/share/aclocal/xmms.m4:17: warning: underquoted definition of
XMMS_TEST_VERSION
run info ‘(automake)Extending aclocal’
or see
http://sources.redhat.com/automake/automake.html#Extending-aclocal
/usr/X11R6/share/aclocal/xmms.m4:62: warning: underquoted definition of
AM_PATH_XMMS
/usr/X11R6/share/aclocal/libart.m4:11: warning: underquoted definition
of AM_PATH_LIBART
/usr/X11R6/share/aclocal/imlib.m4:9: warning: underquoted definition of
AM_PATH_IMLIB
/usr/X11R6/share/aclocal/imlib.m4:167: warning: underquoted definition
of AM_PATH_GDK_IMLIB
/usr/X11R6/share/aclocal/gtk.m4:7: warning: underquoted definition of
AM_PATH_GTK
/usr/X11R6/share/aclocal/gdk-pixbuf.m4:12: warning: underquoted
definition of AM_PATH_GDK_PIXBUF
configure.ac:58: warning: AC_PROG_LIBTOOL is m4_require’d but is not
m4_defun’d
configure.ac:58: AC_PROG_LIBTOOL is required by…
config/gr_scripting.m4:30: GR_SCRIPTING is expanded from…
configure.ac:58: the top level
configure.ac:115: warning: AC_PROG_LD is m4_require’d but is not
m4_defun’d
configure.ac:115: AC_PROG_LD is required by…
config/gr_libgnuradio_core_extra_ldflags.m4:40:
GR_LIBGNURADIO_CORE_EXTRA_LDFLAGS is expanded from…
configure.ac:115: the top level

[inchoate 12:18] ~/projects/gnuradio/gnuradio-core >autoconf259
configure.ac:58: warning: AC_PROG_LIBTOOL is m4_require’d but is not
m4_defun’d
configure.ac:58: AC_PROG_LIBTOOL is required by…
config/gr_scripting.m4:30: GR_SCRIPTING is expanded from…
configure.ac:58: the top level
configure.ac:115: warning: AC_PROG_LD is m4_require’d but is not
m4_defun’d
configure.ac:115: AC_PROG_LD is required by…
config/gr_libgnuradio_core_extra_ldflags.m4:40:
GR_LIBGNURADIO_CORE_EXTRA_LDFLAGS is expanded from…
configure.ac:115: the top level
configure.ac:51: error: possibly undefined macro: AC_LIBTOOL_WIN32_DLL
If this token and others are legitimate, please use
m4_pattern_allow.
See the Autoconf documentation.
configure.ac:53: error: possibly undefined macro: AC_ENABLE_SHARED
configure.ac:54: error: possibly undefined macro: AC_DISABLE_STATIC
configure.ac:55: error: possibly undefined macro: AC_PROG_LIBTOOL
configure:9761: error: possibly undefined macro: AC_PROG_LD

[inchoate 12:18] ~/projects/gnuradio/gnuradio-core >autoheader259
configure.ac:58: warning: AC_PROG_LIBTOOL is m4_require’d but is not
m4_defun’d
configure.ac:58: AC_PROG_LIBTOOL is required by…
config/gr_scripting.m4:30: GR_SCRIPTING is expanded from…
configure.ac:58: the top level
configure.ac:115: warning: AC_PROG_LD is m4_require’d but is not
m4_defun’d
configure.ac:115: AC_PROG_LD is required by…
config/gr_libgnuradio_core_extra_ldflags.m4:40:
GR_LIBGNURADIO_CORE_EXTRA_LDFLAGS is expanded from…
configure.ac:115: the top level

[inchoate 12:18] ~/projects/gnuradio/gnuradio-core >libtoolize
–automake

[inchoate 12:19] ~/projects/gnuradio/gnuradio-core >automake19
–add-missing
configure.ac:58: warning: AC_PROG_LIBTOOL is m4_require’d but is not
m4_defun’d
configure.ac:58: AC_PROG_LIBTOOL is required by…
config/gr_scripting.m4:30: GR_SCRIPTING is expanded from…
configure.ac:58: the top level
configure.ac:115: warning: AC_PROG_LD is m4_require’d but is not
m4_defun’d
configure.ac:115: AC_PROG_LD is required by…
config/gr_libgnuradio_core_extra_ldflags.m4:40:
GR_LIBGNURADIO_CORE_EXTRA_LDFLAGS is expanded from…
configure.ac:115: the top level
src/lib/Makefile.am:32: Libtool library used but LIBTOOL' is undefined src/lib/Makefile.am:32: src/lib/Makefile.am:32: The usual way to define LIBTOOL’ is to add
AC_PROG_LIBTOOL' src/lib/Makefile.am:32: to configure.ac’ and run aclocal' and autoconf’ again.
src/lib/filter/Makefile.am:31: Libtool library used but LIBTOOL' is undefined src/lib/filter/Makefile.am:31: src/lib/filter/Makefile.am:31: The usual way to define LIBTOOL’ is to
add AC_PROG_LIBTOOL' src/lib/filter/Makefile.am:31: to configure.ac’ and run aclocal' and autoconf’ again.
src/lib/g72x/Makefile.am:24: Libtool library used but LIBTOOL' is undefined src/lib/g72x/Makefile.am:24: src/lib/g72x/Makefile.am:24: The usual way to define LIBTOOL’ is to add
AC_PROG_LIBTOOL' src/lib/g72x/Makefile.am:24: to configure.ac’ and run aclocal' and autoconf’ again.
src/lib/general/Makefile.am:26: Libtool library used but LIBTOOL' is undefined src/lib/general/Makefile.am:26: src/lib/general/Makefile.am:26: The usual way to define LIBTOOL’ is to
add AC_PROG_LIBTOOL' src/lib/general/Makefile.am:26: to configure.ac’ and run aclocal' and autoconf’ again.
src/lib/io/Makefile.am:27: Libtool library used but LIBTOOL' is undefined src/lib/io/Makefile.am:27: src/lib/io/Makefile.am:27: The usual way to define LIBTOOL’ is to add
AC_PROG_LIBTOOL' src/lib/io/Makefile.am:27: to configure.ac’ and run aclocal' and autoconf’ again.
src/lib/missing/Makefile.am:30: Libtool library used but LIBTOOL' is undefined src/lib/missing/Makefile.am:30: src/lib/missing/Makefile.am:30: The usual way to define LIBTOOL’ is to
add AC_PROG_LIBTOOL' src/lib/missing/Makefile.am:30: to configure.ac’ and run aclocal' and autoconf’ again.
src/lib/omnithread/Makefile.am:32: Libtool library used but LIBTOOL' is undefined src/lib/omnithread/Makefile.am:32: src/lib/omnithread/Makefile.am:32: The usual way to define LIBTOOL’ is
to add AC_PROG_LIBTOOL' src/lib/omnithread/Makefile.am:32: to configure.ac’ and run aclocal' and autoconf’ again.
src/lib/reed-solomon/Makefile.am:35: Libtool library used but LIBTOOL' is undefined src/lib/reed-solomon/Makefile.am:35: src/lib/reed-solomon/Makefile.am:35: The usual way to define LIBTOOL’
is to add AC_PROG_LIBTOOL' src/lib/reed-solomon/Makefile.am:35: to configure.ac’ and run aclocal' and autoconf’ again.
src/lib/runtime/Makefile.am:26: Libtool library used but LIBTOOL' is undefined src/lib/runtime/Makefile.am:26: src/lib/runtime/Makefile.am:26: The usual way to define LIBTOOL’ is to
add AC_PROG_LIBTOOL' src/lib/runtime/Makefile.am:26: to configure.ac’ and run aclocal' and autoconf’ again.
src/lib/swig/Makefile.am:63: Libtool library used but LIBTOOL' is undefined src/lib/swig/Makefile.am:63: src/lib/swig/Makefile.am:63: The usual way to define LIBTOOL’ is to add
AC_PROG_LIBTOOL' src/lib/swig/Makefile.am:63: to configure.ac’ and run aclocal' and autoconf’ again.

[ I edit configure manually to change fftw3f to fft3]
[inchoate 12:20] ~/projects/gnuradio/gnuradio-core >./configure
–with-boost-include-dir=/usr/local/include
checking build system type… i386-unknown-freebsd7.0
checking host system type… i386-unknown-freebsd7.0
checking target system type… i386-unknown-freebsd7.0
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 for style of include used by make… GNU
checking for gcc… gcc
checking for C compiler default output file name… 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 egrep… grep -E
checking for AIX… no
checking for library containing strerror… none required
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 minix/config.h usability… no
checking minix/config.h presence… no
checking for minix/config.h… 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 C++ has std::isnan… no
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
./configure: line 5567: AC_LIBTOOL_WIN32_DLL: command not found
./configure: line 5568: AC_ENABLE_SHARED: command not found
./configure: line 5582: AC_PROG_LIBTOOL: command not found
checking for python… /usr/local/bin/python
checking for python version… 2.4
checking for python platform… freebsd7
checking for python script directory…
${prefix}/lib/python2.4/site-packages
checking for python extension module directory…
${exec_prefix}/lib/python2.4/site-packages
checking for Python include path… /usr/local/include/python2.4
checking Python.h usability… yes
checking Python.h presence… yes
checking for Python.h… yes
checking for swig… /usr/local/bin/swig
checking for SWIG version… 1.3.29
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…
-D_THREAD_SAFE
checking for cc_r… gcc
checking for library containing clock_gettime… none required
checking for clock_gettime… yes
checking for gettimeofday… yes
checking for nanosleep… yes
checking sys/ipc.h usability… yes
checking sys/ipc.h presence… yes
checking for sys/ipc.h… yes
checking sys/shm.h usability… yes
checking sys/shm.h presence… yes
checking for sys/shm.h… yes
checking for library containing shmat… none required
checking for ANSI C header files… (cached) yes
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) yes
checking time.h usability… yes
checking time.h presence… yes
checking for time.h… yes
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) yes
checking linux/ppdev.h usability… no
checking linux/ppdev.h presence… no
checking for linux/ppdev.h… no
checking sys/mman.h usability… yes
checking sys/mman.h presence… yes
checking for sys/mman.h… yes
checking sys/select.h usability… yes
checking sys/select.h presence… yes
checking for sys/select.h… yes
checking for sys/types.h… (cached) yes
checking sys/resource.h usability… yes
checking sys/resource.h presence… yes
checking for sys/resource.h… yes
checking for stdint.h… (cached) 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… no
checking for alloca… yes
checking for function prototypes… yes
checking whether setvbuf arguments are reversed… no
checking for vprintf… yes
checking for _doprnt… no
checking for mmap… yes
checking for select… yes
checking for socket… yes
checking for strcspn… yes
checking for strerror… yes
checking for strspn… yes
checking for getpagesize… yes
checking for sysconf… yes
checking for snprintf… yes
checking for gettimeofday… (cached) yes
checking for nanosleep… (cached) yes
checking for sincos in -lm… no
checking for sincosf in -lm… no
checking for sinf in -lm… yes
checking for cosf in -lm… yes
checking for trunc in -lm… yes
checking for library containing shm_open… none required
checking for shm_open… yes
./configure: line 9761: AC_PROG_LD: command not found
checking whether accepts --enable-runtime-pseudo-reloc… no
checking for CreateFileMapping function… no
checking for sys/types.h… (cached) yes
checking for fcntl.h… (cached) yes
checking io.h usability… no
checking io.h presence… no
checking for io.h… no
checking windows.h usability… no
checking windows.h presence… no
checking for windows.h… no
checking for winioctl.h… no
checking for winbase.h… no
checking for getopt… yes
checking for usleep… yes
checking for gettimeofday… (cached) yes
checking for nanosleep… (cached) yes
checking for rand… yes
checking for srand… yes
checking for random… yes
checking for srandom… yes
checking for sleep… yes
checking for sigaction… yes
checking for struct timezone… yes
checking for struct timespec… yes
checking for ssize_t… yes
checking for getopt… (cached) yes
checking for usleep… (cached) yes
checking for gettimeofday… (cached) yes
checking for Sleep… no
checking whether mkdir accepts only one arg… no
checking for dot… YES
checking for pkg-config… /usr/local/bin/pkg-config
checking for fftw3 >= 3.0… yes
checking FFTW3F_CFLAGS… -I/usr/local/include
checking FFTW3F_LIBS… -L/usr/local/lib -lfftw3 -lm
checking FFTW3F_INCLUDEDIR… /usr/local/include
checking for machine dependent speedups… x86
checking for cppunit-config… /usr/local/bin/cppunit-config
checking for Cppunit - version >= 1.9.14… 1.10.2
gr_boost_include_dir = /usr/local/include
checking boost/shared_ptr.hpp usability… yes
checking boost/shared_ptr.hpp presence… yes
checking for boost/shared_ptr.hpp… yes
configure: creating ./config.status
config.status: creating Makefile
config.status: error: cannot find input file: Makefile.in

On Wed, May 10, 2006 at 12:28:46PM +0930, Daniel O’Connor wrote:

Hi,
I am trying to compile GNURadio on FreeBSD but once more auto* is making
things very difficult…

Can anyone tell me how to decode/fix the following errors?
I’ve tried deleting all copies of auto* and libtool and installing the
latest, as well as reinstalling the ports mentioned (xmms, libart, etc)

Are the configure scripts in GNURadio for a specific version of auto*?
If so, which ones? :slight_smile:

[inchoate 12:18] ~/projects/gnuradio/gnuradio-core >autoheader259
configure.ac:58: warning: AC_PROG_LIBTOOL is m4_require’d but is not m4_defun’d

The ‘libtool’ problem under FreeBSD has always been related to some
problem
with FreeBSD not setting pointers to specific versions of the tools.
This
particular one is usually due to aclocal looking for libtool.m4 in the
wrong place. Seems like there was a change recently.

This is my note on the FreeBSD 5.4 machine but I think the
‘libtool15.m4’
is now just ‘libtool.m4’.

ln -s /usr/local/share/aclocal/libtool15.m4
/usr/local/share/aclocal19/libtool.m4

Hope that does the trick.


LRK
[email protected]

On Wed, May 10, 2006 at 12:28:46PM +0930, Daniel O’Connor wrote:

Hi,
I am trying to compile GNURadio on FreeBSD but once more auto* is making
things very difficult…

Can anyone tell me how to decode/fix the following errors?
I’ve tried deleting all copies of auto* and libtool and installing the
latest, as well as reinstalling the ports mentioned (xmms, libart, etc)

Are the configure scripts in GNURadio for a specific version of auto*?
If so, which ones? :slight_smile:

From gnuradio-core/README:

   autoconf 2.57    or later
   automake 1.7.4   or later
   libtool  1.5     or later
   swig     1.3.{23,24,25,27,28,29}

We work with a whole range of versions. You just need to ensure
that a compatible set is installed on your system. Most modern
systems come with something reasonable by default.

Eric

On Wednesday 10 May 2006 12:49, LRK wrote:

The ‘libtool’ problem under FreeBSD has always been related to some problem
with FreeBSD not setting pointers to specific versions of the tools. This
particular one is usually due to aclocal looking for libtool.m4 in the
wrong place. Seems like there was a change recently.

This is my note on the FreeBSD 5.4 machine but I think the ‘libtool15.m4’
is now just ‘libtool.m4’.

ln -s /usr/local/share/aclocal/libtool15.m4
/usr/local/share/aclocal19/libtool.m4

Ahah, thanks!

I note there was a big auto* change recently, but quite frankly, I try
and
avoid reading about it so my head doesn’t explode :frowning:

Maybe you should a send-pr about that as it may get incorporated into
the
auto* ports as a fix.