Basic Build Instructions
So you've decided you want to build Xuggler yourself. Good on you.It's not for the timid though. This page gives detailed instructions.But if you don't want to deal with this, try one of our installers onthe downloads page.
Prerequisite Software
You need to have the following software installed:
OS | Software |
---|---|
Required |
|
Additional Windows Requirements | |
Additional Mac Requirements |
|
Optional Software | See the Optional Software Section in the Advanced building topics. |
Getting the Source Code
You can get the latest Xuggler source code here:
git clone git://github.com/xuggle/xuggle-xuggler.git
Setting up your environment
Xuggle looks for an environment variable called XUGGLE_HOME
to determine where to install itself to.
You will also need to add $XUGGLE_HOME/bin
to the PATH
variable on your system, and $XUGGLE_HOME/lib
to thedynamic library load directories on your system. The following tablesummarizes the settings for the major OS groups.
OS | Environment settings |
---|---|
Linux | You can set XUGGLE_HOME to any directory you like, and if not set, we'll default to /usr/local (like most open source projects). You may want to use your own setting though to make it easier to add and remove, and to avoid overwriting any other installations of FFmpeg you may have. export XUGGLE_HOME=/usr/local/xuggler export PATH=$XUGGLE_HOME/bin:$PATH export LD_LIBRARY_PATH=$XUGGLE_HOME/lib:$LD_LIBRARY_PATHOptionally, set $XUGGLE_REPO to a directory where you want ant to install published ivy jars (if you don't set it, it defaults to dist/ivy in your build directory). |
Mac OS-X | export XUGGLE_HOME=/usr/local/xuggler export PATH=$XUGGLE_HOME/bin:$PATH export DYLD_LIBRARY_PATH=$XUGGLE_HOME/lib:$DYLD_LIBRARY_PATHOptionally, set $XUGGLE_REPO to a directory where you want ant to install published ivy jars (if you don't set it, it defaults to dist/ivy in your build directory). |
Building on Windows is a big PITA. Alas, Windows doesn't have a nice command line way of setting variables, but using their GUI tool, set the following:
|
Building (the easy way)
After you've checked out the latest code, run the following from thatdirectory:
ant run-tests
Check that all tests ran 100% successfully. If they did, then execute:
sudo ant install
to install the shared libraries into their default $XUGGLE_HOME
location.
Building the 64-bit version of Xuggler
Note: If you're using a 64-bit JVM you must build the 64-bitversion of Xuggler
On OS except Mac, the build should auto-detect 64 bit versus 32 bit. On Mac you'll default to 64-bit. If you need 32-bit binaries (for example, for the Apple Java 1.5 JVM in client mode), you'll need to tell the build system to build 32 bit. For that:
ant -Dbuild.configure.os=i386-apple-darwin clobber run-tests
And here for example is building the 64-bit of windows .
ant -Dbuild.configure.os=x86_64-w64-mingw32 clobber run-tests
You must pass the same -D option to every call of ant.
Cleaning Your Build Tree
To clean out your build tree of all Java compiled files, run:
ant clean-java
This will not clean out the native build tree (as that is often timeconsuming to rebuild). To completely nuke all generated files, includingnative files, run:
ant clobber
Supported Operating Systems
Here's a list of the OSes we know Xuggle has been built and run on (withall tests passing 100%). You're welcome to try building on othersystems, but your mileage may vary. Please let us know your results ifyou do so we can update this page.
OS Family | OS Version | 32 Bit | 64 Bit |
---|---|---|---|
Windows 7 & Vista | Yes | Builds, but not tested | |
XP | Yes | No | |
Versions 7 & higher. | Yes | Yes | |
Versions 8.04 LTS (Hardy Heron) & higher. | Yes | Yes | |
Mac OS-X 10.5 | Yes | Yes |
Advanced Building Topics
Hopefully the simpler build set-up works for you, but if not, you candelve even further into the mix of Java and Native build systems weuse for Xuggler
Read Xuggler Advanced Building Topics »
'Information' 카테고리의 다른 글
Avast Antivirus 8 Pro (0) | 2013.10.12 |
---|---|
xuggler 5.4 api (0) | 2013.10.11 |
Mac 패키지 매니져 port 사용법 (0) | 2013.10.10 |
xuggler _ Advanced Building Topics (0) | 2013.10.10 |
어베스트 프로(Avast Pro)를 3000원에 이용하세요 (0) | 2013.09.25 |
Erlang http://www.tryerlang.org/ (0) | 2013.09.06 |