2008.04.10 15:56 "[Tiff] PREFIX with a comma?", by Dean

2008.04.10 16:33 "Re: [Tiff] PREFIX with a comma?", by Dean

Andy Cave wrote on 04/10/08 11:29:

Appears it wasn't so obvious. I really fail to see why you need a comma in the directory name, but if you do:

  1. rename the folder (saving a copy of it), changing the commas to something else (xyz).
  2. do the install.
  3. rename the folder back.

Does tiff build any binaries that will link against libraries in the non-comma-named directory?

--Dean

Andy Cave wrote on 04/10/08 11:07:

Remove the comma from the directory name.

Thanks for pointing out the obvious. Is there another way? I have a directory naming structure to follow.

--Dean

I am trying to install libtiff to a directory with a comma in the name. make fails because libtool uses commas for some sort of delimiter. Any suggestions here?

Regards,
--Dean

./configure --prefix=/usr/dist/share/libtiff,v3.8.2 --bindir=/usr/dist/share/libtiff,v3.8.2/5.10-bin.sun4 --libdir=/usr/dist/share/libtiff,v3.8.2/5.10-lib.sun4 --includedir=/usr/dist/share/libtiff,v3.8.2/5.10-include.sun4 --mandir=/usr/dist/share/libtiff,v3.8.2/doc/man --with-zlib-include-dir=/usr/dist/share/zlib,v1.2.3/5.10-include.sun4

--with-zlib-lib-dir=/usr/dist/share/zlib,v1.2.3/5.10-lib.sun4 --enable-cxx

<make>

libtool: link: g++ -shared -nostdlib /usr/sfw/lib/gcc/sparc-sun-solaris2.10/3.4.3/crti.o /usr/ccs/lib/values-Xa.o

/usr/sfw/lib/gcc/sparc-sun-solaris2.10/3.4.3/crtbegin.o .libs/tif_stream.o .libs/libtiffxx.lax/libport.a/dummy.o -Wl,-R -Wl,/home/brundage/work/SR195558/artifacts/build/tiff-3.8.2/libtiff/.libs -Wl,-R -Wl,/usr/sfw/lib -Wl,-R

-Wl,/usr/dist/share/libtiff,v3.8.2/5.10-lib.sun4 -Wl,-R -Wl,/usr/sfw/lib -L/5.10-lib.sun4 ../libtiff/.libs/libtiff.so -ljpeg -lz -lc -L/usr/sfw/lib/gcc/sparc-sun-solaris2.10/3.4.3

-L/usr/sfw/lib/gcc/sparc-sun-solaris2.10/3.4.3/../../../../sparc-sun-solaris2.10/lib -L/usr/ccs/lib -L/usr/sfw/lib/gcc/sparc-sun-solaris2.10/3.4.3/../../.. /usr/sfw/lib/libstdc++.so -L/usr/sfw/lib -lm -lgcc_s

/usr/sfw/lib/gcc/sparc-sun-solaris2.10/3.4.3/crtend.o
/usr/sfw/lib/gcc/sparc-sun-solaris2.10/3.4.3/crtn.o -Wl,-h
-Wl,libtiffxx.so.3 -o .libs/libtiffxx.so.3.8.2

ld: fatal: file v3.8.2/5.10-lib.sun4: open failed: No such file or directory ld: fatal: File processing errors. No output written to .libs/libtiffxx.so.3.8.2 collect2: ld returned 1 exit status

*** Error code 1

make: Fatal error: Command failed for target `libtiffxx.la' Current working directory /home/brundage/work/SR195558/artifacts/build/tiff-3.8.2/libtiff *** Error code 1

make: Fatal error: Command failed for target `all' Current working directory /home/brundage/work/SR195558/artifacts/build/tiff-3.8.2/libtiff *** Error code 1

The following command caused the error:

failcom='exit 1'; \
for f in x $MAKEFLAGS; do \
  case $f in \

    *=* | --[!k]*);; \
    *k*) failcom='fail=yes';; \

  esac; \
done; \
dot_seen=no; \
target=`echo all-recursive | sed s/-recursive//`; \
list='port libtiff tools contrib test man html'; for subdir in $list; do \
  echo "Making $target in $subdir"; \
  if test "$subdir" = "."; then \
    dot_seen=yes; \
    local_target="$target-am"; \
  else \
    local_target="$target"; \
  fi; \
  (cd $subdir && make $local_target) \
  || eval $failcom; \
done; \
if test "$dot_seen" = "no"; then \
  make "$target-am" || exit 1; \
fi; test -z "$fail"
make: Fatal error: Command failed for target `all-recursive'

--

--Dean
--
Unscrambler of eggs
[1709.5k, 224.8deg] Apparent Rennerian
-------------------------------------------------------------------------------
i am become def, the mixer of words

I must obey the inscrutable exhortations of my soul