Page 1 of 1

Cannot install avidemux

Posted: 14. Mar 2015, 13:38
by Schoolman
Hi,

Trying to install avidemux on Salix xfce 14.1 I get this error:

sudo spi -i avidemux
Password:
The following packages will be installed:
avidemux
Fetching README...Done
Fetching avidemux.SlackBuild...Done
Fetching avidemux.info...Done
Fetching doinst.sh...Done
Fetching slack-desc...Done
tar: /usr/src/slapt-src/multimedia/avidemux/avidemux_2.6.8.tar.gz: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
fakeroot -- sh avidemux.SlackBuild Failed

Thanks for any help.

EDIT- I had a look in the folder /usr/src/slapt-src/multimedia/avidemux and the version there is 2.5.6, not 2.6.8.

Re: Cannot install avidemux

Posted: 14. Mar 2015, 14:59
by gapan
Update the slackbuild cache and try again:

Code: Select all

sudo spi -u

Re: Cannot install avidemux

Posted: 14. Mar 2015, 15:52
by Schoolman
Thanks. Compiled ok, but when I tried launching it from the xfce menu I got:
Failed to execute command "avidemux3_qt"
Looking in /usr/bin it should be avidemux3_qt4.

Re: Cannot install avidemux

Posted: 14. Mar 2015, 16:08
by gapan
That's probably a bug with the slackbuild then. There should be a file /usr/share/applications/avidemux_qt.desktop. Edit it with your favorite text editor (with sudo) and change the Exec line to the correct one. I'm guessing launching from a terminal with

Code: Select all

avidemux3_qt4
works.

Re: Cannot install avidemux

Posted: 15. Mar 2015, 10:20
by Schoolman
Thanks again, it's fine now.

Re: Cannot install avidemux

Posted: 15. Mar 2015, 12:18
by laprjns
gapan wrote:That's probably a bug with the slackbuild then.
The offending lines in the slackbuild script:

Code: Select all

if [ "x$WITH_QT4" = "xYES" ]; then
	cat avidemux2.desktop | sed -e 's/avidemux2$/avidemux/' -e 's/2_gtk/3_qt/' >\
		$PKG/usr/share/applications/avidemux_qt.desktop
I will notify Slackbuild of the problem.

Re: Cannot install avidemux

Posted: 15. Mar 2015, 13:19
by gapan
Thanks laprjns :)