On Thu, Jan 28, 1999 at 09:31:08AM +0000, Philip Aston wrote:
Anybody have any success using the "Sun" pacakge
(sparcworks/workshop
support)?
Yes, I am currently using it under 21.0.61:
uname -a: SunOS summit 5.5 Generic_103093-24 sun4m sparc
SUNW,SPARCstation-5
./configure '--without-gcc' '--with-gnu-make'
'--cflags=-fast' '--ldflags=-fast'
'--site-includes=/usr2/paulk/include:/usr/local/include'
'--site-libraries=/usr2/paulk/lib:/usr/local/lib'
'--site-runtime-libraries=/usr/dt/lib:/usr/local/lib:/usr2/paulk/lib:/usr/openwin/lib'
'--gung-ho' '--prefix=/usr2/paulk/coronafs9'
'--error-checking=none'
'--with-x11' '--with-cde' '--with-tooltalk'
'--with-workshop'
'--with-sound=native' '--native-sound-lib=/usr2/paulk/lib/libaudio.a'
XEmacs 21.0-b61 "Poitou61" configured for `sparc-sun-solaris2.5'.
We use this extensively under 20.4, but it doensn't appear to
autoload
correctly under:
XEmacs 21.0 "Pyrenean" [Lucid] (sparc-sun-solaris2.6) of Fri Jan 22
1999 on avarice configured using `configure --compiler cc --cflags
-fast --with-sparcworks --site-includes /usr/local/include
--site-libraries /usr/local/lib --with-sound=native'
I assume configure found tooltalk on its own.
I know nothing about package loading (although I might have learnt by
the end of the week :-) ). I have found I can start the support
manually using:
(load "/usr/local/lib/xemacs/xemacs-packages/lisp/Sun/sunpro-init.el")
(sunpro-startup)
(workshop-start)
I have the following in my .emacs, I have no idea if this is the "best"
or even the "correct" way to do it, but it works for me.
(cond (running-xemacs
;;; ********************
;;; Load the tooltalk and SPARCworks packages,
;;; This is only required in XEmacs-21 and newer.
;;;
(if (>= emacs-major-version 21)
(progn
(require 'mime-setup)
(load "tooltalk-macros")
(load "tooltalk-util")
(load "tooltalk-init")
(require 'cc-mode)
(require 'sunpro "sunpro-init")
(require 'ring)
(require 'comint)
(require 'annotations)
(sunpro-startup)
))
))
Also, (require 'eos) produces...
Signaling: (void-function make-tooltalk-pattern)
make-tooltalk-pattern((category TT_HANDLE scope TT_SESSION class TT_REQUEST op
"SPRO_Visit_File" callback eos::visit-file-callback))
eos::create-visit-file-pattern()
eos::editor-startup()
eos::start()
byte-code("..." [load "sun-eos-load.el" eos::start] 2)
load-internal("/usr/local/lib/xemacs/xemacs-packages/lisp/Sun/eos.elc" nil t
t nil nil)
efs-real-load("/usr/local/lib/xemacs/xemacs-packages/lisp/Sun/eos.elc" nil t
t)
load("/usr/local/lib/xemacs/xemacs-packages/lisp/Sun/eos.elc" nil t nil)
efs-real-require(eos
"/usr/local/lib/xemacs/xemacs-packages/lisp/Sun/eos.elc")
require(eos)
eval-buffer(#<buffer "*scratch*"> nil)
#<compiled-function (&optional printflag) "...(5)" [eval-buffer
printflag] 3 704559 nil>()
call-interactively(eval-current-buffer)
This can be worked around by first loading
/usr/local/lib/xemacs/xemacs-packages/lisp/tooltalk/tooltalk-util.el
- Phil
--
Paul Keusemann pkeusem(a)visi.com
4266 Joppa Court (612) 894-7805
Savage, MN 55378