[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#249777: semi: prevents gnus-bonus-el package from configuring



On August 18, 2004 at 4:08PM +0200,
Laurent.Bonnaud (at inpg.fr) wrote:

> Errors were encountered while processing:
>  gnus-bonus-el

> Here is the /tmp/elc_VSpcM6.log logfile:
> 
> emacs20 -q -no-site-file --no-site-file -batch -l path.el -f batch-byte-compile gnus-eyecandy.el gnus-filterhist.el gnus-junk.el gnus-outlook-deuglify.el gnus-pers.el message-x.el nnir.el nnnil.el nntodo.el spam-stat.el
> Warning: Lisp directory `/usr/local/share/emacs/20.7/site-lisp' does not exist.
> Wrote /usr/share/emacs20/site-lisp/gnus-bonus-el/gnus-eyecandy.elc
> While compiling toplevel forms in file /usr/share/emacs20/site-lisp/gnus-bonus-el/gnus-filterhist.el:
>   !! File error (("Cannot open load file" "pces-20"))

If you installed emacs20 and apel, pces-20.elc should be located
in `/usr/share/emacs20/site-lisp/apel/pces-20.elc'.

I guess the attached patch fixes this bug.

-- 
Tatsuya Kinoshita
--- /usr/lib/emacsen-common/packages/install/gnus-bonus-el.orig
+++ /usr/lib/emacsen-common/packages/install/gnus-bonus-el
@@ -89,6 +89,7 @@
 cd ${ELCDIR}
 
 cat << EOF > path.el
+(setq load-path (cons "/usr/share/${FLAVOR}/site-lisp/apel" load-path))
 (setq load-path (cons "." load-path) byte-compile-warnings nil)
 EOF
 if test "${APPEND_LOAD_PATH}" != ""

Attachment: pgpLogVVkKPap.pgp
Description: PGP signature


Reply to: