Re: Motif/Lesstif on Ubuntu 6.10 (32bit)
On 1/17/07, Lauri Oherd <lauri.oherd@gmail.com> wrote:
> Hello,
> I had a similar problem when installing LW Personal 4.4.6 to Ubuntu 6.10.
> Got solution from page
> http://article.gmane.org/gmane.lisp.lispworks.general/4750
>
> > Just move away the app-defaults directory (fonts specified there aren't
> > in the default Ubuntu distribution -- Hoary, Breezy both fail here):
> >
> > On my install:
> >
> > mv /usr/local/lib/LispWorksPersonal/lib/4-4-0-0/lib/app-defaults
> > app-defaults.bak
>
> Hope this helps!
That did the trick; Thanks!
> Lauri Oherd
>
>
> On 1/17/07, Taylor, Joshua <tayloj@rpi.edu> wrote:
> >
> > Hello all,
> > I've just installed Ubuntu 6.10 on an IBM Thinkpad T22 as well as
> > LWPro 4.4.5 (with patches). I've installed Lesstif (apt-cache show lesstif2
> > gives me version 1:0.94.4-2). I'm running into some troubles with
> > the LW IDE.
> >
> > When I start the IDE, the GC monitor and the splash screen appear, and
> > then LW seems to hang. (Before I installed the patches, the GC monitor
> > and splash screen appeared, and then I was dropped into an error message.)
> > An interrupt or two at the console (Ctrl-C) gets me my error message
> > (displayed in the standard message dialog, and in the console). It reads
> >
> > Warning: (Xt Warning) Actions not found: TextInputPaneCompleteText
> > X ERROR
> > Display: #<X-LIBRARY:DISPLAY ":0.0" = #x08072698>
> > Error: BadName (named color or font does not exist)
> > Major opcode of failed request: 45 (X_OpenFont)
> >
> > On Ubuntu, the lesstif libraries end up at /usr/lib/libXm.so.1.0.2,
> > but I've changed the use-motif-library file in the config directory
> > to read
> >
> > (:detect-version
> > (;; ("/usr/X11R6/lib/libXm.so.2.0.1" :lesstif)
> > ;; ("/usr/X11R6/lib/libXm.so.2.0.1" :lesstif)
> > ("/usr/lib/libXm.so.1.0.2" :lesstif)
> > ;;("/usr/X11R6/lib/libXm.so.3" :motif)
> > )
> > :prefer-version :lesstif
> > )
> >
> > Lately I've been using SLIME/Emacs, and when I start the LW
> > executable with -tty and subsequently run
> > (x-utilities::ensure-motif-libraries), I can still do the things I'd
> > like to using CAPI, so I'm not sure exactly where the problem
> > is coming from, but it seems to be something related to the IDE.
> >
> > Also, if I remove the (load-all-patches) from siteinit.lisp to simulate
> > the behavior I had before I added the patches, the error message
> > appears when the IDE is starting. The same X ERROR appears that
> > I showed above, but there is also a LispWorks Error which appears,
> > and reads "In >= of (0 NIL) arguments should be of type REAL."
> > If I abort this error, several more similar errors appear, (it seems
> > as though there is one for each LW window in the IDE).
> >
> > Any ideas? Similar problems?
> >
> > --
> > =====================
> > Joshua Taylor
> > tayloj@rpi.edu
> >
> > "A lot of good things went down one time,
> > back in the goodle days."
> > John Hartford
> >
> >
>
--
=====================
Joshua Taylor
tayloj@rpi.edu
"A lot of good things went down one time,
back in the goodle days."
John Hartford