php-install Digest 10 Jun 2002 21:24:58 -0000 Issue 877

Topics (messages 7266 through 7273):

make php4 error on tru64
        7266 by: system PRIVILEGED account

Re: Problem with Installing PHP4 on AIX4.3.3
        7267 by: jkaufman.footlocker.com

Configure error w/PHP 4 on RH7.2
        7268 by: Shaun Fanning
        7270 by: Adam Voigt
        7273 by: Shaun Fanning

Re: undefined symbol: zm_startup_syslog
        7269 by: Felix Natter

PHP+SYBASE+
        7271 by: Pedro Moritz de Carvalho Neto

Apache 2 + php 4.2.1 work fine together !
        7272 by: Marga Meesters

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 ---
Hello
I have configured with
./configure --with-mysql --with-apache=/usr/local/apache
--enable-track-vars
ok
then make get me this error message:

cc: Error: mod_php4.c, line 443: In this statement, "ap_auth_type" is
not a member of "r->connection". (needmember)
                        r->connection->ap_auth_type = "Basic";
------------------------^

THANKs for any tips

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


Are you trying to use it as DSO or compiled into Apache? Gcc or Aix Cset
compiler? Are you using Aix make? Aix m4?

I found compiling PHP under Aix a real real pain.

Jonathan Kaufman




Timothy Canon <[EMAIL PROTECTED]> on 06/04/2002 12:54:46 PM

To:   "Wei Bin Teah" <[EMAIL PROTECTED]>
cc:   [EMAIL PROTECTED]
Subject:  Re: [PHP-INST] Problem with Installing PHP4 on AIX4.3.3

You did not include the error message you are getting.  I am also having
a problem with make on AIX 4.3.3.

There are my error messages.  Anyone have any experience with this one?
I am using GNU assembler 2.9.1 (as) if that helps.

/home/tim/php-4.2.1 > ./configure --with-apache=../apache_1.3.24

...

