HylaFAX The world's most advanced open source fax server

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Re: Hylafax and RedHat 6.2 ?



On Thu, 27 Apr 2000, Lee Howard wrote:

> RedHat 6.2 comes default with libtiff 3.5.x.  Currently the only available
> HylaFAX RPMs are not compatible with libtiff 3.5.x and you must downgrade
> your libtiff version to 3.4.x which is available by download from RedHat or
> on the RH 6.1 CD.

HylaFAX is compatible with libtiff 3.5.x. The SPEC says libtiff >= 3.4,
and it works fine for me. But take a look at the configure script, which
is somehow not correct as I think:

   2857 #
   2858 # Verify library is compatible.
   2859 #
   2860 cat>t.c<<EOF
   2861 #include "tiffio.h"
   2862 main()
   2863 {
   2864     if (TIFFLIB_VERSION < 19960307) {     /* check include file
version */
   2865         printf("old include files: version %u\n",
TIFFLIB_VERSION);
   2866         exit(-1);
   2867     }
   2868     if (strncmp(TIFFGetVersion(), "LIBTIFF, Version 3.4", 20) !=
0) {
   2869         printf("old library: version %s\n", TIFFGetVersion());
   2870         exit(-1);
   2871     } else
   2872         exit(0);
   2873 }
   2874 EOF

Line 2868 can be changed to:

   2868     if (strncmp(TIFFGetVersion(), "LIBTIFF, Version 3.5", 20) !=
0) {

So insert a

perl -pi -e "s/LIBTIFF, Version 3.4/LIBTIFF, Version 3.5/g" configure

around line 173 in the hylafax.spec because changing the sources - and I
consider 'configure' - to be part of the source is not nice.

regards,

-- 
David Vogler <david@lisas.de>
http://lisas.de/~david/




Project hosted by iFAX Solutions