failure

Stephen Weeks MLton@sourcelight.com
Wed, 18 Oct 2000 16:53:10 -0700 (PDT)


> The  new  RPMs  fail.   The  problem is that in src/runtime/Makefile, you use
> makedepend (yuck) with an argument
>     -I$(INC)
> but INC isn't defined any where.  Thus no  error  message  is  produced,  but
> makedepend is run with an argument
>     -I
> It  seems  that in the version of makedepend under Red Hat 7.0 this causes it
> to read from stdin (clearly goofy, but it should  have  produced  an  error).
> Thus the make just sits there.
> 
> I don't know what you intended this INC to be, so I don't know the fix.  Just
> dropping the
>     -I$(INC)
> seems ok, but who knows.

That fix is fine, as long as "." is automatically on the include path list.
Otherwise, the correct fix is "-I.".

> Another difference I noted is that it doesn't try and remake mlton.c now if I
> just run make in the src directory.  Is this what you wanted?

Yes.  The fact that it was remade was a mistake.

Can you fix the -I thing and make the version 2 (or 3) rpms?