TIFF and LibTiff Mail List Archive


1995.01.19 13:46 "Problem with Ultrix.", by Phil Lewis
1995.01.19 18:23 "Re: Problem with Ultrix.", by John Bradley

1995.01.19 18:23 "Re: Problem with Ultrix.", by John Bradley

I am trying to compile XV 3.10 on ULTRIX 4.3c. It fails on the tiff libaries t4.h header file line 58 which declares the TIFFFaxWhiteCodes[] section. It's because you have a const in there.

I have looked at the 3.2 tiff libraries and these compile OK with the Makefile.sun used.

Yes, version 3.3 of the tiff library *requires* an ANSI C compiler, and I don't think the dec-supplied compiler in Ultrix is such a beastie. If you have gcc installed on your machine, that should do the trick. Otherwise, you could try to live without the TIFF support. I don't know if that's feasible for you...

Will XV 3.10 compile with the TIFF 3.2 libaries??

A definite maybe. I don't *think* there were any major changes between 3.2 and 3.3 that would keep XV 3.10 from linking to the 3.2 libraries, but I can't say that I've ever tried it.

If that doesn't work, you might try snarfing the 'ansi2knr.c' program from the jpeg directory, and running it on all the .c and .h files in the tiff directory. It purports to de-ANSIfy C code, and it may do the trick. Again, I don't know how successful you'll be...