1999.02.10 12:59 "Re: Installation of libtiff", by John McClurkin
I have to admit that I am very new to libtiff and fairly new to UNIX based development in general. I am currently trying to install libtiff v3.4 on Solaris 2.6. I have successfully run the configure script but when running make I encounter the following error:
*** Error code 1
make: Fatal error: Command failed for target `tif_fax3sm.c'
Current working directory /usr/libtiff/tiff-v3.4/libtiff
*** Error code 1
make: Fatal error: Command failed for target `all'Is this a common problem? Can anyone offer me any tips or better yet point me to a more complete HOWTO then the sgi site?
While I am asking, are there any sites that you folks recommend for more information on libtiff? Thanks in advance.
The problem is that there is no tif_fax3sm.c file in the distribution. To make this work copy tiff-v3.4/contrib/winnt/fax3sm.c to tiff-v3.4/libtiff/tif_fax3sm.c. Then try your make again. The file fax3sm.c defines some structures that are declared as externals in tif_fax3.h. You can remove tif_fax3sm.c from the makefile, but then you will need to define these structures in any programs that use libtiff.lib.
--
----------------------------------------------+--------------------------
John W. McClurkin, PhD. | jwm@lsr.nei.nih.gov
National Eye Institute, NIH | VOX: 301-496-9216
Laboratory of Sensorimotor Research | FAX: 301-402-0511
Bldg. 49, RM 2A50 |
49 Convent Dr. MSC 4435 |
Bethesda MD 20892-4435 USA |
----------------------------------------------+--------------------------