PHP 4.0 Bug #5108 Updated: Cannot install with fdftk support
| From: | sniper@php.net | Date: | Mon, 18 Dec 2000 16:41:39 +0000 |
| Subject: | PHP 4.0 Bug #5108 Updated: Cannot install with fdftk support | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-41788@lists.php.net to get a copy of this message | ||
ID: 5108
Updated by: sniper
Reported By: izauddin@magnifix.com.my
Status: Open
Old-Bug Type: *General Issues
Bug Type: Compile Failure
Assigned To:
Comments:
Previous Comments:
---------------------------------------------------------------------------
[2000-09-03 18:17:26] sniper@php.net
No feedback from user. Closed.
--Jani
---------------------------------------------------------------------------
[2000-08-20 03:58:11] sniper@php.net
Does this problem still persist with more recent version of php (from CVS or http://snaps.php.net) ??
--Jani
---------------------------------------------------------------------------
[2000-06-18 09:34:55] izauddin@magnifix.com.my
Installed fdftk4_05 from Adobe. Copied the required header file fdftk.h into
/usr/local/include/FdfTk.h and the library libfdftk.so into
/usr/local/lib/libFdfTk.so
Run configure as follow :-
./configure --with-apxs=/usr/sbin/apxs --with-fdftk
Produce this error :
checking whether to include fdftk support... yes
checking for FDFOpen in -lFdfTk... no
configure: error: fdftk module requires fdftk 2.0
The last section of my config.log contains the following statement :-
configure:11472: checking whether to include fdftk support
configure:11606: checking for FDFOpen in -lFdfTk
configure:11625: gcc -o conftest -g -O2 -DEAPI=1 conftest.c -lFdfTk
-lresolv
-lm -ldl -lcrypt -lnsl -lresolv 1>&5
/usr/local/lib/libFdfTk.so: undefined reference to `_xstat'
/usr/local/lib/libFdfTk.so: undefined reference to `__setjmp'
/usr/local/lib/libFdfTk.so: undefined reference to `_fxstat'
collect2: ld returned 1 exit status
configure: failed program was:
#line 11614 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char FDFOpen();
int main() {
FDFOpen()
; return 0; }
---------------------------------------------------------------------------
Full Bug description available at: http://bugs.php.net/?id=5108