How to install Avidemux on CentOS 6

Started by venkat, June 08, 2012, 07:44:51 PM

Previous topic - Next topic

Ares Drake

[drake@linux ~]$ gcc -v
Using built-in specs.
Target: x86_64-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-bootstrap --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-languages=c,c++,objc,obj-c++,java,fortran,ada --enable-java-awt=gtk --disable-dssi --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-1.5.0.0/jre --enable-libgcj-multifile --enable-java-maintainer-mode --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --disable-libjava-multilib --with-ppl --with-cloog --with-tune=generic --with-arch_32=i686 --build=x86_64-redhat-linux
Thread model: posix
gcc version 4.4.6 20120305 (Red Hat 4.4.6-4) (GCC)



[drake@linux ~]$ cmake --version
cmake version 2.6-patch 4



What versions are required?

hobbes1069

I believe 2.8 is required. If you install the Fedora EPEL repo for CentOS/RHEL/etc you can install a package called "cmake28" which is designed to be installed along side the EL version. Just remember you need to call cmake with "cmake28 ..."

Richard

Ares Drake

Thanks for pointing me to cmake28. I followed your instructions, moved old cmake (version 2.6) from /usr/bin/cmake to /usr/bin/cmake26 and symlinked /usr/bin/cmake to /usr/bin/cmake28.

This allowed me to compile avidemux-core. The ffmpeg source path problem I mentioned in reply#13 is gone as well. Hoewever avidemux_qt4 does not compile.

Here is the tail of the buidl log:

/home/drake/Downloads/avidemux_2.6.0/avidemux/qt4/../../ffmpeg -I/home/drake/Downloads/avidemux_2.6.0/avidemux/qt4/ADM_UIs/include -I/home/drake/Downloads/avidemux_2.6.0/buildQt4/ADM_UIsQt4/src -I/home/drake/Downloads/avidemux_2.6.0/avidemux/qt4/ADM_UIs/src/../include    -Werror=attributes -o CMakeFiles/ADM_UIQT46.dir/T_openGL.cpp.o -c /home/drake/Downloads/avidemux_2.6.0/avidemux/qt4/ADM_UIs/src/T_openGL.cpp
/home/drake/Downloads/avidemux_2.6.0/avidemux/qt4/ADM_UIs/src/T_openGL.cpp: In member function ââ,¬Ëœbool ADM_coreVideoFilterQtGl::downloadTexture(ADMImage*, ADM_PLANE, QGLFramebufferObject*)ââ,¬â,,¢:
/home/drake/Downloads/avidemux_2.6.0/avidemux/qt4/ADM_UIs/src/T_openGL.cpp:263: error: ââ,¬Ëœclass QImageââ,¬â,,¢ has no member named ââ,¬ËœconstScanLineââ,¬â,,¢
/home/drake/Downloads/avidemux_2.6.0/avidemux/qt4/ADM_UIs/src/T_openGL.cpp: In member function ââ,¬Ëœbool ADM_coreVideoFilterQtGl::downloadTexturesQt(ADMImage*, QGLFramebufferObject*)ââ,¬â,,¢:
/home/drake/Downloads/avidemux_2.6.0/avidemux/qt4/ADM_UIs/src/T_openGL.cpp:368: error: ââ,¬Ëœclass QImageââ,¬â,,¢ has no member named ââ,¬ËœconstScanLineââ,¬â,,¢
make[2]: *** [ADM_UIsQt4/src/CMakeFiles/ADM_UIQT46.dir/T_openGL.cpp.o] Error 1
make[2]: Leaving directory `/home/drake/Downloads/avidemux_2.6.0/buildQt4'
make[1]: *** [ADM_UIsQt4/src/CMakeFiles/ADM_UIQT46.dir/all] Error 2
make[1]: Leaving directory `/home/drake/Downloads/avidemux_2.6.0/buildQt4'
make: *** [all] Error 2


Full build log is available at: http://sebsauvage.net/paste/?525d18cdda9f2881#UGhVFPIFAdcseHE6u9cWPCzxp6GDxlGsEqnYVmdaMQo=

Jan Gruuthuse

#18
You would need User Interface: Qt (4.8.1) or its equivalent in your OS. I have currently these installed:
Quoteii  libqt4-dev                  4:4.8.1-0ubuntu4.2          Qt 4 development files
ii  libqt4-opengl               4:4.8.1-0ubuntu4.2          Qt 4 OpenGL module
ii  libqt4-opengl-dev           4:4.8.1-0ubuntu4.2          Qt 4 OpenGL library development files
ii  libqt4-script               4:4.8.1-0ubuntu4.2          Qt 4 script module

Ares Drake

Thanks for your reply, Jan.

I already hat packages qt4 and qt4-devel installed, as per: http://avidemux.org/admWiki/doku.php?id=build:install_2.6 (instructions for building on fedora)

Default RHEL6 version is 4.6.2.

I tried updating qt to 4.7 from atrpms, but now QT is not found:


-- Checking for Qt 4
-- *****************
-- Could NOT find Qt4 (missing:  QT_QMAKE_EXECUTABLE QT_MOC_EXECUTABLE QT_RCC_EXECUTABLE QT_UIC_EXECUTABLE QT_INCLUDE_DIR QT_LIBRARY_DIR QT_QTCORE_LIBRARY)
Could not find Qt 4

