1823938 Members
3424 Online
109667 Solutions
New Discussion

php 4.2.2 ./configure

 
serguey kavafian
Occasional Advisor

php 4.2.2 ./configure

Hi,

1. When I have apache/bin/apxs poin to $ORACLE_HOME8.1.7/Apache/perl/bin/perl and
trying
./ configure --with-mysql --with-apx=/bin/apxs --enable-track-vars

got following errors:

1. Perl is not installed;
2. Apache was not compiled with DSO support (--enable-module=so);
3. 'apxs' is not in your path. Try to use --with-apxs=/path/to/apxs

The output of /u03/Apache/bin/apxs follows
Can't locate strict.pm in @INC (@INC contains: /project/hpux/apache/install/perl
/lib/5.00503/PA-RISC2.0-thread /project/hpux/apache/install/perl/lib/5.00503 /pr
oject/hpux/apache/install/perl/lib/site_perl/5.005/PA-RISC2.0-thread /project/hp
ux/apache/install/perl/lib/site_perl/5.005 .) at /u03/Apache/bin/apxs line 67.
BEGIN failed--compilation aborted at /u03/Apache/bin/apxs line 67.
configure: error: Aborting

2. When I have apache/bin/apxs poin to /usr/contrib/bin/perl -->
got following errors:

The output of /u03/Apache/bin/apxs follows
syntax error in file /u03/Apache/bin/apxs at line 67, next 2 tokens "use strict"
syntax error in file /u03/Apache/bin/apxs at line 74, next 2 tokens "my $CFG_TAR
GET "
syntax error in file /u03/Apache/bin/apxs at line 99, next 2 tokens "my $opt_n "
syntax error in file /u03/Apache/bin/apxs at line 125, next 2 tokens "my ("
syntax error in file /u03/Apache/bin/apxs at line 198, next 2 tokens "my $rc"
syntax error in file /u03/Apache/bin/apxs at line 201, next 2 tokens "1 and"
syntax error in file /u03/Apache/bin/apxs at line 202, next 2 tokens "not $opt_q
"
syntax error in file /u03/Apache/bin/apxs at line 211, next 2 tokens "my ("
syntax error in file /u03/Apache/bin/apxs at line 214, next 2 tokens "my ("
syntax error in file /u03/Apache/bin/apxs at line 216, next 2 tokens "$var and"
/u03/Apache/bin/apxs has too many errors.
configure: error: Aborting

Where is the problem? Is it perl?

Thank you,
Serguey

1 REPLY 1
benoit Bruckert
Honored Contributor

Re: php 4.2.2 ./configure

HI,
I Already gave an advice in another post from you, see it,
Benoit
Une application mal pansée aboutit à une usine à gaze (GHG)