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 06-15-2010, 07:34 AM   #1
el_jauzaa
Member
 
Registered: Jun 2010
Location: indonesia
Distribution: Slackware 14.1
Posts: 101

Rep: Reputation: 17
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...
 
Old 06-15-2010, 07:41 AM   #2
chess
Member
 
Registered: Mar 2002
Location: 127.0.0.1
Distribution: Slackware, OpenBSD, FreeBSD
Posts: 728

Rep: Reputation: 168Reputation: 168
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.
 
Old 06-15-2010, 07:42 AM   #3
el_jauzaa
Member
 
Registered: Jun 2010
Location: indonesia
Distribution: Slackware 14.1
Posts: 101

Original Poster
Rep: Reputation: 17
Quote:
Originally Posted by chess View Post
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 !
 
Old 06-15-2010, 07:47 AM   #4
sleekslack
Member
 
Registered: Mar 2008
Location: Bangkok, Thailand
Distribution: Slackware64 13.37
Posts: 34

Rep: Reputation: 16
Talking

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'

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

Last edited by sleekslack; 06-15-2010 at 07:51 AM.
 
Old 06-15-2010, 07:52 AM   #5
el_jauzaa
Member
 
Registered: Jun 2010
Location: indonesia
Distribution: Slackware 14.1
Posts: 101

Original Poster
Rep: Reputation: 17
Quote:
Originally Posted by sleekslack View Post
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'

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


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

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

Last edited by el_jauzaa; 06-15-2010 at 07:55 AM. Reason: SOLVED
 
Old 06-15-2010, 08:23 AM   #6
chess
Member
 
Registered: Mar 2002
Location: 127.0.0.1
Distribution: Slackware, OpenBSD, FreeBSD
Posts: 728

Rep: Reputation: 168Reputation: 168
Quote:
Originally Posted by sleekslack View Post
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'
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.
 
1 members found this post helpful.
Old 06-15-2010, 08:59 AM   #7
KMBS
Member
 
Registered: Oct 2009
Location: Germany
Distribution: Slackware
Posts: 32

Rep: Reputation: 16
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.
 
Old 06-15-2010, 07:18 PM   #8
dc_eros
Member
 
Registered: Nov 2006
Distribution: Slackware
Posts: 292

Rep: Reputation: 39
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
 
Old 06-16-2010, 12:47 AM   #9
sleekslack
Member
 
Registered: Mar 2008
Location: Bangkok, Thailand
Distribution: Slackware64 13.37
Posts: 34

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

I guess I should read more.
 
Old 06-16-2010, 03:45 AM   #10
veeall
Member
 
Registered: May 2007
Location: Estonia
Distribution: Slackware 12.1, slackware64-current
Posts: 255

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


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
[SOLVED] LMMS Slackbuild Error with Slackware Current (GCC 4.4.3) smoooth103 Slackware 4 01-30-2010 09:06 PM
ffmpeg Slackbuild fails in current multilib damgar Slackware 4 01-09-2010 09:12 PM
PyQt4 module error in SlackBuild for Slackware 12.2 under Slackware64 13... Alexvader Slackware 3 12-28-2009 04:02 PM
ffmpeg: symbol lookup error: ffmpeg: undefined symbol: avformat_alloc_context YeeHaa4LINUX Linux - Software 2 10-16-2009 11:09 PM
Project FFMpeg (SlackBuild scripts) shilo Slackware 3 10-05-2005 10:17 AM


All times are GMT -5. The time now is 08:14 AM.

Main Menu
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