VM (View Mail) for Emacs

Compilation problem in xemacs

Reported by Uday Reddy on 2009-12-06
4
This bug affects 1 person
Affects Status Importance Assigned to Milestone
VM
Status tracked in Trunk
Trunk
Critical
Unassigned

Bug Description

The 8.1 devo version fails to compile in XEmacs. configure produces the output (the relevant section)

checking otherdirs... Reading directory /home/staff/udr/xemacs/vm/8.1/lisp/...
Reading directory /home/staff/udr/xemacs/vm/8.1/lisp/...done

xemacs exiting
.Cannot open load file: conftest.el

The error message "Cannot open load file: conftest.el" ends up being the value of OTHERDIRS in lisp/Makefile, breaking the compilation process.

This problem is not present in 8.0.x.

Related branches

Uday Reddy (reddyuday) on 2009-12-07
Changed in vm:
importance: Undecided → Critical
status: New → Confirmed
Uday Reddy (reddyuday) wrote :

Rob and Ulrich, I need your help with this xemacs compilation problem. Can you double check that the following fix makes sense? I don't quite understand the configure files and I am only guessing. -- Uday

=== modified file 'configure.ac'
--- configure.ac 2009-12-04 17:39:55 +0000
+++ configure.ac 2009-12-07 20:10:22 +0000
@@ -222,7 +222,7 @@
           (add-to-list 'absolutedirs dir)))
       (princ (format "%S" absolutedirs)))
 TEST
- OTHERDIRS=`"${EMACS_PROG}" --no-site-file --batch -L ${srcdir}/lisp -l vm-build.el -l conftest.el`
+ OTHERDIRS=`"${EMACS_PROG}" --no-site-file --batch -l ${srcdir}/lisp/vm-build.el -l conftest.el`
   AC_MSG_RESULT($OTHERDIRS)
   AC_SUBST(OTHERDIRS)
 ])

> Rob and Ulrich, I need your help with this xemacs compilation problem.
> Can you double check that the following fix makes sense? I don't quite
> understand the configure files and I am only guessing.

The patch looks safe to me. XEmacs doesn't have an -L option, and the
additional dir in the load-path is only needed to find vm-build.el.

Uday Reddy (reddyuday) on 2009-12-07
Changed in vm:
status: Confirmed → Fix Committed
milestone: none → 8.1.0-beta
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers