:: Re: [Frei0r] [Mlt-devel] build erro…
Pàgina inicial
Delete this message
Reply to this message
Autor: Dan Dennedy
Data:  
A: Carl Karsten
CC: mlt-devel, Minimalistic plugin API for video effects
Assumpte: Re: [Frei0r] [Mlt-devel] build error
On Fri, Jan 11, 2013 at 11:17 AM, Carl Karsten <carl@???> wrote:
> On Fri, Jan 11, 2013 at 12:21 PM, Dan Dennedy <dan@???> wrote:
>> On Fri, Jan 11, 2013 at 5:55 AM, Carl Karsten <carl@???> wrote:
>>> ubuntu 12.04.1 LTS
>>> precise
>>>
>>> sudo apt-get install git automake autoconf libtool intltool g++ yasm
>>> swig libmp3lame-dev libgavl-dev libsamplerate-dev libxml2-dev
>>> ladspa-sdk libjack-dev libsox-dev libsdl-dev libgtk2.0-dev liboil-dev
>>> libsoup2.4-dev libqt4-dev libexif-dev libtheora-dev libvdpau-dev
>>> libvorbis-dev python-dev
>>>
>>> wget -N https://raw.github.com/mltframework/mlt-scripts/master/build/build-melt.sh
>>> chmod +x build-melt.sh
>>>
>>> echo "FFMPEG_SUPPORT_FAAC=1" >> build-melt.conf
>>> ./build-melt.sh -c build-melt.conf
>>>
>>> ... build build build....
>>>
>>> /bin/bash ../libtool  --tag=CXX --tag=disable-static  --mode=compile
>>> g++ -DHAVE_CONFIG_H -I. -I../include  -I../include     -MT
>>> alphaatop.lo -MD -MP -MF .deps/alphaatop.Tpo -c -o alphaatop.lo `test
>>> -f 'mixer2/alphaatop/alphaatop.cpp' || echo
>>> './'`mixer2/alphaatop/alphaatop.cpp
>>> libtool: Version mismatch error.  This is libtool 2.4.2
>>> Debian-2.4.2-1ubuntu1, but the
>>> libtool: definition of this LT_INIT comes from libtool 2.2.6b.
>>> libtool: You should recreate aclocal.m4 with macros from libtool 2.4.2
>>> Debian-2.4.2-1ubuntu1
>>> libtool: and run autoconf again.
>>> make[1]: *** [3dflippo.lo] Error 63

