Hi!
        I would like to compile PHP with pdflib, but in configuration
phase of PHP i get 

configure:33582: checking whether to include Pdflib 3.x support
configure:33732: checking for PDF_show_boxed in -lpdf
configure:33751: egcs -o conftest -O9 -funroll-loops -ffast-math
-malign-double
/usr/bin/../lib/libpdf.a: file not recognized: File format not recognized
collect2: ld returned 1 exit status
configure: failed program was:
#line 33740 "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 PDF_show_boxed();

int main() {
PDF_show_boxed()
; return 0; }

So I can't generate the Makefile. I compiled pdflib with default
parameters.

What's wrong?
                Thomas Jalsovsky

p.s.: PHP compilation command
CC="egcs" \
CFLAGS="-O9 -funroll-loops -ffast-math -malign-double -mcpu=pentiumpro
-march=pe
./configure \
--prefix=/usr \
--with-exec-dir=/usr/bin \
--with-apache=../apache_1.3.17 \
--with-mysql=/home/mysql \
--with-config-file-path=/etc/httpd \
--disable-debug \
--enable-safe-mode \
--with-gd \
--with-mm=../mm-1.1.3 \
--with-imap=../imap-4.7c \
--enable-inline-optimization \
--with-snmp=/usr/local \
--enable-ucd-snmp-hack \
--with-gnu-ld \
--enable-memory-limit \
--with-pdflib=/usr/local

        

-- 
 -------------------------------------------------------------------
           Thomas Jalsovsky, IP network administrator at PosTel, a.s.
                        PosTel, a.s. Kvacalova 53,82108 Bratislava 2
                        Tel.: +421-7-50203160, Fax.: +421-7-55969603
                       http://www.postel.sk, http://postel.inshop.sk
              GlobalPhone, voice over IP   http://www.globalphone.sk


-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to