[mpich-devel] what version of patch is required for autogen.sh?

Larry Baker baker at usgs.gov
Tue Jun 24 18:17:55 CDT 2014


Jeff,

You know you are not really using "patch", but the dumbed-down patch-compatible BusyBox command?  If you have real "patch" on your system, maybe all you have to do is alter your PATH so it gets used instead of BusyBox's patch.  Otherwise, like this is for an embedded system, you might have to cross-compile/build from an environment with grown-up versions of the development tools.

Larry Baker
US Geological Survey
650-329-5608
baker at usgs.gov



On 24 Jun 2014, at 4:13 PM, Jeff Hammond wrote:

> What version of patch do I need for the following errors to disappear?
> 
> Thanks,
> 
> jeff
> 
> Patching libtool.m4 to enable support for powerpcle... patch:
> unrecognized option `--forward'
> BusyBox v1.15.1 (2012-06-21 22:59:00 CDT) multi-call binary
> 
> Usage: patch [-p NUM] [-i DIFF] [-R] [-N]
> 
> 	-p NUM	Strip NUM leading components from file names
> 	-i DIFF	Read DIFF instead of stdin
> 	-R	Reverse patch
> 	-N	Ignore already applied patches
> 
> failed
> Patching libtool.m4 for compatibility with nagfor shared libraries...
> patch: unrecognized option `--forward'
> BusyBox v1.15.1 (2012-06-21 22:59:00 CDT) multi-call binary
> 
> Usage: patch [-p NUM] [-i DIFF] [-R] [-N]
> 
> 	-p NUM	Strip NUM leading components from file names
> 	-i DIFF	Read DIFF instead of stdin
> 	-R	Reverse patch
> 	-N	Ignore already applied patches
> 
> failed
> ------------------------------------------------------------------------
> running autoreconf in src/mpl
> libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, `confdb'.
> libtoolize: copying file `confdb/ltmain.sh'
> libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `confdb'.
> libtoolize: copying file `confdb/libtool.m4'
> libtoolize: copying file `confdb/ltoptions.m4'
> libtoolize: copying file `confdb/ltsugar.m4'
> libtoolize: copying file `confdb/ltversion.m4'
> libtoolize: copying file `confdb/lt~obsolete.m4'
> Patching libtool.m4 to enable support for powerpcle... patch:
> unrecognized option `--forward'
> BusyBox v1.15.1 (2012-06-21 22:59:00 CDT) multi-call binary
> 
> Usage: patch [-p NUM] [-i DIFF] [-R] [-N]
> 
> 	-p NUM	Strip NUM leading components from file names
> 	-i DIFF	Read DIFF instead of stdin
> 	-R	Reverse patch
> 	-N	Ignore already applied patches
> 
> failed
> Patching libtool.m4 for compatibility with nagfor shared libraries...
> patch: unrecognized option `--forward'
> BusyBox v1.15.1 (2012-06-21 22:59:00 CDT) multi-call binary
> 
> Usage: patch [-p NUM] [-i DIFF] [-R] [-N]
> 
> 	-p NUM	Strip NUM leading components from file names
> 	-i DIFF	Read DIFF instead of stdin
> 	-R	Reverse patch
> 	-N	Ignore already applied patches
> 
> failed
> ------------------------------------------------------------------------
> running autoreconf in src/util/logging/rlog
> 
> -- 
> Jeff Hammond
> jeff.science at gmail.com
> http://jeffhammond.github.io/
> _______________________________________________
> To manage subscription options or unsubscribe:
> https://lists.mpich.org/mailman/listinfo/devel

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mpich.org/pipermail/devel/attachments/20140624/bfd474b2/attachment.html>


More information about the devel mailing list