[ptx] longstanding & new problems/questions with 0.6
Rich
rich at hq.vsaa.lv
Wed Aug 9 09:39:37 BST 2006
Daniel M. German wrote:
> Hi Rich,
>
> Rich> 1. tiff compression level field in sticher tab is disabled both for lzw
> Rich> & deflate compressions. seems strange.
>
> Correct me if I am wrong, but TIFF lzw and deflate compressions are
> lossless and therefore cannot be parametrized. In other words, they do
> not support "compression level".
could they still not be controlled by passes, block size and such ?
bzip2 also is lossless (at least i hope so ;) ), but there is some
control over compression level.
> Rich> 4. building libpano & hugin on slackware still requires manually
> Rich> exporting -lm. i've whined about this countless times :)
>
> What exactly do you mean by exporting -lm? Do you mean that the gcc
> link command does not include the -lm option?
first, it turns out actually only libpano requires this now (i assumed
hugin also does, as i exported it in the same session).
before running configure, i have to do :
export CFLAGS="-lm"
else it fails with :
checking if PNG package is complete... no -- some components failed test
configure: error:
the png library must be installed on your system
but configure could not find it.
from config.log :
configure:19692: checking for png_get_io_ptr in -lpng
configure:19722: gcc -o conftest -g -O2 -I/usr/include -L/usr/lib
conftest.c -lpng -lz >&5
/usr/lib/libpng.so: undefined reference to `pow'
so, maybe libpano could just do whatever it is hugin package does ?
looking at "configure" script for hugin :
LIBS="-lpng -lz -lm $LIBS"
libpano has at most ;
LIBS="-ltiff -lz -ljpeg $LIBS"
> --
> Daniel M. German "Mathematics belong to God."
> Donald Knuth
> http://turingmachine.org/
> http://silvernegative.com/
> dmg (at) uvic (dot) ca
> replace (at) with @ and (dot) with .
--
Rich
More information about the ptx
mailing list