Re: pdf2djvu

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Rahul Sundaram <sundaram@xxxxxxxxxxxxxxxxx> wrote:

> Mani A wrote:
>> Other distros have solved the lib related problem.
>
> You need to be a lot more specific about what you are trying to do and
> what lib issue you are referring to.

1. There is no rpm in the repos

2. Tried to compile 0.5.3, 0.5.2, 0.5.1, 0.4.8 and 0.4.2 from source on
Fedora 10 x86-64 with all relevant devel files.



Installed:
  poppler-devel.x86_64 0:0.8.7-5.fc10
  poppler-glib-devel.x86_64 0:0.8.7-5.fc10
  poppler-qt-devel.x86_64 0:0.8.7-5.fc10
  poppler-qt4-devel.x86_64 0:0.8.7-5.fc10
djvulibre.x86_64                   3.5.20-3.fc10          installed
djvulibre-devel.x86_64             3.5.20-3.fc10          installed
djvulibre-libs.x86_64              3.5.20-3.fc10          installed
djvulibre-mozplugin.x86_64         3.5.20-3.fc10          installed



pdf2djvu-0.5.3 ./configure

checking for g++... g++
checking for C++ compiler default output file name... a.out
checking whether the C++ compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking for windres... no
checking for iconv... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for DJVULIBRE... yes
checking DjVuLibre fitness... buggy
configure: error: See <http://bugs.debian.org/458211>,
<http://bugs.debian.org/458086> for details.

________________________________________________________




df2djvu-0.4.8

make


[root@ pdf2djvu-0.4.8]# make
./tools/get-pdf2djvu-version > version.hh || ( rm -f version.hh; false
)
./tools/get-pdf2djvu-version: line 3: debian/changelog: No such file
or directory
g++ -Wall -O3 -pthread -I/usr/include/poppler   -DPOPPLER_VERSION=807
-DDJVULIBRE_BIN_PATH="\"/usr/bin\""   -c -o pdf2djvu.o pdf2djvu.cc
In file included from compoppler.hh:18,
                 from pdf2djvu.cc:22:
/usr/include/poppler/Object.h: In member function ‘int
Object::arrayGetLength()’:
/usr/include/poppler/Object.h:244: warning: deprecated conversion from
string constant to ‘char*’


----------------------
/usr/include/poppler/Object.h: In member function ‘Dict*
Object::streamGetDict()’:
/usr/include/poppler/Object.h:325: warning: deprecated conversion from
string constant to ‘char*’
/usr/include/poppler/UTF8.h: At global scope:
/usr/include/poppler/UTF8.h:9: warning: ‘int mapUTF8(Unicode, char*,
int)’ defined but not used
/usr/include/poppler/UTF8.h:45: warning: ‘int mapUCS2(Unicode, char*,
int)’ defined but not used
g++ -Wall -O3 -pthread -I/usr/include/poppler   -DPOPPLER_VERSION=807
-DDJVULIBRE_BIN_PATH="\"/usr/bin\""   -c -o debug.o debug.cc
g++ -Wall -O3 -pthread -I/usr/include/poppler   -DPOPPLER_VERSION=807
-DDJVULIBRE_BIN_PATH="\"/usr/bin\""   -c -o config.o config.cc
g++ -Wall -O3 -pthread -I/usr/include/poppler   -DPOPPLER_VERSION=807
-DDJVULIBRE_BIN_PATH="\"/usr/bin\""   -c -o system.o system.cc
system.cc: In constructor ‘OSError::OSError(const std::string&)’:
system.cc:34: error: ‘strerror’ was not declared in this scope
make: *** [system.o] Error 1


___________________________________

pdf2djvu-0.4.2

/usr/include/poppler/UTF8.h: At global scope:
/usr/include/poppler/UTF8.h:9: warning: ‘int mapUTF8(Unicode, char*,
int)’ defined but not used
/usr/include/poppler/UTF8.h:45: warning: ‘int mapUCS2(Unicode, char*,
int)’ defined but not used
g++ -Wall -O3 -pthread -I/usr/include/poppler   -DPOPPLER_VERSION=807
-DDJVULIBRE_BIN_PATH="\"/usr/bin\""   -c -o debug.o debug.cc
g++ -Wall -O3 -pthread -I/usr/include/poppler   -DPOPPLER_VERSION=807
-DDJVULIBRE_BIN_PATH="\"/usr/bin\""   -c -o config.o config.cc
g++ -Wall -O3 -pthread -I/usr/include/poppler   -DPOPPLER_VERSION=807
-DDJVULIBRE_BIN_PATH="\"/usr/bin\""   -c -o system.o system.cc
system.cc: In constructor ‘OSError::OSError()’:
system.cc:20: error: ‘strerror’ was not declared in this scope
make: *** [system.o] Error 1

________________________________________



Kubuntu-8.10

pdf2djvu 0.4.12-0  works fine

Dependencies:

libc6 (>=2.4)
libdjvulibre21 (>=3.5.20)
libgcc1 (>=1:4.1.1)
libgraphicsmagick++1 (1.1.11-3)
libgraphicsmagick1
libjpeg62 (6b-14)
libpoppler3
libstdc++6(>=4.2.1)
djvulibre-bin (>=3.5.20-5)
_____________________________________

Suse rpms

http://rpm.pbone.net/index.php3/stat/4/idpl/12147680/com/pdf2djvu-0.5.0-1.6.x86_64.rpm.html


http://rpm.pbone.net/index.php3/stat/4/idpl/12147680/com/pdf2djvu-0.5.0-1.6.x86_64.rpm.html
_____________________________________


Best

A. Mani



-- 
A. Mani
Member, Cal. Math. Soc

-- 
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux