Bug #15243: Compile Error - make[3]: *** [pdf.lo] Error 1

From: Date: Sun, 27 Jan 2002 13:58:22 +0000
Subject: Bug #15243: Compile Error - make[3]: *** [pdf.lo] Error 1
Groups: php.dev 
Request: Send a blank email to php-dev+get-78246@lists.php.net to get a copy of this message
From: achapman@dream-fusion.com Operating system: Red Hat 7.1 PHP version: 4.1.1 PHP Bug Type: *PDF functions Bug description: Compile Error - make[3]: *** [pdf.lo] Error 1 Hi guys, sorry to be a pain but i've spent hours and hours trying to find a solution to this problem. I have installed Apache SSL 1.3.22, the latest copy of pdflib and php-4.1.1 on my Red Hat server. I'm compiling everything from source code, not binaries or rpm's. When configuring php, if i use --with-pdflib=/usr/local/lib then everything compiles fine, but php doesn't show any info about pdflib on the phpinfo() screen. Naturally all pdf functions fail. If I change the configure script to --with-pdflib=/usr/local, as specified by many other discussion threads, i get this: pdf.c:208: warning: initialization makes integer from pointer without a cast pdf.c:208: initializer element is not computable at load time pdf.c:208: (near initialization for `pdf_module_entry.size') pdf.c:209: warning: initialization makes integer from pointer without a cast pdf.c:210: warning: initialization makes integer from pointer without a cast pdf.c:210: initializer element is not computable at load time pdf.c:210: (near initialization for `pdf_module_entry.zend_debug') pdf.c:211: warning: initialization makes integer from pointer without a cast pdf.c:211: initializer element is not computable at load time pdf.c:211: (near initialization for `pdf_module_entry.zts') pdf.c:214: warning: initialization from incompatible pointer type make[3]: *** [pdf.lo] Error 1 make[3]: Leaving directory `/usr/local/php-4.1.1/ext/pdf' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/usr/local/php-4.1.1/ext/pdf' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/local/php-4.1.1/ext' make: *** [all-recursive] Error 1 Here is my complete configure script: ./configure --prefix=/usr/local/apache --with-mysql --with-mcrypt=/usr/home/nycran/temp/mcrypt/mcrypt-2.5.10/libmcrypt-2.4.17/ --with-gd --with-jpeg-dir=/usr --with-png --with-zlib --enable-magic-quotes --enable-safe-mode --enable-sockets --enable-sysvsem --enable-sysvshm --enable-ftp --with-apache=../apache_1.3.22 --enable-track-vars --with-pdflib=/usr/local Is this a php compilation bug or a pdflib support issue? Or am i doing something really stupid? Cheers, Andy Chapman. achapman@dream-fusion.com -- Edit bug report at: http://bugs.php.net/?id=15243&edit=1

« previous php.dev (#78246) next »