Hi there! I'm trying to use podofo impose.

I downloaded podofo 0.9.1 tarball, installed missing dependencies and
compiled as explained in the page.

I also download booklet-a5.plan.

But when I try to use it, I got this error:

$ podofoimpose cuentos.pdf out.pdf booklet-a4.plan
Source : cuentos.pdf
Target : out.pdf
Plan   : booklet-a4.plan
PdfTranslator::PdfTranslator
1
2
<</ID[<0A330D6C23A513B4F87AD4ADB2BD41D8><0A330D6C23A513B4F87AD4ADB2BD41D8>]/Info
85 0 R/Root 84 0 R/Size 86>>
INVALID_RECORD(0) ---GenericBooklet(A4)
vector::_M_range_check

I've read that this is solved using lua as interpreter, but it also fails:

$ podofoimpose cuentos.pdf out.pdf booklet-a4.plan lua
Source : cuentos.pdf
Target : out.pdf
Plan   : booklet-a4.plan
PdfTranslator::PdfTranslator
1
2
<</ID[<0A330D6C23A513B4F87AD4ADB2BD41D8><0A330D6C23A513B4F87AD4ADB2BD41D8>]/Info
85 0 R/Root 84 0 R/Size 86>>
Unable to build a valid imposition plan

This is probably related with the cmake output saying it cant find lua:

/podofo-build$ cmake ../
WANT_LIB64 unset; assuming normal library directory names
Will install libraries to /usr/local/lib
Using gcc specific compiler options
Found zlib headers in /usr/include, library at /usr/lib/libz.so
-- Could NOT find LIBCRYPTO  (missing:  LIBCRYPTO_LIBRARY
LIBCRYPTO_INCLUDE_DIR)
-- Could NOT find LIBIDN  (missing:  LIBIDN_LIBRARY LIBIDN_INCLUDE_DIR)
OpenSSL's libCrypto or libidn not found. AES-256 Encryption support will be
disabled
Found libjpeg headers in /usr/include, library at /usr/lib/libjpeg.so
-- Could NOT find TIFF  (missing:  TIFF_LIBRARY TIFF_INCLUDE_DIR)
Libtiff not found. TIFF support will be disabled
Found LibPng headers in /usr/include;/usr/include, library at
/usr/lib/libpng.so;/usr/lib/libz.so
-- Ensure you cppunit installed version is at least 1.12.0
Cppunit not found. No unit tests will be built.
Found freetype library at /usr/lib/libfreetype.so, headers
/usr/include/freetype2;/usr/include
Found fontconfig headers in /usr/include, library at
/usr/lib/libfontconfig.so
-- Could NOT find Lua50  (missing:  LUA_LIBRARIES LUA_INCLUDE_DIR)
-- Could NOT find Lua  (missing:  LUA_LIBRARIES LUA_INCLUDE_DIR)
Lua not found - PoDoFoImpose and PoDoFoColor will be built without Lua
support
Building multithreaded version of PoDoFo.
Building static PoDoFo library
-- Configuring done
-- Generating done
-- Build files have been written to:
/home/juanjo/Descargas/podofo/podofo-build

I have lua50, liblua50, liblua50-dev and liblualib50 installed.

I hope you can help me. Thanks in advance,

-- 
Juanjo Conti
blog: http://www.juanjoconti.com.ar
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct
_______________________________________________
Podofo-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/podofo-users

Reply via email to