Status: New
Owner: ----
New issue 1307 by
shreesh...@gmail.com: Unable to compile latest repository
under ubuntu 14.04
https://code.google.com/p/tesseract-ocr/issues/detail?id=1307
What steps will reproduce the problem?
1. Downloading latest repository code
2. compiling under ubuntu 14.04
3.
What is the expected output? What do you see instead?
expect it to compile clean
What version of the product are you using? On what operating system?
Trying to compile the latest git source
currently have 3.03 installed, info about gcc and g++ compilers also listed
below
dell14-04@dell1404-OptiPlex-330:~$ tesseract -v
tesseract 3.03
leptonica-1.71
libjpeg 8d : libpng 1.2.50 : libtiff 4.0.3 : zlib 1.2.8
----------------------------------
dell14-04@dell1404-OptiPlex-330:~$ g++ -v
Using built-in specs.
COLLECT_GCC=g++
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/4.8/lto-wrapper
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu
4.8.2-19ubuntu1' --with-bugurl=file:///usr/share/doc/gcc-4.8/README.Bugs
--enable-languages=c,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr
--program-suffix=-4.8 --enable-shared --enable-linker-build-id
--libexecdir=/usr/lib --without-included-gettext --enable-threads=posix
--with-gxx-include-dir=/usr/include/c++/4.8 --libdir=/usr/lib --enable-nls
--with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug
--enable-libstdcxx-time=yes --enable-gnu-unique-object --disable-libmudflap
--enable-plugin --with-system-zlib --disable-browser-plugin
--enable-java-awt=gtk --enable-gtk-cairo
--with-java-home=/usr/lib/jvm/java-1.5.0-gcj-4.8-amd64/jre
--enable-java-home
--with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-4.8-amd64
--with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-4.8-amd64
--with-arch-directory=amd64 --with-ecj-jar=/usr/share/java/eclipse-ecj.jar
--enable-objc-gc --enable-multiarch --disable-werror --with-arch-32=i686
--with-abi=m64 --with-multilib-list=m32,m64,mx32 --with-tune=generic
--enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu
--target=x86_64-linux-gnu
Thread model: posix
gcc version 4.8.2 (Ubuntu 4.8.2-19ubuntu1)
dell14-04@dell1404-OptiPlex-330:~$
--------------------------------
dell14-04@dell1404-OptiPlex-330:~$ gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/4.8/lto-wrapper
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu
4.8.2-19ubuntu1' --with-bugurl=file:///usr/share/doc/gcc-4.8/README.Bugs
--enable-languages=c,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr
--program-suffix=-4.8 --enable-shared --enable-linker-build-id
--libexecdir=/usr/lib --without-included-gettext --enable-threads=posix
--with-gxx-include-dir=/usr/include/c++/4.8 --libdir=/usr/lib --enable-nls
--with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug
--enable-libstdcxx-time=yes --enable-gnu-unique-object --disable-libmudflap
--enable-plugin --with-system-zlib --disable-browser-plugin
--enable-java-awt=gtk --enable-gtk-cairo
--with-java-home=/usr/lib/jvm/java-1.5.0-gcj-4.8-amd64/jre
--enable-java-home
--with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-4.8-amd64
--with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-4.8-amd64
--with-arch-directory=amd64 --with-ecj-jar=/usr/share/java/eclipse-ecj.jar
--enable-objc-gc --enable-multiarch --disable-werror --with-arch-32=i686
--with-abi=m64 --with-multilib-list=m32,m64,mx32 --with-tune=generic
--enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu
--target=x86_64-linux-gnu
Thread model: posix
gcc version 4.8.2 (Ubuntu 4.8.2-19ubuntu1)
dell14-04@dell1404-OptiPlex-330:~$
-----------------------------------------
Please provide any additional information below.
Downloaded source a couple of days ago
git clone
https://code.google.com/p/tesseract-ocr
and updated today by the following:
dell14-04@dell1404-OptiPlex-330:~$ cd tesseract-ocr/
dell14-04@dell1404-OptiPlex-330:~/tesseract-ocr$ git remote update
Fetching origin
remote: Counting objects: 5, done.
Unpacking objects: 100% (5/5), done.
From
https://code.google.com/p/tesseract-ocr
541e06c..ff87944 master -> origin/master
dell14-04@dell1404-OptiPlex-330:~/tesseract-ocr$
the autogen.log, configure.log and make.log are attached.
Error is at :
mv -f .deps/tesseract-tesseractmain.Tpo .deps/tesseract-tesseractmain.Po
/bin/bash ../libtool --tag=CXX --mode=link g++ -std=c++11 -o
tesseract tesseract-tesseractmain.o
libtesseract.la -lrt -llept -lpthread
libtool: link: g++ -std=c++11 -o .libs/tesseract
tesseract-tesseractmain.o ./.libs/libtesseract.so -lrt -llept -lpthread
./.libs/libtesseract.so: undefined reference to `l_generateCIDataForPdf'
./.libs/libtesseract.so: undefined reference to `l_CIDataDestroy'
collect2: error: ld returned 1 exit status
make[2]: *** [tesseract] Error 1
make[2]: Leaving directory `/home/dell14-04/tesseract-ocr/api'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/dell14-04/tesseract-ocr'
make: *** [all] Error 2
Attachments:
autogen.log 599 bytes
configure.log 8.1 KB
make.log 530 KB
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings