[Rd] error in make install-info (PR#969)
Kurt Hornik
Kurt.Hornik@ci.tuwien.ac.at
Tue, 5 Jun 2001 22:00:58 +0200
>>>>> Peter Dalgaard BSA writes:
> p.ribeiro@lancaster.ac.uk writes:
>> Hi
>> I'm installing R with the standard commands:
>>
>> ./configure
>> make
>> make check
>> make dvi to create DVI versions
>> make pdf to create PDF versions
>> make info to create info files
>>
>> make install
>> make install-dvi
>> make install-info
>> make install-pdf
>>
>> Everything works fine apart from "make install-info":
>>
>> ---------------------------------------------------------------------
>> [root@fyb012000002 /home/DOWNLOADS/R/Rdev]# make install-info
>> make[1]: Entering directory `/home/DOWNLOADS/R/Rdev/doc/manual'
>> Usage: mkinstalldirs [-h] [--help] [-m mode] dir ...
>> make[1]: *** [/usr/local/lib/Rdevel/info/dir] Error 1
>> make[1]: Leaving directory `/home/DOWNLOADS/R/Rdev/doc/manual'
>> make: [install-info] Error 2 (ignored)
>> ----------------------------------------------------------------------
>>
>> This happens from R-1.2.3 (and previous) as well as for R-devel (1.3.0).
>> Anything to worry about (it seens harmless)?
> It's likely caused by
> /doc/manual/Makefile: @$(MKINSTALLDIRS) -p $(infodir)
> in which I suspect that one can safely lose the "-p" since
> mkinstalldirs obviously doesn't know what to do with it...
Thanks for spotting this. The `-p' is wrong. Removed now.
> BTW we seem to be alternately using $(MKINSTALLDIRS) and
> $(top_srcdir)/tools/mkinstalldirs for this purpose. Anyone have a clue
> on whether this ought to be standardized?
Yes, of course. We use the latter in the add-on package Makefiles.
These do not include $(top_builddir)/Makeconf where MKINSTALLDIRS is
defined. I think we can safely stay with the current solution.
Best,
-k
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: r-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._