JyotsnaT / xuggle

Automatically exported from code.google.com/p/xuggle
0 stars 0 forks source link

Improve build instructions for Mac #39

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Some improvements, otherwise XUGGLE_HOME is not correctly used when "sudo
ant install" is executed:

tar -zxf xuggler-X.XX.XX.tar.gz
cd xuggler-X.XX.XX

# Workaround for javac bug (see FAQ).
for i in {1..40}; do export xuggler$i=foo; done

export XUGGLE_HOME=/usr/local/xuggle
export PATH=$XUGGLE_HOME/bin:$PATH
export LD_LIBRARY_PATH=$XUGGLE_HOME/lib:$LD_LIBRARY_PATH

# Compile, and run tests
ant run-tests

# Log as root
sudo -s

# Be sure to define those variable again for root!
export XUGGLE_HOME=/usr/local/xuggle
export PATH=$XUGGLE_HOME/bin:$PATH
export LD_LIBRARY_PATH=$XUGGLE_HOME/lib:$LD_LIBRARY_PATH

ant install

Original issue reported on code.google.com by legege on 24 Jan 2009 at 2:34

GoogleCodeExporter commented 9 years ago
Good idea; Robert this is yours.

Original comment by art.cla...@gmail.com on 24 Jan 2009 at 2:43

GoogleCodeExporter commented 9 years ago
I moved the compilation directory, and now I get this error when I try to use
/usr/local/xuggle/bin/ffmpeg:

dyld: Library not loaded:
/Users/legege/Downloads/xuggler-1.17/dist/stage/usr/local/xuggle/lib/libswscale.
dylib
  Referenced from: /usr/local/xuggle/bin/ffmpeg
  Reason: image not found
Trace/BPT trap

Original comment by legege on 25 Jan 2009 at 3:04

GoogleCodeExporter commented 9 years ago
wow; it appears that libtool on Mac doesn't work with DESTDIR.  That's an issue 
that
I'll have to noodle on...

Original comment by art.cla...@gmail.com on 25 Jan 2009 at 3:06

GoogleCodeExporter commented 9 years ago
Oups, my mistake. I mixed up DYLD_LIBRARY_PATH with LD_LIBRARY_PATH. The 
instructions
in the first post have this problem too.

Original comment by legege on 25 Jan 2009 at 3:08

GoogleCodeExporter commented 9 years ago

Original comment by tre...@gmail.com on 26 Jan 2009 at 7:52

GoogleCodeExporter commented 9 years ago
i've updated the INSTALL text file in the xuggler and the xuggler web pages:

  http://xuggle.com/xuggler/downloads/
  http://xuggle.com/xuggler/downloads/build.jsp

which should now provide complete and accurate instructions for building on OS 
X.

Original comment by tre...@gmail.com on 27 Jan 2009 at 10:06