When using make INSTALL_ROOT=/var/tmp/root/php-5.3.17.0 install
I get an error about httpd.conf not being in place for apxs (if I copy it
ahead of time, apxs works fine)
Isnt this to be expected - that httpd.conf is not avalibale, and apxs
should just "fail" gently, leaving a warning
but continuing?
Not sure how to interpret this: what in install asking for, warning about?
Installing PEAR environment: /var/tmp/root/php-5.3.17.0/opt/php/bin/
[PEAR] Archive_Tar - installed: 1.3.7
[PEAR] Console_Getopt - installed: 1.3.0
[PEAR] Structures_Graph- installed: 1.0.4
[PEAR] XML_Util - installed: 1.2.1
warning: pear/PEAR requires package "pear/Archive_Tar" (version >= 1.3.7)
warning: pear/PEAR requires package "pear/Structures_Graph" (recommended
version 1.0.4)
warning: pear/PEAR requires package "pear/Console_Getopt" (recommended
version 1.2.3)
warning: pear/PEAR requires package "pear/XML_Util" (recommended version
1.2.1)
[PEAR] PEAR - installed: 1.9.4
Wrote PEAR system config file at:
/var/tmp/root/php-5.3.17.0//var/php/etc/pear.conf
You may want to add: /opt/php/bin to your php.ini include_path
/data/prj/php/php-5.3.17/build/shtool install -c ext/phar/phar.phar
/var/tmp/root/php-5.3.17.0/opt/bin
ln -s -f /opt/bin/phar.phar /var/tmp/root/php-5.3.17.0/opt/bin/phar
Installing PDO headers:
/var/tmp/root/php-5.3.17.0/opt/include/php/ext/pdo/
And, why it install already mentioning/touching (in this case /opt/* when
all should be in $INSTALL_ROOT?
Suggestions welcome, even if it just "what to say" in a bug report.
Michael
Back on this again. I see that there was a REQ from 2004, to not use the -a
option to apxs when INSTALL_ROOT is set.
That would fix my problem. I tried modifying two files: (changes below)
sapi/apache2handler/config.m4
Makefile.global
and then running ./configure again
The changes in Makefile.global showed up in the new Makefile, but not the
changes in the .m4 file. Would appreciate assistence to get this to work as
expected.
--- Makefile.global.distr 2012-12-19 16:13:48 +0100
+++ Makefile.global 2012-12-27 16:24:19 +0100
@@ -33,6 +33,11 @@
fi;
done;
fi
-
if [ -z $(strip $(INSTALL_ROOT)) ]; then \
-
APXS_ACTIVATE="-a" ; \
-
else \
-
APXS_ACTIVATE="" ; \
-
fi @$(INSTALL_IT)
install-modules: build-modules
--- sapi/apache2handler/config.m4.
distr 2012-12-19 16:13:48.000000000 +0100
+++ sapi/apache2handler/config.m4 2012-12-27 16:23:10.000000000 +0100
@@ -77,7 +77,7 @@
$(mkinstalldirs) '$APXS_SYSCONFDIR' &&
$APXS -S LIBEXECDIR='$APXS_LIBEXECDIR'
-S SYSCONFDIR='$APXS_SYSCONFDIR' \
-
-i -a -n php5"
-
-i \$APXS_ACTIVATE -n php5"
fi
case $host_alias in
When using make INSTALL_ROOT=/var/tmp/root/php-5.3.17.0 install
I get an error about httpd.conf not being in place for apxs (if I copy it
ahead of time, apxs works fine)Isnt this to be expected - that httpd.conf is not avalibale, and apxs
should just "fail" gently, leaving a warning
but continuing?Not sure how to interpret this: what in install asking for, warning about?
Installing PEAR environment: /var/tmp/root/php-5.3.17.0/opt/php/bin/
[PEAR] Archive_Tar - installed: 1.3.7
[PEAR] Console_Getopt - installed: 1.3.0
[PEAR] Structures_Graph- installed: 1.0.4
[PEAR] XML_Util - installed: 1.2.1
warning: pear/PEAR requires package "pear/Archive_Tar" (version >= 1.3.7)
warning: pear/PEAR requires package "pear/Structures_Graph" (recommended
version 1.0.4)
warning: pear/PEAR requires package "pear/Console_Getopt" (recommended
version 1.2.3)
warning: pear/PEAR requires package "pear/XML_Util" (recommended version
1.2.1)
[PEAR] PEAR - installed: 1.9.4
Wrote PEAR system config file at:
/var/tmp/root/php-5.3.17.0//var/php/etc/pear.conf
You may want to add: /opt/php/bin to your php.ini include_path
/data/prj/php/php-5.3.17/build/shtool install -c ext/phar/phar.phar
/var/tmp/root/php-5.3.17.0/opt/bin
ln -s -f /opt/bin/phar.phar /var/tmp/root/php-5.3.17.0/opt/bin/phar
Installing PDO headers:
/var/tmp/root/php-5.3.17.0/opt/include/php/ext/pdo/And, why it install already mentioning/touching (in this case /opt/* when
all should be in $INSTALL_ROOT?Suggestions welcome, even if it just "what to say" in a bug report.
Michael