Hello,
if you don't add the --with-openssl switch to configure it will build
fine.
PDFlib Lite does not have openssl support included, so this switch is
not needed for PDFlib-LIte . The full build of PDFlib (which does support
features that may need openssl) needs expat if openssl support is switched
on. So this is a bug in the configure script that only shoes up if you
use the --with-openssl configure switch for PDFlib-Lite.
Kind Regards,
Rainer Schaaf
PDFlib Support
Saturday, June 27, 2009, 12:40:59 AM, you wrote:
>
>
>
>
>
>
> i'm attempting to build pdflite v704p4 on opensuse 11.1.
>
> configure,
>
> cd /usr/local/src/PDFlib-Lite-7.0.4p4
>
> setenv SSL_RPATH_LIBS "`pkg-config --libs-only-L openssl`
> -Wl,-rpath,`pkg-config --libs-only-L openssl | sed s'/-L//'`
> `pkg-config --libs-only-l openssl`"
> setenv LDFLAGS "-L/usr/local/lib $SSL_RPATH_LIBS"
> setenv CPPFLAGS "-I/usr/local/include `pkg-config openssl --cflags`
-I/usr/include"
>
> ./configure \
> --prefix=/usr/local \
> --with-java=no \
> --with-perl=no \
> --with-py=no \
> --with-ruby=no \
> --with-tcl=no \
> --with-openssl
>
> goes well, but
>
> make
>
> fails at,
>
> ...
> ../../libtool --silent --mode=link gcc -L/usr/local/lib
> -L/usr/local/ssl/lib -Wl,-rpath,/usr/local/ssl/lib -lssl
> -lcrypto -ldl -lz -o ../../libs/jpeg/libjpeg.la ./jcapimin.lo
> ./jcapistd.lo ./jccoefct.lo ./jccolor.lo ./jcdctmgr.lo ./jchuff.lo
> ./jcinit.lo ./jcmainct.lo ./jcmarker.lo ./jcmaster.lo ./jcomapi.lo
> ./jcparam.lo ./jcphuff.lo ./jcprepct.lo ./jcsample.lo ./jctrans.lo
> ./jdapimin.lo ./jdapistd.lo ./jdatadst.lo ./jdatasrc.lo
> ./jdcoefct.lo ./jdcolor.lo ./jddctmgr.lo ./jdhuff.lo ./jdinput.lo
> ./jdmainct.lo ./jdmarker.lo ./jdmaster.lo ./jdmerge.lo ./jdphuff.lo
> ./jdpostct.lo ./jdsample.lo ./jdtrans.lo ./jerror.lo ./jfdctflt.lo
> ./jfdctfst.lo ./jfdctint.lo ./jidctflt.lo ./jidctfst.lo
> ./jidctint.lo ./jidctred.lo ./jmemmgr.lo ./jmemnobs.lo ./jquant1.lo
./jquant2.lo ./jutils.lo
> make[2]: Leaving directory
> `/usr/local/src/PDFlib-Lite-7.0.4p4/libs/jpeg'
> /bin/sh: line 2: cd: expat: No such file or directory
> make[1]: *** [all] Error 1
> make[1]: Leaving directory `/usr/local/src/PDFlib-Lite-7.0.4p4/libs'
> make: *** [all] Error 2
>
> checking,
>
> find . | grep expat
> (empty)
>
> and, in fact,
>
> ls libs
> empty.inc flate/ font/ jpeg/ Makefile pdcore/ pdflib/ PDFlib.dsw png/
tiff/
>
> there's no expat lib dir.
>
> is it missing on error from the tarball, or is there a flag that's
erroneously set?
>
> thanks.
>
>
>
>
>
>
>
--
Best regards,
Rainer Schaaf rjs@... www.pdflib.com
PDFlib GmbH, Franziska-Bilek-Weg 9, 80339 München, Germany
Amtsgericht München HRB 129497, Geschäftsführer Thomas Merz
---------------------------------------------------------------
PDFlib 7: Create PDF/A for archiving, format tables, and more!
_______PDFlib - a library for generating PDF on the fly________