Sponsored Content
Top Forums UNIX for Advanced & Expert Users X-Emacs Install: Can't specify package path (21.5.29) Post 302409217 by LovinLinux on Thursday 1st of April 2010 09:14:01 AM
Old 04-01-2010
X-Emacs Install: Can't specify package path (21.5.29)

Hello, all.

I'm trying to compile and install X-Emacs. The .configure package path options for installing new versions of X-Emacs has changed, and I can't make them work for me!

I'm trying to install X-Emacs 21.5.29 (current Beta), and despite using the new package path .configure options introduced in 21.5.25, I can't control where X-Emacs goes looking for packages.

I have a sumo tarball unpacked in (for example) /tools/xemacs/xemacs-packages; and so when I ran the X-Emacs configure script, used the command line:
./configure --prefix=/net/tools -with-system-packages=/net/tools/lib/xemacs

Then, I try to load X-Emacs, and get failures on every 'require that I have in my init.el. Running xemacs with the "-no-init-file" option, I find that I have no access to modules like vc; c++-mode; etc. And using the online package installer yields an error message: "symbol's value as variable is void: allow-remote-paths"

I'm at my wits' end. PLEASE HELP!
-------------------
Doing some digging..

The X-Emacs 21.5.25 release notes (which explain the new load path controls) are at: XEmacs: XEmacs 21.5.25 "eggplant" is released. Later versions of 21.5.x have no mention of altered arguments in their release notes.
After compiling and running X-Emacs, I get the following config information
Command: / Result:
M-x describe-variable RET configure-late-package-directories / "/net/tools/lib/xemacs/"
M-x describe-variable RET load-path / /net/tools/share/xemacs/site-lisp/" "/net/tools/share/xemacs-21.5-b29/lisp/

---------- Post updated 04-01-10 at 09:14 AM ---------- Previous update was 03-31-10 at 11:46 AM ----------

Figured out the problem.. Packages were in :/net/tools/lib/xemacs/xemacs-packages/xemacs-packages/; instead of /net/tools/lib/xemacs/xemacs-packages/

Everything works now.
 

We Also Found This Discussion For You

1. UNIX for Dummies Questions & Answers

Can't install rpm package with --prefix in new path.Error: package is not relocatable

Hello, i have downloaded an rpm package "hadoop-0.20.205.0-1.amd64.rpm" in /usr/local/ directory. I'm trying to install the rpm package in a new path/location (/usr/local/hadoop-0.20.205), but i can't. I did: 1st try: Didn't work sudo rpm -i --prefix=/usr/local/hadoop-0.20.205... (1 Reply)
Discussion started by: g_p
1 Replies
DH_INSTALLEMACSEN(1)						     Debhelper						      DH_INSTALLEMACSEN(1)

NAME
dh_installemacsen - register an Emacs add on package SYNOPSIS
dh_installemacsen [debhelperoptions] [-n] [--priority=n] [--flavor=foo] DESCRIPTION
dh_installemacsen is a debhelper program that is responsible for installing files used by the Debian emacsen-common package into package build directories. It also automatically generates the preinst postinst and prerm commands needed to register a package as an Emacs add on package. The commands are added to the maintainer scripts by dh_installdeb. See dh_installdeb(1) for an explanation of how this works. FILES
debian/package.emacsen-compat Installed into usr/lib/emacsen-common/packages/compat/package in the package build directory. debian/package.emacsen-install Installed into usr/lib/emacsen-common/packages/install/package in the package build directory. debian/package.emacsen-remove Installed into usr/lib/emacsen-common/packages/remove/package in the package build directory. debian/package.emacsen-startup Installed into etc/emacs/site-start.d/50package.el in the package build directory. Use --priority to use a different priority than 50. OPTIONS
-n, --no-scripts Do not modify postinst/prerm scripts. --priority=n Sets the priority number of a site-start.d file. Default is 50. --flavor=foo Sets the flavor a site-start.d file will be installed in. Default is emacs, alternatives include xemacs and emacs20. NOTES
Note that this command is not idempotent. dh_prep(1) should be called between invocations of this command. Otherwise, it may cause multiple instances of the same text to be added to maintainer scripts. SEE ALSO
debhelper(7) "usr/share/doc/emacsen-common/debian-emacs-policy.gz" This program is a part of debhelper. AUTHOR
Joey Hess <joeyh@debian.org> 11.1.6ubuntu2 2018-05-10 DH_INSTALLEMACSEN(1)
All times are GMT -4. The time now is 05:47 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy