[Xastir] Compile 1.9.5 on Cygwin?

CHRISTINE ANDERSON acraiga at pacbell.net
Sun Feb 1 04:00:31 EST 2009


Hello all,
I hope this isn't a dumb question, but I got this compile error when compiling Xastir under Cygwin.  I was using ImageMagick and I have been trying to change to GraphicsMagick and have not been able to get GraphicsMagick to work yet.  Could this message be a problem between ImagePagick and GraphicsMagick?  Or a problem in Cygwin Motif support?

sh-3.2$ 
sh-3.2$ make
make  all-recursive
make[1]: Entering directory `/home/MOBU/src/xastir'
Making all in src
make[2]: Entering directory `/home/MOBU/src/xastir/src'
Making all in rtree
make[3]: Entering directory `/home/MOBU/src/xastir/src/rtree'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/MOBU/src/xastir/src/rtree'
make[3]: Entering directory `/home/MOBU/src/xastir/src'
gcc -DHAVE_CONFIG_H -I. -I..   -I/usr/local/include -I/usr/include/ImageMagick -DXASTIR_DATA_BASE=\"/usr/local/share/xastir\"  -g -pipe -W -Wall -Wpointer-arith -Wstrict-prototypes -Wno-unused-parameter -MT alert.o -MD -MP -MF .deps/alert.Tpo -c -o alert.o alert.c
In file included from /usr/include/Xm/XmAll.h:79,
                 from alert.c:308:
/usr/include/Xm/Print.h:28:34: X11/extensions/Print.h: No such file or directory
In file included from /usr/include/Xm/XmAll.h:79,
                 from alert.c:308:
/usr/include/Xm/Print.h:40: error: parse error before "XPContext"
/usr/include/Xm/Print.h:43: error: parse error before '}' token
/usr/include/Xm/Print.h:61: error: parse error before "XPFinishProc"
make[3]: *** [alert.o] Error 1
make[3]: Leaving directory `/home/MOBU/src/xastir/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/MOBU/src/xastir/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/MOBU/src/xastir'
make: *** [all] Error 2
sh-3.2$

The missing include file "/usr/include/X11/extentions/Print.h" does not factor into the error message that follows.  If I create an empty Print.h file, the missing include file message goes away but the message about XPContent does not.  The line before XPContent is "XEvent *event;" where XEvent is defined in /usr/include/X11/Xlib.h., but adding that include file does not help.

Any ideas would be greatly appreciated.
Thanks,
Craig
n6yxk




More information about the Xastir mailing list