LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   pdf2djvu (https://www.linuxquestions.org/questions/linux-software-2/pdf2djvu-748177/)

centguy 08-17-2009 11:13 AM

pdf2djvu
 
Tried to get install on any of the linux OS, but failed miserably.

The distro I have tried: CentOS5.2, failed at ./configure

./configure

Quote:

checking for POPPLER... configure: error: Package requirements (poppler-splash >= 0.7.3) were not met:
ubuntu 8.04:

Quote:

ckgan@ubuntu804-32-dell:~$ sudo apt-get install pdf2djvu
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package pdf2djvu is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package pdf2djvu has no installation candidate

Fedora 10 :
Quote:

configure: error: See <http://bugs.debian.org/458211>, <http://bugs.debian.org/458086> for details.
I am not trying to conquer the world, I am just try to use linux to
convert a few pdf files.

amani 08-17-2009 11:53 AM

Try to install using yum

check with the mirrors.


It is a Known bug with slightly older source files.

If a rpm is not available, then get the latest source and compile

You can also get it converted online.

On Ubuntu apt-get installs it fine ...I have it installed. Check your repositories. Have you enabled test repos??

centguy 08-17-2009 12:17 PM

on ubuntu how do you enable the test repos ?
I run synaptic and search for pdf2djvu but no still no luck.

ArfaSmif 08-17-2009 12:42 PM

Another way is to search for a precompiled package on http://rpm.pbone.net/

repo 08-17-2009 12:51 PM

For ubuntu, add the following to /etc/apt/sources.list

replace hardy with your distro

Quote:

deb http://us.archive.ubuntu.com/ubuntu/ hardy universe
deb-src http://us.archive.ubuntu.com/ubuntu/ hardy universe
Then apt-get update

centguy 08-17-2009 09:28 PM

in conclusion still no luck after messing with source.list

Quote:

root@ubuntu804-32-dell:/etc/apt# cat sources.list
# deb cdrom:[Ubuntu 8.04.1 _Hardy Heron_ - Release i386 (20080702.1)]/ hardy main restricted
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.

deb http://archive.ubuntu.com/ubuntu/ hardy main restricted
deb-src http://archive.ubuntu.com/ubuntu/ hardy restricted main multiverse universe #Added by software-properties

## Major bug fix updates produced after the final release of the
## distribution.
deb http://archive.ubuntu.com/ubuntu/ hardy-updates main restricted
deb-src http://archive.ubuntu.com/ubuntu/ hardy-updates restricted main multiverse universe #Added by software-properties

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## universe WILL NOT receive any review or updates from the Ubuntu security
## team.
# ckg tweak this deb http://archive.ubuntu.com/ubuntu/ hardy universe
deb http://us.archive.ubuntu.com/ubuntu/ hardy universe
deb-src http://us.archive.ubuntu.com/ubuntu/ hardy universe


deb http://archive.ubuntu.com/ubuntu/ hardy-updates universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://archive.ubuntu.com/ubuntu/ hardy multiverse
deb http://archive.ubuntu.com/ubuntu/ hardy-updates multiverse

## Uncomment the following two lines to add software from the 'backports'
## repository.
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
# deb http://sg.archive.ubuntu.com/ubuntu/ hardy-backports main restricted universe multiverse
# deb-src http://sg.archive.ubuntu.com/ubuntu/ hardy-backports main restricted universe multiverse

## Uncomment the following two lines to add software from Canonical's
## 'partner' repository. This software is not part of Ubuntu, but is
## offered by Canonical and the respective vendors as a service to Ubuntu
## users.
# deb http://archive.canonical.com/ubuntu hardy partner
# deb-src http://archive.canonical.com/ubuntu hardy partner

deb http://archive.ubuntu.com/ubuntu/ hardy-security main restricted
deb-src http://archive.ubuntu.com/ubuntu/ hardy-security restricted main multiverse universe #Added by software-properties
deb http://archive.ubuntu.com/ubuntu/ hardy-security universe
deb http://archive.ubuntu.com/ubuntu/ hardy-security multiverse

Quote:

root@ubuntu804-32-dell:/etc/apt# apt-get update
Hit http://archive.ubuntu.com hardy Release.gpg
Get:1 http://us.archive.ubuntu.com hardy Release.gpg [189B]
Ign http://archive.ubuntu.com hardy/main Translation-en_SG
Ign http://us.archive.ubuntu.com hardy/universe Translation-en_SG
Ign http://archive.ubuntu.com hardy/restricted Translation-en_SG
Get:2 http://us.archive.ubuntu.com hardy Release [65.9kB]
Ign http://archive.ubuntu.com hardy/multiverse Translation-en_SG
Get:3 http://archive.ubuntu.com hardy-updates Release.gpg [189B]
Ign http://archive.ubuntu.com hardy-updates/main Translation-en_SG
Ign http://archive.ubuntu.com hardy-updates/restricted Translation-en_SG
Ign http://archive.ubuntu.com hardy-updates/universe Translation-en_SG


Ign http://archive.ubuntu.com hardy-updates/multiverse Translation-en_SG
Get:4 http://us.archive.ubuntu.com hardy/universe Packages [4293kB]
Get:5 http://archive.ubuntu.com hardy-security Release.gpg [189B]
Ign http://archive.ubuntu.com hardy-security/main Translation-en_SG
Ign http://archive.ubuntu.com hardy-security/restricted Translation-en_SG
Ign http://archive.ubuntu.com hardy-security/universe Translation-en_SG
Ign http://archive.ubuntu.com hardy-security/multiverse Translation-en_SG
Hit http://archive.ubuntu.com hardy Release
Get:6 http://archive.ubuntu.com hardy-updates Release [58.5kB]
Get:7 http://archive.ubuntu.com hardy-security Release [58.5kB]
Hit http://archive.ubuntu.com hardy/main Packages
Hit http://archive.ubuntu.com hardy/restricted Packages
Hit http://archive.ubuntu.com hardy/restricted Sources
Hit http://archive.ubuntu.com hardy/main Sources
Hit http://archive.ubuntu.com hardy/multiverse Sources
Hit http://archive.ubuntu.com hardy/universe Sources
Hit http://archive.ubuntu.com hardy/multiverse Packages
Get:8 http://archive.ubuntu.com hardy-updates/main Packages [461kB]
Get:9 http://archive.ubuntu.com hardy-updates/restricted Packages [8409B]
Get:10 http://archive.ubuntu.com hardy-updates/restricted Sources [941B]
Get:11 http://archive.ubuntu.com hardy-updates/main Sources [116kB]
Get:12 http://archive.ubuntu.com hardy-updates/multiverse Sources [5394B]
Get:13 http://archive.ubuntu.com hardy-updates/universe Sources [43.6kB]
Get:14 http://archive.ubuntu.com hardy-updates/universe Packages [204kB]
Get:15 http://archive.ubuntu.com hardy-updates/multiverse Packages [29.2kB]
Get:16 http://archive.ubuntu.com hardy-security/main Packages [187kB]
Get:17 http://archive.ubuntu.com hardy-security/restricted Packages [8437B]
Get:18 http://archive.ubuntu.com hardy-security/restricted Sources [901B]
Get:19 http://archive.ubuntu.com hardy-security/main Sources [30.4kB]
Get:20 http://archive.ubuntu.com hardy-security/multiverse Sources [1104B]
Get:21 http://archive.ubuntu.com hardy-security/universe Sources [13.7kB]
Get:22 http://us.archive.ubuntu.com hardy/universe Sources [1323kB]
Get:23 http://archive.ubuntu.com hardy-security/universe Packages [88.6kB]
Get:24 http://archive.ubuntu.com hardy-security/multiverse Packages [12.2kB]
Fetched 7010kB in 35s (198kB/s)
Reading package lists... Done
and finally the disappointing :
Quote:

root@ubuntu804-32-dell:/etc/apt# apt-get install pdf2djvu
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package pdf2djvu is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package pdf2djvu has no installation candidate

centguy 08-17-2009 09:34 PM

Looks like my luck run out:

pdf2djvu is only available on intrepid and above!

http://packages.ubuntu.com/search?keywords=pdf2djvu


What kind of LTS is this ??

centguy 08-18-2009 09:04 PM

So strange with ubuntu installer. Even though I have trouble installing it
using dpkg, I CAN still use it.. how wierd!

Quote:

root@ubuntu804-32-dell:/home/ckgan/Desktop# dpkg --install pdf2djvu_0.4.13-0ubuntu2~hardy1~danm_i386.deb
Selecting previously deselected package pdf2djvu.
(Reading database ... 119605 files and directories currently installed.)
Unpacking pdf2djvu (from pdf2djvu_0.4.13-0ubuntu2~hardy1~danm_i386.deb) ...
dpkg: dependency problems prevent configuration of pdf2djvu:
pdf2djvu depends on djvulibre-bin (>= 3.5.20-5); however:
Version of djvulibre-bin on system is 3.5.20-2.
dpkg: error processing pdf2djvu (--install):
dependency problems - leaving unconfigured
Errors were encountered while processing:
pdf2djvu
root@ubuntu804-32-dell:/home/ckgan/Desktop# pdf2djvu
No input file name was specified

Usage:
pdf2djvu [-o <output-djvu-file>] [options] <pdf-file>
pdf2djvu -i <index-djvu-file> [options] <pdf-file>
...
...



All times are GMT -5. The time now is 04:17 PM.