Closed dnet closed 11 years ago
Are you sure you have leptonica 1.69???
Please try change in src/Makefile.am: jbig2_LDFLAGS = -all-static to jbig2_LDFLAGS = -static
I'm pretty sure, I installed it using the package manager, and it shows that it's 1.69
$ dpkg -l |fgrep lept
ii libleptonica 1.69-3 image processing library
ii libleptonica-dev 1.69-3 image processing library
Also, the library README menions the same version number.
$ fgrep -2 1.69 /usr/share/doc/libleptonica-dev/README.html
gunzip leptonica-1.69.tar.gz
tar -xvf leptonica-1.69.tar
--
When you extract from the archive, all files are put in a
subdirectory 'leptonica-1.69'. In that directory you will
find a src directory containing the source files for the library,
--
Configure also supports building in a separate directory from the
source. Run "/(path-to)/leptonica-1.69/configure" and then "make"
from the desired build directory.
I changed the line you mentioned, and jbig2
built perfectly in the src
directory.
Thanks for message regarding build. I will fix it.
Regarding leptonica: this is pretty strange, because 1.69 version is not released (even testing package is not available). See: http://leptonica.com/download.html http://code.google.com/p/leptonica/downloads/list But Debian has it: http://packages.debian.org/source/wheezy/leptonlib
No problem, thanks for working on the code.
The Debian guys have been well-known about their tendency to maintain their own version of libraries. ;) cough-openssl-cough
leptonica 1.69 was released today ;-) (http://code.google.com/p/leptonica/issues/detail?id=64)
IMO this issue could be closed
Running
./autogen.sh && ./configure && make
compiles the source but fails at linking. I'm running Debian Testing with stock Linux 3.3.0 kernel on x86_64 architecture. The autoconf version used is 2.69, libleptonica is 1.69. The output of the toolchain can be found at https://gist.github.com/7b8308c46546757c1c75. The build worked fine with my fork: https://github.com/dnet/jbig2enc/commit/56893fdcf703389b8d96ea0a0b8f04fbeabc539d