I finally have my installation of PHP 4.3.3 to work, thanks to your help and
a couple other people on IRC. For knowledge sack here's how I resolve the
problem.

Installed port/packages of...

png-1.2.5p1
jpeg-6b
gd-1.8.3 (built in library of PHP would not work for me)
ImageMagick-5.2.9
zlib (build in. standard part of OpenBSD, /usr/lib/)

To resolve the "config: error: fix png.h not found." error I was unable to
do this without making a symbolic link.

cd /usr/local/include; ln -s libpng/*. This would crate a symbolic link of
each file in /usr/local/include/libpng in /usr/local/include.

Than run configure, and everything was just fine.

./configure --with-mysql --with-xml --with-apxs --without-pear
--with-config-file-path=/var/www/conf --with-zlib --with-zlib-dir=/usr
--with-jpeg-dir=/usr/local --with-png-dir=/usr/local --with-gd=/usr/local

make
make install

Thanks for the help!


> Unless you need PEAR, you're fine. Try configuring 
> --without-pear. You should 
> really be doing this anyways unless actually need PEAR.
> 
> Evan Nemerson
> 
> 
> On Thursday 11 September 2003 02:10 pm, Adam Douglas wrote:
> > Hi. I have a machine that's been freshly installed with PHP 
> 4.1.1. I wanted
> > to upgrade it to PHP 4.3.3. So I did the following below as 
> SU and received
> > the below errors. Is this something I should be worried 
> about? How can I
> > resolve the errors? Never have had this happen before in 
> the past. I ran
> > phpinfo() and it shows PHP 4.3.3, but is the install of PHP okay?
> >
> > If you require any additional information let me know, thanks!
> >
> >
> > # make install
> > Installing PHP CLI binary:        /usr/local/bin/
> > Installing PHP CLI man page:      /usr/local/man/man1/
> > Installing PHP SAPI module:       apache
> > [activating module `php4' in /var/www/conf/httpd.conf]
> > cp libs/libphp4.so /usr/lib/apache/modules/libphp4.so
> > chmod 755 /usr/lib/apache/modules/libphp4.so
> > cp /var/www/conf/httpd.conf /var/www/conf/httpd.conf.bak
> > cp /var/www/conf/httpd.conf.new /var/www/conf/httpd.conf
> > rm /var/www/conf/httpd.conf.new
> > Installing shared extensions:
> > /usr/local/lib/php/extensions/no-debug-non-zts-20020429/
> > Installing PEAR environment:      /usr/local/lib/php/
> >
> > Parse error: parse error in
> > 
> /usr/files/storage/Software/php-4.3.3/pear/package-Archive_Tar
> .xml on line
> > 1 *** Error code 255
> >
> > Stop in /usr/files/storage/Software/php-4.3.3 (line 263 of 
> Makefile).
> > *** Error code 1
> >
> > Stop in /usr/files/storage/Software/php-4.3.3 (line 269 of 
> Makefile).
> 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to