Re: [pcre-dev] [Bug 686] Error in compiling

Αρχική Σελίδα
Delete this message
Συντάκτης: Craig Silverstein
Ημερομηνία:  
Προς: 686
Υ/ο: pcre-dev
Αντικείμενο: Re: [pcre-dev] [Bug 686] Error in compiling
} [root@localhost pcre-7.6]# patch configure ./configure.patch
} patching file configure
} Hunk #1 succeeded at 57 with fuzz 2 (offset -3 lines).
} patch: **** malformed patch at line 48: # so it's easy to change back to
} 'regular' autoconf vars if we needed to.

Oh, I bet the problem was just a cut-and-paste issue. In particular,
this line:

+                  EXTRA_LIBPCRECPP_LDFLAGS="$EXTRA_LIBPCRECPP_LDFLAGS
-Wl,$flag";


looks like two lines in the bug report, but is actually one line. If
you change it to one line in your editor (with a space before the
-Wl), the patch should work.

There are a few other places where this happens, such as

-EXTRA_LIBPCRECPP_LDFLAGS="$NO_UNDEFINED $EXPORT_ALL_SYMBOLS -version-info
libpcrecpp_version"

craig