CMake Error at CMakeLists.txt:18 (MESSAGE):
  Qt4 NOT FOUND



Ares Drake

Quote from: Jan Gruuthuse on October 16, 2012, 01:04:06 PM
http://www.qtcentre.org/threads/45661-How-to-install-qt-4-7-on-RHEL-6

Your link points to the atrmps packages for qt47, wich I have already installed as mentioned above.


I tried with qt48 from the "Russian Fedora Free Updates repository", (http://pkgs.org/centos-6-rhel-6/russian-fedora-free-updates-x86_64/qt48-4.8.0-10.2.el6.R.x86_64.rpm.html) as well.

However I got the same bad result, the avidemux compilation script does not find qt at all. Something must be different with these qt47 or qt48 packeges, but I can't find out what and it isn't clear to me why avidemux should depend on such a new qt version anyhow?


Jan Gruuthuse

#22
Start new thread for developers and upload the failed building log to https://gist.github.com/ and provide a upload link in it.
After building you should find a logbuildQt4 most likely in /tmp/ perhaps developers know what is going on?
This is beyond my user experience.
Consider eventually installing ubuntu 12.04.1 alongside the current OS on another primary partition on one of the hard discs, 10 GB would do. You then could decide on boot what Os to use.

hobbes1069

Quote from: Ares Drake on October 16, 2012, 11:59:08 AM
Thanks for your reply, Jan.

I already hat packages qt4 and qt4-devel installed, as per: http://avidemux.org/admWiki/doku.php?id=build:install_2.6 (instructions for building on fedora)

Default RHEL6 version is 4.6.2.

I tried updating qt to 4.7 from atrpms, but now QT is not found:


-- Checking for Qt 4
-- *****************
-- Could NOT find Qt4 (missing:  QT_QMAKE_EXECUTABLE QT_MOC_EXECUTABLE QT_RCC_EXECUTABLE QT_UIC_EXECUTABLE QT_INCLUDE_DIR QT_LIBRARY_DIR QT_QTCORE_LIBRARY)
Could not find Qt 4

CMake Error at CMakeLists.txt:18 (MESSAGE):
  Qt4 NOT FOUND



Perhaps this is a long shot but try no symlinking /usr/bin/cmake28 to /usr/bin/cmake but calling it directly.

Also, it looks like the cmake modules FindQT4.cmake is provided by the cmake package, but I don't know what version of cmake they were added. See if you have this module in /usr/share/cmake/Modules (or cmake28/Modules)

Richard

Terminator3000

If you continue to have problems compiling this then you should be able to obtain Avidemux from repo, as detailed in the following post: http://minimallinux.blogspot.co.uk/2012/09/centos-6rhel-install-avidemux.html



Ares Drake

The above link referes to enabling the naulinux-school-repo, witch has at present only avidemux-2.5.6, but no avidemux based on 2.6.x.

If someone would provide a repository for RHEL/Centos6 for avidemux-2.6 this would be very welcomed inedeed.

mit

#26
Hi there! First of all, sorry for my English!
Just report: -version 2.6.3 is compiled without problems in CentOS 6.4, and works fine.
So i'm happy latest Avidemux version user on lates CentOS.  :)
Thank you for your work!
Regards!

Ares Drake

Quote from: mit on March 17, 2013, 04:36:14 PM
Hi there! First of all, sorry for my English!
Just report: -version 2.6.3 is compiled without problems in CentOS 6.4, and works fine.
Could you please please upload a rpm to a sharehoster? This would be great!
Thank you in advance!

Ares Drake

Quote from: mit on April 03, 2013, 07:13:39 PM
Avidemux 2.6.3

Packages md5 sums:
611f38b6724ea9094fa90b112f1206a5  avidemux-2.6.3-1.el6_private.x86_64.rpm
fd05b362f2c328f9867a30fb2ea2067b  avidemux-cli-2.6.3-1.el6_private.x86_64.rpm
a47d04d9b64abdbc453e39553f60c809  avidemux-devel-2.6.3-1.el6_private.x86_64.rpm
5a327715802260d4f5477cb8c18fb076  avidemux-help-2.6.3-1.el6_private.noarch.rpm
6d559398ed7b0b37e8453a271e2444e4  avidemux-libs-2.6.3-1.el6_private.x86_64.rpm
4f3e27d0a3a39c9eee27cc409bc02dfb  avidemux-qt-2.6.3-1.el6_private.x86_64.rpm

Thanks a lot. :)  Great work! I can confirm it works flawlessly!

I had to install qt48 though, otherwise I would get a missing symbol error. Qt48 installation is painless though from the russianfedora repo. You can add the repo by installing:
http://mirror.yandex.ru/fedora/russianfedora/russianfedora/free/el/releases/6.4/Everything/x86_64/os/russianfedora-free-release-6-3.R.noarch.rpm

mit

#29
Avidemux faenza theme icons


Avidemux 2.6.3


Avidemux 2.6.4


Avidemux 2.6.5


Avidemux 2.6.6