Hi, Mats
On Tue, Oct 11, 2011 at 05:57:19PM +0200, Mats Lidell wrote:
Hi Alan,
>>>>> Alan Mackenzie <acm(a)muc.de> writes:
> Presumably after each little change to my (package-)source
code,
> I'll need to do a 'make install' to test it. Or would it be better
> to put the source code directly under the install directory?
No. Just do "make install" and let make put the packages
where you
have chosen in your Local.rules file.
OK. I've got my Local.rules file set up. I did it first by building the
packages (which takes long enough), then experimenting with XEmacs
./configure settings until something worked. This seems a bit backwards,
but it worked.
My setup (and the recommend way to do it according to Local.rules)
Building xemacs binary:
--prefix=/src/xemacs
--with-package-path=~/.xemacs:/src/xemacs/xemacs-packages:/src/xemacs/mule-packages:/src/xemacs/site-packages
Building xemacs packages
sources located at: /src/xemacs/packages
In Local.rules: XEMACS_INSTALLED_PACKAGES_ROOT = ${XEMACS_PACKAGES_BASE}/..
Does that really mean a /src directory at the top level of the file
system?
I put ~/emacs/xemacs.hg/xemacs-packages.elc into
XEMACS_INSTALLED_PACKAGES_ROOT, but I had to go one level down when
specifying --with-package-path=... in the ./configure file.
There is a description in the Local.rules file that describes this
above in detail.
I use this approach so the installation is it's own copy and not
depending on what I might pull into the sources. This way your
packages will not be destroyed by some package that won't
compile. (Which might happen if you symlink to the sources.)
> This is a real time sink, for both of us. Thanks for the help.
Nah. Glad to help and it is fun to compile the packages ;-) It takes
some time though. That is the reason for the existence of the prebuilt
packages and the sumu!
Ah well, I've got it now. Now to get on with the real work. ;-)
Yours
--
%% Mats
--
Alan Mackenzie (Nuremberg, Germany).
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://lists.xemacs.org/mailman/listinfo/xemacs-beta