AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

Thread

2003.08.11 19:05 "[Tiff] building in directory other than source code", by Pushkar Pradhan
2003.08.12 09:51 "[Tiff] building in directory other than source code", by Andrey Kiselev

2003.08.12 09:51 "[Tiff] building in directory other than source code", by Andrey Kiselev

On Mon, Aug 11, 2003 at 02:05:46PM -0500, Pushkar Pradhan wrote:

I would like to install my libtiff in a different dir. than the src. code.

My dir. structure is:
/rstc/user1/erc/pushkar/libtiff (src code)
/rstc/user1/erc/pushkar/tiff/solaris5.8 (want to install here)

As given on the website I ran ../../libtiff/configure from solaris5.8 dir. But when I run make in this direc. it fails with following messages:

Titan[136] pushkar$ pwd
/rstc/user1/erc/pushkar/tiff/solaris5.8
Titan[137] pushkar$ make
= libtiff
/usr/local/gnu/bin/gcc -o mkversion -fpic -g -O -I. -I../../../libtiff/libtiff ../../../libtiff/libtiff/mkversion.c
rm -f ../../../libtiff/libtiff/tiffvers.h
./mkversion -v ../../../libtiff/VERSION ../../../libtiff/libtiff/tiffvers.h
mkversion: ../dist/tiff.alpha: Could not open for reading.
*** Error code 255

make: Fatal error: Command failed for target `../../../libtiff/libtiff/tiffvers.h'

Current working directory /rstc/user1/erc/pushkar/tiff/solaris5.8/libtiff

*** Error code 1
make: Fatal error: Command failed for target `all'

Is this the correct way to make?

Pushkar,

Yes, this is the correct way and it should work. I have found and fixed two small problems with building in external directory, but I can't reproduce the one you encounter. What version of libtiff you are using? I'm recommend take the recent CVS snapshot.

Andrey

--
Andrey V. Kiselev

Home phone: +7 812 5274898 ICQ# 26871517