Hylafax Mailing List Archives

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

[hylafax-users] HylaFlex installation problem (and resolution)



To whom it may concern:

I ran into a problem trying to compile HylaFax 4.0pl2 on my RedHat Linux 
6.2 system.  When I ran the configure program I received an error telling 
me that I did not have the TIFF libraries installed.  A small program was 
then shown that apparently would not compile for ./configure.

After verifying that I did have the libraries installed and that I was 
able to compile my own programs that required the TIFF library, I 
stumbled on to the fact that the configure code checks to see if the TIFF 
library version was explicitly 3.4, if not it was assumed to be an old 
library.

Since I have version 3.5 installed, the configure bombed on me.  I was 
able to modify the configure script to handle this better.  Although I 
was able to successfully work around my problem, I am submitting this to 
the mailing list in hopes that someone will be able to incorporate these 
changes into the source.  I am attaching a diff file of the changes I 
made.

Regards,
Tom
--- configure.orig	Mon Jul 10 12:52:05 2000
+++ configure	Mon Jul 10 12:59:22 2000
@@ -2816,13 +2816,19 @@
 #include "tiffio.h"
 main()
 {
+    float tiffversion;
+
     if (TIFFLIB_VERSION < 19960307) {     /* check include file version */
 	printf("old include files: version %u\n", TIFFLIB_VERSION);
         exit(-1);
     }
     if (strncmp(TIFFGetVersion(), "LIBTIFF, Version 3.4", 20) != 0) {
-	printf("old library: version %s\n", TIFFGetVersion());
-	exit(-1);
+	tiffversion = atof( TIFFGetVersion()+16 );
+	if ( tiffversion < 3.5 ) {
+	    printf("old library: version %s\n", TIFFGetVersion());
+	    exit(-1);
+         }
+         exit(0);
     } else
 	exit(0);
 }


Home
Report any problems to webmaster@hylafax.org

HylaFAX is a trademark of Silicon Graphics Corporation.
Internet connectivity for hylafax.org is provided by:
VirtuALL Private Host Services