/home/tim/php-4.2.1 > make
Making all in Zend
make[1]: Entering directory `/home/tim/php-4.2.1/Zend'
/bin/sh ../libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I. -I.
-I../main   -I../TSRM  -O2 -prefer-non-pic -static -c -o
zend_language_parser.lo `test -f zend_language_parser.c || echo
'./'`zend_language_parser.c
/tmp/ccZx453e.s: Assembler messages:
/tmp/ccZx453e.s:10844: Error: Unrecognized opcode: `bne+'
/tmp/ccZx453e.s:10869: Error: Unrecognized opcode: `bne+'
/tmp/ccZx453e.s:10992: Error: Unrecognized opcode: `blt-'
/tmp/ccZx453e.s:10997: Error: Unrecognized opcode: `bgt-'
/tmp/ccZx453e.s:11000: Error: Unrecognized opcode: `ble-'
/tmp/ccZx453e.s:11010: Error: Unrecognized opcode: `beq-'
/tmp/ccZx453e.s:11050: Error: Unrecognized opcode: `bge-'
/tmp/ccZx453e.s:11057: Error: Unrecognized opcode: `beq-'
/tmp/ccZx453e.s:11059: Error: Unrecognized opcode: `beq-'
/tmp/ccZx453e.s:11062: Error: Unrecognized opcode: `ble-'
/tmp/ccZx453e.s:11064: Error: Unrecognized opcode: `bgt-'
/tmp/ccZx453e.s:11071: Error: Unrecognized opcode: `bgt-'
/tmp/ccZx453e.s:11076: Error: Unrecognized opcode: `beq-'
/tmp/ccZx453e.s:11081: Error: Unrecognized opcode: `beq-'
/tmp/ccZx453e.s:11105: Error: Unrecognized opcode: `bgt-'
/tmp/ccZx453e.s:11488: Error: Unrecognized opcode: `bgt-'
/tmp/ccZx453e.s:11493: Error: Unrecognized opcode: `beq-'
/tmp/ccZx453e.s:11513: Error: Unrecognized opcode: `beq-'
/tmp/ccZx453e.s:13128: Error: Unrecognized opcode: `beq-'
/tmp/ccZx453e.s:13131: Error: Unrecognized opcode: `beq-'
/tmp/ccZx453e.s:13139: Error: Unrecognized opcode: `beq-'
/tmp/ccZx453e.s:13142: Error: Unrecognized opcode: `bgt-'
/tmp/ccZx453e.s:13147: Error: Unrecognized opcode: `beq-'
/tmp/ccZx453e.s:13150: Error: Unrecognized opcode: `beq-'
/tmp/ccZx453e.s:13184: Error: Unrecognized opcode: `blt-'
/tmp/ccZx453e.s:13187: Error: Unrecognized opcode: `beq-'
/tmp/ccZx453e.s:13201: Error: Unrecognized opcode: `beq+'
/tmp/ccZx453e.s:13206: Error: Unrecognized opcode: `beq-'
/tmp/ccZx453e.s:13214: Error: Unrecognized opcode: `bgt-'
/tmp/ccZx453e.s:13218: Error: Unrecognized opcode: `blt-'
/tmp/ccZx453e.s:13222: Error: Unrecognized opcode: `bgt-'
/tmp/ccZx453e.s:13232: Error: Unrecognized opcode: `beq-'
/tmp/ccZx453e.s:13236: Error: Unrecognized opcode: `ble-'
/tmp/ccZx453e.s:13244: Error: Unrecognized opcode: `bgt-'
/tmp/ccZx453e.s:13259: Error: Unrecognized opcode: `beq-'
/tmp/ccZx453e.s:13265: Error: Unrecognized opcode: `bgt-'
/tmp/ccZx453e.s:13274: Error: Unrecognized opcode: `bgt-'
/tmp/ccZx453e.s:13280: Error: Unrecognized opcode: `bgt-'
/tmp/ccZx453e.s:13290: Error: Unrecognized opcode: `beq-'
/tmp/ccZx453e.s:13294: Error: Unrecognized opcode: `ble-'
/tmp/ccZx453e.s:13302: Error: Unrecognized opcode: `beq-'
/tmp/ccZx453e.s:13348: Error: Unrecognized opcode: `blt-'
/tmp/ccZx453e.s:13351: Error: Unrecognized opcode: `beq-'
/tmp/ccZx453e.s:13353: Error: Unrecognized opcode: `beq-'
/tmp/ccZx453e.s:13376: Error: Unrecognized opcode: `beq-'
make[1]: *** [zend_language_parser.lo] Error 1
make[1]: Leaving directory `/home/tim/php-4.2.1/Zend'
make: *** [all-recursive] Error 1

Regards,

Tim Canon


On Sunday, June 2, 2002, at 09:35 PM, Wei Bin Teah wrote:

> Hi,
>
> I'm trying to install PHP with mysql on an apache server (in AIX4.3.3).
> I'm getting this error message and don't know what I should do.  If any
> of
> you knows, please send me a response.
>
> Will greatly appreciate your contribution.
>
> Ben Teah
>
>
> --
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>


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





- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - -
The information in this e-mail, and any attachment therein, is confidential
and for use by the addressee only.  If you are not the intended recipient,
please return the e-mail to the sender and delete it from your computer.
Although the Company attempts to sweep e-mail and attachments for viruses,
it does not guarantee that either are virus-free and accepts no liability
for any damage sustained as a result of viruses.

--- End Message ---
--- Begin Message ---
I'm trying to install PHP 4.2.1 on RH7.2 with support for MySQL 3.23.49a

I'm getting the following error when running configure:

checking for mysql_close in -lmysqlclient... no
checking for mysql_error in -lmysqlclient... no
configure: error: mysql configure failed. Please check config.log for
more information
 
The relevant output from config.log is contained below:
 
configure:40051: checking for mysql_close in -lmysqlclient
configure:40070: gcc -o conftest -g -O2  -DLINUX=22 -DEAPI -DEAPI_MM
-DEAPI_MM_CORE_PA
TH=/var/run/httpd.mm 
    -L/usr//lib 
    -Wl,-rpath,/usr//lib -L/usr//lib conftest.c -lmysqlclient  -lcrypt
-lpam -lgd -lpn
g -lz -ljpeg -lz -lcrypt -lresolv -lm -ldl -lnsl  -lresolv -lcrypt
-lgssapi_krb5 -lkrb
5 -lk5crypto -lcom_err 1>&5
/usr/bin/ld: cannot find -lgssapi_krb5
collect2: ld returned 1 exit status
configure: failed program was:
#line 40059 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char mysql_close();
 
int main() {
mysql_close()
; return 0; }
configure:40195: checking for mysql_error in -lmysqlclient
configure:40214: gcc -o conftest -g -O2  -DLINUX=22 -DEAPI -DEAPI_MM
-DEAPI_MM_CORE_PA
TH=/var/run/httpd.mm 
        -L/usr//lib -L/usr//lib 
        -Wl,-rpath,/usr//lib -L/usr//lib -Wl,-rpath,/usr/ -L/usr/
conftest.c -lmysqlcl
ient  -lz -lcrypt -lpam -lgd -lpng -lz -ljpeg -lz -lcrypt -lresolv -lm
-ldl -lnsl  -lr
esolv -lcrypt -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err 1>&5
/usr/bin/ld: cannot find -lgssapi_krb5
collect2: ld returned 1 exit status
configure: failed program was:
#line 40203 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char mysql_error();
 
int main() {
mysql_error()
; return 0; }


The configure statement uses "--with-mysql=/usr" and the mysql library
files are under /usr/lib/mysql. I have also added /usr/lib/mysql and
/usr/lib to the ld.so.conf file and run ldconfig.

Before trying to build PHP I installed all the MySQL rpms (mysql,
client, shared, devel) successfully and I was able to start, configure
and use the MySQL database with no problems.

Any ideas would be greatly appreciated. Thanks!
 
--- End Message ---
--- Begin Message ---
This is probably totally incorrect, but I see mention
of "krb5" in the error, I'm pretty sure this is the kerberos 5
encryption library and ofcourse this may be a totally acceptable
error since as far as I know "krb5" is not required, but just
out of curiosity, have you tried rebooting since your RPM install
(yes I know you shouldn't have to) and what is your complete
configure line for PHP?

Adam Voigt
[EMAIL PROTECTED]

On Mon, 2002-06-10 at 10:20, Shaun Fanning wrote:
> I'm trying to install PHP 4.2.1 on RH7.2 with support for MySQL
3.23.49a
> 
> I'm getting the following error when running configure:
> 
> checking for mysql_close in -lmysqlclient... no
> checking for mysql_error in -lmysqlclient... no
> configure: error: mysql configure failed. Please check config.log for
> more information
>  
> The relevant output from config.log is contained below:
>  
> configure:40051: checking for mysql_close in -lmysqlclient
> configure:40070: gcc -o conftest -g -O2  -DLINUX=22 -DEAPI -DEAPI_MM
> -DEAPI_MM_CORE_PA
> TH=/var/run/httpd.mm 
>     -L/usr//lib 
>     -Wl,-rpath,/usr//lib -L/usr//lib conftest.c -lmysqlclient  -lcrypt
> -lpam -lgd -lpn
> g -lz -ljpeg -lz -lcrypt -lresolv -lm -ldl -lnsl  -lresolv -lcrypt
> -lgssapi_krb5 -lkrb
> 5 -lk5crypto -lcom_err 1>&5
> /usr/bin/ld: cannot find -lgssapi_krb5
> collect2: ld returned 1 exit status
> configure: failed program was:
> #line 40059 "configure"
> #include "confdefs.h"
> /* Override any gcc2 internal prototype to avoid an error.  */
> /* We use char because int might match the return type of a gcc2
>     builtin and then its argument prototype would still apply.  */
> char mysql_close();
>  
> int main() {
> mysql_close()
> ; return 0; }
> configure:40195: checking for mysql_error in -lmysqlclient
> configure:40214: gcc -o conftest -g -O2  -DLINUX=22 -DEAPI -DEAPI_MM
> -DEAPI_MM_CORE_PA
> TH=/var/run/httpd.mm 
>         -L/usr//lib -L/usr//lib 
>         -Wl,-rpath,/usr//lib -L/usr//lib -Wl,-rpath,/usr/ -L/usr/
> conftest.c -lmysqlcl
> ient  -lz -lcrypt -lpam -lgd -lpng -lz -ljpeg -lz -lcrypt -lresolv -lm
> -ldl -lnsl  -lr
> esolv -lcrypt -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err 1>&5
> /usr/bin/ld: cannot find -lgssapi_krb5
> collect2: ld returned 1 exit status
> configure: failed program was:
> #line 40203 "configure"
> #include "confdefs.h"
> /* Override any gcc2 internal prototype to avoid an error.  */
> /* We use char because int might match the return type of a gcc2
>     builtin and then its argument prototype would still apply.  */
> char mysql_error();
>  
> int main() {
> mysql_error()
> ; return 0; }
> 
> 
> The configure statement uses "--with-mysql=/usr" and the mysql library
> files are under /usr/lib/mysql. I have also added /usr/lib/mysql and
> /usr/lib to the ld.so.conf file and run ldconfig.
> 
> Before trying to build PHP I installed all the MySQL rpms (mysql,
> client, shared, devel) successfully and I was able to start, configure
> and use the MySQL database with no problems.
> 
> Any ideas would be greatly appreciated. Thanks!
>  

--- End Message ---
--- Begin Message ---
I finally got it to work using the following before running the
configure command:
export LDFLAGS="-L/usr/kerberos/lib -lkrb5 -lgssapi_krb5 -lpam"

Thanks for your help.

-----Original Message-----
From: Adam Voigt [mailto:[EMAIL PROTECTED]] 
Sent: Monday, June 10, 2002 10:41 AM
To: [EMAIL PROTECTED]
Subject: Re: [PHP-INST] Configure error w/PHP 4 on RH7.2

This is probably totally incorrect, but I see mention
of "krb5" in the error, I'm pretty sure this is the kerberos 5
encryption library and ofcourse this may be a totally acceptable
error since as far as I know "krb5" is not required, but just
out of curiosity, have you tried rebooting since your RPM install
(yes I know you shouldn't have to) and what is your complete
configure line for PHP?

Adam Voigt
[EMAIL PROTECTED]

On Mon, 2002-06-10 at 10:20, Shaun Fanning wrote:
> I'm trying to install PHP 4.2.1 on RH7.2 with support for MySQL
3.23.49a
> 
> I'm getting the following error when running configure:
> 
> checking for mysql_close in -lmysqlclient... no
> checking for mysql_error in -lmysqlclient... no
> configure: error: mysql configure failed. Please check config.log for
> more information
>  
> The relevant output from config.log is contained below:
>  
> configure:40051: checking for mysql_close in -lmysqlclient
> configure:40070: gcc -o conftest -g -O2  -DLINUX=22 -DEAPI -DEAPI_MM
> -DEAPI_MM_CORE_PA
> TH=/var/run/httpd.mm 
>     -L/usr//lib 
>     -Wl,-rpath,/usr//lib -L/usr//lib conftest.c -lmysqlclient  -lcrypt
> -lpam -lgd -lpn
> g -lz -ljpeg -lz -lcrypt -lresolv -lm -ldl -lnsl  -lresolv -lcrypt
> -lgssapi_krb5 -lkrb
> 5 -lk5crypto -lcom_err 1>&5
> /usr/bin/ld: cannot find -lgssapi_krb5
> collect2: ld returned 1 exit status
> configure: failed program was:
> #line 40059 "configure"
> #include "confdefs.h"
> /* Override any gcc2 internal prototype to avoid an error.  */
> /* We use char because int might match the return type of a gcc2
>     builtin and then its argument prototype would still apply.  */
> char mysql_close();
>  
> int main() {
> mysql_close()
> ; return 0; }
> configure:40195: checking for mysql_error in -lmysqlclient
> configure:40214: gcc -o conftest -g -O2  -DLINUX=22 -DEAPI -DEAPI_MM
> -DEAPI_MM_CORE_PA
> TH=/var/run/httpd.mm 
>         -L/usr//lib -L/usr//lib 
>         -Wl,-rpath,/usr//lib -L/usr//lib -Wl,-rpath,/usr/ -L/usr/
> conftest.c -lmysqlcl
> ient  -lz -lcrypt -lpam -lgd -lpng -lz -ljpeg -lz -lcrypt -lresolv -lm
> -ldl -lnsl  -lr
> esolv -lcrypt -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err 1>&5
> /usr/bin/ld: cannot find -lgssapi_krb5
> collect2: ld returned 1 exit status
> configure: failed program was:
> #line 40203 "configure"
> #include "confdefs.h"
> /* Override any gcc2 internal prototype to avoid an error.  */
> /* We use char because int might match the return type of a gcc2
>     builtin and then its argument prototype would still apply.  */
> char mysql_error();
>  
> int main() {
> mysql_error()
> ; return 0; }
> 
> 
> The configure statement uses "--with-mysql=/usr" and the mysql library
> files are under /usr/lib/mysql. I have also added /usr/lib/mysql and
> /usr/lib to the ld.so.conf file and run ldconfig.
> 
> Before trying to build PHP I installed all the MySQL rpms (mysql,
> client, shared, devel) successfully and I was able to start, configure
> and use the MySQL database with no problems.
> 
> Any ideas would be greatly appreciated. Thanks!
>  


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

--- End Message ---
--- Begin Message ---
hi,

I installed php 4.2.1 from source (I needed a recent php for a
project), but now I get an error-message from apache:

couchpotato:/etc# /etc/init.d/apache restart
Reloading apache modules.
Syntax error on line 108 of /etc/apache/httpd.conf:
Cannot load /usr/lib/apache/1.3/libphp4.so into server: 
/usr/lib/apache/1.3/libphp4.so: undefined symbol: zm_startup_syslog
/usr/sbin/apachectl start: httpd could not be started

Ich benutze apache 1.3.x auf Debian GNU/Linux 2.2 (potato):
couchpotato:/home/felix# apache -v
Server version: Apache/1.3.9 (Unix) Debian/GNU
Server built:   Apr 29 2000 10:48:16

php was configure'd with ./configure i686-gnu-linux --with-apxs=/usr/bin/apxs
--with-zlib --with-zlib-dir=/usr/ --with-mysql=/usr/ --with-gd
--with-jpeg-dir=/usr/ --with-png-dir=/usr/
Unfortunately the automatic configuration of headers didn't work
(i.e. HAVE_LOCALE_H), so I had to add a lot of #include's by hand.


thanks,

-- 
Felix Natter
--- End Message ---
--- Begin Message ---
Does anyone knows how to install php with sybase support (using ct-lib)???
Do I have to re-compile my apache??? what variables do i have to set??
When I put my httpd to work, it fails with no error message (only with
FAILED), so i canīt see what is going on!!!
If i compile my php without the line "--with-sybase-ct=/opt/sybase-11.9.2",
the apache loads OK!!




--- End Message ---
--- Begin Message ---
I've installed apache2 and php 4.2.1. and it all works fine here. So the can
work together !
When you want to know the configuration I'm using just let me know.
Marga

----- Original Message -----
From: "Bill Angus" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, June 08, 2002 7:11 PM
Subject: Re: [PHP-INST] apache 2


> Gianfranco: I have read conflicting information, but I think
> apache2filer.dll may have
> been renamed php4apache.dll and is in the C:\PHP\SAPI  subdirectory of the
> recent php binaries distribution set. I do not believe it works with
Apache2
> though. The
> apache2 release seems not to work with PHP at all. At least I cannot find
> any way
> of making the two work together anyway.  I can get PHP working with
> OmniHttpd on Windows but not with the latest Apache2 Windows distribution.
> So PHP is actually working -- just not with apache.
>
> Bill Angus
> http://www.psychtest.com
> ----- Original Message -----
> From: "Gianfranco" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Saturday, June 08, 2002 7:01 AM
> Subject: [PHP-INST] apache 2
>
>
> > Where I could download the file apache2filter.dll??
> > thank you
> > gianfranco
> >
> >
> >
> > --
> > PHP Install Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >
> >
>
>
>
> --
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>


--- End Message ---

Reply via email to