News:

--

Main Menu

Unable to compile svn version

Started by dinolib, November 26, 2012, 01:24:36 PM

Previous topic - Next topic

dinolib

I'm trying to compile 2.5.6 version from svn, but I get error during compile referred to swscale and ffmpeg.
svn co svn://svn.berlios.de/avidemux/branches/avidemux_2.5_branch_gruntster/
It seems every patch is applied successfully.
System: Chakra linux 64bit (similar to Arch).
Avidemux 2.6 from git compiles regularly.

sudo bootStrap.sh is used.

#####################################
Configure Started
#####################################

-- Source dir is /home/dino/Downloads/ccr/avidemux_2.5_branch_gruntster

-- The C compiler identification is GNU 4.7.0
-- The CXX compiler identification is GNU 4.7.0
-- Check for working C compiler: /usr/bin/gcc
[...]
-- Getting svn version from /home/dino/Downloads/ccr/avidemux_2.5_branch_gruntster
--   revision: 7908
[...]
-- Building ffmpeg with CC=/usr/bin/gcc
-- Building ffmpeg with LD=/usr/bin/gcc
-- Building ffmpeg with AR=/usr/bin/ar
-- Checking for tar
-- ****************
-- Found tar

-- Extracting FFmpeg

-- Checking for patch
-- ******************
-- Found patch

patching file libavcodec/ff_spsinfo.h
patching file libavcodec/libavcodec.v
patching file libavformat/matroskaenc.c
patching file libavformat/isom.c
patching file libavcodec/mpegvideo_enc.c
patching file libavcodec/avcodec.h
patching file libavcodec/ffv1.c
patching file libavcodec/mpegvideo.c
patching file libavcodec/vc1dec.c
patching file libavcodec/mpeg12enc.c
patching file libavcodec/h263dec.c
patching file libavcodec/h264.c
patching file libavcodec/mpeg12.c
patching file libavutil/avutil.h
patching file libavcodec/h264_parser.c
patching file common.mak

-- Configuring FFmpeg
patching file config.mak
Hunk #1 succeeded at 67 with fuzz 2 (offset 7 lines).

*********************
***    SUMMARY    ***
*********************
   GTK+        Yes
   Qt 4        Yes
*** Miscellaneous ***
   gettext     Yes
   OpenGL      Yes
   SDL         Yes
   XVideo      Yes
*********************
*** Release Build ***
*********************
[.................]
[ 87%] Building CXX object avidemux/ADM_coreImage/src/CMakeFiles/ADM_coreImage.dir/ADM_interlaceUtil.cpp.o
make[2]: *** Nessuna regola per generare l'obiettivo Ã,«avidemux/ADM_libraries/ffmpeg/libswscale/libADM5swscale.so.2Ã,», necessario per Ã,«avidemux/ADM_coreImage/src/libADM_coreImage.soÃ,».  Stop.
make[2]: *** Attesa dei processi non terminati....
[ 87%] Building CXX object avidemux/ADM_coreImage/src/CMakeFiles/ADM_coreImage.dir/DIA_flyDialog.cpp.o
make[1]: *** [avidemux/ADM_coreImage/src/CMakeFiles/ADM_coreImage.dir/all] Errore 2
[...]


Jan Gruuthuse

You do have these installed?:
ii  build-essential             11.5ubuntu2.1               Informational list of build-essential packages
ii  cmake                       2.8.7-0ubuntu4              cross-platform, open-source make system
ii  fakeroot                    1.18.2-1                    tool for simulating superuser privileges
ii  g++                         4:4.6.3-1ubuntu5            GNU C++ compiler
ii  gcc                         4:4.6.3-1ubuntu5            GNU C compiler
ii  gettext                     0.18.1.1-5ubuntu3           GNU Internationalization utilities
ii  liba52-0.7.4                0.7.4-16build1              library for decoding ATSC A/52 streams
ii  liba52-0.7.4-dev            0.7.4-16build1              library for decoding ATSC A/52 streams (development)
ii  libasound2-dev              1.0.25-1ubuntu10.1          shared library for ALSA applications -- development files
ii  libfaac-dev                 1.28-0ubuntu2               AAC audio encoder (development)
ii  libfaad-dev                 2.7-7                       freeware Advanced Audio Decoder - development files
ii  libglib2.0-dev              2.32.3-0ubuntu1             Development files for the GLib library
ii  libgtk2.0-dev               2.24.10-0ubuntu6            development files for the GTK+ library
ii  libmad0-dev                 0.15.1b-7ubuntu1            MPEG audio decoder development library
ii  libpng12-dev                1.2.46-3ubuntu4             PNG library - development
ii  libqt4-dev                  4:4.8.1-0ubuntu4.3          Qt 4 development files
ii  libqt4-opengl               4:4.8.1-0ubuntu4.3          Qt 4 OpenGL module
ii  libqt4-opengl-dev           4:4.8.1-0ubuntu4.3          Qt 4 OpenGL library development files
ii  libvorbis-dev               1.3.2-1ubuntu3              The Vorbis General Audio Compression Codec (development files)
ii  libx264-dev                 2:0.125.2209+git68dfb7b-1~e development files for libx264
ii  libxml2-dev                 2.7.8.dfsg-5.1ubuntu4.2     Development files for the GNOME XML library
ii  libxv-dev                   2:1.0.6-2build1             X11 Video extension library (development headers)
ii  libxvidcore-dev             2:1.3.2-9~ppa2              Open source MPEG-4 video codec (development)
ii  make                        3.81-8.1ubuntu1.1           An utility for Directing compilation.
ii  pkg-config                  0.26-1ubuntu1               manage compile and link flags for libraries
ii  subversion                  1.6.17dfsg-3ubuntu3         Advanced version control system
ii  yasm                        1.1.0-1                     modular assembler with multiple syntaxes support


Can you install for your Chakra linux the English UK language support and try again. If this does not work, switch to English language instead of Italian for Chakra linux? Perhaps there is an issue with your localization: italian language?

dinolib

Dependencies on my distribution are slightly different, but to me it seems to be everything. Avidemux 2.6 compiles flawless.

If no one has the same problem, may be it'sw a problem of new libraries or compiler too recent.

Has someone ever used gcc 4.7 for avidemux 2.5 compilation?

Jan Gruuthuse

#3
just checked here:
*************************
  Avidemux v2.5.6
*************************
http://www.avidemux.org
Code      : Mean, JSC, Grant Pedersen
GFX       : Nestor Di, nestordi@augcyl.org
Design    : Jakub Misak
FreeBSD   : Anish Mistry, amistry@am-productions.biz
Audio     : Mihail Zenkov
Mac OS X  : Kuisathaverat, Harry van der Wolf
Win32     : Grant Pedersen

Compiler: GCC 4.6.3
Build Target: Linux (x86-64)
User Interface: Qt (4.8.1)

Large file available: 1 offset

and cmake version 2.8.10.1.

The compiles on Quantal should be with GCC 4.7: http://avidemux.org/nightly/quantal32/. Don't know if this was already tried with 2.5.6