>>
>> I regenerated frei0r's autoconf-generated files on Ubuntu 12.10 and
>> checked them in. Please try again.
>>
>> --
>> +-DRD-+
>
>
> LOG: Configuring, compiling, and installing frei0r
> LOG: About to run command: pushd .
> ~/melt/src ~/melt/src
> LOG: About to run command: cd frei0r
> LOG: PATH=/home/videoteam/melt/20130111/bin:/home/videoteam/bin:/home/videoteam/.virtualenvs/veyepar/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
> LOG: LD_RUN_PATH=/home/videoteam/melt/20130111/lib
> LOG: PKG_CONFIG_PATH=/home/videoteam/melt/20130111/lib/pkgconfig:
> LOG: CFLAGS=
> LOG: LDFLAGS=
> LOG: Configuring frei0r
> LOG: About to run command: ./configure
> --prefix=/home/videoteam/melt/20130111
> --libdir=/home/videoteam/melt/20130111/lib
> checking for a BSD-compatible install... /usr/bin/install -c
> checking whether build environment is sane... yes
> checking for a thread-safe mkdir -p... /bin/mkdir -p
> checking for gawk... gawk
> checking whether make sets $(MAKE)... yes
> checking for g++... g++
> checking whether the C++ compiler works... yes
> checking for C++ compiler default output file name... a.out
> checking for suffix of executables...
> checking whether we are cross compiling... no
> checking for suffix of object files... o
> checking whether we are using the GNU C++ compiler... yes
> checking whether g++ accepts -g... yes
> checking for style of include used by make... GNU
> checking dependency style of g++... gcc3
> checking for gcc... gcc
> checking whether we are using the GNU C compiler... yes
> checking whether gcc accepts -g... yes
> checking for gcc option to accept ISO C89... none needed
> checking dependency style of gcc... gcc3
> checking for gcc option to accept ISO C99... -std=gnu99
> checking build system type... x86_64-unknown-linux-gnu
> checking host system type... x86_64-unknown-linux-gnu
> checking how to print strings... printf
> checking for a sed that does not truncate output... /bin/sed
> checking for grep that handles long lines and -e... /bin/grep
> checking for egrep... /bin/grep -E
> checking for fgrep... /bin/grep -F
> checking for ld used by gcc -std=gnu99... /usr/bin/ld
> checking if the linker (/usr/bin/ld) is GNU ld... yes
> checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
> checking the name lister (/usr/bin/nm -B) interface... BSD nm
> checking whether ln -s works... yes
> checking the maximum length of command line arguments... 1572864
> checking whether the shell understands some XSI constructs... yes
> checking whether the shell understands "+="... yes
> checking how to convert x86_64-unknown-linux-gnu file names to
> x86_64-unknown-linux-gnu format... func_convert_file_noop
> checking how to convert x86_64-unknown-linux-gnu file names to
> toolchain format... func_convert_file_noop
> checking for /usr/bin/ld option to reload object files... -r
> checking for objdump... objdump
> checking how to recognize dependent libraries... pass_all
> checking for dlltool... no
> checking how to associate runtime and link libraries... printf %s\n
> checking for ar... ar
> checking for archiver @FILE support... @
> checking for strip... strip
> checking for ranlib... ranlib
> checking command to parse /usr/bin/nm -B output from gcc -std=gnu99 object... ok
> checking for sysroot... no
> checking for mt... mt
> checking if mt is a manifest tool... no
> checking how to run the C preprocessor... gcc -std=gnu99 -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 for dlfcn.h... yes
> checking for objdir... .libs
> checking if gcc -std=gnu99 supports -fno-rtti -fno-exceptions... no
> checking for gcc -std=gnu99 option to produce PIC... -fPIC -DPIC
> checking if gcc -std=gnu99 PIC flag -fPIC -DPIC works... yes
> checking if gcc -std=gnu99 static flag -static works... yes
> checking if gcc -std=gnu99 supports -c -o file.o... yes
> checking if gcc -std=gnu99 supports -c -o file.o... (cached) yes
> checking whether the gcc -std=gnu99 linker (/usr/bin/ld -m elf_x86_64)
> supports shared libraries... yes
> checking whether -lc should be explicitly linked in... no
> checking dynamic linker characteristics... GNU/Linux ld.so
> checking how to hardcode library paths into programs... immediate
> checking whether stripping libraries is possible... yes
> checking if libtool supports shared libraries... yes
> checking whether to build shared libraries... yes
> checking whether to build static libraries... no
> checking how to run the C++ preprocessor... g++ -E
> checking for ld used by g++... /usr/bin/ld -m elf_x86_64
> checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
> checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports
> shared libraries... yes
> checking for g++ option to produce PIC... -fPIC -DPIC
> checking if g++ PIC flag -fPIC -DPIC works... yes
> checking if g++ static flag -static works... yes
> checking if g++ supports -c -o file.o... yes
> checking if g++ supports -c -o file.o... (cached) yes
> checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports
> shared libraries... yes
> checking dynamic linker characteristics... (cached) GNU/Linux ld.so
> checking how to hardcode library paths into programs... immediate
> checking host platform... Linux
> checking for ANSI C header files... (cached) yes
> checking float.h usability... yes
> checking float.h presence... yes
> checking for float.h... yes
> checking for inttypes.h... (cached) yes
> checking limits.h usability... yes
> checking limits.h presence... yes
> checking for limits.h... yes
> checking for stdlib.h... (cached) yes
> checking for string.h... (cached) yes
> checking for stdbool.h that conforms to C99... yes
> checking for _Bool... yes
> checking for an ANSI C-conforming const... yes
> checking for inline... inline
> checking for stdlib.h... (cached) yes
> checking for GNU libc compatible malloc... yes
> checking for floor... no
> checking for memset... yes
> checking for pow... no
> checking for sqrt... no
> checking for pkg-config... /usr/bin/pkg-config
> checking pkg-config is at least version 0.9.0... yes
> checking for OPENCV... no
> checking for GAVL... yes
> checking for CAIRO... yes
> checking for doxygen... no
> configure: creating ./config.status
> config.status: creating frei0r.pc
> config.status: creating Makefile
> config.status: creating include/Makefile
> config.status: creating src/Makefile
> config.status: creating doc/Makefile
> config.status: creating include/config.h
> config.status: include/config.h is unchanged
> config.status: executing depfiles commands
> config.status: executing libtool commands
>
>
> Compile frei0r-plugins 1.3.0 for x86_64-unknown-linux-gnu
>
>     - INSTALL prefix: /home/videoteam/melt/20130111
>     - CPU optimization: YES
>     - opencv: NO
>               opencv >= 1.0.0 not found - this program enables optional
>               plugin with the Open Source Computer Vision library >= 1.0.0
>               http://opencvlibrary.sourceforge.net/
>     - gavl: YES
>     - cairo: YES

