| Some time ago I reported an problem with the motif server under
| FreeBSD. I got an response in which somebody was able to verify the
| problem and even had a solution to it (recompiling the motifd without
| some default options). However I have unfortunatly lost that email, and
| as there is no archive of this list, I could not find it again. (Infact
| right now i am not even sure, whether the repsonse came over the list or
| per personal email). So if somebody (the very helpful author e.g.) could
| post that solution again, that would be great. 
| 

The file target:motif/server/Config.x86 is broken for FreeBSD higher
than 4.2. Use the following instead.

CFLAGS = -O2 -I/usr/X11R6/include -I. -I$(VPATH)
LDFLAGS = -L/usr/X11R6/lib
#LIBS = -static -lXm -dynamic -lXt -lXext -lX11 -lSM -lICE -lXp# -lc_r
## problem with -static, get multiple defs of _Xp_copyPasswd_
LIBS = -lXm -lXt -lXext -lX11
# This def assumes you are building in the same or parallel
# tree to the CVS souce layout. Sites may need to customize
# this path.
VPATH = ../../../src/motif/server/

You want the above in a file named "Config" in the above mentioned
directory.

To compile motifd, you first need to load "target:tools/clmcom" into
a running lisp (with the "target:" search-list properly defined. A
side effect of this is to compute some C header files. After that,
you can go into the motif/server directory and 'make motifd'.
Move that file to /usr/local/lib/cmucl/lib and you should be all
set. If that works for you I will make the change permanent in the
repository.

If you have trouble with all that, ask again and I will place my copy
of motifd on cons.org.

Paul




Reply via email to