From xemacs-m  Mon Mar 10 15:14:55 1997
Received: from amber.vis-av.com (amber.vis-av.com [206.119.44.2])
	by xemacs.org (8.8.5/8.8.5) with ESMTP id PAA03260
	for <xemacs-beta@xemacs.org>; Mon, 10 Mar 1997 15:14:10 -0600 (CST)
Received: (from derrell@localhost)
          by amber.vis-av.com (8.8.5/8.8.4)
	  id QAA13965; Mon, 10 Mar 1997 16:14:09 -0500 (EST)
Date: Mon, 10 Mar 1997 16:14:09 -0500 (EST)
Message-Id: <199703102114.QAA13965@amber.vis-av.com>
From: Derrell Lipman <derrell@vis-av.com>
To: xemacs-beta@xemacs.org
Subject: problems in xemacs-19.15b98 (compile warning; w3 bug)
Reply-To: derrell@vis-av.com
Mime-Version: 1.0 (generated by tm-edit 7.105)
Content-Type: text/plain; charset=US-ASCII

I have successfully built 19.15b98 on FreeBSD 2.1.5.  In general, it
seems to run fine.

When compiling, the manifest constant BSD is defined by freebsd.h, but
then overiden by, er... overided by, er... duplicately defined by
param.h while C compiling many files.  Warnings are produced
(obviously) but after compilation, it seems to work fine (almost - see
below).

How important is the value that BSD is set to, in freebsd.h?



The following stack trace shows a problem that I encounter with w3.

NOTE: NO TOOLBARS (should this matter?).  Configure run as:

	configure --with-toolbars=no

Configured for `i386-unknown-freebsd2.1.5'.

  Where should the build process find the source code?    /usr/src/local/xemacs-19.15-b98
  What installation prefix should install use?		  /usr/local
  What operating system and machine description files should XEmacs use?
        `s/freebsd.h' and `m/intel386.h'
  What compiler should XEmacs be built with?              gcc  -g -O 
  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/X11R6/include
  Where do we find X Windows libraries?                   /usr/X11R6/lib
  Compiling in support for XAUTH.
  Compiling in support for XPM.
  Compiling in support for GIF image conversion.
  Compiling in support for Berkeley DB.
  Compiling in support for DBM.
  Using the Lucid menubar.
  Using the Lucid scrollbar.
  Using the Athena dialog boxes.
  Compiling in extra code for debugging.


