php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #1906 missing source files
Submitted: 1999-07-28 10:12 UTC Modified: 1999-07-28 11:03 UTC
From: david dot martin at biotek dot uio dot no Assigned:
Status: Closed Package: Other
PHP Version: 3.0.11 OS: linux 2.2.7 (suse 6.1
Private report: No CVE-ID: None
 [1999-07-28 10:12 UTC] david dot martin at biotek dot uio dot no
I have been trying to compile php 3.0.11 but keep getting errors when the compiler cannot find various files in functions/

These files are not there. I have tried two different sites for download.
I have tried a vanilla setup without gd, and to enable postgres and a few other setups too and get a number of different missing files
thanks

..d

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1999-07-28 10:24 UTC] rasmus at cvs dot php dot net
Without exact error messages there is nothing to go on here and as such the report is useless.
I bet you are trying to compile in support for things you haven't installed.
 [1999-07-28 10:54 UTC] david dot martin at biotek dot uio dot no
typical error messages are:

(with gd disabled, compiling for an apache module, and everything else taken as default)
gcc -g -O2 -O2   -I. -I.   -I/usr/local/apache_1.3.6/src/include -I/usr/local/apache_1.3.6/src/os/unix                  -I/usr/include    -c functions/gdttf.c -o functions/gdttf.o  
functions/gdttf.c:17: gd.h: No such file or directory
make: *** [functions/gdttf.o] Error 1                   

with --with-pgsql=<my pogcc -g -O2 -O2   -I. -I.   -I/usr/local/apache_1.3.6/src/include -I/usr/local/apache_1.3.6/src/os/unix                  -I/usr/include -I/var/lib/pgsql/include    -c internal_functions.c -o internal_functions.o
In file included from internal_functions.c:63:
functions/php3_pgsql.h:46: libpq-fe.h: No such file or directory
functions/php3_pgsql.h:47: libpq/libpq-fs.h: No such file or directory
make: *** [internal_functions.o] Error 1 stgres directory> without gd as an apache module

I followed all the instructions as written.. If I have to somehow merge two lots of source trees and include extra files in with the tarball, then some instuctions could be useful.


 [1999-07-28 11:03 UTC] david dot martin at biotek dot uio dot no
oops, that last one got a bit mangled. it should say

configure --with-gd=no --with-pgsql=<postgres directory> --with-apache=<apache directory>

gcc -g -O2 -O2   -I. -I.   -I/usr/local/apache_1.3.6/src/include -I/usr/local/apache_1.3.6/src/os/unix                  -I/usr/include -I/var/lib/pgsql/include    -c internal_functions.c -o internal_functions.o
In file included from internal_functions.c:63:
functions/php3_pgsql.h:46: libpq-fe.h: No such file or directory
functions/php3_pgsql.h:47: libpq/libpq-fs.h: No such file or directory
make: *** [internal_functions.o] Error 1 
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Nov 12 03:01:29 2024 UTC