Monday, January 31, 2011

How to make Xuggler which is checkouted by window's svn in CentOS

When installing Xuggler from repository, I got an error while building it.
[exec] ../libtool: line 399: 
     [exec] : command not found../libtool: line 402: 
     [exec] : command not found../libtool: line 406: 
     [exec] : command not found../libtool: line 427: 
     [exec] : command not found../libtool: line 470: 
     [exec] : command not found../libtool: line 476: 
     [exec] : command not found../libtool: line 486: syntax error near unexpected token `newline' 
     [exec] ../libtool: line 486: `  case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac 
Some people suggest to checkout on a Linux machine.
http://groups.google.com/group/xuggler-users/browse_thread/thread/1b01b8364fff172c/1e1fbc118a97d1a1?lnk=gst&q=libtools+newline#1e1fbc118a97d1a1

But I can't. So I fix them by replacing CRLF to LF.
find . -name "*.sh" -print -exec dos2unix {} \;
find . -name "*.txt" -print -exec dos2unix {} \;
find . -name "*.in" -print -exec dos2unix {} \;
find . -name "*.am" -print -exec dos2unix {} \;
find . -name "*.c" -print -exec dos2unix {} \;
find . -name "*.h" -print -exec dos2unix {} \;
find . -name "configure" -print -exec dos2unix {} \;
find . -name "Makefile" -print -exec dos2unix {} \;

Then xuggler build successfully. But not perfect yet...

No comments:

Post a Comment