Page 1 of 1

vlc installation on ubuntu

Posted: 01 Sep 2013 12:25
by saman_artorious
Hi,
I want to install VLC source on ubuntu. Later I want to change source code and then compile it again. I haven't yet installed vlc. when I go for make, it finishes unsuccessfullyL:

Code: Select all

svg.c:501:1: warning: control reaches end of non-void function [-Wreturn-type] make[4]: *** [libsvg_plugin_la-svg.lo] Error 1 make[3]: *** [all] Error 2 make[2]: *** [all-recursive] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2
I tried to redirect the make output to a file, but unfortunately, it does not redirect all contents to the file. SO, the error messages are not printed there.

any ideas how to fix my problem?

Re: vlc installation on ubuntu

Posted: 02 Sep 2013 17:50
by RĂ©mi Denis-Courmont
You left out the interesting part.

Re: vlc installation on ubuntu

Posted: 09 Sep 2013 22:45
by artbio
To redirect all the output to a file and display it simultaneously on a terminal, use the following command syntax:

Code: Select all

./command.sh 2>&1 | tee file.txt
Replace the relevant parts by your command and filename.

See these webpages for more details:
http://www.linuxquestions.org/questions ... en-412611/
http://tldp.org/HOWTO/Bash-Prog-Intro-HOWTO-3.html