[PHP-DEV] [begginer] openssl problem when compiling

2003-02-03 Thread Lucas M. Kalita
Hi,

I'm trying to compile my own module, but i keep getting errors in:

/bin/sh libtool --silent --mode=compile
gcc  -Imain/ -I/root/php4/main/ -DPHP_ATOM_INC -I/root/php4/include -I/root/
php4/main -I/root/php4 -I/root/php4/Zend -I/usr/local/include -I/usr/include
/libxml2 -I/usr/include/freetype -I/root/php4/ext/xml/expat  -DLINUX=22 -DEA
PI -DTARGET=apache -DDEV_RANDOM=/dev/random -DUSE_HSREGEX -D_LARGEFILE_SOU
RCE -D_FILE_OFFSET_BITS=64 -I/root/php4/TSRM  -g -O2  -prefer-pic -c
main/internal_functions.c -o main/internal_functions.lo
In file included from /usr/include/openssl/comp.h:5,
 from /usr/include/openssl/ssl.h:116,
 from /root/php4/ext/paysystems/libps/common.h:28,
 from /root/php4/ext/paysystems/libps/client.h:113,
 from /root/php4/ext/paysystems/php_paysystems.h:37,
(... some other errors from openssl)

My module is using OpenSSL lib and i tried to configure config.m4 properly
but
i'm probably doing something wrong.

Note that when i ./configure with --with-openssl everything compiles fine so
i suppose
i have some errors in config.m4 file of my module - i tried to look at other
modules but
all the changes i make are not giving me a clean compile.

Thanks for support,

LK



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




[PHP-DEV] [4.3.0RC4] mem leaks with DOMXML ext

2002-12-27 Thread Lucas M. Kalita
Configure line:
./configure  --with-mysql --with-dom --with-dom-xslt --with-apxs=/usr/bin/ap
xs --with-zlib --enable-debug

I keep getting those (or similar) on every request, is it normal?:

/root/php-4.3.0RC4/ext/domxml/php_domxml.c(786) :  Freeing 0x08550AA4 (12
bytes), script=/var/www/its/x.pro
/root/php-4.3.0RC4/ext/domxml/php_domxml.c(782) :  Freeing 0x08550424 (12
bytes), script=/var/www/its/x.pro
/root/php-4.3.0RC4/Zend/zend_hash.c(406) :  Freeing 0x08533EEC (35 bytes),
script=/var/www/its/x.pro
Last leak repeated 1 time
/root/php-4.3.0RC4/Zend/zend_hash.c(178) :  Freeing 0x08533D8C (32 bytes),
script=/var/www/its/x.pro
/root/php-4.3.0RC4/Zend/zend_API.c(597) :  Freeing 0x08513EDC (44 bytes),
script=/var/www/its/x.pro
/root/php-4.3.0RC4/Zend/zend_API.c(585) : Actual location (location was
relayed)
/root/php-4.3.0RC4/ext/domxml/php_domxml.c(4885) :  Freeing 0x084D753C (12
bytes), script=/var/www/its/x.pro


LK



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




Re: [PHP-DEV] [4.3.0RC4] mem leaks with DOMXML ext

2002-12-27 Thread Lucas M. Kalita
  Configure line:
 
./configure  --with-mysql --with-dom --with-dom-xslt --with-apxs=/usr/bin/ap
  xs --with-zlib --enable-debug
 
  I keep getting those (or similar) on every request, is it normal?:

 on every request or just if you're using domxml-methods? If the later is
 the case, please provide the shortest possible example.

I have just limited the problem to the following fragment of code. It seems
that the leak happens somewhere in XSLT part of DOM XML extension.

***
$xsl = domxml_xslt_stylesheet_file('some_xsl_file.xsl');
***

As it may be not clear - I have not said that before - everything works
perfectly well. No apache segfaults - just those leaks which
does not affect my site at all. However - I'm scared that something can
fail because of those leaks.

xsl file can be even as simple as:

?xml version=1.0?
xsl:stylesheet version=1.0
xmlns:xsl=http://www.w3.org/1999/XSL/Transform;

/xsl:stylesheet

LK



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




[PHP-DEV] windows binaries with LIBXSLT enabled

2002-11-14 Thread Lucas M. Kalita
Hi,

Is it possible to make Windows binaries (snapshots and releases)
to include XSLT/EXSLT support included in DOM XML extension.

XSL transformation engine in DOM XML is in my opininion (we use it on
several sites) a lot better then XSLT extension (Sablotron).

LK



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




Re: [PHP-DEV] windows binaries with LIBXSLT enabled

2002-11-14 Thread Lucas M. Kalita
  Is it possible to make Windows binaries (snapshots and releases)
  to include XSLT/EXSLT support included in DOM XML extension.
 
  XSL transformation engine in DOM XML is in my opininion (we use it on
  several sites) a lot better then XSLT extension (Sablotron).

 I would think that you would want (or have) to enable XSLT/EXSLT in both
 major platforms (win32 and *nix).

 However, the problem that i see is that many *nix developers do not need
 or possibly want DOM.  So coding it all might be more hassle then it is
 worth.

No. You have slightly misunderstood what i have on my mind :)

XSLT/EXSTL support is already in DOM XML extension in PHP. Under UNIX
systems you can easily just add --with-dom-xslt or --with-dom-exslt and
everything works great.

What I want is to enable --with-dom-xslt   and  --with-dom-exslt (the later
is not
so important in my opinion) when building Windows binaries in snapshots
and releases.

LK



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