The otp_src_R13B02_OTP-8213_OTP-8214.patch fixes the following issue present in otp_src_R13B02 or otp_src_R13B02-1: OTP-8213: xmerl_sax_parse:stream/2 failed with {fatal_error,_, "Continuation function undefined, and more data needed",_,_} when no continuation function was defined even though it was a complete document as input. OTP-8214: The namespace URI supplied on unprefixed attributes in startElement tuples is the same as the URI for the default namespace. According to the standard the namespace for an unprefixed attribute should always has no value. You need to apply the patch with a gnu patch compatible patch program. How to apply the patch: $ ls otp_src_R13B02_OTP-8213_OTP-8214.patch otp_src_R13B02-1.tar.gz $ gtar -zxf otp_src_R13B02-1.tar.gz $ cd otp_src_R13B02-1 $ patch -ZNp1 < ../otp_src_R13B02_OTP-8213_OTP-8214.patch patching file lib/xmerl/src/xmerl_sax_parser_base.erlsrc $ # configure, make, and make install as usual...