LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices



Reply
 
Search this Thread
Old 10-01-2012, 11:05 AM   #1
Dr.Thodt
LQ Newbie
 
Registered: Dec 2011
Posts: 18

Rep: Reputation: Disabled
Noob help compiling Alien's Avidemux 2.5.4 on slack 14


Can someone please take a minute to explain how to get past this ...

make: *** [all] Error 2
/tmp/build/tmp-avidemux/avidemux_2.5.4
cp: cannot stat 'ChangeLog': No such file or directory
cp: cannot stat 'History': No such file or directory
./avidemux.SlackBuild FAILED at line 274

from sbo

272 # Strip binaries:
273 find $PKG | xargs file | grep -e "executable" -e "shared object" \
274 | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null

thanks so much

Last edited by Dr.Thodt; 10-02-2012 at 11:50 AM. Reason: fix title
 
Old 10-01-2012, 11:22 AM   #2
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 2,619

Rep: Reputation: 444Reputation: 444Reputation: 444Reputation: 444Reputation: 444
It couldn't find any ChangeLog and History files for the documentation
remove it and it should build fine
 
Old 10-01-2012, 06:31 PM   #3
Dr.Thodt
LQ Newbie
 
Registered: Dec 2011
Posts: 18

Original Poster
Rep: Reputation: Disabled
if i remove lines 272 273 274. it makes a 25kb package
which only contains this

Removing package /var/log/packages/avidemux-2.5.4-i486-1alien...
Removing files:
--> Deleting /usr/doc/avidemux-2.5.4/AUTHORS
--> Deleting /usr/doc/avidemux-2.5.4/COPYING
--> Deleting /usr/doc/avidemux-2.5.4/README
--> Deleting /usr/doc/avidemux-2.5.4/TODO
--> Deleting /usr/doc/avidemux-2.5.4/avidemux.SlackBuild
--> Deleting /usr/doc/avidemux-2.5.4/patches/avidemux-2.5.4_audioDevice.patch
--> Deleting /usr/doc/avidemux-2.5.4/patches/avidemux-2.5.4_gtkmenu_crash.patch
--> Deleting /usr/doc/avidemux-2.5.4/patches/avidemux-2.5.4_x264.patch
--> Deleting /usr/doc/avidemux-2.5.4/patches/avidemux-2.5.4_x264_option.patch
--> Deleting /usr/doc/avidemux-2.5.4/patches/avidemux-2.5_i18n.diff
--> Deleting /usr/share/applications/avidemux2.desktop
--> Deleting /usr/share/icons/hicolor/16x16/apps/avidemux.png
--> Deleting /usr/share/icons/hicolor/32x32/apps/avidemux.png
--> Deleting /usr/share/icons/hicolor/48x48/apps/avidemux.png
--> Deleting /usr/share/icons/hicolor/64x64/apps/avidemux.png
--> Deleting /usr/share/pixmaps/avidemux.png
--> Deleting empty directory /usr/doc/avidemux-2.5.4/patches/
--> Deleting empty directory /usr/doc/avidemux-2.5.4/

nothing in /usr/bin
thanks
 
Old 10-01-2012, 08:58 PM   #4
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 2,619

Rep: Reputation: 444Reputation: 444Reputation: 444Reputation: 444Reputation: 444
Not this line that needs to be removed
Code:
272 # Strip binaries:
273 find $PKG | xargs file | grep -e "executable" -e "shared object" \
274 | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
but the line after it which usually like this
Code:
cp -a ChangeLog History $PKG/usr/doc/$PKGNAME-VERSION
just remove the files that can't be found, which in your case are ChangeLog and History
 
Old 10-01-2012, 09:33 PM   #5
Dr.Thodt
LQ Newbie
 
Registered: Dec 2011
Posts: 18

