php-install Digest 1 Sep 2002 09:42:51 -0000 Issue 1003

Topics (messages 8287 through 8290):

problem with php-4.2.2 and apache-1.3.26
        8287 by: Kaare Rasmussen

Re: can't install PHP4.2.2 on redhat 7.3 + apache4.0.40
        8288 by: Barry

Building 4.2.2 on OS X 10.2 failing miserably
        8289 by: N.S. Engelmacher

redhat-apache-php
        8290 by: Prometeo

Administrivia:

To subscribe to the digest, e-mail:
        [EMAIL PROTECTED]

To unsubscribe from the digest, e-mail:
        [EMAIL PROTECTED]

To post to the list, e-mail:
        [EMAIL PROTECTED]


----------------------------------------------------------------------
--- Begin Message ---
In the process I have done the following

1. cd /temp
2. tar -xzvf apache_1.3.26-i686-whatever-linux22.tar.gz

3. tar -xzvf php-4.2.2.tar.gz
4. cd /temp/php-4.2.2
5. ./configure --prefix=/pack/php-4.2.2 --with-pgsql=/pack/postgresql-7.2.2 
--with- apache=/temp/apache- 1.3.26
6. make
7. make install
8. cd /temp/apache-1.3.26

9. ./configure --prefix=/pack/apache-1.3.26 
--activate-module=src/modules/php4/ libmodphp4.a
10. make
During the make-process the following error-messages pops up
mod_php4.c:28:18: zend.h: no such file og folder

mod_php4.c:29:17: php.h: no such file og folder
mod_php4.c:30:27: php_variables.h: no such file og folder
mod_php4.c:47:21: php_ini.h: no such file og folder
mod_php4.c:48:25: php_globals.h: no such file og folder
mod_php4.c:49:18: SAPI.h: no such file og folder
mod_php4.c:50:22: php_main.h: no such file og folder
mod_php4.c:52:26: zend_compile.h: no such file og folder
mod_php4.c:53:26: zend_execute.h: no such file og folder
mod_php4.c:54:28: zend_highlight.h: no such file og folder
mod_php4.c:55:25: zend_indent.h: no such file og folder
mod_php4.c:57:39: ext/standard/php_standard.h: no such file og folder

Any suggestions whats wrong?

best regards
Kaare

_________________________________________________________________
Send and receive Hotmail on your mobile device: http://mobile.msn.com

--- End Message ---
--- Begin Message ---
I found the answer in this newgroup already.  Thanks.

================

"Barry" <[EMAIL PROTECTED]> ¼¶¼g©ó¶l¥ó
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I follow the steps in the php manual to install PHP4.2.2 on Redhat 7.3
with
> Apache4.0.40
>
> 1. tar -xzvf httpd-2.0.40-i686-pc-linux-gnu-rh73.tar.gz
> 2. cd httpd-2.0.40
> 3. ./configure --prefix=/Apps/apache --enable-module=so
> 4. make
> 5. make install
>
> 6. tar -xzvf php-4.2.2.tar.gz
> 7. cd php-4.2.2
> 8. ./configure --with-mysql --with-apxs2=/usr/local/apache2/bin/apxs
> 9. make
> 10. make install
>
> However, after step 10, it report a Error 1.  Does anybody know what I
have
> done incorrectly?
>
> Thank you very much.
> Barry
>
>


--- End Message ---
--- Begin Message ---
I've been struggling with this for days now, and 4.2.2 simply will not build
successfully on 10.2 (Jaguar). I have altered the sources with the changes
suggested by the patch available at www.entropy.ch, and that gets me a lot
farther along than before, but it still will not build.

Symptoms: 

Multiple symbol definitions of yytext in zend_ini_scanner.c and
zend_language_scanner.c

Several compiler warnings about improperly cast pointers and irrelevant
conditionals (i.e. always returning false)

Link phase goes nowhere. I just get a neverending stream of errors in the
general form of:

ld: multiple definitions of symbol _zendparse
Zend/.libs/libZend.al(zend_language_parser.lo) definition of _zendparse in
section (__TEXT,__text)
Zend/.libs/libZend.al(zend_language_parser.lo) definition of _zendparse in
section (__TEXT,__text)

It would seem that libtool is very, very broken by this recent release, and
I am not knowledgeable enough of its inner workings to put my finger on
precisely what it is that is going wrong. Any assistance anyone might be
able to provide would be greatly appreciated.

Thanks.

--- End Message ---
--- Begin Message ---
this is the message that appears when i try to configure php 4.2.2 with apache 
under linux redhat 7.3.
I can't go on. Is there someone that can help me? 


Configuring SAPI modules
checking for AOLserver support... no
checking for Apache 1.x module support via DSO through APXS...

Sorry, I was not able to successfully run APXS.  Possible reasons:

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 /usr/local/apache/bin/apxs follows
Usage: apxs -g [-S <var>=<val>] -n <modname>
       apxs -q [-S <var>=<val>] <query> ...
       apxs -c [-S <var>=<val>] [-o <dsofile>] [-D <name>[=<value>]]
               [-I <incdir>] [-L <libdir>] [-l <libname>] [-Wc,<flags>]
               [-Wl,<flags>] <files> ...
       apxs -i [-S <var>=<val>] [-a] [-A] [-n <modname>] <dsofile> ...
       apxs -e [-S <var>=<val>] [-a] [-A] [-n <modname>] <dsofile> ...
configure: error: Aborting



--- End Message ---

Reply via email to