#34509 [Opn-Fbk]: APACHE_VERSION variable in configure is nonsense

2005-09-16 Thread sniper
 ID:   34509
 Updated by:   [EMAIL PROTECTED]
 Reported By:  peter dot buki at vodafone dot hu
-Status:   Open
+Status:   Feedback
 Bug Type: Compile Failure
 Operating System: SunOS 5.9 Generic_112233-01
 PHP Version:  5.1.0RC1
 New Comment:

What does this output:

# /usr/apache/bin/httpd -v



Previous Comments:


[2005-09-16 10:47:55] peter dot buki at vodafone dot hu

Hope it helps:
APXS=/usr/apache/bin/apxs
EDITOR=vi
HOME=/export/home/vodafone
HOSTNAME=mis
HOSTTYPE=sparc
HTTPD=/usr/apache/bin/httpd
IFS=- /.

LOGNAME=vodafone
MACHTYPE=sparc-sun-solaris2.9
MAILCHECK=600
OLDPWD=/export/home/vodafone
OPTIND=1
OSTYPE=solaris2.9
PATH=/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/ccs/bin
[EMAIL PROTECTED] \W]\$ 
PWD=/export/home/vodafone/src
SHELL=/bin/bash
SHLVL=2
SSH_TTY=/dev/pts/4
STY=11381.pts-4.mis
TERM=xterm
TERMCAP=SC|xterm|VT 100/ANSI X3.64 virtual terminal:\
:DO=\E[%dB:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:bs:bt=\E[Z:\
:cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:ct=\E[3g:\
:do=^J:nd=\E[C:pt:rc=\E8:rs=\Ec:sc=\E7:st=\EH:up=\EM:\
:le=^H:bl=^G:cr=^M:it#8:ho=\E[H:nw=\EE:ta=^I:is=\E)0:\
:li#53:co#138:am:xn:xv:LP:sr=\EM:al=\E[L:AL=\E[%dL:\
:cs=\E[%i%d;%dr:dl=\E[M:DL=\E[%dM:dc=\E[P:DC=\E[%dP:\
:im=\E[4h:ei=\E[4l:mi:IC=\E[%d@:ks=\E[?1h\E=:\
:ke=\E[?1l\E:vi=\E[?25l:ve=\E[34h\E[?25h:vs=\E[34l:\
:ti=\E[?1049h:te=\E[?1049l:us=\E[4m:ue=\E[24m:so=\E[3m:\
:se=\E[23m:md=\E[1m:mr=\E[7m:me=\E[m:ms:\
:Co#8:pa#64:AF=\E[3%dm:AB=\E[4%dm:op=\E[39;49m:AX:G0:\
:as=\E(0:ae=\E(B:\

:ac=\140\140aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~..--++,,hhII00:\
:k0=\E[10~:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k5=\E[15~:\
:k6=\E[17~:k7=\E[18~:k8=\E[19~:k9=\E[20~:k;=\E[21~:\
:F1=\E[23~:F2=\E[24~:F3=\E[25~:F4=\E[26~:F5=\E[28~:\
:F6=\E[29~:F7=\E[31~:F8=\E[32~:F9=\E[33~:FA=\E[34~:\
:kb=^H:kh=\E[1~:@1=\E[1~:kH=\E[4~:@7=\E[4~:kN=\E[6~:\
:kP=\E[5~:kI=\E[2~:kD=\E[3~:ku=\EOA:kd=\EOB:kr=\EOC:\
:kl=\EOD:km:
TZ=Europe/Budapest
USER=vodafone
WINDOW=3
_=./apache.sh
ac_IFS= 

ac_output=

expr: syntax error



[2005-09-15 20:40:34] [EMAIL PROTECTED]

Please download this script:

  http://www.php.net/~jani/patches/apache.sh

Make it executable and run it and paste the output here.




[2005-09-15 14:33:43] peter dot buki at vodafone dot hu

Sorry for leaving out the possibility to filter out the most simple
cause. Apache/2.0.54 compiled on Aug 22 2005 16:34:58.

[EMAIL PROTECTED] php-5.1.0RC1]# /usr/local/apache2/bin/httpd -v
Server version: Apache/2.0.54
Server built:   Aug 22 2005 16:34:58



[2005-09-15 14:30:47] [EMAIL PROTECTED]

So what apache version do you have? What is the output of 
httpd -v ?



[2005-09-15 11:09:14] peter dot buki at vodafone dot hu

Description:

Variable APACHE_VERSION is calculated in a wrong way, because configure
halts, event if the apache has the required and set with --with-apxs2
version

configure returns with syntax error:
expr: syntax error
configure: error: You have enabled Apache 2 support while your server
is Apache 1.3.  Please use the appropiate switch --with-apxs (without
the 2)

Please see possibly related bugs:
Bug #20457: APACHE_VERSION variable in configure is nonsense
Bug #23416: configure not knowing apache version

Reproduce code:
---
./config.nice:
CC='gcc -m64 -mcpu=v9' \
'./configure' \
'--with-apxs2=/usr/apache/bin/apxs' \
'--libexecdir=/usr/apache/libexec' \
'--enable-sysvmsg' \
'--enable-sysvsem' \
'--enable-sysvshm' \
'--enable-mbstring=all' \
'--enable-sigchild' \
'--enable-sockets' \
'--enable-mbstring' \
'--with-postgresql=/usr/local/pgsql/' \
'--disable-shared' \
'--with-libxml-dir=/usr/local' \
$@


Expected result:

Configure going on with no errors.

Actual result:
--
configure returns with syntax error:
expr: syntax error
configure: error: You have enabled Apache 2 support while your server
is Apache 1.3.  Please use the appropiate switch --with-apxs (without
the 2)

Added this line to configure (line 4226, 5534, 6366):
  echo APACHE_VERSION \($APACHE_VERSION\) is calculated: $4 \* 100 
+ $5 \* 1000 + $6
which prints this:
APACHE_VERSION () is calculated: * 100 + * 1000 +







-- 
Edit this bug report at http://bugs.php.net/?id=34509edit=1


#34509 [Opn-Fbk]: APACHE_VERSION variable in configure is nonsense

2005-09-15 Thread sniper
 ID:   34509
 Updated by:   [EMAIL PROTECTED]
 Reported By:  peter dot buki at vodafone dot hu
-Status:   Open
+Status:   Feedback
 Bug Type: Compile Failure
 Operating System: SunOS 5.9 Generic_112233-01
 PHP Version:  5.1.0RC1
 New Comment:

So what apache version do you have? What is the output of 
httpd -v ?


Previous Comments:


[2005-09-15 11:09:14] peter dot buki at vodafone dot hu

Description:

Variable APACHE_VERSION is calculated in a wrong way, because configure
halts, event if the apache has the required and set with --with-apxs2
version

configure returns with syntax error:
expr: syntax error
configure: error: You have enabled Apache 2 support while your server
is Apache 1.3.  Please use the appropiate switch --with-apxs (without
the 2)

Please see possibly related bugs:
Bug #20457: APACHE_VERSION variable in configure is nonsense
Bug #23416: configure not knowing apache version

Reproduce code:
---
./config.nice:
CC='gcc -m64 -mcpu=v9' \
'./configure' \
'--with-apxs2=/usr/apache/bin/apxs' \
'--libexecdir=/usr/apache/libexec' \
'--enable-sysvmsg' \
'--enable-sysvsem' \
'--enable-sysvshm' \
'--enable-mbstring=all' \
'--enable-sigchild' \
'--enable-sockets' \
'--enable-mbstring' \
'--with-postgresql=/usr/local/pgsql/' \
'--disable-shared' \
'--with-libxml-dir=/usr/local' \
$@


Expected result:

Configure going on with no errors.

Actual result:
--
configure returns with syntax error:
expr: syntax error
configure: error: You have enabled Apache 2 support while your server
is Apache 1.3.  Please use the appropiate switch --with-apxs (without
the 2)

Added this line to configure (line 4226, 5534, 6366):
  echo APACHE_VERSION \($APACHE_VERSION\) is calculated: $4 \* 100 
+ $5 \* 1000 + $6
which prints this:
APACHE_VERSION () is calculated: * 100 + * 1000 +







-- 
Edit this bug report at http://bugs.php.net/?id=34509edit=1


#34509 [Opn-Fbk]: APACHE_VERSION variable in configure is nonsense

2005-09-15 Thread sniper
 ID:   34509
 Updated by:   [EMAIL PROTECTED]
 Reported By:  peter dot buki at vodafone dot hu
-Status:   Open
+Status:   Feedback
 Bug Type: Compile Failure
 Operating System: SunOS 5.9 Generic_112233-01
 PHP Version:  5.1.0RC1
 New Comment:

Please download this script:

  http://www.php.net/~jani/patches/apache.sh

Make it executable and run it and paste the output here.



Previous Comments:


[2005-09-15 14:33:43] peter dot buki at vodafone dot hu

Sorry for leaving out the possibility to filter out the most simple
cause. Apache/2.0.54 compiled on Aug 22 2005 16:34:58.

[EMAIL PROTECTED] php-5.1.0RC1]# /usr/local/apache2/bin/httpd -v
Server version: Apache/2.0.54
Server built:   Aug 22 2005 16:34:58



[2005-09-15 14:30:47] [EMAIL PROTECTED]

So what apache version do you have? What is the output of 
httpd -v ?



[2005-09-15 11:09:14] peter dot buki at vodafone dot hu

Description:

Variable APACHE_VERSION is calculated in a wrong way, because configure
halts, event if the apache has the required and set with --with-apxs2
version

configure returns with syntax error:
expr: syntax error
configure: error: You have enabled Apache 2 support while your server
is Apache 1.3.  Please use the appropiate switch --with-apxs (without
the 2)

Please see possibly related bugs:
Bug #20457: APACHE_VERSION variable in configure is nonsense
Bug #23416: configure not knowing apache version

Reproduce code:
---
./config.nice:
CC='gcc -m64 -mcpu=v9' \
'./configure' \
'--with-apxs2=/usr/apache/bin/apxs' \
'--libexecdir=/usr/apache/libexec' \
'--enable-sysvmsg' \
'--enable-sysvsem' \
'--enable-sysvshm' \
'--enable-mbstring=all' \
'--enable-sigchild' \
'--enable-sockets' \
'--enable-mbstring' \
'--with-postgresql=/usr/local/pgsql/' \
'--disable-shared' \
'--with-libxml-dir=/usr/local' \
$@


Expected result:

Configure going on with no errors.

Actual result:
--
configure returns with syntax error:
expr: syntax error
configure: error: You have enabled Apache 2 support while your server
is Apache 1.3.  Please use the appropiate switch --with-apxs (without
the 2)

Added this line to configure (line 4226, 5534, 6366):
  echo APACHE_VERSION \($APACHE_VERSION\) is calculated: $4 \* 100 
+ $5 \* 1000 + $6
which prints this:
APACHE_VERSION () is calculated: * 100 + * 1000 +







-- 
Edit this bug report at http://bugs.php.net/?id=34509edit=1