FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.

» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian User

LinkBack Thread Tools
Old 03-30-2011, 10:33 AM
Alan Chandler
Default libharu - now libhpdf - issues

I am not sure if this a debian issue or not, but I am trying to make a
big pdf file of the php manual so I can load it onto my kindle.

I have tried several methods so far and all have failed. I downloaded
the big single html file from the php site and tried


I also tried loading the chunked version and tried


The most promising approach has been to try and use the method the php
guys themselves use for creating the manual, downloading the raw xml for
the svn repository and using phd to create the document.

However, it fails

PHP Fatal error: Class 'HaruDoc' not found in
/usr/share/php/phpdotnet/phd/Format/Abstract/PDF.php on line 138

I've tried installing libhpdf and libhpdf from debian, which I think is
the binary versions of the libharu stuff (although I don't understand
why the name change).

That didn't work, because there is a still no php linkage to that
library. After some digging I found I need to do

pecl install haru

but this seems to first detect the haru library and then say that it is
wrong as shown by the last few lines of the .configure script (after
autodetecting the haru prefix).

checking for Haru PDF support... yes, shared
checking for the location of libz... no
checking for the location of libpng... no
checking for Haru in default path... not found
configure: error: Please specify prefix for your Haru PDF library

ERROR: `/tmp/pear/temp/haru/configure --with-haru' failed

I am rather stuck now trying to find a way forward.

Has anyone successfully been through this process? Any ideas how to
proceed. Any other packages that can make me a pdf (or other ebook
format) that I can load onto my kindle.

Alan Chandler

To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

Archive: 4D9306E4.5010909@chandlerfamily.org.uk">http://lists.debian.org/4D9306E4.5010909@chandlerfamily.org.uk

Thread Tools

All times are GMT. The time now is 09:48 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org