Hello,
Am trying to install PHP by running the "configure" command but saw 2 WARNINGS about not having defined "datarootdir".
Executed this.....
Code:
./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql=/usr/local/src --with-libdir=lib64 > configure.log 2>&1
Got these 2 warnings in configure.log.....
Code:
config.status: WARNING: 'Makefile.in' seems to ignore the --datarootdir setting
config.status: WARNING: 'lib/Makefile.in' seems to ignore the --datarootdir setting
Looking into this further
here I found that there is a change since Autoconf 2.60, the datarootdir variable is introduced and it should have been defined in the "Makefile.in" file. Guess PHP.net didn't do this properly?
So I added the line "datarootdir = @datarootdir@" in "Makefile.in". Now I need to run "autoconf" but it failed to generate the "configure" script. This is what I executed.....
Code:
/usr/bin/autoconf ./Makefile.in
But the "configure" file hasn't been changed.
Am I heading into a wrong direction to solve this problem?