> > I try (for the first time) to compile mjpegtools form the cvs sources but
> > I get the following error at the end of .configure
> >
> > checking for linux/videodev.h... yes
> > ./configure: line 6451: syntax error near unexpected token `1.2.0'
> > ./configure: line 6451: `AM_PATH_GLIB(1.2.0)'
> >
> > I run an 'up to date' Gentoo distro.
> >
> > What's the problem here?
>
> Did you run ./autogen.sh first? If you've checked out a copy
> of the sources from CVS then the first thing that's needed is
> to run the autogen.sh script to generate a correct ./configure
> script.
>
> Do you have GLIB-1.2.0 installed on the system? I believe that is
> what the 'AM_PATH_GLIB' line is related to.
>
> There is a AM_PATH_GLIB(1.2.0) in configure.in but that should be
> dealt with by autoconf and automake when ./autogen.sh is run.
>
I've run autogen.sh first. That also generated some messages. The complete
output of autogen.sh is given below.
I assume glib-1.2.0 is installed, "locate glib-1" gave:
/usr/lib/libglib-1.2.so.0
MIke
OUTPUT of autogen.sh:
processing .
Running libtoolize...
Running aclocal -I ./movtar ...
aclocal: configure.in: 14: macro `AM_OUTPUT_DEPENDENCY_COMMANDS' not found in
library
aclocal: configure.in: 61: macro `AM_PROG_AS' not found in library
Running autoheader...
configure.in:56: warning: AC_TRY_RUN called without default to allow cross
compiling
/usr/bin/autoheader-2.13: Symbol `_FILE_OFFSET_BITS' is not covered by
/usr/share/autoconf/acconfig.h
Running automake --gnu ...
Usage: autoconf [-h] [--help] [-m dir] [--macrodir=dir]
[-l dir] [--localdir=dir] [--version] [template-file]
configure.in: no proper invocation of AM_INIT_AUTOMAKE was found.
configure.in: You should verify that configure.in invokes AM_INIT_AUTOMAKE,
configure.in: that aclocal.m4 is present in the top-level directory,
configure.in: and that aclocal.m4 was recently regenerated (using aclocal).
automake: no `Makefile.am' found or specified
Running autoconf ...
configure.in:56: warning: AC_TRY_RUN called without default to allow cross
compiling
configure.in:69: warning: AC_TRY_RUN called without default to allow cross
compiling
configure.in:70: warning: AC_TRY_RUN called without default to allow cross
compiling
configure.in:71: warning: AC_TRY_RUN called without default to allow cross
compiling
autoconf: Undefined macros:
configure.in:49:AC_GNU_SOURCE
Running ./configure --enable-maintainer-mode --enable-compile-warnings
--with-x --with-dv --with-dv-yv12 ...
loading cache ./config.cache
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for a BSD compatible install... /bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
checking whether to enable maintainer-specific portions of Makefiles... yes
./configure: line 1047: AM_OUTPUT_DEPENDENCY_COMMANDS: command not found
./configure: line 1115: AC_GNU_SOURCE: command not found
checking for mawk... no
checking for gawk... gawk
checking for gcc... gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for c++... g++
checking whether the C++ compiler (g++ ) works... yes
checking whether the C++ compiler (g++ ) is a cross-compiler... no
checking whether we are using GNU C++... yes
checking whether g++ accepts -g... yes
checking for a BSD compatible install... /bin/install -c
checking whether ln -s works... yes
checking whether byte ordering is bigendian... no
checking for working const... yes
checking for inline... inline
./configure: line 1807: AM_PROG_AS: command not found
checking for Cygwin environment... no
checking for mingw32 environment... no
checking how to run the C preprocessor... gcc -E
checking build system type... i686-pc-linux-gnu
checking for ld used by GCC... /usr/i686-pc-linux-gnu/bin/ld
checking if the linker (/usr/i686-pc-linux-gnu/bin/ld) is GNU ld... yes
checking for /usr/i686-pc-linux-gnu/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking for a sed that does not truncate output... /bin/sed
checking how to recognise dependent libraries... pass_all
checking for object suffix... o
checking for executable suffix... no
checking command to parse /usr/bin/nm -B output... ok
checking for dlfcn.h... yes
checking for ranlib... ranlib
checking for strip... strip
checking for objdir... .libs
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.lo... yes
checking if gcc supports -fno-rtti -fno-exceptions... yes
checking whether the linker (/usr/i686-pc-linux-gnu/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 if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking whether -lc should be explicitly linked in... no
creating libtool
checking for fenv.h... yes
checking for stdint.h... yes
checking for inttypes.h... yes
checking for sys/types.h... yes
checking for stdbool.h... yes
checking for getopt.h... yes
checking for alloca.h... yes
checking for sys/soundcard.h... yes
checking size of int... 4
checking size of long... 4
checking size of long long... 8
checking for getopt_long... yes
checking return type of signal handlers... void
checking whether glibc supports 64-bit file offsets... yes
checking for alpha architecture... no
checking for linux/videodev.h... yes
./configure: line 6451: syntax error near unexpected token `1.2.0'
./configure: line 6451: `AM_PATH_GLIB(1.2.0)'
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Mjpeg-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mjpeg-users