Stefan Reichör, 2007-08-23:

> I got the following question regarding the debian package:
> 
>>   I built deb packages from yesterday's snapshot using 
>>   dpkg-buildpackage -r fakeroot -b 
>>   on an Ubuntu 7.04 system, emacs21.4.1
>>   While building the package I noticed: 
>>  
>> config.status: WARNING: dvc-load-install.el contains a reference to the 
>> variable `datarootdir'
>> which seems to be undefined.  Please make sure it is defined.
> 
> 
> What is the status of the debian package. Should it work?

I don't know.  But the warning above is not specific to Debian and not 
an indication that DVC is not working.  Building DVC from scratch prints 
it every time; for example, "make distclean && autoconf && ./configure" 
in the source tree prints it.

The file dvc-load-install.el (generated by ./configure from 
dvc-load-install.el.in) contains this code:

(add-to-list 'load-path "$(prefix)/share/emacs/site-lisp/dvc/")
(unless (locate-library "ewoc")
   (add-to-list 'load-path "$(prefix)/share/emacs/site-lisp/dvc/contrib"))
(add-to-list 'Info-default-directory-list "${datarootdir}/info/info")

I don't see how this code can possibly work; as far as I know, Emacs 
doesn't have any special treatment for the prefixes "$(prefix)" or 
"${datarootdir}" in entries in `load-path' and 
`Info-default-directory-list'.

Since I don't think this code works at all, I suspect nobody is using 
this file.  We can just delete it.  That would get rid of the warning. 
Any objections?

Christian.


_______________________________________________
Dvc-dev mailing list
[email protected]
https://mail.gna.org/listinfo/dvc-dev

Reply via email to