Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ucbvax!decwrl!sun!pitstop!sundc!seismo!uunet!uvm-gen!banzai!roger From: roger@banzai.UUCP (Roger Florkowski) Newsgroups: comp.sources.bugs Subject: Re: PAX won't make on my UNIX PC Message-ID: <1088@banzai.UUCP> Date: 7 Feb 89 12:59:40 GMT References: <550@kosman.UUCP> Reply-To: roger@banzai.UUCP (Roger Florkowski) Organization: People's Computer Company, Williston, VT Lines: 24 In article <550@kosman.UUCP> kevin@kosman.UUCP (Kevin O'Gorman) writes: >I just got PAX off the net and tried to make it on this here UNIX PC. It >says right there in the README that it has been done, so I feel foolish >that I cannot do it. > >cc complains that cannot be found. I trace it down to >./limits.h including whenever __STDC__ is defined. I have >NO WAY that I can tell to undefine this symbol, and I cannot invent >this file. > pax tries to include if __STDC__ is defined OR if _POSIX_SOURCE is defined. There is nothing in the distribution of pax that defines __STDC__. It is expecting this symbol from an ansi c cpp. So far, so good. Check if your Makefile defines _POSIX_SOURCE. I know it is in there, and it should be commented out. You should also add "-I." to CFLAGS (minus the quotes) so that the cpp will pick up the "limits.h" file in the pax distribution. There should be very few configuration changes needed to get pax to compile. -- Roger Florkowski {uunet!uvm-gen, attmail}!banzai!roger The People's Computer Company `Revolutionary Programming'