[FLVTool2-users] Using flvtool2 on linux, how?

Norman Timmler lists at inlet-media.de
Mon Mar 6 14:01:12 EST 2006


Am Montag, den 06.03.2006, 20:41 +0200 schrieb Naicu Octavian:
> Ok, downloaded latest version, followed the instructions and got an
> error when trying to use it:
> 
> [root at localhost flvtool2_1.0.4_rc5]# flvtool2 -H
> /usr/bin/env: ruby1.8: No such file or directory
> 
> Below is the entire install log, which ends with the error!
> ========================================================
> [root at localhost flvtool2_1.0.4_rc5]# ls
> bin  examples  lib  LICENSE  README  setup.rb
> [ root at localhost flvtool2_1.0.4_rc5]# ruby setup.rb config
> ---> bin
> <--- bin
> ---> lib
> ---> lib/flv
> <--- lib/flv
> ---> lib/flvtool2
> <--- lib/flvtool2
> <--- lib
> [root at localhost flvtool2_1.0.4_rc5]# ruby setup.rb setup
> ---> bin
> <--- bin
> ---> lib
> ---> lib/flv
> <--- lib/flv
> ---> lib/flvtool2
> <--- lib/flvtool2
> <--- lib
> [root at localhost flvtool2_1.0.4_rc5]# ruby setup.rb install
> rm -f InstalledFiles
> ---> bin
> mkdir -p /usr/local/bin
> install flvtool2 /usr/local/bin/
> <--- bin
> ---> lib
> mkdir -p /usr/local/lib/ruby/site_ruby/1.8
> install flv.rb /usr/local/lib/ruby/site_ruby/1.8/ 
> install mixml.rb /usr/local/lib/ruby/site_ruby/1.8/
> install flvtool2.rb /usr/local/lib/ruby/site_ruby/1.8/
> install miyaml.rb /usr/local/lib/ruby/site_ruby/1.8/
> ---> lib/flv
> mkdir -p /usr/local/lib/ruby/site_ruby/1.8/flv 
> install video_tag.rb /usr/local/lib/ruby/site_ruby/1.8/flv
> install amf_string_buffer.rb /usr/local/lib/ruby/site_ruby/1.8/flv
> install core_extensions.rb /usr/local/lib/ruby/site_ruby/1.8/flv
> install meta_tag.rb /usr/local/lib/ruby/site_ruby/1.8/flv 
> install tag.rb /usr/local/lib/ruby/site_ruby/1.8/flv
> install audio_tag.rb /usr/local/lib/ruby/site_ruby/1.8/flv
> install stream.rb /usr/local/lib/ruby/site_ruby/1.8/flv
> <--- lib/flv
> ---> lib/flvtool2
> mkdir -p /usr/local/lib/ruby/site_ruby/1.8/flvtool2
> install version.rb /usr/local/lib/ruby/site_ruby/1.8/flvtool2
> install base.rb /usr/local/lib/ruby/site_ruby/1.8/flvtool2
> <--- lib/flvtool2
> <--- lib
> [root at localhost flvtool2_1.0.4_rc5]# flvtool2 -H
> /usr/bin/env: ruby1.8: No such file or directory

Ok, i'll fix this in the next release. For make it running on your
machine edit /usr/local/bin/flvtool2:

Change the first line 

#!/usr/bin/env ruby1.8

to

#!/usr/bin/env ruby
-- 
Norman Timmler

http://blog.inlet-media.de



More information about the Flvtool2-users mailing list