From xemacs-m  Sun Mar  2 17:17:36 1997
Received: from steadfast.teradyne.com (steadfast.teradyne.com [131.101.1.200])
	by xemacs.org (8.8.5/8.8.5) with ESMTP id RAA02060
	for <xemacs-beta@xemacs.org>; Sun, 2 Mar 1997 17:17:34 -0600 (CST)
Received: from kiki.icd.teradyne.com (kiki.icd.teradyne.com [131.101.1.30]) by steadfast.teradyne.com (8.7.1/8.7.1) with ESMTP id SAA22948 for <xemacs-beta@xemacs.org>; Sun, 2 Mar 1997 18:20:49 -0500 (EST)
Received: from spacely.icd.teradyne.com (spacely.icd.teradyne.com [131.101.10.9]) by kiki.icd.teradyne.com (8.7.1/8.7.1) with SMTP id SAA18663 for <xemacs-beta@xemacs.org>; Sun, 2 Mar 1997 18:14:29 -0500 (EST)
Received: from spacely by spacely.icd.teradyne.com (SMI-8.6/SMI-SVR4)
	id SAA01592; Sun, 2 Mar 1997 18:17:32 -0500
Message-Id: <199703022317.SAA01592@spacely.icd.teradyne.com>
X-Mailer: exmh version 2.0gamma 1/27/96
To: xemacs-beta@xemacs.org
reply-to: acs@acm.org
X-Attribution: Vin
Subject: --srcdir broken in b96
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Date: Sun, 02 Mar 1997 18:17:31 -0500
From: Vinnie Shelton  <shelton@icd.teradyne.com>

!!!Warning!!! don't use --srcdir w/ b96!!!

#1) PURESIZE.h build was a problem.  See below.

#2) on startup, load-path is fairly skimpy:

("/pd/src/gnu/xemacs-19.15-b96/Solaris/site-lisp" "/pd/src/gnu/xemacs-19.15-b96/Solaris/lisp")

Hence, no lisp code works


Details:

PURESIZE adjustment: eventual success, but it was painful.

Here's my config for 19.15-b96:

  Where should the build process find the source code?    /pd/src/gnu/xemacs-19.15-b96
  What installation prefix should install use?            /usr/local
  What operating system and machine description files should XEmacs use?
        `s/sol2-4.h' and `m/sparc.h'
  What compiler should XEmacs be built with?              cc -fast -xO4 -xcg89 -xtarget=ss5
  Should XEmacs use the GNU version of malloc?            yes
  Should XEmacs use the relocating allocator for buffers? yes
  What window system should XEmacs use?                   x11
  Where do we find X Windows header files?                /usr/openwin/include
  Where do we find X Windows libraries?                   /usr/openwin/lib
  Additional header files:                                /pd/oslib/include
  Additional libraries:                                   /pd/oslib
  Compiling in support for XAUTH.
  Compiling in support for XPM.
  Compiling in support for GIF image conversion.
  Compiling in support for JPEG image conversion.
  Compiling in support for PNG image conversion.
  Compiling in support for ToolTalk.
  Compiling in support for SparcWorks.
  Using the Lucid menubar.
  Using the Lucid scrollbar.
  Using the Athena dialog boxes.
  Compiling in extra code for debugging.
 
Here's how I configure:

mkdir Solaris
cd Solaris
../configure .... --srcdir=..

As always, this fails if I use /usr/ccs/bin/make on Solaris 2.4.  So I use 
GNU make.  This get me to the point of dumping, but then:

