Cannot install avidemux

You have a problem with Salix? Post here and we'll do what we can to help.
Post Reply
Schoolman
Posts: 7
Joined: 28. Jan 2015, 16:04

Cannot install avidemux

Post 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.
User avatar
gapan
Salix Wizard
Posts: 6349
Joined: 6. Jun 2009, 17:40

Re: Cannot install avidemux

Post by gapan »

Update the slackbuild cache and try again:

Code: Select all

sudo spi -u
Image
Image
Schoolman
Posts: 7
Joined: 28. Jan 2015, 16:04

Re: Cannot install avidemux

Post 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.
User avatar
gapan
Salix Wizard
Posts: 6349
Joined: 6. Jun 2009, 17:40

Re: Cannot install avidemux

Post 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.
Image
Image
Schoolman
Posts: 7
Joined: 28. Jan 2015, 16:04

Re: Cannot install avidemux

Post by Schoolman »

Thanks again, it's fine now.
User avatar
laprjns
Salix Warrior
Posts: 1112
Joined: 28. Aug 2009, 01:30
Location: Connecticut USA

Re: Cannot install avidemux

Post 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.
“The past was erased, the erasure was forgotten, the lie became the truth.”
― George Orwell, 1984
User avatar
gapan
Salix Wizard
Posts: 6349
Joined: 6. Jun 2009, 17:40

Re: Cannot install avidemux

Post by gapan »

Thanks laprjns :)
Image
Image
Post Reply