php-install Digest 28 Feb 2002 10:52:31 -0000 Issue 722

Topics (messages 6181 through 6187):

Re: solaris 8/apache 1.3.23 compile problem
        6181 by: Rasmus Lerdorf

Re: Openssl with PHP
        6182 by: Timothy R. Robnett

Re: php module keeping Apache from starting
        6183 by: Dan Delaney

Re: shared informix fails to compile
        6184 by: Lauri Tischler

Re: Removing headers?
        6185 by: Yasuo Ohgaki

Re: PHP 4.1.1 compile problem with imap options
        6186 by: T Churchward

Install php with vpopmail support
        6187 by: Ahmed S. Gawdat

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 ---
Why are you using --with-apxs2 when you are compiling for Apache 1.3.x ?
--with-apxs2 is for Apache 2.0.x.  Use --with-apxs for Apache 1.3.x

On Wed, 27 Feb 2002, Michael Galloway wrote:

> good day ...
>
> i'm trying to build 4.1.2 for solaris 8/apache 1.3.23. here is the error i
> get:
>
>
> make[3]: Entering directory `/usr/local/php-4.1.2/sapi/apache2filter'
> /bin/sh /usr/local/php-4.1.2/libtool --silent --mode=compile
> /usr/local/php-4.1.2/meta_ccld  -I. -I/usr/local/php-4.1.2/sapi/apache2filter
> -I/usr/local/php-4.1.2/main -I/usr/local/php-4.1.2 -I/opt/1.3.23/include
> -I/usr/local/php-4.1.2/Zend -I/usr/local/php-4.1.2/ext/mysql/libmysql
> -I/home/oracle/8.1.7/rdbms/public -I/home/oracle/8.1.7/rdbms/demo
> -I/usr/local/php-4.1.2/ext/xml/expat  -D_POSIX_PTHREAD_SEMANTICS
> -DSOLARIS2=280 -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT
> -I/usr/local/php-4.1.2/TSRM -DTHREAD=1 -g -O2 -pthreads -DZTS -prefer-pic  -c
> sapi_apache2.c
> sapi_apache2.c:31: apr_strings.h: No such file or directory
> In file included from sapi_apache2.c:32:
> /opt/1.3.23/include/ap_config.h:1386: warning: `XtOffsetOf' redefined
> /usr/local/php-4.1.2/main/php.h:342: warning: this is the location of the
> previous definition
> sapi_apache2.c:33: util_filter.h: No such file or directory
> sapi_apache2.c:364: warning: `NO_DATA' redefined
> /usr/include/netdb.h:402: warning: this is the location of the previous
> definition
> make[3]: *** [sapi_apache2.lo] Error 1
> make[3]: Leaving directory `/usr/local/php-4.1.2/sapi/apache2filter'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/usr/local/php-4.1.2/sapi/apache2filter'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/usr/local/php-4.1.2/sapi'
> make: *** [all-recursive] Error 1
>
> my configure options were:
>
> /usr/local/php-4.1.2> ./configure --with-apxs2=/opt/1.3.23/bin/apxs
> --with-oci8=/home/oracle/8.1.7
>
> i must be doing something silly, but cannot see what it is. thanks for any
> help.
>
> -- michael
>
> --
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>

--- End Message ---
--- Begin Message ---
On Wed Feb 27, 2002 at 05:12:26PM -0500, Hunter, Ray wrote:
> System:       RedHat 7.2
> Openssl:      openssl-0.9.6c and openssl-engine-0.9.6c
> PHP:          4.1.2
> 
> Has anyone installed openssl with php.  I am getting an error where it can
> not find the evp.h file.  I am wondering if there is a problem with openssl.
> I am trying to install snmp with php and it needs openssl for snmp version
> 3.
>
I did this last week on a Trustix 1.5 (think RedHat 6.2 w/security improvments).

