LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   Noob help compiling Alien's Avidemux 2.5.4 on slack 14 (http://www.linuxquestions.org/questions/slackware-14/noob-help-compiling-aliens-avidemux-2-5-4-on-slack-14-a-4175429892/)

Dr.Thodt 10-01-2012 10:05 AM

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

willysr 10-01-2012 10:22 AM

It couldn't find any ChangeLog and History files for the documentation
remove it and it should build fine

Dr.Thodt 10-01-2012 05:31 PM

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

willysr 10-01-2012 07:58 PM

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

Dr.Thodt 10-01-2012 08:33 PM

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

bnguyen 10-01-2012 10:07 PM

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.

Dr.Thodt 10-02-2012 11:02 AM

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

ponce 10-02-2012 11:44 AM

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.

Dr.Thodt 10-02-2012 12:54 PM

thanks ponce, i successfully compiled avidemux-2.5.6 on slack 14


All times are GMT -5. The time now is 11:12 AM.