Finding pointers to doc strings...done
Warning: doc lost for variable c-C++-class-key.
Warning: doc lost for variable c-hanging-braces-alist.
Warning: doc lost for variable c-inhibit-startup-warnings-p.
Warning: doc lost for variable c-ObjC-method-key.
Warning: doc lost for variable c-Java-class-key.
Warning: doc lost for variable c-mode-menu.
Warning: doc lost for variable c-C-comment-start-regexp.
Warning: doc lost for variable c-access-key.
Warning: doc lost for function c-end-of-statement.
Warning: doc lost for variable objc-mode-abbrev-table.
Warning: doc lost for variable c-auto-hungry-string.
Warning: doc lost for function c-popup-menu.
Warning: doc lost for variable c-strict-syntax-p.
Warning: doc lost for function c-functionp.
Warning: doc lost for variable c-C++-conditional-key.
Warning: doc lost for variable c++-mode-hook.
Warning: doc lost for variable java-mode-hook.
Warning: doc lost for variable c-ObjC-access-key.
Warning: doc lost for variable cc-imenu-c++-generic-expression.
Warning: doc lost for variable java-mode-abbrev-table.
Warning: doc lost for function c-toggle-hungry-state.
Warning: doc lost for function c-submit-bug-report.
Warning: doc lost for variable c-insert-tab-function.
Warning: doc lost for variable c-emacs-features.
Warning: doc lost for variable c-mode-hook.
Warning: doc lost for variable c-C-class-key.
Warning: doc lost for variable c-class-key.
Warning: doc lost for variable c-baseclass-key.
Warning: doc lost for function c-gnu-impose-minimum.
Warning: doc lost for function c-toggle-auto-state.
Warning: doc lost for variable c-offsets-alist.
Warning: doc lost for variable c-label-minimum-indentation.
Warning: doc lost for function c-backward-into-nomenclature.
Warning: doc lost for function c-forward-into-nomenclature.
Warning: doc lost for variable c-file-style.
Warning: doc lost for variable c-syntactic-context.
Warning: doc lost for function c-electric-star.
Warning: doc lost for variable c-tab-always-indent.
Warning: doc lost for variable objc-mode-syntax-table.
Warning: doc lost for variable c-backslash-column.
Warning: doc lost for variable c-mode-abbrev-table.
Warning: doc lost for variable c-echo-syntactic-information-p.
Warning: doc lost for variable objc-mode-hook.
Warning: doc lost for variable java-mode-syntax-table.
Warning: doc lost for variable c-progress-interval.
Warning: doc lost for function c-electric-brace.
Warning: doc lost for variable c-auto-newline.
Warning: doc lost for function c-electric-pound.
Warning: doc lost for variable c-mode-syntax-table.
Warning: doc lost for variable java-mode-map.
Warning: doc lost for variable c-Java-access-key.
Warning: doc lost for variable c-C-conditional-key.
Warning: doc lost for variable c-conditional-key.
Warning: doc lost for function c-set-offset.
Warning: doc lost for variable c-C-conditionals.
Warning: doc lost for variable c++-mode-map.
Warning: doc lost for variable c-hanging-comment-ender-p.
Warning: doc lost for variable c-indent-comments-syntactically-p.
Warning: doc lost for variable c-switch-label-key.
Warning: doc lost for variable c-cleanup-list.
Warning: doc lost for function c-electric-slash.
Warning: doc lost for variable c-hanging-semi&comma-criteria.
Warning: doc lost for variable c-protection-key.
Warning: doc lost for function c-up-conditional.
Warning: doc lost for function c-backslash-region.
Warning: doc lost for variable c-mode-help-address.
Warning: doc lost for variable c-file-offsets.
Warning: doc lost for variable c-style-alist.
Warning: doc lost for function c-snug-do-while.
Warning: doc lost for function c-show-syntactic-information.
Warning: doc lost for function c-version.
Warning: doc lost for variable c-version.
Warning: doc lost for variable c-inher-key.
Warning: doc lost for variable c++-mode-abbrev-table.
Warning: doc lost for function c-postprocess-file-styles.
Warning: doc lost for variable c-C++-access-key.
Warning: doc lost for function c-electric-lt-gt.
Warning: doc lost for function c-forward-conditional.
Warning: doc lost for variable objc-mode-map.
Warning: doc lost for variable c-electric-pound-behavior.
Warning: doc lost for variable c-recognize-knr-p.
Warning: doc lost for variable c-comment-start-regexp.
Warning: doc lost for variable c-double-slash-is-comments-p.
Warning: doc lost for function c-indent-command.
Warning: doc lost for variable c-method-key.
Warning: doc lost for function c-electric-delete.
Warning: doc lost for variable c-comment-only-line-offset.
Warning: doc lost for variable c-special-indent-hook.
Warning: doc lost for variable c-mode-common-hook.
Warning: doc lost for variable c-delete-function.
Warning: doc lost for function c-indent-defun.
Warning: doc lost for variable c-Java-method-key.
Warning: doc lost for variable c-basic-offset.
Warning: doc lost for function c-indent-exp.
Warning: doc lost for variable c-Java-conditional-key.
Warning: doc lost for function c-electric-semi&comma.
Warning: doc lost for variable c-C++-comment-start-regexp.
Warning: doc lost for variable c-site-default-style.
Warning: doc lost for variable c-label-key.
Warning: doc lost for variable c++-mode-syntax-table.
Warning: doc lost for variable c-mode-map.
Warning: doc lost for variable c-ObjC-class-key.
Warning: doc lost for function c-add-style.
Warning: doc lost for function c-fill-paragraph.
Warning: doc lost for function c-electric-colon.
Warning: doc lost for function c-mark-function.
Warning: doc lost for variable c-symbol-key.
Warning: doc lost for function c-semi&comma-inside-parenlist.
Warning: doc lost for function c-use-java-style.
Warning: doc lost for variable c-hungry-delete-key.
Warning: doc lost for variable c-block-comments-indent-p.
Warning: doc lost for function c-beginning-of-statement.
Warning: doc lost for function c-toggle-auto-hungry-state.
Warning: doc lost for variable cc-imenu-c-generic-expression.
Warning: doc lost for function c-backward-conditional.
Warning: doc lost for variable c-C++-friend-key.
Warning: doc lost for function c-scope-operator.
Warning: doc lost for function c-enable-//-in-c-mode.
Warning: doc lost for variable c-hanging-colons-alist.
 
This is usually because some files were preloaded by loaddefs.el or
site-load.el, but were not passed to make-docfile by Makefile.
 
Dumping under names xemacs and emacs-19.15-xemacs-beta96
 
XEmacs exiting.Can't write PURESIZE: permission denied, PURESIZE.h
gmake[1]: [xemacs] Error 255 (ignored)
if [ -f SATISFIED ]; then \
        gmake xemacs; \
fi

I'm going to copy ../src/PURESIZE.h into src/PURESIZE.h and see if that 
helps....

Nope.  The time on PURESIZE.h changes, but the value never changes from:

/* This file is generated by XEmacs, DO NOT MODIFY!!! */
# define PURESIZE 782468


This seems pretty close to optimal.  The last time around the loop, here 
are the stats:

Purespace usage: 782452 of 1350000 (58% -- 554k wasted).
                           ^^^
                           +----from $(srcdir)/PURESIZE.h

OK, so now I:

cp src/PURESIZE.h ../src/PURESIZE.h

and try again.

OK.  now it builds.


I'm going to start a build in the distribution directory....


--vin


