RE: [PHP] Problem installing php/pdflib on Debian

From: Date: Thu, 14 Dec 2000 16:42:45 +0000
Subject: RE: [PHP] Problem installing php/pdflib on Debian
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-30310@lists.php.net to get a copy of this message
I would be interested to know as well. I'm having the same problem on RedHat 7 with PHP4.0.3 and the latest version of pdflib. I'm installing php as a static apache module. Jason -----Original Message----- From: Ide, Jim [mailto:jide@lgb-inc.com] Sent: Thursday, December 14, 2000 9:34 AM To: 'php-general@lists.php.net' Subject: [PHP] Problem installing php/pdflib on Debian Hello - I'm trying to install the following software on Debian 2.2: MySQL Apache PHP pdflib tiff lib jpeg lib pspell aspell (required by pspell) I wrote a shell script to automate this (listed below). The script runs fine on RedHat 6.2, but on Debian 2.2, the PHP ./configure step gives the following error messages: <snip> checking whether to include Pdflib 3.x support... /usr/local yes checking for libz needed by pdflib 3.x... already zlib support checking for jpeg_read_header in -ljpeg... no no checking for png_create_info_struct in -lpng... no no checking for TIFFOpen in -ltiff... no no checking for PDF_show_boxed in -lpdf... no no configure: error: pdflib extension requires pdflib 3.x. Please tell me what I'm doing wrong. Thanks - Jim #### script begins #### MySQL cd /usr/local/src groupadd mysqlgrp useradd -c mysqladm -M -s /bin/false -G mysqlgrp mysqladm cd /usr/local/src tar -xvzf /usr/local/src/mysql-3.22.32.tar.gz cd /usr/local/src/mysql-3.22.32 ./configure --prefix=/usr/local/mysql --with-named-curses-libs=/lib/libncurses.so.5.0 make make install scripts/mysql_install_db chown -R mysqladm.mysqlgrp /usr/local/mysql/var chmod -R go+rwx /usr/local/mysql/var starting MySQL #### Apache cd /usr/local/src tar -xvzf /usr/local/src/apache_1.3.14.tar.gz cd /usr/local/src/apache_1.3.14 ./configure --prefix=/usr/local/apache #### tiff lib cd /usr/local/src tar -xvzf /usr/local/src/tiff-v3.5.5.tar.gz cd /usr/local/src/tiff-v3.5.5 ./configure --noninteractive make make install #### jpeg lib cd /usr/local/src tar -xvzf /usr/local/src/jpegsrc.v6b.tar.gz cd /usr/local/src/jpeg-6b ./configure make make test make install #### pdflib cd /usr/local/src tar -xvzf /usr/local/src/pdflib-3.02.tar.gz cd /usr/local/src/pdflib-3.02 ./configure --enable-shared --enable-shared-pdflib make make test make install ldconfig #### pspell cd /usr/local/src tar -xvzf /usr/local/src/pspell-.11.2.tar.gz cd /usr/local/src/pspell-.11.2 ./configure make make install #### aspell cd /usr/local/src tar -xvzf /usr/local/src/aspell-.32.6.tar.gz cd /usr/local/src/aspell-.32.6 ./configure make make install #### pspell continued cd /usr/local/src/pspell-.11.2/modules ./add-modules cd .. make make install #### PHP cd /usr/local/src tar -xvzf /usr/local/src/php-4.0.3pl1.tar.gz cd /usr/local/src/php-4.0.3pl1 ./configure \ --with-mysql=/usr/local/mysql \ --with-apache=/usr/local/src/apache_1.3.14 \ --with-config-file-path=/www/config \ --enable-track-vars \ --with-pdflib=/usr/local \ --with-pspell=/usr/local -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net For additional commands, e-mail: php-general-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net _______________________________________________________ Site Design, Hosting, and E-Commerce at www.webpipe.net

« previous php.general (#30310) next »