On Thu, 21 Mar 2002 15:51:53 +0900, "Stephen J. Turnbull" said:
 >>>>> "Valdis" == Valdis Kletnieks
<Valdis.Kletnieks(a)vt.edu> writes:
 
     Valdis> Whats wrong with this picture? (cut and pasted from output
     Valdis> of 'make' with 'EMACSDEBUGPATHS=1'):
 
 Nothing.  This is the way Michael Sperber thinks it should be.  There
 was a thread on this a while back.  The solutions are easy: 
Hmm... I wonder why I didn't notice - probably because I wasn't paying attention
and hadn't gotten bit yet ;)
 1.  Add --package-path=/usr/local/lib/xemacs to your ./configure
args.
 2.  Install XEmacs in the normal way and run from there.
 
 If either of those doesn't work, I definitely want to hear from you. 
Based on your comment further down, I did this instead for testing:
EMACSPACKAGEPATH="/usr/local/lib/xemacs/mule-packages/:/usr/local/lib/xemacs/xemacs-packages/"
src/xemacs
Option (1) is a non-starter in my opinion - *everybody* is going to get
bit by this, because:
Option (2) is also a non-starter in general.  If you have to jump through too many
hoops to test before saying 'make install', it won't happen.
(I'll add that once I managed to get 'src/xemacs' to come up, I *did* do
a 'make install' and things *do* work as expected after that).
     Valdis> Is this a --pdump only issue?  Does it work for
others?
 
 No, and no.  I'm not sure why the list is not full of enraged
 people. :)  At this point it should not be possible to run in-place
 without an explicit spec (EMACSPACKAGEPATH at run time or
 --package-path at build time) for the root of the packages hierarchy,
 or a packages hierarchy rooted at the build root. 
We're gonna have lots of enraged people when people who aren't running
the bleeding-edge CVS try this:
untar
./configure
make
src/xemacs
make install
(After all - don't we *all* at least try './newproggie' before we type
'make install' and overlay a known working copy?  ;)
 Michael argues (more or less) that XEmacs should have only one ROOT
 such that the executable is $ROOT/bin/xemacs or $ROOT/src/xemacs, and
 that the packages hierarchies should be rooted in $ROOT/*-packages for
 run-in-place, or $ROOT/lib/xemacs/*-packages for an installed XEmacs.
 This is the admin-centric view. 
 The people who get upset about the situation generally feel that the
 version-specific root (ie, found relative to $ROOT/{bin,src}/xemacs)
 is one thing, and the packages root something else.  They feel that
 since XEmacs knows where it will be installed (according to --prefix),
 it should look there by default for the packages root.  This is the
 tester-centric view.  :-) 
Can somebody add this at the appropriate place in the code:
      if (!package_path) {
            printf("Warning no package path found.  Try setting EMACSPACKAGEPATH\
                if running-in-place");
      }
or something similar?  We may even want to output a "probably workable"
suggested
value intuited from the settings of --prefix and --mule....
/Valdis