I also compiled my own version of OpenSSL from source which required updating my 
OpenSSH as well, from source. I don't know for sure if you will need to do all of this 
but the key for me was adding --with-openssl=/usr to my ./configure statement. Don't 
forget to install openssl-devel if you are using the RPM based copy of OpenSSL. 

Verify in /usr/include/openssl that evp.h exists if it does then the switch above 
should (cross your fingers) work. As always YMMV :-)

Tim
--- End Message ---
--- Begin Message ---
I just set up a new installation of Apache/php on a new FreeBSD 
server. After installing PHP I get the following problem when trying 
to start Apache:

Cannot load /usr/local/apache/libexec/libphp4.so into server: 
/usr/lib/libkrb5.so: Undefined symbol "free_Principal"
/usr/local/apache/bin/apachectl start: httpd could not be started

I didn't set any Kerberos support when I configured PHP. Anyone know 
why I would be getting this?

Thanks a lot.
--Dan

--- End Message ---
--- Begin Message ---
Lauri Tischler wrote:
> 
> I have tryed to make php4 with informix as module, the only version it
> configures and makes ok is php-4.0.4pl1
> 
> I have tryed php-4.0.6, php-4.1.0 and php-4.1.1 they all fail at link phase
> with error:
> libtool: link: only absolute run-paths are allowed
> make[3]: *** [informix.la] Error 1
> make[3]: Leaving directory `/root/php-4.0.6/ext/informix'

Just to inform that php-4.1.2 fails also,
thats fourth rotten apple in the basket :)

--
Lauri Tischler, Network Admin
Tel:    +358-9-47846331        *       Mouse movement detected      *
Fax:    +358-9-47846500        * Reboot Windows to activate changes *
Mobile: +358-40-5569010    
EMail:  [EMAIL PROTECTED]
--- End Message ---
--- Begin Message ---
Tobias Ekenstam wrote:
> Hi,
> I'm looking for a way to remove the HTTP headers output by php when running as a cgi 
>or from command line.
> 
> I don't mean php -q or expose_php = Off .. I need to turn off the header completely, 
>not just suppress them. Does anyone know how to do this?
> 

New CLI SAPI does not print header at all.
Wait for PHP 4.2.0 or use snapshot. http://snaps.php.net/

-- 
Yasuo Ohgaki

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

It appears that this is likely to be a bug.  Using php 4.0.6 everything
works fine.  On my way to bug.php.net....

my thanks to those that looked into this on my behalf.

Tom



-----Original Message-----
From: T Churchward [mailto:[EMAIL PROTECTED]]
Sent: 27 February 2002 15:34
To: [EMAIL PROTECTED]
Subject: [PHP-INST] PHP 4.1.1 compile problem with imap options


Hello

I am experiencing a problem when compiling php4.1.1 for use with a Cyrus
imap server - full details below.  If anyone has any ideas as to where I
might be going wrong your suggestion will be greatly appreciated.

thanks in advance

Tom Churchward
Red Logic
Oracle Support Specialists

Tel: +44 (0) 161 831 9860
Fax: +44 (0) 161 831 9713
E-mail: [EMAIL PROTECTED]
Web: www.redlogic.co.uk





Software Versions:
==================
Distro: RH6.2
Kernel: 2.2.19-6.2.12
PHP: 4.1.1
Cyrus IMAP: 2.0.16
UW imap client: imap-2001a
Apache: 1.3.23
MySQL: 3.23.49


Configure:
==========

My configure script is as follows:-

./configure --with-mysql=/usr/local/mysql --with-apxs=/usr/local/apache/bin/
apxs --with-cyrus --with-openssl --with-imap-ssl --with-zlib --with-gdbm=/us
r/include/gdbm --with-imap=/usr/local/uw-imap

configure runs to completion i.e. doesn't complain about not being able to
find something it expects.


Make:
=====

Originally I had some problems with cyrus.c, but a trawl through the bugs on
bugs.php.net furnished an up-to-date version which no longer causes any
probs.

Make eventually fails with the following:-


make[1]: Entering directory `/usr/local/src/php-4.1.1.p1'
/bin/sh /usr/local/src/php-4.1.1.p1/libtool --silent --mode=compile
gcc  -I. -I/usr/local/src/php-4.1.1.p1/ -I/usr/local/src/php-4.1
.1.p1/main -I/usr/local/src/php-4.1.1.p1 -I/usr/local/apache/include -I/usr/
local/src/php-4.1.1.p1/Zend -I/usr/local/include -I/usr/
local/uw-imap/c-client -I/usr/local/mysql/include/mysql -I/usr/local/src/php
-4.1.1.p1/ext/xml/expat  -DLINUX=22 -DUSE_HSREGEX -DUSE_
EXPAT -I/usr/local/src/php-4.1.1.p1/TSRM -g -O2 -prefer-pic  -c stub.c
/bin/sh /usr/local/src/php-4.1.1.p1/libtool --silent --mode=link
gcc  -I. -I/usr/local/src/php-4.1.1.p1/ -I/usr/local/src/php-4.1.1.
p1/main -I/usr/local/src/php-4.1.1.p1 -I/usr/local/apache/include -I/usr/loc
al/src/php-4.1.1.p1/Zend -I/usr/local/include -I/usr/loc
al/uw-imap/c-client -I/usr/local/mysql/include/mysql -I/usr/local/src/php-4.
1.1.p1/ext/xml/expat  -DLINUX=22 -DUSE_HSREGEX -DUSE_EXP
AT -I/usr/local/src/php-4.1.1.p1/TSRM -g -O2 -prefer-pic   -o
libphp4.la -rpath /usr/local/src/php-4.1.1.p1/libs -avoid-version -L/u
sr/local/lib -L/usr/local/uw-imap/c-client -L/usr/local/mysql/lib/mysql  -R
/usr/local/lib -R /usr/local/uw-imap/c-client -R /usr/lo
cal/mysql/lib/mysql stub.lo  Zend/libZend.la sapi/apache/libsapi.la
main/libmain.la regex/libregex.la ext/zlib/libzlib.la ext/cyrus/
libcyrus.la ext/dba/libdba.la ext/imap/libimap.la ext/mysql/libmysql.la
ext/openssl/libopenssl.la ext/pcre/libpcre.la ext/posix/libp
osix.la ext/session/libsession.la ext/standard/libstandard.la
ext/xml/libxml.la TSRM/libtsrm.la -lpam -lcrypto -lssl -lc-client4 -ld
l -lmysqlclient -lz -lcrypt -lpam -lgdbm -lcyrus -lsasl -lz -lcrypt -lssl -l
crypto -lresolv -lm -ldl -lnsl -lresolv -lcrypt
libtool: link: warning: library `/usr/lib/libgdbm.la' was moved.
libtool: link: warning: library `/usr/lib/libgdbm.la' was moved.
/usr/local/uw-imap/c-client/libc-client4.a(osdep.o): In function `fatal':
/usr/local/src/imap-2001a/c-client/ftl_unix.c:27: multiple definition of
`fatal'
ext/cyrus/.libs/libcyrus.al(cyrus.lo):/usr/local/src/php-4.1.1.p1/ext/cyrus/
cyrus.c:110: first defined here
/usr/local/lib/libcyrus.a(xmalloc.o): In function `fs_get':
xmalloc.o(.text+0xf8): multiple definition of `fs_get'
/usr/local/uw-imap/c-client/libc-client4.a(osdep.o):/usr/local/src/imap-2001
a/c-client/fs_unix.c:27: first defined here
/usr/bin/ld: Warning: size of symbol `fs_get' changed from 90 to 32 in
xmalloc.o
/usr/local/lib/libcyrus.a(xmalloc.o): In function `fs_give':
xmalloc.o(.text+0x118): multiple definition of `fs_give'
/usr/local/uw-imap/c-client/libc-client4.a(osdep.o):/usr/local/src/imap-2001
a/c-client/fs_unix.c:57: first defined here
/usr/bin/ld: Warning: size of symbol `fs_give' changed from 59 to 25 in
xmalloc.o
collect2: ld returned 1 exit status
make[1]: *** [libphp4.la] Error 1
make[1]: Leaving directory `/usr/local/src/php-4.1.1.p1'
make: *** [all-recursive] Error 1




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


--- End Message ---
--- Begin Message ---
Hi ,
I am trying to install php with vpopmail support , I have AIX 4.3.3 and
vpopmail 5.2
The configuration I used is  :

./configure --with-apxs=/usr/local/sbin/apxs \
--enable-track-vars \
--enable-debug --with-layout=gnu \
--with-mysql=/usr/local/mysql \
--with-vpopmail=/mail/vpopmail

But in the make phase , I get the error :

****************************************************************************
*************************
Making all in vpopmail
make[2]: Entering directory `/usr/local/src/php/php-4.1.2/ext/vpopmail'
make[3]: Entering directory `/usr/local/src/php/php-4.1.2/ext/vpopmail'
/bin/sh /usr/local/src/php/php-4.1.2/libtool --mode=compile
gcc  -I. -I/usr/loca
l/src/php/php-4.1.2/ext/vpopmail -I/usr/local/src/php/php-4.1.2/main -I/usr/
loca
l/src/php/php-4.1.2 -I/usr/local/include/httpd -I/usr/local/src/php/php-4.1.
2/Ze
nd -I/usr/local/mysql/include/mysql -I/mail/vpopmail/include -I/usr/local/sr
c/ph
p/php-4.1.2/ext/xml/expat  -DAIX=43 -DUSE_PTHREAD_SERIALIZED_ACCEPT -DAIX_BI
ND_P
ROCESSOR -DUSE_HSREGEX -DUSE_EXPAT -I/usr/local/src/php/php-4.1.2/TSRM -O2 -
g -W
all -prefer-pic  -c php_vpopmail.c
gcc -I. -I/usr/local/src/php/php-4.1.2/ext/vpopmail -I/usr/local/src/php/php
-4.1
.2/main -I/usr/local/src/php/php-4.1.2 -I/usr/local/include/httpd -I/usr/loc
al/s
rc/php/php-4.1.2/Zend -I/usr/local/mysql/include/mysql -I/mail/vpopmail/incl
ude
-I/usr/local/src/php/php-4.1.2/ext/xml/expat -DAIX=43 -DUSE_PTHREAD_SERIALIZ
ED_A
CCEPT -DAIX_BIND_PROCESSOR -DUSE_HSREGEX -DUSE_EXPAT -I/usr/local/src/php/ph
p-4.
1.2/TSRM -O2 -g -Wall -c php_vpopmail.c  -DPIC -o php_vpopmail.lo
php_vpopmail.c: In function `zif_vpopmail_add_alias_domain':
php_vpopmail.c:288: warning: passing arg 3 of `add_domain_assign' makes
pointer
from integer without a cast
php_vpopmail.c:288: too few arguments to function `add_domain_assign'
php_vpopmail.c: In function `zif_vpopmail_add_domain_ex':
php_vpopmail.c:310: warning: `is_bounce_email' might be used uninitialized
in th
is function
php_vpopmail.c: In function `zif_vpopmail_alias_get':
php_vpopmail.c:842: warning: unused variable `retval'
php_vpopmail.c: In function `zif_vpopmail_alias_get_all':
php_vpopmail.c:872: warning: unused variable `retval'
php_vpopmail.c:876: warning: `tarr' might be used uninitialized in this
function
make[3]: *** [php_vpopmail.lo] Error 1
make[3]: Leaving directory `/usr/local/src/php/php-4.1.2/ext/vpopmail'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/local/src/php/php-4.1.2/ext/vpopmail'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/php/php-4.1.2/ext'
make: *** [all-recursive] Error 1
****************************************************************************
*********************

Can anybody help me with this error ??


--- End Message ---

Reply via email to