I downloaded the toolkit from Adobe. I stuffed the entire
FDFToolkitForUnix directory into /usr/local/
I added --with-fdftk=/usr/loca/FDFToolkitForUnix to the configure
line.
Configure gives an error about not being able to find FdfTk.h or
fdftk.h
I notice it appears that configure has the wrong path names for
FDFToolkitForUnix (it is using all lower case and no spaces in the
directories). It also appears to look in the usual places for headers
and libraries, so...
Next plan... make a symbolic link in /usr/local/include to FdfTk.h
under FDFToolkitForUnix.
Error: no usable fdf library found.
So make a symbolic link in /usr/local/lib to libFdfTk.so
It gets even further along this time but finally dies. Here's the last
few lines of output:
<snip>
checking for FDF support... yes
checking for FDFOpen in -lFdfTk... yes
checking for FDFGetFDFVersion in -lFdfTk... yes
<snip>
checking for jpeg_read_header in -ljpeg... (cached) yes
checking for png_write_image in -lpng... (cached) yes
If configure fails try --with-xpm-dir=<DIR>
checking for FT_New_Face in -lfreetype... yes
checking for FreeType 1 support... no - FreeType 2.x is to be used
instead
configure: error: GD build test failed. Please check the config.log
for details.
In config.log I didn't find anything related to GD having an error
other than the same thing that showed up above, but I did find a
problem with libFdfTk.so:
configure:55128: gcc -o conftest -g -O2 -L/usr/kerberos/lib -L/usr/
local/lib conftest.c -lfreetype -lpng -lz -ljpeg -lFdfTk -ldb-4.2 -
lcurl -lbz2 -lz -lresolv -lm -ldl -lnsl -lxml2 -lz -lm -lgssapi_krb5 -
lkrb5 -lk5crypto -lcom_err -lssl -lcrypto -lgssapi_krb5 -lkrb5 -
lcom_err -lk5crypto -lresolv -ldl -lz -lcurl -lssl -lcrypto -
lgssapi_krb5 -lkrb5 -lcom_err -lk5crypto -lresolv -ldl -lz -
lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lresolv -lidn -lssl -lcrypto
-lssl -lcrypto -lgssapi_krb5 -lkrb5 -lcom_err -lk5crypto -lresolv -ldl
-lz -lz -lxml2 -lz -lm -lssl -lcrypto -lgssapi_krb5 -lkrb5 -lcom_err -
lk5crypto -lresolv -ldl -lz >&5
configure:55131: $? = 0
configure:55133: ./conftest
./conftest: error while loading shared libraries: libFdfTk.so: cannot
open shared object file: No such file or directory
configure:55136: $? = 127
configure: program exited with status 127
configure: failed program was:
| /* confdefs.h. */
|
Ok it still can't find libFdfTk.so So what do I do now? Where should
libFdfTk.so be put? What else can I do to make this work?
Thanks in advance.