php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #22977 png.h
Submitted: 2003-03-31 05:42 UTC Modified: 2003-04-02 07:43 UTC
From: kuba at 3net dot pl Assigned:
Status: Not a bug Package: Compile Failure
PHP Version: 4.3.1 OS: RH Linux 7.3
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: kuba at 3net dot pl
New email:
PHP Version: OS:

 

 [2003-03-31 05:42 UTC] kuba at 3net dot pl
confg line
./configure --prefix=/usr --with-config-file-path=/etc --disable-debug --enable-shared --with-apxs=/usr/sbin/apxs --with-gd --with-jpeg-dir=/usr --with-png --with-ttf --with-xpm-dir=/usr/lib --enable-gd-native-ttf --with-zlib=/usr --enable-safe-mode --enable-track-vars --enable-ftp --with-mysql=/usr/local/mysql --with-dbase --with-gettext

afetr make i got:
/usr/local/etc/php-4.3.1/ext/gd/libgd/gd_png.c:11:67: png.h: No such file or directory
make: *** [ext/gd/libgd/gd_png.lo] B??d 1

i searched entire disk looking for png.h
and didn't find :(

what's the problem?







Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-03-31 09:50 UTC] magnus@php.net
Sorry, but your problem does not imply a bug in PHP itself.  For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system is not the
appropriate forum for asking support questions. 

Thank you for your interest in PHP.

You need to install developement package for libpng.
 [2003-03-31 10:21 UTC] kuba at 3net dot pl
Sorry, but what does my problem imply??
I tried to compile PHP - but didn't succed...

What is png.h file?
I guessed that PHP's 'make' is expecting that
file in php-4.3.1/ext/gd/libgd/
Am I wrong?

Is that file coming with libpng?
 [2003-04-02 07:43 UTC] kuba at 3net dot pl
installing rpm packages:
   libpng-devel
   libjpeg-devel

fixes install-crash
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Sep 19 15:01:27 2024 UTC