home *** CD-ROM | disk | FTP | other *** search
/ Internet File Formats / InternetFileFormatsCD.bin / graphics / tiff / unix / archive.z / archive / text0088.txt < prev    next >
Encoding:
Text File  |  1995-09-20  |  1.1 KB  |  26 lines

  1. > I am trying to compile XV 3.10 on ULTRIX 4.3c.  It fails on the tiff
  2. > libaries t4.h header file line 58 which declares the TIFFFaxWhiteCodes[]
  3. > section.  It's because you have a const in there.
  4. > I have looked at the 3.2 tiff libraries and these compile OK with the
  5. > Makefile.sun used.
  6.  
  7. Yes, version 3.3 of the tiff library *requires* an ANSI C compiler, and I
  8. don't think the dec-supplied compiler in Ultrix is such a beastie.  If you
  9. have gcc installed on your machine, that should do the trick.  Otherwise, you
  10. could try to live without the TIFF support.  I don't know if that's feasible
  11. for you...
  12.  
  13. > Will XV 3.10 compile with the TIFF 3.2 libaries??
  14.  
  15. A definite maybe.  I don't *think* there were any major changes between 3.2
  16. and 3.3 that would keep XV 3.10 from linking to the 3.2 libraries, but I can't 
  17. say that I've ever tried it.
  18.  
  19. If that doesn't work, you might try snarfing the 'ansi2knr.c' program from the
  20. jpeg directory, and running it on all the .c and .h files in the tiff
  21. directory.  It purports to de-ANSIfy C code, and it may do the trick.  Again,
  22. I don't know how successful you'll be...
  23.  
  24. --jhb
  25.  
  26.