Even with -q, I get this debug-on-error stack trace after typing
"M-x w3"

  signal(error ("nil is only permitted in the top level of menubars"))
  check-menu-syntax(("Options" ["Edit Preferences" w3-preferences-edit t] "---" ["Show Menubar" w3-toggle-menubar :style toggle :selected (w3-menubar-active)] nil ["Show Location" w3-toggle-location :style toggle :selected (w3-location-active)] ["Show Status Bar" w3-toggle-minibuffer :style toggle :selected (eq ... t)] ["Incremental Display" (setq w3-do-incremental-display ...) :style toggle :selected w3-do-incremental-display] "----" ["Auto Load Images" (setq w3-delay-image-loads ...) :style toggle :selected (not w3-delay-image-loads)] ["Flush Image Cache" (setq w3-graphics-list nil) w3-graphics-list] "----" ["Download to disk" (setq w3-dump-to-disk ...) :style toggle :selected w3-dump-to-disk] ["Caching" (setq url-automatic-caching ...) :style toggle :selected url-automatic-caching] ["Use Cache Only" (setq url-standalone-mode ...) :style toggle :selected url-standalone-mode] "----" ["Save Options" w3-menu-save-options t]))
  check-menu-syntax((("File" ["Open Location..." w3-fetch t] ["Open File..." w3-open-local t] ["Open in New Window..." w3-fetch-other-frame t] ["New Window" make-frame t] "---" ["Save" save-buffer t nil] ("Save As..." ... ... ... ... ...) "---" ("Print As..." ... ... ... ...) ("Mail Document..." ... ... ... ...) "---:shadowDoubleEtchedIn" ["Close" delete-frame ...] ["Exit" save-buffers-kill-emacs t]) ("Edit" ["Undo" advertised-undo nil] ["Cut" kill-region nil] ["Copy" copy-region-as-kill t] "----" ["Search..." w3-search-forward t] ["Search Again..." w3-search-again w3-last-search-item]) ("View" ["Document Information" w3-document-information t] ["Document Source" w3-source-document t] ["Load Images" w3-load-delayed-images w3-delayed-images] "----" ["Refresh" w3-refresh-buffer w3-current-parse] ["Reload" w3-reload-document ...] "----" ["Show URL" url-view-url t] ["Show URL At Point" w3-view-this-url t] "----") ("Go" ["Forward" w3-history-forward ...] ["Back" w3-history-backward!
 ...] ["Home" w3 w3-default-homepage] ["View History..." w3-show-history-list url-keep-history] "----" ("Links" :filter w3-menu-links-constructor) ("Navigate" :filter w3-menu-html-links-constructor)) ("Bookmark" ["View Bookmarks..." w3-show-hotlist w3-hotlist] ["Add Bookmark" w3-hotlist-add-document t] ["Delete Bookmark" w3-hotlist-delete t] ["Rename Bookmark" w3-hotlist-rename-entry t] ["Append Bookmark List" w3-hotlist-append t] "----" ("Bookmarks" :filter w3-menu-hotlist-constructor)) ("Options" ["Edit Preferences" w3-preferences-edit t] "---" ["Show Menubar" w3-toggle-menubar :style toggle :selected ...] nil ["Show Location" w3-toggle-location :style toggle :selected ...] ["Show Status Bar" w3-toggle-minibuffer :style toggle :selected ...] ["Incremental Display" ... :style toggle :selected w3-do-incremental-display] "----" ["Auto Load Images" ... :style toggle :selected ...] ["Flush Image Cache" ... w3-graphics-list] "----" ["Download to disk" ... :style toggle :selected w!
3-dump-to-disk] ["Caching" ... :style toggle :selected url-automatic-caching] ["Use Cache Only" ... :style toggle :selected url-standalone-mode] "----" ["Save Options" w3-menu-save-options t]) ("Style" ["Allow Document Stylesheets" ... :style toggle :selected w3-honor-stylesheets] ["Honor Color Requests" ... :style toggle :selected ...] "---" ["Reload Stylesheets" w3-refresh-stylesheets t]) ["XEmacs" w3-menu-toggle-menubar t] nil ("Help" ["About Emacs-w3" ... t] ["Manual" ... t] "---" ["Version Information..." ... t] ["On FAQ" ... t] "---" ["Mail Developer(s)" w3-submit-bug t])) t)
  set-buffer-menubar((("File" ["Open Location..." w3-fetch t] ["Open File..." w3-open-local t] ["Open in New Window..." w3-fetch-other-frame t] ["New Window" make-frame t] "---" ["Save" save-buffer t nil] ("Save As..." ... ... ... ... ...) "---" ("Print As..." ... ... ... ...) ("Mail Document..." ... ... ... ...) "---:shadowDoubleEtchedIn" ["Close" delete-frame ...] ["Exit" save-buffers-kill-emacs t]) ("Edit" ["Undo" advertised-undo nil] ["Cut" kill-region nil] ["Copy" copy-region-as-kill t] "----" ["Search..." w3-search-forward t] ["Search Again..." w3-search-again w3-last-search-item]) ("View" ["Document Information" w3-document-information t] ["Document Source" w3-source-document t] ["Load Images" w3-load-delayed-images w3-delayed-images] "----" ["Refresh" w3-refresh-buffer w3-current-parse] ["Reload" w3-reload-document ...] "----" ["Show URL" url-view-url t] ["Show URL At Point" w3-view-this-url t] "----") ("Go" ["Forward" w3-history-forward ...] ["Back" w3-history-backwar!
d ...] ["Home" w3 w3-default-homepage] ["View History..." w3-show-history-list url-keep-history] "----" ("Links" :filter w3-menu-links-constructor) ("Navigate" :filter w3-menu-html-links-constructor)) ("Bookmark" ["View Bookmarks..." w3-show-hotlist w3-hotlist] ["Add Bookmark" w3-hotlist-add-document t] ["Delete Bookmark" w3-hotlist-delete t] ["Rename Bookmark" w3-hotlist-rename-entry t] ["Append Bookmark List" w3-hotlist-append t] "----" ("Bookmarks" :filter w3-menu-hotlist-constructor)) ("Options" ["Edit Preferences" w3-preferences-edit t] "---" ["Show Menubar" w3-toggle-menubar :style toggle :selected ...] nil ["Show Location" w3-toggle-location :style toggle :selected ...] ["Show Status Bar" w3-toggle-minibuffer :style toggle :selected ...] ["Incremental Display" ... :style toggle :selected w3-do-incremental-display] "----" ["Auto Load Images" ... :style toggle :selected ...] ["Flush Image Cache" ... w3-graphics-list] "----" ["Download to disk" ... :style toggle :selected !
w3-dump-to-disk] ["Caching" ... :style toggle :selected url-automatic-caching] ["Use Cache Only" ... :style toggle :selected url-standalone-mode] "----" ["Save Options" w3-menu-save-options t]) ("Style" ["Allow Document Stylesheets" ... :style toggle :selected w3-honor-stylesheets] ["Honor Color Requests" ... :style toggle :selected ...] "---" ["Reload Stylesheets" w3-refresh-stylesheets t]) ["XEmacs" w3-menu-toggle-menubar t] nil ("Help" ["About Emacs-w3" ... t] ["Manual" ... t] "---" ["Version Information..." ... t] ["On FAQ" ... t] "---" ["Mail Developer(s)" w3-submit-bug t])))
  w3-menu-install-menubar()
  w3-menu-install-menus()
  w3-mode()
  w3-prepare-buffer()
  w3-pass-to-viewer()
  w3-sentinel(#<buffer "*shell1*">)
  w3-fetch("http://www.cs.indiana.edu/elisp/w3/docs.html")
  #<compiled-function (from "w3.elc") nil "...(68)" [w3-setup-done w3-do-setup w3-track-last-buffer bufferp w3-last-buffer buffer-name switch-to-buffer message "Reusing buffer.  To reload, type %s." substitute-command-keys "\\[w3-reload-document]" w3-default-homepage call-interactively w3-fetch error "Invalid setting for w3-default-homepage: %S" string-match ".*:.*" "file:"] 4 "Retrieve the default World Wide Web home page.\nThe World Wide Web is a global hypertext system started by CERN in\nSwitzerland in 1991.\n\nThe home page is specified by the variable w3-default-homepage.  The\ndocument should be specified by its fully specified Uniform Resource\nLocator.  The document will be parsed as HTML (if appropriate) and\ndisplayed in a new buffer." nil>()
  call-interactively(w3)
  command-execute(w3 t)
  execute-extended-command(nil)
  call-interactively(execute-extended-command)

