VM

Compilation problem in xemacs

Bug #493281 reported by Uday Reddy
4
This bug affects 1 person
Affects Status Importance Assigned to Milestone
VM
Status tracked in Trunk
Trunk
Fix Released
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)
Changed in vm:
importance: Undecided → Critical
status: New → Confirmed
Revision history for this message
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)
 ])

Revision history for this message
Ulrich Müller (ulm) wrote : [Vm] [Bug 493281] Re: Compilation problem in xemacs

> 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)
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  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.