Avidemux Forum

Avidemux => Unix-Like (Linux/Bsd/...) => Topic started by: falco2000 on August 30, 2013, 11:54:51 AM

Title: [SOLVED] Error compiling Avidemux 2.6.5 in Ubuntu
Post by: falco2000 on August 30, 2013, 11:54:51 AM
Good morning. I downloaded Avidemux 2.6.5 and started compiling it in Ubuntu 13.04 following the instructions at http://avidemux.org/admWiki/doku.php?id=build:install_2.6 and using the "bash bootStrap.bash --deb" command. I get an error in the process though:

Quote[...]

-- Configuring FFmpeg
ffmpeg_configure.sh: 2: ffmpeg_configure.sh: /media/username/Part2/avidemux_2.6.5/buildCore/ffmpeg/source/configure: Permission denied
ERRORconfigure returned <126>
ERRORconfigure output is <>
CMake Error at /media/username/Part2/avidemux_2.6.5/cmake/admFFmpegBuild.cmake:238 (MESSAGE):
  An error occured
Call Stack (most recent call first):
  CMakeLists.txt:77 (include)


-- Configuring incomplete, errors occurred!
** Failed at cmakeZ**

Why? Is it related with what's written in the instructions? (below)

Quote"Warning If you want to create .debs, the cmake version bundled with some versions of ubuntu is buggy. Please build cmake from source (latest version)"

Thanks a lot.
Falco

Title: Re: Error compiling Avidemux 2.6.5 in Ubuntu
Post by: mean on August 30, 2013, 12:38:09 PM
unzipping on a no exec volume ? fat32 / ntfs ?
Title: Re: Error compiling Avidemux 2.6.5 in Ubuntu
Post by: falco2000 on August 30, 2013, 02:49:34 PM
Fuseblk. I moved it to a ext4 partition and the error disappeared. The compiling process ended this time with:

Quote**************************
***   Release Build    ***
**************************

-- Packager=deb, valid choices= {deb,rpm,tgz,none}

-- Configuring done
-- Generating done
-- Build files have been written to: /media/username/Part2/avidemux_2.6.5/buildCore

though I had to press CTRL+C to get the prompt back, after waiting some minutes and seeing no other message.

The "avidemux_2.6.5/buildCore/" directory contains this now:

QuoteADM_core
ADM_coreAudio
ADM_coreAudioDevice
ADM_coreAudioEncoder
ADM_coreAudioFilter
ADM_coreAudioParser
ADM_coreDemuxer
ADM_coreDemuxerMpeg
ADM_coreImage
ADM_coreImageLoader
ADM_coreJobs
ADM_coreMuxer
ADM_coreScript
ADM_coreSocket
ADM_coreSqlLight3
ADM_coreUI
ADM_coreUtils
ADM_coreVideoCodec
ADM_coreVideoEncoder
ADM_coreVideoFilter
CMakeFiles
config
ffmpeg

CMakeCache.txt
cmake_install.cmake
CPackConfig.cmake
CPackSourceConfig.cmake
Makefile

How to get the final .deb file?

Thanks.
Title: Re: Error compiling Avidemux 2.6.5 in Ubuntu
Post by: mean on August 30, 2013, 03:15:43 PM
bash bootstrap.sh --deb
All the debs are in the "debs" folder
then dpkg -i * in that folder
Title: Re: Error compiling Avidemux 2.6.5 in Ubuntu
Post by: falco2000 on August 30, 2013, 04:12:45 PM
I don't see any "debs" folder. I searched for it inside "avidemux_2.6.5/" folder and subfolders with no results, and the same is outside.
Title: Re: Error compiling Avidemux 2.6.5 in Ubuntu
Post by: mean on August 30, 2013, 04:15:03 PM
output of bootstrap.sh --deb ?
Title: Re: Error compiling Avidemux 2.6.5 in Ubuntu
Post by: falco2000 on August 30, 2013, 08:03:15 PM
Output of bash bootStrap.bash --deb  (I don't know if the script file extension is relevant in this case, there's no bootStrap.sh in my files anyway):

[code erased by poster, not relevant for the issue]

I waited again some minutes after the last line, then I pressed the CTRL+C keys to get the prompt back.
Title: Re: Error compiling Avidemux 2.6.5 in Ubuntu
Post by: KlausDieter on September 11, 2013, 07:44:35 PM
ctrl + c cancels the compile.

No more hitting ctrl+c until you get the prompt handed back by the script, please.
If you let it run until it is finished, then you will see your deb directory.
Title: Re: Error compiling Avidemux 2.6.5 in Ubuntu
Post by: falco2000 on September 20, 2013, 07:11:34 AM
Thank you KlausDieter, I waited several minutes but, finally, the compiling process ended and I obtained 5 files that I installed through Ubuntu Software Center:

avidemux3-core-2.6.5-0-Linux.deb
avidemux3-plugins-COMMON-2.6.5-0-Linux.deb
avidemux3-plugins-QT4-2.6.5-0-Linux.deb
avidemux3-plugins-SETTINGS-2.6.5-0-Linux.deb
avidemux3-qt4-2.6.5-0-Linux.deb


After opening an MPEG-2 file, no audio is heard though. The same with an MP4. There was no problem with the version I had before (I think it was 2.5.4). I tried executing both avidemux and avidemux3_qt4 files. How can the problem be solved?
Thank you.
Title: Re: Error compiling Avidemux 2.6.5 in Ubuntu
Post by: mean on September 20, 2013, 08:02:04 AM
1- Make sure that in preference->audio, you have pulse audio selected
2- make sure you have libpulse-dev installed and rebuild the plugin part

Title: Re: Error compiling Avidemux 2.6.5 in Ubuntu
Post by: falco2000 on September 22, 2013, 11:31:03 AM
Thank you mean, now it works. Unfortunately, like 2.5.4, version 2.6.5 still plays DVB-T recordings with audio and video not synchronized, though I hoped this issue would have been solved. Maybe next time.
Have a nice day.

P.S.: during the packages installation, Ubuntu showed a "bad quality package" error, for example:

QuoteLintian check results for /media/username/partition/avidemux_2.6.5/debs/avidemux3-qt4-2.6.5-0-Linux.deb:
E: avidemux3-qt4: maintainer-address-missing mean
Title: Re: Error compiling Avidemux 2.6.5 in Ubuntu
Post by: mean on September 22, 2013, 12:49:28 PM
it shouldnt, is it sd or hd ?
Title: Re: Error compiling Avidemux 2.6.5 in Ubuntu
Post by: falco2000 on September 22, 2013, 06:56:56 PM
SD. I can send you a link of a short clip via private message if you want to check the issue on your computer. Let me know.
Title: Re: Error compiling Avidemux 2.6.5 in Ubuntu
Post by: mean on September 23, 2013, 04:48:31 AM
yes please
Title: Re: Error compiling Avidemux 2.6.5 in Ubuntu
Post by: falco2000 on September 23, 2013, 08:30:01 AM
Sent.
Title: Re: [SOLVED] Error compiling Avidemux 2.6.5 in Ubuntu
Post by: phobicplum on November 20, 2013, 03:05:06 AM
Ubuntu 13.04? You can just do sudo apt-get install avidemux
Title: Re: Error compiling Avidemux 2.6.5 in Ubuntu
Post by: nop on December 29, 2013, 07:55:55 AM
Quote from: falco2000 on September 22, 2013, 11:31:03 AM
P.S.: during the packages installation, Ubuntu showed a "bad quality package" error, for example:
The error message is the Ubuntu package manager warning you that the .deb package may be fraudulent because it isn't signed by an 'official' maintainer, which packages normally should be. This is because you built it yourself, so of course it isn't a problem here. If you see this error on a package you downloaded from somewhere, you should NOT install it, as it may contain malware.
It is normal for the Avidemux build process to go quiet for some time - even a few minutes - several times. This confused me too, the first time I built it myself, & I was also tempted to CTRL+C it too. Don't do that! - Be patient. :^)  You can reassure yourself by opening another terminal window & running top. You will see the compiler (cc) & related tools running happily there until the build completes.