Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!uunet!orca!fantasy!rkrebs From: rkrebs@fantasy.dsd.es.com (Randall Krebs) Newsgroups: comp.lang.perl Subject: Re: perl4.010 -P (cpp flag) is busted Keywords: cpp wrapper Message-ID: <1991Jun12.002048.27986@dsd.es.com> Date: 12 Jun 91 00:20:48 GMT References: <1991Jun11.102941.9804@bernina.ethz.ch> Sender: usenet@dsd.es.com Reply-To: rkrebs@fantasy.dsd.es.com (Randall Krebs) Organization: Evans & Sutherland Computer Corp., Salt Lake City, UT Lines: 25 Nntp-Posting-Host: 130.187.85.135 In article <1991Jun11.102941.9804@bernina.ethz.ch>, karrer@bernina.ethz.ch (Andreas Karrer) writes: > It seems that on SunOS/Ultrix/ConvexOS and probably others, perl4.010 -P > will only work if your perl source is in exactly the same spot as it > was when perl was installed. > > This is because Configure decides (after cc -E fails) to use the following > script to invoke the C preprocessor: > > cat >.$$.c; cc -E ${1+"$@"} .$$.c; rm .$$.c > > [...] Yeah. I ran into this, too. Mips RISC/os 4.52. I ended up installing cppstdin by hand into /usr/local/bin, modifying the config.sh to reflect this, then re-making and installing. I tried to figure out why using "/usr/lib/cpp -P" was a lose for this. Never did get a clue. Anyone? Anyone?? randall. -- Randall S. Krebs | A chicken is the egg's way of making more eggs. (rkrebs@dsd.es.com) | Government is anarchy's way of making more anarchy. Evans & Sutherland | - Simon Moon - Executive Director of Salt Lake City, Utah | - The Invisible Hand Society