Up until recently I was able to compile the source from the git repo using "bash bootStrap.bash --deb".
Now I get a "Failed to make".
I then checked out versions that I was able to compile earlier, but they now fail as well. Which means, the problem is at my end.
If there a build switch that produces a more detailed log file to narrow down the problem?
Or some "make clean" procedure I have overlooked?
you'll get the exact error in /tmp/logBuildPluginCommon
/tmp/logbuildPluginsCommon ;)
If you're building in Ubuntu?
Quote from: gruntster on June 12, 2012, 08:13:43 AM
Are you using Ubuntu's cmake package (cmake 2.8.7-0ubuntu4)? It's borked. You're better off building cmake yourself.
I switched for building to CMake Latest Release ( 2.8.8 ), have no idea if this could be related?
CMake 2.8 (http://www.cmake.org/cmake/resources/software.html)
<- clickunpack in ~/cmake
cd ~/cmake
./bootstrap
make
make install
Thank you for the info.
I'm compiling on an AMD64 system under Ubuntu 11.04.
The log files showed that some labels were not found for libvpx... after removing the dev files for this library, the build finished correctly. I can live without vpx for the moment.
A more tragic loss is that the x264 encoding is gone.
Does this have something to do with this warning during the build?
CMake Warning at CMakeLists.txt:96 (ADD_EXECUTABLE):
Cannot generate a safe linker search path for target avidemux3_qt4 because
files in some directories may conflict with libraries in implicit
directories:
link library [libADM_coreScriptQt.so] in /usr/lib may be hidden by files in:
/home/mike/src/avidemux2-6/install/usr/lib
link library [libADM_coreScriptSpiderMonkey.so] in /usr/lib may be hidden by files in:
/home/mike/src/avidemux2-6/install/usr/lib
link library [libADM_coreScriptPython.so] in /usr/lib may be hidden by files in:
/home/mike/src/avidemux2-6/install/usr/lib
Some of these libraries may not be found correctly.
...
libx264-dev is installed, so I get the message
**************************
*** Optional Library ***
*** Summary ***
**************************
*** Video Encoder ***
x264 Yes
As avidemux needs a newer version off x264, I compiled it from source using:
git clone git://git.videolan.org/x264
cd x264
./configure --enable-static --enable-shared
make
sudo checkinstall --pkgname=x264 --pkgversion="3:$(./version.sh | awk -F'[" ]' '/POINT/{print $4"+git"$5}')" --backup=no --deldoc=yes --fstrans=no --default
which installed:
libx264.a
libx264.so -> libx264.so.125
libx264.so.125
to /usr/local/lib
The original Ubuntu libx264 is still in /usr/lib
When starting avidemux3_qt4 i get this output:
[videoEncoder6]Symbol loading failed for copyADM
Unable to load [/usr/lib/ADM_plugins6/videoEncoders/libADM_ve_x264_qt4.so]: /usr/lib/ADM_plugins6/videoEncoders/libADM_ve_x264_qt4.so: undefined symbol: x264_encoder_open_125
[videoEncoder6]Symbol loading failed for /usr/lib/ADM_plugins6/videoEncoders/libADM_ve_x264_qt4.so
/usr/lib/ADM_plugins6/videoEncoders/libADM_ve_x264_qt4.so:CannotLoad
Any hints there?
Thank you
Don't think this cause a big problem, see these come along when building in 11.10 or 12.04 LTS
QuoteCMake Warning at CMakeLists.txt:96 (ADD_EXECUTABLE):
Cannot generate a safe linker search path for target avidemux3_qt4 because
files in some directories may conflict with libraries in implicit
directories:
link library [libADM_coreScriptQt.so] in /usr/lib may be hidden by files in:
/home/mike/src/avidemux2-6/install/usr/lib
link library [libADM_coreScriptSpiderMonkey.so] in /usr/lib may be hidden by files in:
/home/mike/src/avidemux2-6/install/usr/lib
link library [libADM_coreScriptPython.so] in /usr/lib may be hidden by files in:
/home/mike/src/avidemux2-6/install/usr/lib
Some of these libraries may not be found correctly.
...
more important would be lines with error in it. Easely found by searching the log file for
***If you have errors best to post this/these log files @ gist (https://gist.github.com/), provide a message describing problem and the link to that gist.
So the developers can have a look and know/figure out what is going on.
these is what I have under 11.10:
dpkg -l build-essential cmake fakeroot g++ gcc gettext liba52-0.7.4-dev libaften-dev libasound2-dev libdca-dev libdts-dev libfaac-dev libfaad-dev libglib2.0-dev libgtk-3-dev libgtk2.0-dev libmad0-dev libmp3lame-dev libpng12-dev libqt4-dev libqt4-opengl libqt4-opengl-dev libsdl-sound1.2-dev libvdpau-dev libvorbis-dev libx264-dev libxml2-dev libxv-dev libxvidcore-dev make libopencore-amrwb-dev libopencore-amrnb-dev libvpx-dev pkg-config subversion yasm
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Description
+++-===========================-===========================-======================================================================
ii build-essential 11.5ubuntu1 Informational list of build-essential packages
ii cmake 2.8.5-1ubuntu1 cross-platform, open-source make system
ii fakeroot 1.17-1 tool for simulating superuser privileges
ii g++ 4:4.6.1-2ubuntu5 GNU C++ compiler
ii gcc 4:4.6.1-2ubuntu5 GNU C compiler
ii gettext 0.18.1.1-3ubuntu1 GNU Internationalization utilities
ii liba52-0.7.4-dev 0.7.4-16 library for decoding ATSC A/52 streams (development)
ii libaften-dev 0.0.8+git20100105-0ubuntu1 audio AC3 encoder - development files
ii libasound2-dev 1.0.24.1-0ubuntu10 shared library for ALSA applications -- development files
ii libdca-dev 0.0.5-4 decoding library for DTS Coherent Acoustics streams (development)
ii libdts-dev 0.0.5-4 backward compatibility place-holder for libdca
ii libfaac-dev 1.28-0ubuntu1 AAC audio encoder (development)
ii libfaad-dev 2.7-6ubuntu1 freeware Advanced Audio Decoder - development files
ii libglib2.0-dev 2.30.0-0ubuntu4 Development files for the GLib library
ii libgtk-3-dev 3.2.0-0ubuntu6 development files for the GTK+ library
ii libgtk2.0-dev 2.24.6-0ubuntu5 Development files for the GTK+ library
ii libmad0-dev 0.15.1b-5ubuntu1 MPEG audio decoder development library
ii libmp3lame-dev 3.98.4-0ubuntu1 An MP3 encoding library (development)
ii libopencore-amrnb-dev 0.1.2-1 Adaptive Multi Rate speech codec - development files
ii libopencore-amrwb-dev 0.1.2-1 Adaptive Multi-Rate - Wideband speech codec - development files
ii libpng12-dev 1.2.46-3ubuntu1.3 PNG library - development
ii libqt4-dev 4:4.7.4-0ubuntu8.1 Qt 4 development files
ii libqt4-opengl 4:4.7.4-0ubuntu8.1 Qt 4 OpenGL module
ii libqt4-opengl-dev 4:4.7.4-0ubuntu8.1 Qt 4 OpenGL library development files
ii libsdl-sound1.2-dev 1.0.3-3.1 Development files for SDL_sound
ii libvdpau-dev 0.4.1-2ubuntu1 Video Decode and Presentation API for Unix (development files)
ii libvorbis-dev 1.3.2-1ubuntu2.1 The Vorbis General Audio Compression Codec (development files)
ii libvpx-dev 0.9.6-1 VP8 video codec (development files)
ii libx264-dev 2:0.116.2042+git178455c-1ub development files for libx264
ii libxml2-dev 2.7.8.dfsg-4ubuntu0.3 Development files for the GNOME XML library
ii libxv-dev 2:1.0.6-2 X11 Video extension library (development headers)
ii libxvidcore-dev 2:1.3.2-3 Open source MPEG-4 video codec (development)
ii make 3.81-8.1ubuntu1 An utility for Directing compilation.
ii pkg-config 0.26-1ubuntu1 manage compile and link flags for libraries
ii subversion 1.6.12dfsg-4ubuntu5.1 Advanced version control system
ii yasm 1.1.0-1 modular assembler with multiple syntaxes support
Ubuntu desktop/server 11.04 support stops in October this year (4 months from now). Why don't you consider upgrading/fresh install on your computer to:
12.04 LTS Precise Pangolin release date 2012-04-26 Supported until 2017-04 (http://en.wikipedia.org/wiki/Ubuntu_%28operating_system%29)
<- clickTry live CD or USB stick 1st
Quote from: Jan Gruuthuse on June 24, 2012, 06:44:38 AM
Ubuntu desktop/server 11.04 support stops in October this year (4 months from now). Why don't you consider upgrading/fresh install on your computer to:
12.04 LTS Precise Pangolin release date 2012-04-26 Supported until 2017-04 (http://en.wikipedia.org/wiki/Ubuntu_%28operating_system%29) <- click
Try live CD or USB stick 1st
Yeah... why don't we all? :)
The usual answers: "It's a pain in the *", "No time at the moment", "It did work yesterday"....
Ok.
The problem was: The old libx264-dev (106) library from the Ubuntu repo was still installed. It didn't get replaced when I compiled the newer x264 version (125) from source. I uninstalled it and now I get X264 AND the black bottom borders.
Thank you all for your help.
I wonder, is the build supposed to produce packages of different versions (r8001 and r8025):
** Preparing debs **
Preparing packages
** debs directory ready **
insgesamt 22716
-rw-r--r-- 1 mike mike 10435854 2012-06-24 12:12 avidemux3-core-2.6.0-r8001-Linux.deb
-rw-r--r-- 1 mike mike 3946334 2012-06-24 12:12 avidemux3-core-2.6.0-r8025-Linux.deb
-rw-r--r-- 1 mike mike 1219806 2012-06-24 12:12 avidemux3-plugins-COMMON-2.6.0-8025-Linux.deb
-rw-r--r-- 1 mike mike 241140 2012-06-24 12:12 avidemux3-plugins-QT4-2.6.0-8025-Linux.deb
-rw-r--r-- 1 mike mike 5508104 2012-06-24 12:12 avidemux3-qt4-2.6.0-8001-Linux.deb
-rw-r--r-- 1 mike mike 1903648 2012-06-24 12:12 avidemux3-qt4-2.6.0-8025-Linux.deb
** ALL DONE **
** The installable packages are in the debs folder **
or is this another misconfiguration at my end?
Thanks for your help.
You should rename the x264 files in /usr, or be really really sure the /usr/local one comes before in LD_LIBRARY_PATH or /etc/ld.so.conf
If you choose to rename, you need to rename /usr/include/x264* and /usr/lib/libx264*
Quote from: MiStr on June 24, 2012, 11:05:19 AM
Yeah... why don't we all? :)
I did make the move, I'm good now for 5 years. ;)
QuoteI wonder, is the build supposed to produce packages of different versions (r8001 and r8025):
or is this another misconfiguration at my end?
No it should not, if what mean (developer) tells you in previous post did not help with the 2 versions being build. Best would be delete ~/avidemux_2.6_branch_mean. And get the source completely new.
svn co svn://svn.berlios.de/avidemux/branches/avidemux_2.6_branch_mean
glad everything else is sorted.
Ah sorry i didnt get you solved the problem.