0

I am installing GRASS on Linux using source code and the ./configure file to create a standalone python script. I have been following instructions and installing relevant code like proj4 and GDAL and linux libs. I am getting this error now which I am unsure how to

  configure: error: *** Unable to locate TIFF includes.

I am not sure if there is a yum package that would fix this problem. I am new to linux and am using Amazon Linux for AWS Workspace that has yum as package manager, which seems to be lesser used than apt.

Can you help regarding this error or a better way to install GRASS on Amazon Linux?

1
  • Generalyl this kind of error appears when the configure script does not find a headers files (here those of libtiff). I never used amazon linux, but usually the headers are in a specific package whose name ends with dev or devel. Try to find him yum search "libtiff".
    – Atm
    Jan 4, 2022 at 18:12

1 Answer 1

1

Not sure it has entirely fixed it, but in the end I just ran ./configure to ignore various settings so that they no longer became an issue:

  CFLAGS="-g -Wall" ./configure --with-tiff=no --with-png=no --with-sqlite=no 
  --with-opengl=no --with-fftw=no --with-cairo=no --with-freetype=no
1
  • Yes, you do not need libtiff here - all is done via GDAL nowadays.
    – markusN
    Jan 10, 2022 at 13:56

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.