Subject: Re: X11 build from /usr/src
To: Sverre Froyen <sverre@viewmark.com>
From: Frederick Bruckman <fredb@immanent.net>
List: current-users
Date: 01/11/2004 13:45:34
On Sun, 11 Jan 2004, Sverre Froyen wrote:

> I added
>
> MKX11=yes
> X11SRCDIR=/usr/xsrc

(You don't actually need the second line. That's the default.)

> to /etc/mk.conf, rebuilt the tools, and attempted a
>
> ./build.sh -T ./tooldir.i386  distribution
>
> I keep getting errors like
>
> (cd /usr/src/x11/tools/pswrap && /usr/src/tooldir.i386/bin/nbmake)
> #   compile  pswrap/main.lo
> cc -O -DXENVIRONMENT -DFRIENDSFILE='"<DPS/dpsfriends.h>"' -I.
> -I/usr/xsrc/xfree/xc/config/pswrap -c -o
> main.lo.o    /usr/xsrc/xfree/xc/config/pswrap/main.c
> /usr/xsrc/xfree/xc/config/pswrap/main.c:43:21: X11/Xos.h: No such file
> or directory

From examing a succesful build from yesterday morning, there should
be a symlink to "/usr/xsrc/xfree/xc/include" named "X11" in pswrap's
object directory. This is the first thing done by a "make" there:

    @ pwd
    /usr/src/x11/tools/pswrap
    @ make -n |head -3
    echo '#  ' " create " pswrap/X11
    rm -f X11
    ln -s /usr/xsrc/xfree/xc/include X11

Nothing seems to have changed there in the last few days, so I'm at
a loss to explain why it didn't work for you. Do you have the symlink,
and do you have "Xos.h" in the directory that it points to?

Frederick