#15980 [Csd]: can't install php4
| From: | philip@php.net | Date: | Sun, 06 Apr 2003 08:39:48 +0000 |
| Subject: | #15980 [Csd]: can't install php4 | ||
| References: | 1 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969352473@lists.php.net to get a copy of this message | ||
ID: 15980
Updated by: philip@php.net
Reported By: arthurkwtang at netvigator dot com
Status: Closed
Bug Type: Documentation problem
Operating System: Linux mandrake 7.2
PHP Version: 4.1.2
Assigned To: hholzgra
New Comment:
Servio, this is not a documentation problem, you should go here:
http://www.php.net/support
Please do not make further comments to this unrelated closed
documentation bug report.
Previous Comments:
------------------------------------------------------------------------
[2003-04-06 03:21:45] servio at palacios dot com
My Operative System is Linux Mandrake 7.2 and i install apache 1.3.23
and 1.3.26.
When a try install php with rpm format this fail, but the php 4.3.1
tar.gz is successful installed, the problem is mod_php4 dosn't work
with the Apache.
[root@tux php-4.3.1]# ./configure --with-apache=/usr/local/apache
loading cache ./config.cache
checking for Cygwin environment... (cached) no
checking for mingw32 environment... (cached) no
checking for working sed... (cached) sed
checking host system type... i686-pc-linux-gnu
checking for gcc... (cached) gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking whether gcc and cc understand -c and -o together... (cached)
yes
checking how to run the C preprocessor... (cached) gcc -E
checking for AIX... no
checking if compiler supports -R... (cached) no
checking if compiler supports -Wl,-rpath,... (cached) yes
checking for ranlib... (cached) ranlib
checking whether ln -s works... (cached) yes
checking for gawk... (cached) gawk
checking for bison... (cached) bison -y
checking bison version... 1.28 (ok)
checking for flex... (cached) flex
checking for yywrap in -lfl... (cached) yes
checking lex output file root... (cached) lex.yy
checking whether yytext is a pointer... (cached) yes
checking for working const... (cached) yes
checking flex version... 2.5.4 (ok)
checking for pthreads_cflags... (cached) -pthread
checking for pthreads_lib... (cached)
what can i do?
Thanks.
Servio Palacios.
------------------------------------------------------------------------
[2002-11-15 03:50:53] philip@php.net
Added a faq for this. Build faq entries can be seen here:
http://cvs.php.net/cvs.php/phpdoc/en/faq/build.xml
------------------------------------------------------------------------
[2002-09-28 14:17:46] hholzgra@php.net
why didn't you use the flex and bison rpms from the distribution?
------------------------------------------------------------------------
[2002-03-11 03:38:54] arthurkwtang at netvigator dot com
dear sir/madam,
i have installed flex and bison again. however the same problems still
occurred. (my procedure is : download the flex-2.5.4a.tar.gz and
bison-1.33.tar.gz ) then copy to /usr/local/ and go to their directory
and "./configure" and "make" and "make install".
Finally, i go to /usr/local/php-4.1.2/
and cd /usr/local/php-4.1.2
./configure --with-apxs=/usr/local/apache/bin/apxs \
--with-mysql \
--enable-track-vars
:(
but the same problem is still here
thanks
Rgds,
arthur
------------------------------------------------------------------------
[2002-03-10 22:42:20] sniper@php.net
You need to install flex.. ask further support questions
on the mailing lists. http://www.php.net/support.php
(Reclassified as documentation problem, FAQ's build section should have
entry for this :)
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/15980
--
Edit this bug report at http://bugs.php.net/?id=15980&edit=1