PAX won't make on my UNIX PC

Roger Florkowski roger at banzai.UUCP
Tue Feb 7 22:59:40 AEST 1989


In article <550 at kosman.UUCP> kevin at 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 <limits.h> cannot be found.  I trace it down to 
>./limits.h including <limits.h> 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 <limits.h> 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'



More information about the Comp.sources.bugs mailing list