Sat, 25 Nov 2006 (20:31 +0100 UTC) Artemio Gonzalez Lopez wrote:
 robert delius royar wrote:
>  Sat, 25 Nov 2006 (14:43 +0100 UTC) Artemio Gonzalez Lopez wrote:
> 
> >  Hi everybody,
> > 
> >  I had exactly the same problem as Robert with startup.el, but I think 
> >  the circumstances in which the problem arose in in my case may shed 
> >  light on the whole issue. I have 3 machines running OS X 10.4.8, on all 
> >  of which xemacs is regularly installed in /opt/local using the following 
> >  options:
>
>  I patched configure.ac using the patch Michael Sperber posted a day ago.
>  The archives has the message at
>  
http://calypso.tux.org/pipermail/xemacs-beta/2006-November/000371.html
>
>  Now, I only add '--prefix=/Users/royar/usr/local' to configure, no need to
>  add the extra definitions to 'make install' or to tell well the packages
>  are stored.  I removed '--with-prefix' from my configuration options.
>
>  The program makes and installs without errors.
> 
 Robert,
 I have tried making xemacs with the patched configure.ac file with the 
 following configure options:
 ./configure --prefix=/opt/local --datarootdir=/opt/local/lib 
 --datadir=/opt/local/lib --infodir=/opt/local/share/info 
 --mandir=/opt/local/share/man --with-site-prefixes=/opt/local 
 --disable-error-checking --with-ldap=no --with-postgresql=no 
 --with-default-eol-detection --without-mule --with-tty --with-ncurses 
 --with-scrollbars=motif --with-dialogs=motif --with-widgets=motif 
 --with-optimization 
This is my configuration
./configure '--with-mule' '--with-widgets=athena'
'--with-athena=3d' \
  '--with-dialogs=athena' '--with-scrollbars=lucid'
'--without-debug' \
  '--with-union-type' '--without-error-checking' \
  '--prefix=/Users/royar/usr/local' '--with-png' '--with-jpeg' \
  '--with-tiff' '--with-xmu' '--with-xim=no'
'--enable-sound=esd' \
  '--disable-xfs' '--enable-dump-in-exec' '--with-modules' \
  '--enable-external-widget' '--with-dynamic' '--disable-kkcc' \
  '--disable-mc-alloc' '--enable-optimization' \
  '--with-cflags-optimization=-Os -pipe -mcpu=970 -mtune=970 -mpim-altivec' \
  '--with-site-runtime-libraries=/opt/local/lib:/usr/X11R6/lib' \
  '--with-site-libraries=/opt/local/lib:/usr/X11R6/lib' \
  '--with-xft=emacs,gauges,tabs,nomenubars' '--with-compiler=gcc-4.0' \
  'CPPFLAGS=-I/opt/local/include' 'LDFLAGS=-L/opt/local/lib'
Note that I do not now include any directives regarding where to place 
components; I only specify prefix.  Here is the tree that XEmacs 
creates:
  13M    /Users/royar/usr/local/bin
  18M    /Users/royar/usr/local/lib/xemacs/mule-packages
  10M    /Users/royar/usr/local/lib/xemacs/site-lisp
   0B    /Users/royar/usr/local/lib/xemacs/site-modules
125M    /Users/royar/usr/local/lib/xemacs/xemacs-packages
153M    /Users/royar/usr/local/lib/xemacs
  15M    /Users/royar/usr/local/lib/xemacs-21.5-b27/etc
7.1M    /Users/royar/usr/local/lib/xemacs-21.5-b27/info
  13M    /Users/royar/usr/local/lib/xemacs-21.5-b27/lisp
4.7M    /Users/royar/usr/local/lib/xemacs-21.5-b27/powerpc-apple-darwin8.8.0
  40M    /Users/royar/usr/local/lib/xemacs-21.5-b27
192M    /Users/royar/usr/local/lib
  68K    /Users/royar/usr/local/man/man1
  68K    /Users/royar/usr/local/man
I removed all traces of the tree before I installed with the current 
configuration setting (after saving site-lisp, mule-packages, and 
xemacs-packages to move back).  Since then, I have installed twice 
without touching the existing installation.
The problems I saw began when the installation began creating 
~/usr/local/share and placing a bin, lib, xemacs, and xemacs-21.5-b27 
inside it.  For some reason, share is no longer part of the picture
(see Stephen's comment earlier today at 
http://calypso.tux.org/pipermail/xemacs-beta/2006-November/000418.html).
 and it still fails at the end with the following error message:
 Compiling /Users/artemio/Archive/xemacs/xemacs-21.5.27/lisp/custom-load.el...
 Wrote /Users/artemio/Archive/xemacs/xemacs-21.5.27/lisp/custom-load.elc
 Building finder database ...
 rm -f /Users/artemio/Archive/xemacs/xemacs-21.5.27/src/../lisp/finder-inf.el
 ./xemacs -no-packages -batch    -eval "(setq finder-compile-keywords-quiet 
 t)" \
         -l finder -f finder-compile-keywords
  Requiring finder-inf... (file finder-inf.el is newer)
 xemacs exiting.
 Buffer is read-only: #<buffer "finder-inf.el">make[1]: *** 
 [/Users/artemio/Archive/xemacs/xemacs-21.5.27/src/../lisp/finder-inf.el] 
 Error 255
 make: *** [src] Error 2
 Strange thing is finder-inf.el is NOT created at all in 
 /Users/artemio/Archive/xemacs/xemacs-21.5.27/lisp/, and this directory is not 
 write-protected, i.e.
 imac-g5:~ artemio$ l -d /Users/artemio/Archive/xemacs/xemacs-21.5.27/lisp
 drwxr-xr-x   414 artemio  staff  14076 Nov 25 20:24 
 /Users/artemio/Archive/xemacs/xemacs-21.5.27/lisp
 Do you have any idea what could be the problem here? It seems to me that the 
 previous installation of xemacs in /usr/local (with no prefix, but with 
 --with-site-prefixes=/opt/local) may have a lot to do with my problems, but I 
 have no idea why ...
 Cheers,
 Artemio
 _______________________________________________
 XEmacs-Beta mailing list
 XEmacs-Beta(a)xemacs.org
 
http://calypso.tux.org/cgi-bin/mailman/listinfo/xemacs-beta
 
-- 
Dr. Robert Delius Royar                   Associate Professor of English
Morehead State University                             Morehead, Kentucky
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://calypso.tux.org/cgi-bin/mailman/listinfo/xemacs-beta