I need to update PHP from 5.2.6 to the latest version, and I can't build it properly. I just upgraded Apache to 2.2.17, and that is working fine, but when I build PHP, libphp5.so is not built and placed in the Apache modules folder.
I have stripped the ./configure command down to
--with-apxs2=/usr/local/apache2/bin/apxs
Apache is shut down when I compile PHP.
I am logged in as root during the whole process.
I understand that Fedora 9 is an old distro, but we can't really upgrade at this moment.
I've looked throughout the build directory, and I don't find anything with a .so extension. There are both libs and modules folders, but they are empty.
However, I found this message in the config.log file:
/root/install/php-5.2.16/configure:14043: undefined reference to `yp_get_default_domain'
collect2: ld returned 1 exit status
configure: failed program was:
#line 14026 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char yp_get_default_domain(); below. */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char yp_get_default_domain();
Is that something that I need to be concerned about?
---------- Post updated 01-04-11 at 10:22 AM ---------- Previous update was 01-03-11 at 01:16 PM ----------
This has been solved -- mostly due to my own stupidity, but with a little help from 'make distclean'