LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   ffmpeg slackbuild error for slackware 13.1 (http://www.linuxquestions.org/questions/slackware-14/ffmpeg-slackbuild-error-for-slackware-13-1-a-814252/)

el_jauzaa 06-15-2010 07:34 AM

ffmpeg slackbuild error for slackware 13.1
 
the error :

Code:

/tmp/SBo/ffmpeg-0.5.1/libavutil"/common.h "/tmp/SBo/ffmpeg-0.5.1/libavutil"/crc.h "/tmp/SBo/ffmpeg-0.5.1/libavutil"/fifo.h "/tmp/SBo/ffmpeg-0.5.1/libavutil"/intfloat_readwrite.h "/tmp/SBo/ffmpeg-0.5.1/libavutil"/log.h "/tmp/SBo/ffmpeg-0.5.1/libavutil"/lzo.h "/tmp/SBo/ffmpeg-0.5.1/libavutil"/mathematics.h "/tmp/SBo/ffmpeg-0.5.1/libavutil"/md5.h "/tmp/SBo/ffmpeg-0.5.1/libavutil"/mem.h "/tmp/SBo/ffmpeg-0.5.1/libavutil"/pixfmt.h "/tmp/SBo/ffmpeg-0.5.1/libavutil"/random.h "/tmp/SBo/ffmpeg-0.5.1/libavutil"/rational.h "/tmp/SBo/ffmpeg-0.5.1/libavutil"/sha1.h "/tmp/SBo/package-ffmpeg/usr/include/libavutil"
install -m 644 "/tmp/SBo/ffmpeg-0.5.1"/libavutil/libavutil.pc "/tmp/SBo/package-ffmpeg/usr/lib/pkgconfig"
install -d "/tmp/SBo/package-ffmpeg/usr/lib/vhook"
install -m 755 vhook/fish.so vhook/null.so vhook/watermark.so vhook/ppm.so vhook/drawtext.so "/tmp/SBo/package-ffmpeg/usr/lib/vhook"
install -d "/tmp/SBo/package-ffmpeg/usr/bin"
install -c -m 755 ffmpeg ffplay ffserver "/tmp/SBo/package-ffmpeg/usr/bin"
install -d "/tmp/SBo/package-ffmpeg/usr/share/ffmpeg"
install -m 644 /tmp/SBo/ffmpeg-0.5.1/ffpresets/libx264-baseline.ffpreset /tmp/SBo/ffmpeg-0.5.1/ffpresets/libx264-default.ffpreset /tmp/SBo/ffmpeg-0.5.1/ffpresets/libx264-fastfirstpass.ffpreset /tmp/SBo/ffmpeg-0.5.1/ffpresets/libx264-hq.ffpreset /tmp/SBo/ffmpeg-0.5.1/ffpresets/libx264-ipod320.ffpreset /tmp/SBo/ffmpeg-0.5.1/ffpresets/libx264-ipod640.ffpreset /tmp/SBo/ffmpeg-0.5.1/ffpresets/libx264-lossless_fast.ffpreset /tmp/SBo/ffmpeg-0.5.1/ffpresets/libx264-lossless_max.ffpreset /tmp/SBo/ffmpeg-0.5.1/ffpresets/libx264-lossless_medium.ffpreset /tmp/SBo/ffmpeg-0.5.1/ffpresets/libx264-lossless_slow.ffpreset /tmp/SBo/ffmpeg-0.5.1/ffpresets/libx264-lossless_slower.ffpreset /tmp/SBo/ffmpeg-0.5.1/ffpresets/libx264-lossless_ultrafast.ffpreset /tmp/SBo/ffmpeg-0.5.1/ffpresets/libx264-main.ffpreset /tmp/SBo/ffmpeg-0.5.1/ffpresets/libx264-max.ffpreset /tmp/SBo/ffmpeg-0.5.1/ffpresets/libx264-normal.ffpreset /tmp/SBo/ffmpeg-0.5.1/ffpresets/libx264-slowfirstpass.ffpreset "/tmp/SBo/package-ffmpeg/usr/share/ffmpeg"
./ffmpeg.SlackBuild: line 197: cd: /tmp/SBo/package-ffmpeg/usr/man: No such file or directory

help me...

chess 06-15-2010 07:41 AM

Since this relates to a SlackBuild script from SlackBuilds.org, the better place to ask for help is probably the SlackBuilds.org mailing list.

However, I am guessing you only did 'su' to root and not 'su -', which is incorrect. See Step 3 of the SlackBuilds.org HOWTO.

el_jauzaa 06-15-2010 07:42 AM

Quote:

Originally Posted by chess (Post 4004165)
Since this relates to a SlackBuild script from SlackBuilds.org, the better place to ask for help is probably the SlackBuilds.org mailing list.

However, I am guessing you only did 'su' to root and not 'su -', which is incorrect. See Step 3 of the SlackBuilds.org HOWTO.

ok ! i will try it !

sleekslack 06-15-2010 07:47 AM

You'll laugh of my solution. Got this same problem just last night.
After execute the SlackBuild script, while things are compiling, I did open another shell, then 'cd' to '/tmp/SBo/package-ffmpeg/' and 'mkdir -p usr/man' :D

Well, maybe I'm respect the error too literally.

el_jauzaa 06-15-2010 07:52 AM

Quote:

Originally Posted by sleekslack (Post 4004175)
You'll laugh of my solution. Got this same problem just last night.
After execute the SlackBuild script, while things are compiling, I did open another shell, then 'cd' to '/tmp/SBo/package-ffmpeg/' and 'mkdir -p usr/man' :D

Well, maybe I'm respect the error too literally.

:D

still build...i hope that 'thing' work... :D

update : it's work...sorry 4 my silly question. thx to sleekslack

chess 06-15-2010 08:23 AM

Quote:

Originally Posted by sleekslack (Post 4004175)
You'll laugh of my solution. Got this same problem just last night.
After execute the SlackBuild script, while things are compiling, I did open another shell, then 'cd' to '/tmp/SBo/package-ffmpeg/' and 'mkdir -p usr/man' :D

I believe that solution is not the best. The reason it cannot find the /tmp/SBo/package-ffmpeg/usr/man directory is because the man pages were not built during the ffmpeg compilation, and the reason the man pages were not built during compilation is because if you only do 'su' then things like /usr/share/texmf/bin are not in the user's $PATH and that's what is needed to build the man pages. If you use 'su -' then texmf will be in the user's $PATH, the man pages will be built, and the /tmp/SBo/package-ffmpeg/usr/man directory will be created.

KMBS 06-15-2010 08:59 AM

I had the very same problem as el_jauzaa the other day, took me some time to figure out that you really need a true root shell ('su -' to switch to root instead of 'su') like chess pointed out before.
After that I was able to build the package without errors.

dc_eros 06-15-2010 07:18 PM

Wow, I was about to ask this question yesterday, but I just forgot to bring the error messages at the office. So the solution was:

I never thought there was a guideline for SlackBuilding :D

sleekslack 06-16-2010 12:47 AM

:redface:What an embarrassing. Using Slackware for quite some time now and
just knowing that I should use 'su -' instead of 'su' for SlackBuild script. :newbie:

I guess I should read more. :study:

veeall 06-16-2010 03:45 AM

Wow, i had this prob also. Only now i am going to take this stuff about 'su -' seriously. :)


All times are GMT -5. The time now is 01:31 PM.