Login · Register
September 05 2010 10:12:06

Interesting Websites

Compiling flvstreamer for use on Unslung Linux

Package Installation

In order to compile flvstreamer, you will first need to install certain packages. These include the GCC compiler and the required libraries for flvstreamer.

The first step is to ensure you have the latest package listings.


Code
ipkg update




Next, we need to install the C compiler, make and the C++ Standard Library.

Code
ipkg install crosstool-native

ipkg install make

ipkg install libstdc++




Another useful package is the coreutils package which provides many (yes, you guessed it) core utilities. These include functions such as env, which is used to check/modify your environment variables. This is very useful when trying to determine why a certain program just will not run.

Code
ipkg install coreutils




In order to get flvstreamer to compile and run correctly on Unslung, we need to modify the makefile. If you, like me, get totally confused by the vi text editor, you will want to use a more user friendly alternative. This is where nano shines. It has a very user friendly interface - for a console text editor at least.

Code
ipkg install nano




Now that all of these packages are installed, we need to download the flvstreamer source code, as is described on the next page.

Ratings
Rating is available to Members only.

Please login or register to vote.

No Ratings have been Posted.