ffmpeg slackbuilds.org script failure
Hey all,
When I try to compile ffmpeg for Slackware 13.1 x86_64 using the slackbuilds.org script, I have to comment these lines: Code:
( cd $PKG/usr/man Code:
./ffmpeg.SlackBuild: line 194: cd: /tmp/SBo/package-ffmpeg/usr/man: No such file or directory |
It is not the script's fault.
You probably ran "su" to become root in order to compile the package. However, this does not provide a fully compatible root shell... your environment is incomplete. If you use "su -" to become root instead, then you will have root's full shell environment, so that the ffmpeg.SlackBuild script will work correctly (and the man pages will be created). Eric |
Are you using su or su - ?
Use "su -", according to slackBuilds guidelines. Edit: Oops sorry, too slow here :D |
Actually I did this:
$ kdesu "konsole -e $SHELL -l" Or rather I have that as a shortcut on my main KDE panel. I thought the -l option made sure I had a complete environment. |
I've just tried compiling it again, this time using "su - root". The result:
Code:
./ffmpeg.SlackBuild: line 194: cd: /tmp/SBo/package-ffmpeg/usr/man: No such file or directory |
In that case, you have probably not installed the TeX package. That is required to build the man pages. A full installation of Slackware should provide it.
Eric |
I was a frequent offender of the incorrect use of 'su' instead of 'su -' when using slackbuild scripts in the past. Before I corrected myself of this habit I used the following in my own FFmpeg build, which I stole from alienBOB some time ago:
Code:
if ! $(which texi2html 2>/dev/null) ; then Andrew |
Quote:
After having reinstalled tetex, the ffmpeg package now builds without error. Thanks. :) |
All times are GMT -5. The time now is 06:34 PM. |