Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!samsung!zaphod.mps.ohio-state.edu!usc!apple!agate!ziploc!eps From: eps@toaster.SFSU.EDU (Eric P. Scott) Newsgroups: comp.sys.next Subject: Re: Unix | Hardcore | Patch > HELP Keywords: Patch, gnuplot, gcc, cpp Message-ID: <1114@toaster.SFSU.EDU> Date: 12 Jan 91 03:17:22 GMT References: <1991Jan11.141327.28900@wam.umd.edu> Reply-To: eps@cs.SFSU.EDU (Eric P. Scott) Organization: San Francisco State University Lines: 41 In article <1991Jan11.141327.28900@wam.umd.edu> charlie@wam.umd.edu (Charles William Fletcher) writes: >When I ran the 'Configure' script for patch, it quit on me when it couldn't >find a C preprocessor(cpp) (what does it preprocess and for what reason?) >on the NeXT it told me to go find one (the 'Configure' script is >definite Unix *reading* if nothing else.) Anyway, does such a beast >exist for the NeXT? Where might I get it and what does it do? This has been asked and answered several times in the past, so most of you can skip to the next article now. The "Configure" included with patch is OLD and BROKEN. The "Configure" included with more recent products (e.g. elm, rn) works fine on the NeXT. You can simply "cheat" and make a few minor changes to Configure, e.g.: 750c750 < if $contains 'abc.xyz' testcpp.out >/dev/null 2>&1 ; then --- > if $contains 'abc .xyz' testcpp.out >/dev/null 2>&1 ; then 757c757 < if $contains 'abc.xyz' testcpp.out >/dev/null 2>&1 ; then --- > if $contains 'abc .xyz' testcpp.out >/dev/null 2>&1 ; then 802c802 < $cppstdin testcpp.out 2>&1 --- > eval $cppstdin testcpp.out 2>&1 When you run Configure, specify -bsd for additional cc flags. On 1.0/1.0a you'll need to tweak the Makefile to link with -lsys_s as well. If you just need an executable, you can FTP pub/patch.Z from sutro.sfsu.edu [130.212.15.230]. It's linked against the 1.0 shared library, and should run fine on 2.0 as well. -=EPS=-