Original Poster
Rep: Reputation: Disabled
still won't compile
[ 13%] Building CXX object ADM_videoEncoder/ADM_vidEnc_x264/qt4/CMakeFiles/ADM_vidEnc_x264_Qt.dir/x264ConfigDialog.cpp.o
/tmp/build/tmp-avidemux/avidemux_2.5.4/plugins/ADM_videoEncoder/ADM_vidEnc_x264/qt4/x264ConfigDialog.cpp: In member function 'void x264ConfigDialog::saveAsButton_pressed()':
/tmp/build/tmp-avidemux/avidemux_2.5.4/plugins/ADM_videoEncoder/ADM_vidEnc_x264/qt4/x264ConfigDialog.cpp:346:67: error: taking address of temporary [-fpermissive]
/tmp/build/tmp-avidemux/avidemux_2.5.4/plugins/ADM_videoEncoder/ADM_vidEnc_x264/qt4/x264ConfigDialog.cpp: In member function 'bool x264ConfigDialog::loadPresetSettings(vidEncOptions*, x264Options*)':
/tmp/build/tmp-avidemux/avidemux_2.5.4/plugins/ADM_videoEncoder/ADM_vidEnc_x264/qt4/x264ConfigDialog.cpp:583:67: error: taking address of temporary [-fpermissive]
make[2]: *** [ADM_videoEncoder/ADM_vidEnc_x264/qt4/CMakeFiles/ADM_vidEnc_x264_Qt.dir/x264ConfigDialog.cpp.o] Error 1
make[1]: *** [ADM_videoEncoder/ADM_vidEnc_x264/qt4/CMakeFiles/ADM_vidEnc_x264_Qt.dir/all] Error 2
make: *** [all] Error 2
/tmp/build/tmp-avidemux/avidemux_2.5.4
./avidemux.SlackBuild FAILED at line 274
 
Old 10-01-2012, 11:07 PM   #6
bnguyen
Member
 
Registered: Jul 2010
Distribution: Slackware
Posts: 125

Rep: Reputation: 32
Please edit the first post that you were actually talking about *avidemux* not VLC.

Anyway, try to compile the latest version 2.6.0 which was released a few weeks ago, it should work with newer build chain and libraries.
 
Old 10-02-2012, 12:02 PM   #7
Dr.Thodt
LQ Newbie
 
Registered: Dec 2011
Posts: 18

Original Poster
Rep: Reputation: Disabled
2.6.0 doesn't seem to compile either
Building core ...
CMake Error: The source directory "/tmp/build/tmp-avidemux/avidemux_2.6.0" does not appear to contain CMakeLists.txt.
Specify --help for usage, or press the help button on the CMake GUI.
./avidemux.SlackBuild FAILED at line 187
 
Old 10-02-2012, 12:44 PM   #8
ponce
Senior Member
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 2,498

Rep: Reputation: 912Reputation: 912Reputation: 912Reputation: 912Reputation: 912Reputation: 912Reputation: 912Reputation: 912
use the build scripts from slackbuilds.org to build 2.5.6 (mind the dependencies in the .info file and in the README)

http://slackbuilds.org/cgit/slackbui...media/avidemux

I've tried 2.6.0: here crashes when pressing the rewind button.
 
Old 10-02-2012, 01:54 PM   #9
Dr.Thodt
LQ Newbie
 
Registered: Dec 2011
Posts: 18

Original Poster
Rep: Reputation: Disabled
thanks ponce, i successfully compiled avidemux-2.5.6 on slack 14
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
alien's vlc, -current and SBo's libva grissiom Slackware 2 10-28-2010 09:50 AM
[SOLVED] Alien Bob's VLC slackbuild fails on current Daedra Slackware 4 10-25-2010 04:14 PM
Running vlc 1.0.2 compiled from alien slackbuilds fail Olaus Slackware 5 09-30-2009 06:45 AM
Problem using Alien Bobs VLC build. garyg007 Slackware 14 04-13-2009 01:49 PM
Alien Bob's VLC Build + Slamd64 Question Daedra Slackware 10 02-22-2009 04:40 PM


All times are GMT -5. The time now is 07:13 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration