This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

XPaint-2.5.3


Hi,

I downloaded XPaint-2.5.3 from 
http://www.danbbs.dk/~torsten/xpaint/index.html, applied the attached 
patch and got it to compile with a straightforward:

  bash xmkmf
  make Makefiles
  make
  make install

However, when I try to execute XPaint.exe it displays the following
error message

  X Error of failed request:  BadLength (poly request too large or
   internal Xlib length error)
    Major opcode of failed request:  72 (X_PutImage)
    Serial number of failed request:  702
   Current serial number in output stream:  710

and bails out.

Any suggestions??

Note: before you try this you need to compile xpm-3.4j, which you can 
get from koala.inria.fr/pub/xpm. I have libXpm.a in $(USRLIBDIR) and 
xpm.h in $(INCROOT)/X11. Precompiled versions of these files are in
ftp://minimike.franken.de/pub/system/UnixOnW32/X/fvwm2bn.tgz. 
Not that you need any precompiled files; building libXpm.a and xpm.h 
is easy. I've tried them with RXVT and SXPM, and they work fine.

Tijs Michels
m.h.m.michels@kub.nl

-----------patch by Tijs Michels-------------

diff -c0 -r ./Local.config /temp/xpaint/xpaint/Local.config
*** ./Local.config Thu Jan 22 21:55:37 1998
--- /temp/xpaint/xpaint/Local.config Thu Jan 29 12:59:15 1998
***************
*** 34 ****
! EXTRA_DEFINES = -DERRORBEEP
--- 34 ----
! EXTRA_DEFINES = -DERRORBEEP -D__EMX__
***************
*** 61 ****
! #define HaveTIFF
--- 61 ----
! XCOMM  #define HaveTIFF
***************
*** 72 ****
! #define HaveJPEG
--- 72 ----
! XCOMM  #define HaveJPEG
***************
*** 83 ****
! #define HavePNG
--- 83 ----
! XCOMM  #define HavePNG
***************
*** 104 ****
! XPM_LIB     = -L/usr/X11R6/lib -lXpm
--- 104 ----
! XPM_LIB     = -L$(USRLIBDIR) -lXpm
***************
*** 108 ****
! XPM_INCLUDE = -I/usr/X11R6/include/X11
--- 108 ----
! XPM_INCLUDE = -I$(INCROOT)/X11
diff -c0 -r ./fileName.c /temp/xpaint/xpaint/fileName.c
*** ./fileName.c Thu Jan 22 21:55:23 1998
--- /temp/xpaint/xpaint/fileName.c Thu Jan 29 12:59:13 1998
***************
*** 40 ****
- #if defined(SYSV) || defined(SVR4)
--- 39 ----
***************
*** 42,44 ****
- #else
- #include <sys/dir.h>
- #endif
--- 40 ----
***************
*** 378 ****
- #if defined(SYSV) || defined(SVR4) || defined(__alpha)
--- 373 ----
***************
*** 380,382 ****
- #else
-     struct direct *e;
- #endif
--- 374 ----
diff -c0 -r ./misc.h /temp/xpaint/xpaint/misc.h
*** ./misc.h Thu Jan 22 21:38:23 1998
--- /temp/xpaint/xpaint/misc.h Thu Jan 29 12:59:13 1998
***************
*** 55,58 ****
- #ifdef __EMX__
- #define strcasecmp stricmp
- #endif
- 
--- 54 ----
diff -c0 -r ./rw/writePS.c /temp/xpaint/xpaint/rw/writePS.c
*** ./rw/writePS.c Tue Jun 25 10:50:39 1996
--- /temp/xpaint/xpaint/rw/writePS.c Thu Jan 29 12:59:17 1998
***************
*** 19 ****
- #ifdef sco
--- 18 ----
***************
*** 21,23 ****
- #else
- #include <sys/time.h>
- #endif
--- 19 ----
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]