Olá
estava fazendo teste e ocorre erros deste tipo;
procedimento que gerou este erro => Documentos=>Hist. escolar
Fatal error: Call to undefined function PDF_new() in /var/www/intranet/include/clsPDF.inc.php on line 90
Grato pela atenção
Autor: Devair Vieira da Silva
33 comentários
+ create dir /tmp/pear/temp/pdflib
md5sum ok: /tmp/pear/temp/pdflib/config.m4
renamed source file /tmp/pear/temp/pdflib/.tmpconfig.m4 to /tmp/pear/temp/pdflib/config.m4
md5sum ok: /tmp/pear/temp/pdflib/config.w32
renamed source file /tmp/pear/temp/pdflib/.tmpconfig.w32 to /tmp/pear/temp/pdflib/config.w32
md5sum ok: /usr/share/php/docs/pdflib/CREDITS
md5sum ok: /tmp/pear/temp/pdflib/pdf.c
renamed source file /tmp/pear/temp/pdflib/.tmppdf.c to /tmp/pear/temp/pdflib/pdf.c
md5sum ok: /tmp/pear/temp/pdflib/pdf4.c
renamed source file /tmp/pear/temp/pdflib/.tmppdf4.c to /tmp/pear/temp/pdflib/pdf4.c
md5sum ok: /tmp/pear/temp/pdflib/pdf7.c
renamed source file /tmp/pear/temp/pdflib/.tmppdf7.c to /tmp/pear/temp/pdflib/pdf7.c
md5sum ok: /tmp/pear/temp/pdflib/pdflib.dsp
renamed source file /tmp/pear/temp/pdflib/.tmppdflib.dsp to /tmp/pear/temp/pdflib/pdflib.dsp
md5sum ok: /tmp/pear/temp/pdflib/php_pdf.h
renamed source file /tmp/pear/temp/pdflib/.tmpphp_pdf.h to /tmp/pear/temp/pdflib/php_pdf.h
md5sum ok: /tmp/pear/temp/pdflib/php_pdf4.h
renamed source file /tmp/pear/temp/pdflib/.tmpphp_pdf4.h to /tmp/pear/temp/pdflib/php_pdf4.h
md5sum ok: /tmp/pear/temp/pdflib/php_pdf7.h
renamed source file /tmp/pear/temp/pdflib/.tmpphp_pdf7.h to /tmp/pear/temp/pdflib/php_pdf7.h
md5sum ok: /tmp/pear/temp/pdflib/php_wrapped.c
renamed source file /tmp/pear/temp/pdflib/.tmpphp_wrapped.c to /tmp/pear/temp/pdflib/php_wrapped.c
10 source files, building
building in /tmp/pear/temp/pdflib
running: phpize
Configuring for:
PHP Api Version: 20041225
Zend Module Api No: 20060613
Zend Extension Api No: 220060519
configure.in:144: warning: LTOPTIONS_VERSION is m4_require'd but not m4_defun'd
aclocal.m4:2921: LT_INIT is expanded from...
aclocal.m4:2956: AC_PROG_LIBTOOL is expanded from...
configure.in:144: the top level
configure.in:144: warning: LTSUGAR_VERSION is m4_require'd but not m4_defun'd
configure.in:144: warning: LTVERSION_VERSION is m4_require'd but not m4_defun'd
configure.in:144: warning: LTOBSOLETE_VERSION is m4_require'd but not m4_defun'd
configure:5522: error: possibly undefined macro: m4_ifval
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
configure:8382: error: possibly undefined macro: _LT_SET_OPTIONS
configure:8382: error: possibly undefined macro: LT_INIT
rolling back 4 file operations
ERROR: `phpize' failed
ieducar:~# ALGÚEM TEM IDÉIA DO QUE PODE SER, LENDO A MENSAGEM, NOTA-SE QUE PODE ESTAR HAVENDO PROBLEMA DE VERSÃO, SÓ NÃO SEI DO QUE.. ABRAÇOS.. :)
# tar -xzvf PDFlib-Lite-7.0.3.tar.gz
# cd PDFlib-Lite-7.0.3
#./configure -without-tcl -without-ruby -without-java Outra coisa, pode ser que algum pacote do php tenha faltado em sua instalação: faça o apt-get de pacote por pacote dessa linha de comando: apt-get install php5 php5-cli php5-common php-pear php5-gd php5-pgsql php-db libapache2-mod-php5 php5-dev att. Pedro