php-install Digest 8 Apr 2002 05:24:43 -0000 Issue 781

Topics (messages 6576 through 6581):

Re: yet another php4 install problem =(
        6576 by: MAX SALVIEJO
        6577 by: Sebastian Wolfgarten
        6578 by: Julie Meloni
        6579 by: d.runken

Re: Upgrading to newer PHP versions
        6580 by: Dr CHEUNG Ngai Tseung

ap_block_alarms error when loading module
        6581 by: Tib

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 ---
You dont seem to have Flex installed




[  Max Salviejo Jr. ]
[  [EMAIL PROTECTED] ]
[  The Plain Dealer Publishing Co. ]
[  216.999.6165  ]
[  www.cleveland.com/plaindealer/ ]

~~~~ No Blue Screens Here ~~~~

>>> "d.runken" <[EMAIL PROTECTED]> 04/07/02 11:25AM >>>
When trying to ./configure php4 i get the following error msg...

[root@rout0r php-4.1.2]# ./configure
loading cache ./config.cache
checking for a BSD compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... missing
checking for working autoconf... missing
checking for working automake... missing
checking for working autoheader... missing
checking for working makeinfo... missing
checking whether to enable maintainer-specific portions of Makefiles... no
checking host system type... i686-pc-linux-gnu
checking for gawk... gawk
checking for bison... no
checking for byacc... no
configure: warning: You will need bison if you want to regenerate the PHP
parsers.
checking for gcc... 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... yes
checking whether gcc accepts -g... yes
checking how to run the C preprocessor... gcc -E
checking for AIX... no
checking for gcc option to accept ANSI C... none needed
checking for ranlib... ranlib
checking whether gcc and cc understand -c and -o together... yes
checking whether ln -s works... yes
checking for flex... lex
checking for yywrap in -ll... no
checking lex output file root... ./configure: lex: command not found
configure: error: cannot find output from lex; giving up

does anyone have any idea whats going on here?



-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php 


--- End Message ---
--- Begin Message ---
Hi,

you need flex and bison, see gnu.org or use
google.

Bye,
Sebastian


--- End Message ---
--- Begin Message ---

dr> configure: warning: You will need bison if you want to regenerate the PHP
dr> parsers.
dr> checking lex output file root... ./configure: lex: command not found
dr> configure: error: cannot find output from lex; giving up

dr> does anyone have any idea whats going on here?

These error messages are of the helpful sort....you need bison and
lex/flex (at least).  These are likely on your distro CD, look in
"development tools" areas of package descriptions.  You can also get
these packages at www.gnu.org.

---

>From the PHP Manual section on installation on UNIX machines
(http://www.php.net/manual/en/install.unix.php)

Prerequisite knowledge and software:

Basic UNIX skills (being able to operate "make" and a C compiler, if compiling) 

An ANSI C compiler (if compiling) 

--> flex (for compiling)

--> bison (for compiling)

A web server 

Any module specific components (such as gd, pdf libs, etc.) 

----

You may run in to other things you need to install, but the error
messages in output are very helpful for telling you just what you need
to get.

- Julie

--> Julie Meloni
--> [EMAIL PROTECTED]
--> www.thickbook.com

Find "Sams Teach Yourself MySQL in 24 Hours" at
http://www.amazon.com/exec/obidos/ASIN/0672323494/thickbookcom-20

--- End Message ---
--- Begin Message ---
whoaaaaa geez that was quick...

thanks will look into it

"Sebastian Wolfgarten" <[EMAIL PROTECTED]> wrote in message
000201c1de50$a2bba140$0200a8c0@bertisevil">news:000201c1de50$a2bba140$0200a8c0@bertisevil...
> Hi,
>
> you need flex and bison, see gnu.org or use
> google.
>
> Bye,
> Sebastian
>
>


--- End Message ---
--- Begin Message ---
I've upgraded several times, using both methods (compile from source and
installing rpms).

Install, then restart apache. Seems to work fine.

NT

-----Original Message-----
From: Panos Katergiathis [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 03, 2002 3:50 AM
To: [EMAIL PROTECTED]
Subject: Upgrading to newer PHP versions


In the past I used PHP + Apache in two ways:
 
-          Compiling Apache and PHP from source (no problems)
-          By pre-installing distros like Suse 7.3
 
In all cases I am constantly faced with the problem on what can I do
when I want to update to a newer PHP version whenever it becomes
available.
 
How does one do that?
 
Do I have to uninstall Apache and PHP and re-compile it from start?
Is there another, easier way?
How does one uninstall Apache and PHP from a Linux system?
 
These questions are burning me. Yet, I constantly fail to find any sort
of answer.
 
Please assist
 
Panos
--- End Message ---
--- Begin Message ---
I'm trying to build php and am having problems whether I try to build it 
as a dynamic or static module. Here's the system layout:

OS: Redhat 7.2
Apache: 2.0.35, configured with --enable-so --enable-ssl
PHP: 4.1.2, tried to configure with both --with-apxs, and --with-apache

the --with-apxs works until I try to load the module and then I get:

[root@seraphim php-4.1.2]# /usr/local/apache2/bin/apachectl configtest
Syntax error on line 219 of /usr/local/apache2/conf/httpd.conf:
Cannot load /usr/lib/apache/libphp4.so into server: 
/usr/lib/apache/libphp4.so: undefined symbol: ap_block_alarms

and the --with-apache tells me that it can't find httpd.h in 
/insert/path/here - and i've tried backing out one directory level at a 
time every time, the file is THERE :P 

So the dso is broken and the static won't even compile. Help please?

<EOL>
Tib

--- End Message ---

Reply via email to