Subject: Problems with xpm & Windowmaker
To: tech-pkg <tech-pkg@netbsd.org>
From: Laurent PERTOIS <laurent_pertois@mac.com>
List: tech-pkg
Date: 01/10/2003 14:52:58
Hi everyone,

First of all, happy new year.

I have a little problem with xpm & windowmaker during compilation.

I took the pkgsrc last Friday evening and I installed few things easily.

When I tried compiling windowmaker, it stopped on xpm compilation with thes=
e
problems (I made a GNAT, ref pkg/19702)

(I hope I didn't miss any, I had to copy from the Jornada to my PowerBook) =
:

XpmI.h: 45: X11/Xmd.h: No such file or directory
In file included from XpmI.h: 46,
            from data.c: 42:
xpm.h: 76: X11/Xlib.h: No such file or directory
xpm.h: 77: X11/Xutil.h: No such file or directory
In file included from create.c: 46:
XpmI.h: 45: X11/Xmd.h: No such file or directory
In file included from XpmI.h: 46,
            from create.c: 46:
xpm.h: 76: X11/Xlib.h: No such file or directory
xpm.h: 77: X11/Xutil.h: No such file or directory
In file included from misc.c: 35:
XpmI.h: 45: X11/Xmd.h: No such file or directory
In file included from XpmI.h: 46,
            from misc.c: 35:
xpm.h: 76: X11/Xlib.h: No such file or directory
xpm.h: 77: X11/Xutil.h: No such file or directory
In file included from rgb.c: 45:
XpmI.h: 45: X11/Xmd.h: No such file or directory
In file included from XpmI.h: 46,
            from rgb.c: 45:
xpm.h: 76: X11/Xlib.h: No such file or directory
xpm.h: 77: X11/Xutil.h: No such file or directory
In file included from scan.c: 35:
XpmI.h: 45: X11/Xmd.h: No such file or directory
In file included from XpmI.h: 46,
            from scan.c: 35:
xpm.h: 76: X11/Xlib.h: No such file or directory
xpm.h: 77: X11/Xutil.h: No such file or directory
In file included from parse.c: 41:
XpmI.h: 45: X11/Xmd.h: No such file or directory
In file included from XpmI.h: 46,
            from parse.c: 41:
xpm.h: 76: X11/Xlib.h: No such file or directory
xpm.h: 77: X11/Xutil.h: No such file or directory
In file included from hashtab.c: 36:
XpmI.h: 45: X11/Xmd.h: No such file or directory
In file included from XpmI.h: 46,
            from hashtab.c: 36:
xpm.h: 76: X11/Xlib.h: No such file or directory
xpm.h: 77: X11/Xutil.h: No such file or directory
In file included from CrBufFrl.c: 35:
XpmI.h: 45: X11/Xmd.h: No such file or directory
In file included from XpmI.h: 46,
            from CrBufFrl.c: 35:
xpm.h: 76: X11/Xlib.h: No such file or directory
xpm.h: 77: X11/Xutil.h: No such file or directory
In file included from CrDatFrP.c: 35:
XpmI.h: 45: X11/Xmd.h: No such file or directory
In file included from XpmI.h: 46,
            from CrDatFrP.c: 35:
xpm.h: 76: X11/Xlib.h: No such file or directory
xpm.h: 77: X11/Xutil.h: No such file or directory
In file included from CrPFrBuf.c: 35:
XpmI.h: 45: X11/Xmd.h: No such file or directory
In file included from XpmI.h: 46,
            from CrPFrBuf.c: 35:
xpm.h: 76: X11/Xlib.h: No such file or directory
xpm.h: 77: X11/Xutil.h: No such file or directory
In file included from RdFToI.c: 35:
XpmI.h: 45: X11/Xmd.h: No such file or directory
In file included from XpmI.h: 46,
            from RdFToI.c: 35:
xpm.h: 76: X11/Xlib.h: No such file or directory
xpm.h: 77: X11/Xutil.h: No such file or directory
In file included from WrFFrI.c: 40:
XpmI.h: 45: X11/Xmd.h: No such file or directory
In file included from XpmI.h: 46,
            from WrFFrI.c: 40:
xpm.h: 76: X11/Xlib.h: No such file or directory
xpm.h: 77: X11/Xutil.h: No such file or directory
In file included from CriFrBuf.c: 35:
XpmI.h: 45: X11/Xmd.h: No such file or directory
In file included from XpmI.h: 46,
            from CriFrBuf.c: 35:
xpm.h: 76: X11/Xlib.h: No such file or directory
xpm.h: 77: X11/Xutil.h: No such file or directory
In file included from CrPFrDat.c: 35:
XpmI.h: 45: X11/Xmd.h: No such file or directory
In file included from XpmI.h: 46,
            from CrPFrDat.c: 35:
xpm.h: 76: X11/Xlib.h: No such file or directory
xpm.h: 77: X11/Xutil.h: No such file or directory
In file included from RdFToP.c: 35:
XpmI.h: 45: X11/Xmd.h: No such file or directory
In file included from XpmI.h: 46,
            from RdFToP.c: 35:
xpm.h: 76: X11/Xlib.h: No such file or directory
xpm.h: 77: X11/Xutil.h: No such file or directory
In file included from WrFFrP.c: 35:
XpmI.h: 45: X11/Xmd.h: No such file or directory
In file included from XpmI.h: 46,
            from WrFFrP.c: 35:
xpm.h: 76: X11/Xlib.h: No such file or directory
xpm.h: 77: X11/Xutil.h: No such file or directory
In file included from CrDatFrI.c: 35:
XpmI.h: 45: X11/Xmd.h: No such file or directory
In file included from XpmI.h: 46,
            from CrDatFrI.c: 35:
xpm.h: 76: X11/Xlib.h: No such file or directory
xpm.h: 77: X11/Xutil.h: No such file or directory
In file included from CrIFrDat.c: 35:
XpmI.h: 45: X11/Xmd.h: No such file or directory
In file included from XpmI.h: 46,
            from CrIFrDat.c: 35:
xpm.h: 76: X11/Xlib.h: No such file or directory
xpm.h: 77: X11/Xutil.h: No such file or directory
In file included from RdFToDat.c: 35:
XpmI.h: 45: X11/Xmd.h: No such file or directory
In file included from XpmI.h: 46,
            from RdFToDat.c: 35:
xpm.h: 76: X11/Xlib.h: No such file or directory
xpm.h: 77: X11/Xutil.h: No such file or directory
In file included from WrFFrDat.c: 35:
XpmI.h: 45: X11/Xmd.h: No such file or directory
In file included from XpmI.h: 46,
            from WrFFrDat.c: 35:
xpm.h: 76: X11/Xlib.h: No such file or directory
xpm.h: 77: X11/Xutil.h: No such file or directory
In file included from Attrib.c: 35:
XpmI.h: 45: X11/Xmd.h: No such file or directory
In file included from XpmI.h: 46,
            from Attrib.c: 35:
xpm.h: 76: X11/Xlib.h: No such file or directory
xpm.h: 77: X11/Xutil.h: No such file or directory
In file included from CrIFrP.c: 35:
XpmI.h: 45: X11/Xmd.h: No such file or directory
In file included from XpmI.h: 46,
            from CrIFrP.c: 35:
xpm.h: 76: X11/Xlib.h: No such file or directory
xpm.h: 77: X11/Xutil.h: No such file or directory
In file included from CrPFrI.c: 35:
XpmI.h: 45: X11/Xmd.h: No such file or directory
In file included from XpmI.h: 46,
            from CrPFrI.c: 35:
xpm.h: 76: X11/Xlib.h: No such file or directory
xpm.h: 77: X11/Xutil.h: No such file or directory
In file included from Image.c: 35:
XpmI.h: 45: X11/Xmd.h: No such file or directory
In file included from XpmI.h: 46,
            from Image.c: 35:
xpm.h: 76: X11/Xlib.h: No such file or directory
xpm.h: 77: X11/Xutil.h: No such file or directory
In file included from Info.c: 35:
XpmI.h: 45: X11/Xmd.h: No such file or directory
In file included from XpmI.h: 46,
            from Info.c: 35:
xpm.h: 76: X11/Xlib.h: No such file or directory
xpm.h: 77: X11/Xutil.h: No such file or directory
In file included from RdFToBuf.c: 35:
XpmI.h: 45: X11/Xmd.h: No such file or directory
In file included from XpmI.h: 46,
            from RdFToBuf.c: 35:
xpm.h: 76: X11/Xlib.h: No such file or directory
xpm.h: 77: X11/Xutil.h: No such file or directory
depending in ./sxpm
rm -f .depend
gccmakedep -f- -- -I../exports/include -I../..  -I/usr/X11R6/include
-DCSRG_BASED DFUNCPROTO=3D15 -DNARROWPROTO  -- sxpm.c > .depend
sxpm.c:36: X11/StringDefs.h: No such file or directory
In file included from sxpm.c:37:
/usr/pkgsrc/graphics/xpm/work/.buildlink-x11/include/X11/Intrinsic.h: 57:
X11/Xlib.h: No such file or directory
/usr/pkgsrc/graphics/xpm/work/.buildlink-x11/include/X11/Intrinsic.h: 58:
X11/Xutil.h: No such file or directory
/usr/pkgsrc/graphics/xpm/work/.buildlink-x11/include/X11/Intrinsic.h: 59 :
X11/Xresource.h: No such file or directory
/usr/pkgsrc/graphics/xpm/work/.buildlink-x11/include/X11/Intrinsic.h: 60 :
X11/Xfuncproto.h: No such file or directory
/usr/pkgsrc/graphics/xpm/work/.buildlink-x11/include/X11/Intrinsic.h: 64 :
X11/Xosxpm.h: No such file or directory
sxpm.c: 39: X11/Shell.h: No such file or directory
sxpm.c: 44: X11/extensions/shape.h: No such file or directory
In file include from sxpm.c: 47:
../exports/include/X11/xpm.h: 76: X11/Xlib.h: No such file or directory
../exports/include/X11/xpm.h: 77: X11/Xutil.h: No such file or directory
depending in ./cxpm...
rm -f .depend
gccmakedep -f- -- -I../exports/include -I../..  -I/usr/X11R6/include
-DCSRG_BASED DFUNCPROTO=3D15 -DNARROWPROTO  -- cxpm.c > .depend
In file included from cxpm.c: 36:
../lib/XpmI.h: 45: X11/Xmd.h: No such file or directory
In file included from ../lib/XpmI.h: 46,
            from cxpm.c: 36:
../lib/xpm.h: 76: X11/Xlib.h: No such file or directory
../lib/xpm.h: 77: X11/Xutil.h: No such file or directory
=3D=3D=3D> Building for xpm-3.4k
making all in ./lib
rm -f data.o unshared/data.o
gcc -c -I.  -I/usr/X11R6/include   -DCSRG_BASED  -DFUNCPROTO=3D15
-DNARROWPROTO -O2 data.c -o unshared/data.o
In file included from data.c: 42:
XpmI.h: 45: X11/Xmd.h: No such file or directory
In file included from XpmI.h: 46,
            from data.c: 42:
xpm.h: 76: X11/Xlib.h: No such file or directory
xpm.h: 77: X11/Xutil.h: No such file or directory
*** Error code 1

Stop
make: stopped in /usr/pkgsrc/graphics/xpm/work/xpm-3.4k/lib
making all in ./sxpm...
gcc -02   -I../exports/include  -I../.. -I/usr/X11R6/include -DCSRG_BASED
-DFUNCPROTO=3D15 -DNARROWPROTO -I/usr/pkg/include -I/usr/X11R6/include -c
sxpm.c
sxpm.c: 36: X11/StringDefs.h: No such file or directory
In file included sxpm.c: 37:
/usr/pkgsrc/graphics/xpm/work/.buildlink-x11/include/X11/Intrinsic.h: 57:
X11/Xlib.h: No such file or directory
/usr/pkgsrc/graphics/xpm/work/.buildlink-x11/include/X11/Intrinsic.h: 58:
X11/Xutil.h: No such file or directory
/usr/pkgsrc/graphics/xpm/work/.buildlink-x11/include/X11/Intrinsic.h: 59 :
X11/Xresource.h: No such file or directory
/usr/pkgsrc/graphics/xpm/work/.buildlink-x11/include/X11/Intrinsic.h: 60 :
X11/Xfuncproto.h: No such file or directory
/usr/pkgsrc/graphics/xpm/work/.buildlink-x11/include/X11/Intrinsic.h: 64 :
X11/Xosxpm.h: No such file or directory
sxpm.c: 39: X11/Shell.h: No such file or directory
sxpm.c: 44: X11/extensions/shape.h: No such file or directory
In file include from sxpm.c: 47:
../exports/include/X11/xpm.h: 76: X11/Xlib.h: No such file or directory
../exports/include/X11/xpm.h: 77: X11/Xutil.h: No such file or directory
*** Error code 1

Stop.
make : stopped in /usr/pkgsrc/graphics/xpm/work/xpm-3.4k/sxpm
making all in ./cxpm...
gcc -02   -I../exports/include  -I../.. -I/usr/X11R6/include -DCSRG_BASED
-DFUNCPROTO=3D15 -DNARROWPROTO -I/usr/pkg/include -I/usr/X11R6/include -c
cxpm.c
In file included cxpm.c: 36:
../lib/XpmI.h: 45: X11/Xmd.h: No such file or directory
In file included from ../lib/XpmI.h: 46,
            from cxpm.c: 36:
../lib/xpm.h: 76: X11/Xlib.h: No such file or directory
../lib/xpm.h: 77: X11/Xutil.h: No such file or directory
*** Error code 1

Stop.
make stopped in /usr/pkgsrc/graphics/xpm/work/xpm-3.4k/cxpm
*** Error code 1

Stop.
make stopped in /usr/pkgsrc/graphics/xpm/work/xpm-3.4k
*** Error code 1

Stop.
make stopped in /usr/pkgsrc/graphics/xpm/work/
*** Error code 1

Stop.
make stopped in /usr/pkgsrc/graphics/xpm/
*** Error code 1

Stop.
make stopped in /usr/pkgsrc/graphics/xpm/work/

--------------

Then, I made a ln from /usr/X11R6/include/X11 into
work/.buildlink/include/X11

I tried again and got this (and another one before, I didn't get it, my
screen is short and forgot to make a 2>&1 | less)

--------------

Making all in ./sxpm...
Gcc -O2 -I../exports/include -I../.. -I/usr/X11R6/include -DCSRG_BASED
-DFUNCPROTO=3D15 -DNARROWPROTO -I/usr/pkg/include -I/usr/X11R6/include -c
sxpm.c
Rm -f sxpm -O2
Gcc -o sxpm -O2 -L/usr/X11R6/lib sxpm.o -L../lib -L/usr/X11R6/lib -lXpm -lX=
t
-lSM -lICE -lXext -lX11 -Wl,rpath,/usr/X11R6/lib:/usr/X11R6/lib
-Wl,rpatg,/lib
ld: cannot find -lXt
*** Error code 1

---------------

If you want more details, I can try again.

Then, someone sent me a compiled version of xpm, I installed it and tried a
make again for windowmaker. The compilation failed also with quite the same
problems.

If anyone has any idea.

Thanks in advance,


--=20
"Dismantling store equipment can be misinterpereted as a non-friendly
act."
R=E9ponse =E0 un courrier des lecteurs, 2600 Magazine, Volume
Eighteen, Number Two=20