php-install Digest 19 Jun 2003 20:45:35 -0000 Issue 1429

Topics (messages 11114 through 11119):

Re: Make error (make: *** [ext/ctype/ctype.lo] Error 1)
        11114 by: Michael Mauch

i need to work with dbf format
        11115 by: Yunier Saborit Ramirez

Problems configuring php 4.3.2 with imap support
        11116 by: Martin Östlund

Re: apache 2.0.46 + PHP 4.3.2 install problem
        11117 by: John
        11118 by: Ross Franklin

error in configure apx sand  mysql with php
        11119 by: saad al-hajeri

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 ---
Thomas wrote:

> I could not find anything describing this problem at bugs.php.net nor
> the mailing list archives.

Google is your friend ;-)

> /usr/local/include/unix.h:182: parse error before `MAILSTREAM'

<http://www.google.com/search?q=%22parse+error+before+%60MAILSTREAM%27%22>

<http://www.zend.com/lists/php-dev/200111/msg01404.html>
<http://bugs.php.net/bug.php?id=14503>
<http://www.phpbuilder.com/mail/php-install/2000052/0106.php>

> Any suggestions?

Remove the c-client (imap) package, if you don't need it. If you need
it, install a newer version of that package (at least imap-2002b doesn't
install that unix.h file into /usr/local/include anymore).

Regards...
                Michael

--- End Message ---
--- Begin Message ---
hello every body:
i have already installed php-4.2.2-17, httpd-2.0.40-21
on linux RedHat 9 , and i need to work with a databse
in dbf 
format, but when i try to use dbase_open(...), an
error ocurred: Call to undefined function:
dbase_open()...
what i have to do?

pd: sorry mi english, i'm spanih speaking...

___________________________________________________
Yahoo! Sorteos  -  http://loteria.yahoo.es
Juega a la Lotería Primitiva sin salir de casa

--- End Message ---
--- Begin Message ---
Hi list.

I'm having problems configuring PHP 4.3.2 on Red Hat 9.0
vanilla installation with imap-2001a-18 and imap-devel-2001a-18.

I first tried:
./configure --with-imap --with-apxs=/www/bin/apxs

And it then said:
configure: error: This c-client library is built with Kerberos support.
      Add --with-kerberos to your configure line. Check config.log for details.

So I added --with-kerberos to my ./configure line as it said, and then it
gives me:

checking whether SSL libraries are needed for c-client... no
checking whether IMAP works... no
configure: error: build test failed. Please check the config.log for
details.

and this is some of the text config.log has:

configure:36336: gcc -o conftest -g -O2   -Wl,-rpath,/usr/kerberos/lib
-L/usr/kerberos/lib conftest.c -lc-client   -lcrypt -lpam -lresolv -lm
-ldl -lnsl  -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err 1>&5

/usr/lib/gcc-lib/i386-redhat-linux/3.2.2/../../../libc-client.a(osdep.o)(.text+0xa4d7):
In function `ssl_onceonlyinit':
: the use of `tmpnam' is dangerous, better use `mkstemp'
/usr/lib/gcc-lib/i386-redhat-linux/3.2.2/../../../libc-client.a(osdep.o)(.text+0xa4c7):
In function `ssl_onceonlyinit':
: undefined reference to `SSL_library_init'

and alot more of similar lines...


How can I fix this problem, I really need to get imap support to work with
my PHP.

Cheers. Martin


--- End Message ---
--- Begin Message ---
Very similar situation here but I think I'm doing  something wrong and could
use a little help from you guys.

Apache 2.0.46 & PHP 4.3.2

Here's my info: I can't get the ./configure to run


[EMAIL PROTECTED] php-4.3.2]#
./configure --with-apxs2=/usr/local/apache2/bin/apxs
loading cache ./config.cache
checking host system type... i686-pc-linux-gnu
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 whether gcc and cc understand -c and -o together... yes
checking how to run the C preprocessor... gcc -E
checking for AIX... no
checking if compiler supports -R... no
checking if compiler supports -Wl,-rpath,... yes
checking for ranlib... ranlib
checking whether ln -s works... yes
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 flex... lex
checking for yywrap in -ll... no
checking lex output file root... ./configure: line 2356: lex: command not
found
configure: error: cannot find output from lex; giving up
[EMAIL PROTECTED] php-4.3.2]#


Any ideas?

Thx


"Renaud Paquay" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hi,
>
> I'm trying installing an apache 2.0.46 with PHP 4.3.2
>
> I compiled and installed the modules following the installation
instructions
> found on php.net
> Unfortunately, when I attempt to view a simple testpage.html the only
result
> I find is a blank page. When I take a look to the source, I see my PHP
> code....So the page wasn't processed by php...
>
> apache:
> ./configure --enable-so
> make
> make install
>
> PHP
> ./configure --with-apxs2=/usr/local/apache2/bin/apxs
> make
> make install
> I copied the php.ini-dist in /usr/local/lib/php.ini
>
> but no success... :-(
>
> Anyone could help me with this fu#!@& install ?
>
> Thanks
>
> Renaud
>
> _________________________________________________________________
> Hotmail: votre e-mail gratuit ! http://www.fr.msn.be/hotmail
>


---
Outgoing mail is certified Virus Free.
.....Powered by Tri-D-FX.....
.....Find us at http://www.tridfx.com.....
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.489 / Virus Database: 288 - Release Date: 6/11/2003


---
Outgoing mail is certified Virus Free.
.....Powered by Tri-D-FX.....
.....Find us at http://www.tridfx.com.....
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.489 / Virus Database: 288 - Release Date: 6/11/2003



--- End Message ---
--- Begin Message ---
John,
It looks as though configure can't find the bison or flex programs. I had this
exact problem just the other day. What you need to do is get these from the gnu
website:
http://www.gnu.org/software/bison/bison.html    (direct link on page)
http://www.gnu.org/software/flex/                       (you will have to go to mirror 
ftp site)
Just download these two source packages and install them. Then php will
configure fine.

-----Original Message-----
From: John [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 19, 2003 11:00 AM
To: [EMAIL PROTECTED]
Subject: [PHP-INST] Re: apache 2.0.46 + PHP 4.3.2 install problem


Very similar situation here but I think I'm doing  something wrong and could
use a little help from you guys.

Apache 2.0.46 & PHP 4.3.2

Here's my info: I can't get the ./configure to run


[EMAIL PROTECTED] php-4.3.2]#
./configure --with-apxs2=/usr/local/apache2/bin/apxs
loading cache ./config.cache
checking host system type... i686-pc-linux-gnu
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 whether gcc and cc understand -c and -o together... yes
checking how to run the C preprocessor... gcc -E
checking for AIX... no
checking if compiler supports -R... no
checking if compiler supports -Wl,-rpath,... yes
checking for ranlib... ranlib
checking whether ln -s works... yes
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 flex... lex
checking for yywrap in -ll... no
checking lex output file root... ./configure: line 2356: lex: command not
found
configure: error: cannot find output from lex; giving up
[EMAIL PROTECTED] php-4.3.2]#


Any ideas?

Thx


--- End Message ---
--- Begin Message ---
while I issue this command to configure mysql

./configure --with-mysql --with-apxs

it gave this error 
./configure :line 3096:apxs :command  not found
configure :error :aporting

What could be the problem.
Note:
Operating system Linux redhat version 9
apache httpd-2.0.40
php 4.3.2

Thanks in advance.

Regard
           Saad Al-Hajeri

_____________________________________________________________
Get an email address your friends will never forget... FREE!
Become [EMAIL PROTECTED] at http://www.emailaccount.com/

--- End Message ---

Reply via email to