>
> Now you can run make.
>
>
> LOG: Done configuring frei0r
> LOG: Building frei0r - this could take some time
> LOG: About to run command: make -j3
> Making all in src
> make[1]: Entering directory `/home/videoteam/melt/src/frei0r/src'
> /bin/bash ../libtool  --tag=CC --tag=disable-static  --mode=compile
> gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../include  -I../include
> -I../include   -MT 3dflippo.lo -MD -MP -MF .deps/3dflippo.Tpo -c -o
> 3dflippo.lo `test -f 'filter/3dflippo/3dflippo.c' || echo
> './'`filter/3dflippo/3dflippo.c
> /bin/bash ../libtool  --tag=CXX --tag=disable-static  --mode=compile
> g++ -DHAVE_CONFIG_H -I. -I../include  -I../include     -MT addition.lo
> -MD -MP -MF .deps/addition.Tpo -c -o addition.lo `test -f
> 'mixer2/addition/addition.cpp' || echo
> './'`mixer2/addition/addition.cpp
> /bin/bash ../libtool  --tag=CXX --tag=disable-static  --mode=compile
> g++ -DHAVE_CONFIG_H -I. -I../include  -I../include     -MT
> addition_alpha.lo -MD -MP -MF .deps/addition_alpha.Tpo -c -o
> addition_alpha.lo `test -f 'mixer2/addition_alpha/addition_alpha.cpp'
> || echo './'`mixer2/addition_alpha/addition_alpha.cpp
> libtool: Version mismatch error.  This is libtool 2.4
> Debian-2.4-2ubuntu1, but the
> libtool: definition of this LT_INIT comes from libtool 2.4.2.
> libtool: You should recreate aclocal.m4 with macros from libtool 2.4
> Debian-2.4-2ubuntu1
> libtool: and run autoconf again.
> make[1]: *** [3dflippo.lo] Error 63
> make[1]: *** Waiting for unfinished jobs....
> libtool: Version mismatch error.  This is libtool 2.4
> Debian-2.4-2ubuntu1, but the
> libtool: definition of this LT_INIT comes from libtool 2.4.2.
> libtool: You should recreate aclocal.m4 with macros from libtool 2.4
> Debian-2.4-2ubuntu1
> libtool: and run autoconf again.
> make[1]: *** [addition.lo] Error 63
> libtool: Version mismatch error.  This is libtool 2.4
> Debian-2.4-2ubuntu1, but the
> libtool: definition of this LT_INIT comes from libtool 2.4.2.
> libtool: You should recreate aclocal.m4 with macros from libtool 2.4
> Debian-2.4-2ubuntu1
> libtool: and run autoconf again.
> make[1]: *** [addition_alpha.lo] Error 63
> make[1]: Leaving directory `/home/videoteam/melt/src/frei0r/src'
> make: *** [all-recursive] Error 1
> ERROR: Unable to build frei0r
> LOG: Process has finished. Reason: FAILURE Some kind of error occured:
> Unable to build frei0r

>
> These boxes are fairly clean ubuntu installs, but a few months old. I
> am going to try again on a 2 day old install cuz it is handy.


Can you try again, please? I noticed that some autotool helper scripts
were not included in git that are normally included with a tarball. In
particular, it looks like ltmain.sh is needed to overcome this libtool
version problerm. I checked in 4 files that 'autoreconf ---force
--install' reported as installed but that were in .gitignore. :-(

--
+-DRD-+