Problems building PHP
| From: | Ben Gollmer | Date: | Thu, 26 Oct 2000 08:35:52 +0000 |
| Subject: | Problems building PHP | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-22086@lists.php.net to get a copy of this message | ||
I have looked through the manual & FAQ, but have been unable to find a
solution to this problem. When I try to make PHP, I get the error mentioned
in the FAQ:
make: *** [all-recursive] Error 1
According to the FAQ,
"Your system is broken. You need to fix your /usr/include files either by
making sure your /usr/include/linux symlink is pointing to the right place
in your kernel sources or by installing a glibc-devel package that matches
your glibc. This has absolutely nothing to do with PHP. To prove this to
yourself, try this simple test:
$ cat >test.c <<X
#include <sys/resource.h>
X
$ gcc -E test.c >/dev/null
If that spews out errors, you know your include files are messed up. "
When I run the test, I do get a bunch of errors. But if I cd to
/usr/include/linux, all the appropriate files appear, including resource.h.
Also, I have matching glibc & glibc-devel installed:
[root@js1]#rpm -q glibc
glibc-2.1.2-17
[root@js1]#rpm -q glibc-devel
glibc-devel-2.1.2-17
This is a vanilla install of TurboLinux Server 6.0.5, BTW. I was able to
compile libpdf, libpng, and others just fine on this system. Any
suggestions?
TIA,
Ben Gollmer