2016.11.03 01:46 "Re: [Tiff] Building libtiff from source fails with v4.0.6", by Bob Friesenhahn
I am having trouble building version 4.0.6.
Here are the commands used and their output:
make clean
./configure --with-zlib-include-dir=/usr/local/include --with-zlib-lib-dir=/usr/local/lib --with-jpeg-include-dir=/usr/local/include
--with-jpeg-lib-dir=/usr/local/lib
--with-lzma-include-dir=/usr/local/include
--with-lzma-lib-dir=/usr/local/lib --enable-jpeg12
--with-jpeg12-include-dir=/usr/local/include
--with-jpeg12-lib=/usr/local/lib
Since you are using --enable-jpeg12, how did you prepare the two different libjpeg builds (one built as 8-bit and the other as 12, and patched)?
I have not tried that particular build configuration for myself since it requires some dedication to prepare the JPEG libraries.
The problem is due to the bare "/usr/local/lib" occuring in this part of the command:
"../port/libport.la /usr/local/lib -llzma"
I am not sure what happend to the -L.
While these many options are a convenience, there are actually no special powers to assure that the headers and libraries all occuring in the same directories will be discretely used by the compiler/linker since they all go into the same compound options.
It is just as well to use
./configure \
'CPPFLAGS=-I/usr/local/include' \
'LDFLAGS=-L/usr/local/lib' \
--enable-jpeg12
Bob
--
Bob Friesenhahn
bfriesen@simple.dallas.tx.us, http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer, http://www.GraphicsMagick.org/