configure slackbuild of ffmep4
by deretsigernu from LinuxQuestions.org on (#5JDBW)
Using sbopkg to install ffmpeg4, the slackbuilds.org page includes this statement:
"By default it will not build the ffmpeg binaries or man-pages, in order
not to conflict with an ffmpeg 3.x package. You can change this by
using the following environment variable setting:
BINS=yes"
I don't have ffmpeg 3.x on the system, so I figured I would just let ffmpeg4 build the binaries.
I changed the slackbuild file through the "Custom" menu option in sbopkg. I changed the "no" to "yes" in the line
Code:# set "enable_$VAR" variables
# ENV VAR DEFAULT IF YES IF NO
enable "BINS" "no" "" "--disable-programs --disable-manpages"I did not know what to write in the "IF YES" column, where it originally is just "". I just took the "IF NO" option and changed disable to enable. That returned an error message. I tried with just "--enable-programs" under the "IF YES" column. That also returned and error. I tried "--enable-binaries". Another error. Each error said:
Quote:
I don't know how to look up the "./configure --help" when the sbopkg/slackbuild scripts are running. I typed
Code:./configure --help outside of sbopkg and then I get an error "configure is an unknown command" or something similar.
I have two questions. What option should I use with "enable BINS "yes" "? And how do I look up configure options for a package/script?


"By default it will not build the ffmpeg binaries or man-pages, in order
not to conflict with an ffmpeg 3.x package. You can change this by
using the following environment variable setting:
BINS=yes"
I don't have ffmpeg 3.x on the system, so I figured I would just let ffmpeg4 build the binaries.
I changed the slackbuild file through the "Custom" menu option in sbopkg. I changed the "no" to "yes" in the line
Code:# set "enable_$VAR" variables
# ENV VAR DEFAULT IF YES IF NO
enable "BINS" "no" "" "--disable-programs --disable-manpages"I did not know what to write in the "IF YES" column, where it originally is just "". I just took the "IF NO" option and changed disable to enable. That returned an error message. I tried with just "--enable-programs" under the "IF YES" column. That also returned and error. I tried "--enable-binaries". Another error. Each error said:
Quote:
Unknown options "--enable-bins" (or "...-programs", depending on what I tried as an option) See ./configure --help for available options |
Code:./configure --help outside of sbopkg and then I get an error "configure is an unknown command" or something similar.
I have two questions. What option should I use with "enable BINS "yes" "? And how do I look up configure options for a package/script?