Jonathan Rees | 24 Jun 22:50
Favicon

Unuseable target in Makefile

[jar <at> ashby scheme48-1.8]$ make build/initial.image-64
make: *** No rule to make target `build/UnicodeData.txt', needed by  
`scheme/rts/syntax-info.scm'.  Stop.
[jar <at> ashby scheme48-1.8]$
[jar <at> ashby scheme48-1.8]$
[jar <at> ashby scheme48-1.8]$

What is the point of having a target in the distribution's Makefile,  
if it can't be made?

I would suggest making sure all targets can be made, in either of two  
ways:
1. remove unmakeable targets so that they're not a tease, and put them  
in a second distribution package, or
2. add sufficient rules to permit the target to be made.

In this case, if one can get the needed source files from the web,  
include a rule to do so (using, say, wget), or emit manual  
instructions telling people like me where to get the files and where  
to put them.

I assume the entire URL is http://www.unicode.org/Public/UNIDATA/UnicodeData.txt 
  and that the other four URLs are constructed similarly; maybe that  
could be put in the Makefile as documentation.

--------------------------------

OK, in the time it took me to write the above, I've become stuck in a  
different way:

[module-system]
[analysis scheme/opt/analyze.scm]
[ensures-loaded scheme/env/load-package.scm]
Reifying 
................................................................................................................
Writing linker debug file build/reify-debug.tmp
(least 0 size 2770 count 1456)

Error: undefined variable
        set-port-crlf?!
        (package user)
make: *** [build/initial.image-64] Error 1
[jar <at> ashby scheme48-1.8]$


Gmane