#29888 [Fbk->Opn]: Compile Failure due to mbstring error: redefinition of `struct re_registers'

2004-08-30 Thread alietss at yahoo dot com
 ID:   29888
 User updated by:  alietss at yahoo dot com
 Reported By:  alietss at yahoo dot com
-Status:   Feedback
+Status:   Open
 Bug Type: Compile Failure
 Operating System: Fedora Core 2
 PHP Version:  5.0.1
 New Comment:

Tested with http://snaps.php.net/php5-STABLE-latest.tar.gz
, but the error is still there, I changed --with-regex=system \, with
--with-regex, and it worked...
Regards


Previous Comments:


[2004-08-30 08:18:53] [EMAIL PROTECTED]

Please try using this CVS snapshot:

  http://snaps.php.net/php5-STABLE-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php5.0-win32-latest.zip



[2004-08-30 06:33:48] alietss at yahoo dot com

Description:

Hi php team, I'm trying to build rpms of php 5.0.1 on a Fedora Core 2
system, with httpd-2.0.50, but the compile process is failing to a
error related to mbstring here my configure line and the error...

%configure \
--cache-file=../config.cache \
--with-config-file-path=%{_sysconfdir} \
--with-config-file-scan-dir=%{_sysconfdir}/php.d \
--enable-force-cgi-redirect \
--disable-debug \
--enable-pic \
--disable-rpath \
--enable-inline-optimization \
--with-bz2 \
--with-db4=%{_prefix} \
--with-curl \
--with-exec-dir=%{_bindir} \
--with-freetype-dir=%{_prefix} \
--with-png-dir=%{_prefix} \
--with-gd \
--enable-gd-native-ttf \
--without-gdbm \
--with-gettext \
--with-ncurses \
--with-gmp \
--with-iconv \
--with-jpeg-dir=%{_prefix} \
--with-openssl \
--with-png \
--with-pspell \
--with-regex=system \
--with-xml \
--with-expat-dir=%{_prefix} \
--with-dom=shared,%{_prefix} \
--with-dom-xslt=%{_prefix} --with-dom-exslt=%{_prefix} \
--with-xmlrpc=shared \
--with-pcre-regex=%{_prefix} \
--with-zlib \
--with-layout=GNU \
--enable-bcmath \
--enable-exif \
--enable-ftp \
--enable-magic-quotes \
--enable-safe-mode \
--enable-sockets \
--enable-sysvsem \
--enable-sysvshm \
--enable-track-vars \
--enable-trans-sid \
--enable-yp \
--enable-wddx \
--with-pear=/usr/share/pear \
--with-imap=shared --with-imap-ssl \
--with-kerberos \
--with-ldap=shared \
--with-mysql=shared,%{_prefix} \
%{?_with_oci8:--with-oci8=shared} \
%{?_with_mssql:--with-mssql=shared} \
%{?_with_mhash:--with-mhash=shared} \
--with-pgsql=shared \
--with-snmp=shared,%{_prefix} \
--with-snmp=shared \
--enable-ucd-snmp-hack \
--with-unixODBC=shared,%{_prefix} \
--enable-memory-limit \
--enable-bcmath \
--enable-shmop \
--enable-calendar \
--enable-dbx \
--enable-dio \
--enable-mcal \
--enable-mbstring=shared --enable-mbstr-enc-trans \
--enable-mbregex \
$*

make %{?_smp_mflags}
}

the error...

In file included from
/usr/src/redhat/BUILD/php-5.0.1/ext/mbstring/php_mbregex.h:28,
 from
/usr/src/redhat/BUILD/php-5.0.1/ext/mbstring/mbstring.h:77,
 from
/usr/src/redhat/BUILD/php-5.0.1/ext/standard/html.c:52:
/usr/src/redhat/BUILD/php-5.0.1/ext/mbstring/oniguruma/oniguruma.h:573:
error: redefinition of `struct re_registers'
make: *** [ext/standard/html.lo] Error 1
error: Bad exit status from /var/tmp/rpm-tmp.73791 (%build)
 
 
RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.73791 (%build)


Expected result:

php builds






-- 
Edit this bug report at http://bugs.php.net/?id=29888&edit=1


#29888 [NEW]: Compile Failure due to mbstring error: redefinition of `struct re_registers'

2004-08-29 Thread alietss at yahoo dot com
From: alietss at yahoo dot com
Operating system: Fedora Core 2
PHP version:  5.0.1
PHP Bug Type: Compile Failure
Bug description:  Compile Failure due to mbstring error: redefinition of `struct 
re_registers'

Description:

Hi php team, I'm trying to build rpms of php 5.0.1 on a Fedora Core 2
system, with httpd-2.0.50, but the compile process is failing to a error
related to mbstring here my configure line and the error...

%configure \
--cache-file=../config.cache \
--with-config-file-path=%{_sysconfdir} \
--with-config-file-scan-dir=%{_sysconfdir}/php.d \
--enable-force-cgi-redirect \
--disable-debug \
--enable-pic \
--disable-rpath \
--enable-inline-optimization \
--with-bz2 \
--with-db4=%{_prefix} \
--with-curl \
--with-exec-dir=%{_bindir} \
--with-freetype-dir=%{_prefix} \
--with-png-dir=%{_prefix} \
--with-gd \
--enable-gd-native-ttf \
--without-gdbm \
--with-gettext \
--with-ncurses \
--with-gmp \
--with-iconv \
--with-jpeg-dir=%{_prefix} \
--with-openssl \
--with-png \
--with-pspell \
--with-regex=system \
--with-xml \
--with-expat-dir=%{_prefix} \
--with-dom=shared,%{_prefix} \
--with-dom-xslt=%{_prefix} --with-dom-exslt=%{_prefix} \
--with-xmlrpc=shared \
--with-pcre-regex=%{_prefix} \
--with-zlib \
--with-layout=GNU \
--enable-bcmath \
--enable-exif \
--enable-ftp \
--enable-magic-quotes \
--enable-safe-mode \
--enable-sockets \
--enable-sysvsem \
--enable-sysvshm \
--enable-track-vars \
--enable-trans-sid \
--enable-yp \
--enable-wddx \
--with-pear=/usr/share/pear \
--with-imap=shared --with-imap-ssl \
--with-kerberos \
--with-ldap=shared \
--with-mysql=shared,%{_prefix} \
%{?_with_oci8:--with-oci8=shared} \
%{?_with_mssql:--with-mssql=shared} \
%{?_with_mhash:--with-mhash=shared} \
--with-pgsql=shared \
--with-snmp=shared,%{_prefix} \
--with-snmp=shared \
--enable-ucd-snmp-hack \
--with-unixODBC=shared,%{_prefix} \
--enable-memory-limit \
--enable-bcmath \
--enable-shmop \
--enable-calendar \
--enable-dbx \
--enable-dio \
--enable-mcal \
--enable-mbstring=shared --enable-mbstr-enc-trans \
--enable-mbregex \
$*

make %{?_smp_mflags}
}

the error...

In file included from
/usr/src/redhat/BUILD/php-5.0.1/ext/mbstring/php_mbregex.h:28,
 from
/usr/src/redhat/BUILD/php-5.0.1/ext/mbstring/mbstring.h:77,
 from
/usr/src/redhat/BUILD/php-5.0.1/ext/standard/html.c:52:
/usr/src/redhat/BUILD/php-5.0.1/ext/mbstring/oniguruma/oniguruma.h:573:
error: redefinition of `struct re_registers'
make: *** [ext/standard/html.lo] Error 1
error: Bad exit status from /var/tmp/rpm-tmp.73791 (%build)
 
 
RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.73791 (%build)


Expected result:

php builds


-- 
Edit bug report at http://bugs.php.net/?id=29888&edit=1
-- 
Try a CVS snapshot (php4):   http://bugs.php.net/fix.php?id=29888&r=trysnapshot4
Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=29888&r=trysnapshot50
Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=29888&r=trysnapshot51
Fixed in CVS:http://bugs.php.net/fix.php?id=29888&r=fixedcvs
Fixed in release:http://bugs.php.net/fix.php?id=29888&r=alreadyfixed
Need backtrace:  http://bugs.php.net/fix.php?id=29888&r=needtrace
Need Reproduce Script:   http://bugs.php.net/fix.php?id=29888&r=needscript
Try newer version:   http://bugs.php.net/fix.php?id=29888&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=29888&r=support
Expected behavior:   http://bugs.php.net/fix.php?id=29888&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=29888&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=29888&r=submittedtwice
register_globals:http://bugs.php.net/fix.php?id=29888&r=globals
PHP 3 support discontinued:  http://bugs.php.net/fix.php?id=29888&r=php3
Daylight Savings:http://bugs.php.net/fix.php?id=29888&r=dst
IIS Stability:   http://bugs.php.net/fix.php?id=29888&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=29888&r=gnused
Floating point limitations:  http://bugs.php.net/fix.php?id=29888&r=float


#26082 [Fbk->Opn]: undefined reference to `php_pcre_version'

2003-11-03 Thread alietss at yahoo dot com
 ID:   26082
 User updated by:  alietss at yahoo dot com
 Reported By:  alietss at yahoo dot com
-Status:   Feedback
+Status:   Open
 Bug Type: Compile Failure
 Operating System: Linux RedHat 9
 PHP Version:  5CVS-2003-11-02 (dev)
 New Comment:

Hi people, I found something, if I remove the --enable-mbstring
argument then builds ok, you can find the spec file at this link:
http://php.cujae.edu.cu/downloads/betas/specs/php.spec
Regards Aliet


Previous Comments:


[2003-11-03 18:21:37] [EMAIL PROTECTED]

Cut the configure line into the shortest one that still produces the
error. And possibly put the spec file available somewhere so we can
actually test this ourselves.




[2003-11-02 15:16:16] alietss at yahoo dot com

Ok, I cleaned up a little the configure line to fit with php5 configure
arguments, but the error is still there, I'm missing something here or
what, I guess this is a problem related to virtual builds enviroments,
as with rpms, here the configure
%configure \
--cache-file=../config.cache \
--with-config-file-path=%{_sysconfdir} \
--with-config-file-scan-dir=%{_sysconfdir}/php.d \
--enable-force-cgi-redirect \
--disable-debug \
--enable-pic \
--disable-rpath \
--enable-inline-optimization \
--with-bz2 \
--with-db4=%{_prefix} \
--with-curl \
--with-exec-dir=%{_bindir} \
--with-freetype-dir=%{_prefix} \
--with-png-dir=%{_prefix} \
--with-gd \
--enable-gd-native-ttf \
--with-gdbm \
--with-gettext \
--with-pdflib=shared \
--with-tiff-dir=%{_prefix} \
--with-ncurses \
--with-gmp \
--with-iconv \
--with-jpeg-dir=%{_prefix} \
--with-openssl \
--with-png \
--with-pspell \
--with-regex=php \
--with-xml \
--with-expat-dir=%{_prefix} \
--with-xmlrpc=shared \
--with-zlib \
--with-layout=GNU \
--enable-bcmath \
--enable-exif \
--enable-ftp \
--enable-magic-quotes \
--enable-safe-mode \
--enable-sockets \
--enable-sysvsem \
--enable-sysvshm \
--enable-discard-path \
--enable-track-vars \
--enable-trans-sid \
--enable-yp \
--enable-wddx \
--without-oci8 \
--with-pear=/usr/share/pear \
--with-imap=shared \
--with-imap-ssl \
--with-kerberos \
--with-ldap=shared \
--with-mcal=shared,%{_prefix} \
--with-mcrypt=shared,%{_prefix} \
--with-mhash=shared,%{_prefix} \
--with-mssql=shared,%{_prefix} \
--with-mysql=shared,%{_prefix} \
%if %{oracle}
--with-oci8=shared \
%endif
--with-pgsql=shared \
--with-snmp=shared,%{_prefix} \
--with-snmp=shared \
--enable-ucd-snmp-hack \
--with-xsl=shared,%{_prefix} \
--with-unixODBC=shared \
--enable-memory-limit \
--enable-bcmath \
--enable-shmop \
--enable-calendar \
--enable-dbx \
--enable-dio \
--enable-mcal \
--enable-mbstring \



[2003-11-02 14:17:30] alietss at yahoo dot com

Interesting detail, this just happens on a rpm build, in a normal build
compiles ok



[2003-11-02 13:39:42] alietss at yahoo dot com

Description:

Hi PHP people, I'm building rpms of the php-5.0.0b2 for testing and
preparing for the future upgrade, I'm using httpd-2.0.47-10, on RedHat
9, my build is failing with this error...

ext/pcre/php_pcre.o(.text+0x16a): In function `zm_info_pcre':
/usr/src/redhat/BUILD/php-5.0.0b2/ext/pcre/php_pcre.c:92: undefined
reference to `php_pcre_version'
ext/pcre/php_pcre.o(.text+0x55f): In function
`pcre_get_compiled_regex':
/usr/src/redhat/BUILD/php-5.0.0b2/ext/pcre/php_pcre.c:275: undefined
reference to `php_pcre_maketables'
ext/pcre/php_pcre.o(.text+0x589):/usr/src/redhat/BUILD/php-5.0.0b2/ext/pcre/php_pcre.c:279:
undefined reference to `php_pcre_compile'

I have tested with differents combinations of the configure line,
specially lines ralated to regex and pcre but the I get the same error.
Here my configure line...

%configure \
--cache-file=../config.cache \
--with-config-file-path=%{_sysconfdir} \
--with-config-file-scan-dir=%{_sysconfdir}/php.d \
--enable-force-cgi-redirect \
--disable-debug \
--enable-pic \
--disable-rpath \
--enable-inline-optimization \
--with-bz2 \
--with-db4=%{_prefix} \
--with-curl \
--with-exec-dir=

#26082 [Opn]: Failing beacuse ofundefined reference to `php_pcre_version'

2003-11-02 Thread alietss at yahoo dot com
 ID:   26082
 User updated by:  alietss at yahoo dot com
 Reported By:  alietss at yahoo dot com
 Status:   Open
 Bug Type: Compile Failure
 Operating System: Linux RedHat 9
 PHP Version:  5CVS-2003-11-02 (dev)
 New Comment:

Ok, I cleaned up a little the configure line to fit with php5 configure
arguments, but the error is still there, I'm missing something here or
what, I guess this is a problem related to virtual builds enviroments,
as with rpms, here the configure
%configure \
--cache-file=../config.cache \
--with-config-file-path=%{_sysconfdir} \
--with-config-file-scan-dir=%{_sysconfdir}/php.d \
--enable-force-cgi-redirect \
--disable-debug \
--enable-pic \
--disable-rpath \
--enable-inline-optimization \
--with-bz2 \
--with-db4=%{_prefix} \
--with-curl \
--with-exec-dir=%{_bindir} \
--with-freetype-dir=%{_prefix} \
--with-png-dir=%{_prefix} \
--with-gd \
--enable-gd-native-ttf \
--with-gdbm \
--with-gettext \
--with-pdflib=shared \
--with-tiff-dir=%{_prefix} \
--with-ncurses \
--with-gmp \
--with-iconv \
--with-jpeg-dir=%{_prefix} \
--with-openssl \
--with-png \
--with-pspell \
--with-regex=php \
--with-xml \
--with-expat-dir=%{_prefix} \
--with-xmlrpc=shared \
--with-zlib \
--with-layout=GNU \
--enable-bcmath \
--enable-exif \
--enable-ftp \
--enable-magic-quotes \
--enable-safe-mode \
--enable-sockets \
--enable-sysvsem \
--enable-sysvshm \
--enable-discard-path \
--enable-track-vars \
--enable-trans-sid \
--enable-yp \
--enable-wddx \
--without-oci8 \
--with-pear=/usr/share/pear \
--with-imap=shared \
--with-imap-ssl \
--with-kerberos \
--with-ldap=shared \
--with-mcal=shared,%{_prefix} \
--with-mcrypt=shared,%{_prefix} \
--with-mhash=shared,%{_prefix} \
--with-mssql=shared,%{_prefix} \
--with-mysql=shared,%{_prefix} \
%if %{oracle}
--with-oci8=shared \
%endif
--with-pgsql=shared \
--with-snmp=shared,%{_prefix} \
--with-snmp=shared \
--enable-ucd-snmp-hack \
--with-xsl=shared,%{_prefix} \
--with-unixODBC=shared \
--enable-memory-limit \
--enable-bcmath \
--enable-shmop \
--enable-calendar \
--enable-dbx \
--enable-dio \
--enable-mcal \
--enable-mbstring \


Previous Comments:


[2003-11-02 14:17:30] alietss at yahoo dot com

Interesting detail, this just happens on a rpm build, in a normal build
compiles ok



[2003-11-02 13:39:42] alietss at yahoo dot com

Description:

Hi PHP people, I'm building rpms of the php-5.0.0b2 for testing and
preparing for the future upgrade, I'm using httpd-2.0.47-10, on RedHat
9, my build is failing with this error...

ext/pcre/php_pcre.o(.text+0x16a): In function `zm_info_pcre':
/usr/src/redhat/BUILD/php-5.0.0b2/ext/pcre/php_pcre.c:92: undefined
reference to `php_pcre_version'
ext/pcre/php_pcre.o(.text+0x55f): In function
`pcre_get_compiled_regex':
/usr/src/redhat/BUILD/php-5.0.0b2/ext/pcre/php_pcre.c:275: undefined
reference to `php_pcre_maketables'
ext/pcre/php_pcre.o(.text+0x589):/usr/src/redhat/BUILD/php-5.0.0b2/ext/pcre/php_pcre.c:279:
undefined reference to `php_pcre_compile'

I have tested with differents combinations of the configure line,
specially lines ralated to regex and pcre but the I get the same error.
Here my configure line...

%configure \
--cache-file=../config.cache \
--with-config-file-path=%{_sysconfdir} \
--with-config-file-scan-dir=%{_sysconfdir}/php.d \
--enable-force-cgi-redirect \
--disable-debug \
--enable-pic \
--disable-rpath \
--enable-inline-optimization \
--with-bz2 \
--with-db4=%{_prefix} \
--with-curl \
--with-exec-dir=%{_bindir} \
--with-freetype-dir=%{_prefix} \
--with-png-dir=%{_prefix} \
--with-gd \
--enable-gd-native-ttf \
--with-gdbm \
--with-gettext \
--with-pdflib=shared \
--with-tiff-dir=%{_prefix} \
--with-ncurses \
--with-gmp \
--with-iconv \
--enable-xslt=shared \
--with-jpeg-dir=%{_prefix} \
--with-openssl \
--with-png \
--with-pspell \
--with-regex \
--with-xml \
--with-expat-dir=%{_prefix} \
--with-dom=shared,%{_prefix} \
--with-dom-xslt=%{_prefix} \
--wi

#26082 [Opn]: Failing beacuse ofundefined reference to `php_pcre_version'

2003-11-02 Thread alietss at yahoo dot com
 ID:   26082
 User updated by:  alietss at yahoo dot com
 Reported By:  alietss at yahoo dot com
 Status:   Open
 Bug Type: Compile Failure
 Operating System: Linux RedHat 9
 PHP Version:  5CVS-2003-11-02 (dev)
 New Comment:

Interesting detail, this just happens on a rpm build, in a normal build
compiles ok


Previous Comments:


[2003-11-02 13:39:42] alietss at yahoo dot com

Description:

Hi PHP people, I'm building rpms of the php-5.0.0b2 for testing and
preparing for the future upgrade, I'm using httpd-2.0.47-10, on RedHat
9, my build is failing with this error...

ext/pcre/php_pcre.o(.text+0x16a): In function `zm_info_pcre':
/usr/src/redhat/BUILD/php-5.0.0b2/ext/pcre/php_pcre.c:92: undefined
reference to `php_pcre_version'
ext/pcre/php_pcre.o(.text+0x55f): In function
`pcre_get_compiled_regex':
/usr/src/redhat/BUILD/php-5.0.0b2/ext/pcre/php_pcre.c:275: undefined
reference to `php_pcre_maketables'
ext/pcre/php_pcre.o(.text+0x589):/usr/src/redhat/BUILD/php-5.0.0b2/ext/pcre/php_pcre.c:279:
undefined reference to `php_pcre_compile'

I have tested with differents combinations of the configure line,
specially lines ralated to regex and pcre but the I get the same error.
Here my configure line...

%configure \
--cache-file=../config.cache \
--with-config-file-path=%{_sysconfdir} \
--with-config-file-scan-dir=%{_sysconfdir}/php.d \
--enable-force-cgi-redirect \
--disable-debug \
--enable-pic \
--disable-rpath \
--enable-inline-optimization \
--with-bz2 \
--with-db4=%{_prefix} \
--with-curl \
--with-exec-dir=%{_bindir} \
--with-freetype-dir=%{_prefix} \
--with-png-dir=%{_prefix} \
--with-gd \
--enable-gd-native-ttf \
--with-gdbm \
--with-gettext \
--with-pdflib=shared \
--with-tiff-dir=%{_prefix} \
--with-ncurses \
--with-gmp \
--with-iconv \
--enable-xslt=shared \
--with-jpeg-dir=%{_prefix} \
--with-openssl \
--with-png \
--with-pspell \
--with-regex \
--with-xml \
--with-expat-dir=%{_prefix} \
--with-dom=shared,%{_prefix} \
--with-dom-xslt=%{_prefix} \
--with-dom-exslt=%{_prefix} \
--with-xmlrpc=shared \
--with-pcre-regex \
--with-zlib \
--with-layout=GNU \
--enable-bcmath \
--enable-exif \
--enable-ftp \
--enable-magic-quotes \
--enable-safe-mode \
--enable-sockets \
--enable-sysvsem \
--enable-sysvshm \
--enable-discard-path \
--enable-track-vars \
--enable-trans-sid \
--enable-yp \
--enable-wddx \
--without-oci8 \
--with-pear=/usr/share/pear \
--with-imap=shared \
--with-imap-ssl \
--with-kerberos \
--with-ldap=shared \
--with-mcal=shared,%{_prefix} \
--with-mcrypt=shared,%{_prefix} \
--with-mhash=shared,%{_prefix} \
--with-mssql=shared,%{_prefix} \
--with-mysql=shared,%{_prefix} \
%if %{oracle}
--with-oci8=shared \
%endif
--with-pgsql=shared \
--with-snmp=shared,%{_prefix} \
--with-snmp=shared \
--enable-ucd-snmp-hack \
--with-xslt-sablot=shared,%{_prefix} \
--with-sablot-js=shared,%{_prefix} \
--with-unixODBC=shared \
--enable-memory-limit \
--enable-bcmath \
--enable-shmop \
--enable-calendar \
--enable-dbx \
--enable-dio \
--enable-mcal \
--enable-mbstring \
--enable-mbstr-enc-trans \
--enable-mbregex \
$*

Any ideas?

Expected result:

Compile

Actual result:
--
ext/pcre/php_pcre.o(.text+0x16a): In function `zm_info_pcre':
/usr/src/redhat/BUILD/php-5.0.0b2/ext/pcre/php_pcre.c:92: undefined
reference to `php_pcre_version'
ext/pcre/php_pcre.o(.text+0x55f): In function
`pcre_get_compiled_regex':
/usr/src/redhat/BUILD/php-5.0.0b2/ext/pcre/php_pcre.c:275: undefined
reference to `php_pcre_maketables'
ext/pcre/php_pcre.o(.text+0x589):/usr/src/redhat/BUILD/php-5.0.0b2/ext/pcre/php_pcre.c:279:
undefined reference to `php_pcre_compile'
ext/pcre/php_pcre.o(.text+0x629):/usr/src/redhat/BUILD/php-5.0.0b2/ext/pcre/php_pcre.c:294:
undefined reference to `php_pcre_study'
ext/pcre/php_pcre.o(.text+0x8f9): In function `php_pcre_match':
/usr/src/redhat/BUILD/php-5.0.0b2/ext/pcre/php_pcre.c:418: undefined
reference to `php_pcre_fullinfo'
ext/pcre/php_pcre.o(.text+0x97d):/usr/src/redhat/BUILD/php-5.0.0b2/ext/pcre/php_pcre.c:435:
undefined reference to `php_pcre_fullinfo'
ext/pcre/php_pcre.o(.text+0x9ae):/usr/src/redhat/BUILD/php-5.0.0b2/ext/pcre/php_pcre.c

#26082 [NEW]: Failing beacuse ofundefined reference to `php_pcre_version'

2003-11-02 Thread alietss at yahoo dot com
From: alietss at yahoo dot com
Operating system: Linux RedHat 9
PHP version:  5CVS-2003-11-02 (dev)
PHP Bug Type: Compile Failure
Bug description:  Failing beacuse ofundefined reference to `php_pcre_version'

Description:

Hi PHP people, I'm building rpms of the php-5.0.0b2 for testing and
preparing for the future upgrade, I'm using httpd-2.0.47-10, on RedHat 9,
my build is failing with this error...

ext/pcre/php_pcre.o(.text+0x16a): In function `zm_info_pcre':
/usr/src/redhat/BUILD/php-5.0.0b2/ext/pcre/php_pcre.c:92: undefined
reference to `php_pcre_version'
ext/pcre/php_pcre.o(.text+0x55f): In function `pcre_get_compiled_regex':
/usr/src/redhat/BUILD/php-5.0.0b2/ext/pcre/php_pcre.c:275: undefined
reference to `php_pcre_maketables'
ext/pcre/php_pcre.o(.text+0x589):/usr/src/redhat/BUILD/php-5.0.0b2/ext/pcre/php_pcre.c:279:
undefined reference to `php_pcre_compile'

I have tested with differents combinations of the configure line,
specially lines ralated to regex and pcre but the I get the same error.
Here my configure line...

%configure \
--cache-file=../config.cache \
--with-config-file-path=%{_sysconfdir} \
--with-config-file-scan-dir=%{_sysconfdir}/php.d \
--enable-force-cgi-redirect \
--disable-debug \
--enable-pic \
--disable-rpath \
--enable-inline-optimization \
--with-bz2 \
--with-db4=%{_prefix} \
--with-curl \
--with-exec-dir=%{_bindir} \
--with-freetype-dir=%{_prefix} \
--with-png-dir=%{_prefix} \
--with-gd \
--enable-gd-native-ttf \
--with-gdbm \
--with-gettext \
--with-pdflib=shared \
--with-tiff-dir=%{_prefix} \
--with-ncurses \
--with-gmp \
--with-iconv \
--enable-xslt=shared \
--with-jpeg-dir=%{_prefix} \
--with-openssl \
--with-png \
--with-pspell \
--with-regex \
--with-xml \
--with-expat-dir=%{_prefix} \
--with-dom=shared,%{_prefix} \
--with-dom-xslt=%{_prefix} \
--with-dom-exslt=%{_prefix} \
--with-xmlrpc=shared \
--with-pcre-regex \
--with-zlib \
--with-layout=GNU \
--enable-bcmath \
--enable-exif \
--enable-ftp \
--enable-magic-quotes \
--enable-safe-mode \
--enable-sockets \
--enable-sysvsem \
--enable-sysvshm \
--enable-discard-path \
--enable-track-vars \
--enable-trans-sid \
--enable-yp \
--enable-wddx \
--without-oci8 \
--with-pear=/usr/share/pear \
--with-imap=shared \
--with-imap-ssl \
--with-kerberos \
--with-ldap=shared \
--with-mcal=shared,%{_prefix} \
--with-mcrypt=shared,%{_prefix} \
--with-mhash=shared,%{_prefix} \
--with-mssql=shared,%{_prefix} \
--with-mysql=shared,%{_prefix} \
%if %{oracle}
--with-oci8=shared \
%endif
--with-pgsql=shared \
--with-snmp=shared,%{_prefix} \
--with-snmp=shared \
--enable-ucd-snmp-hack \
--with-xslt-sablot=shared,%{_prefix} \
--with-sablot-js=shared,%{_prefix} \
--with-unixODBC=shared \
--enable-memory-limit \
--enable-bcmath \
--enable-shmop \
--enable-calendar \
--enable-dbx \
--enable-dio \
--enable-mcal \
--enable-mbstring \
--enable-mbstr-enc-trans \
--enable-mbregex \
$*

Any ideas?

Expected result:

Compile

Actual result:
--
ext/pcre/php_pcre.o(.text+0x16a): In function `zm_info_pcre':
/usr/src/redhat/BUILD/php-5.0.0b2/ext/pcre/php_pcre.c:92: undefined
reference to `php_pcre_version'
ext/pcre/php_pcre.o(.text+0x55f): In function `pcre_get_compiled_regex':
/usr/src/redhat/BUILD/php-5.0.0b2/ext/pcre/php_pcre.c:275: undefined
reference to `php_pcre_maketables'
ext/pcre/php_pcre.o(.text+0x589):/usr/src/redhat/BUILD/php-5.0.0b2/ext/pcre/php_pcre.c:279:
undefined reference to `php_pcre_compile'
ext/pcre/php_pcre.o(.text+0x629):/usr/src/redhat/BUILD/php-5.0.0b2/ext/pcre/php_pcre.c:294:
undefined reference to `php_pcre_study'
ext/pcre/php_pcre.o(.text+0x8f9): In function `php_pcre_match':
/usr/src/redhat/BUILD/php-5.0.0b2/ext/pcre/php_pcre.c:418: undefined
reference to `php_pcre_fullinfo'
ext/pcre/php_pcre.o(.text+0x97d):/usr/src/redhat/BUILD/php-5.0.0b2/ext/pcre/php_pcre.c:435:
undefined reference to `php_pcre_fullinfo'
ext/pcre/php_pcre.o(.text+0x9ae):/usr/src/redhat/BUILD/php-5.0.0b2/ext/pcre/php_pcre.c:437:
undefined reference to `php_pcre_fullinfo'
ext/pcre/php_pcre.o(.text+0x9cf):/usr/src/redhat/BUILD/php-5.0.0b2/ext/pcre/php_pcre.c:438:
undefined reference to `php_pcre_fullinfo'
ext/pcre/php_pcre.o(.text+0xa78):/usr/src/redhat/BUILD/php-5.

#24853 [NEW]: General extensions load fails for undefined symbols

2003-07-29 Thread alietss at yahoo dot com
From: alietss at yahoo dot com
Operating system: Linux RedHat 9.0
PHP version:  4CVS-2003-07-29 (stable)
PHP Bug Type: Apache2 related
Bug description:  General extensions load fails for undefined symbols

Description:

Hi people:
I'm testing php-4.3.3 on RedHat 9.0 with httpd-2.0.47-3 added unixd.h and
related headers files and used redhat patches to prevent the load of
extensions when exists undefined symbols, I built php as a handler, when I
start apache the extensions fails to load with this errors on apache error
log...

PHP Warning:  Unknown(): Unable to load dynamic library
'/usr/lib/php4/imap.so' - /usr/lib/php4/imap.so: undefined symbol:
file_globals in Unknown on line 0
PHP Warning:  Unknown(): Unable to load dynamic library
'/usr/lib/php4/ldap.so' - /usr/lib/php4/ldap.so: undefined symbol:
OnUpdateInt in Unknown on line 0
PHP Warning:  Unknown(): Unable to load dynamic library
'/usr/lib/php4/mcal.so' - /usr/lib/php4/mcal.so: undefined symbol:
convert_to_array in Unknown on line 0
PHP Warning:  Unknown(): Unable to load dynamic library
'/usr/lib/php4/mcrypt.so' - /usr/lib/php4/mcrypt.so: undefined symbol:
OnUpdateString in Unknown on line 0
PHP Warning:  Unknown(): Unable to load dynamic library
'/usr/lib/php4/mhash.so' - /usr/lib/php4/mhash.so: undefined symbol:
zend_register_long_constant in Unknown on line 0
PHP Warning:  Unknown(): Unable to load dynamic library
'/usr/lib/php4/mssql.so' - /usr/lib/php4/mssql.so: undefined symbol:
OnUpdateBool in Unknown on line 0
PHP Warning:  Unknown(): Unable to load dynamic library
'/usr/lib/php4/mysql.so' - /usr/lib/php4/mysql.so: undefined symbol:
OnUpdateInt in Unknown on line 0
PHP Warning:  Unknown(): Unable to load dynamic library
'/usr/lib/php4/odbc.so' - /usr/lib/php4/odbc.so: undefined symbol:
OnUpdateInt in Unknown on line 0
PHP Warning:  Unknown(): Unable to load dynamic library
'/usr/lib/php4/pdf.so' - /usr/lib/php4/pdf.so: undefined symbol:
core_globals in Unknown on line 0
PHP Warning:  Unknown(): Unable to load dynamic library
'/usr/lib/php4/pgsql.so' - /usr/lib/php4/pgsql.so: undefined symbol:
OnUpdateBool in Unknown on line 0
PHP Warning:  Unknown(): Unable to load dynamic library
'/usr/lib/php4/snmp.so' - /usr/lib/php4/snmp.so: undefined symbol:
zend_get_parameters_ex in Unknown on line 0
PHP Warning:  Unknown(): Unable to load dynamic library
'/usr/lib/php4/xslt.so' - /usr/lib/php4/xslt.so: undefined symbol:
executor_globals in Unknown on line 0

Here my configure line

'./configure' '--host=i686-pc-linux-gnu' '--build=i686-pc-linux-gnu'
'--target=i686-redhat-linux-gnu' '--program-prefix=' '--prefix=/usr'
'--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin'
'--sysconfdir=/etc' '--datadir=/usr/share' '--includedir=/usr/include'
'--libdir=/usr/lib' '--libexecdir=/usr/libexec' '--localstatedir=/var'
'--sharedstatedir=/usr/com' '--mandir=/usr/share/man'
'--infodir=/usr/share/info' '--cache-file=../config.cache'
'--with-config-file-path=/etc' '--with-config-file-scan-dir=/etc/php.d'
'--enable-force-cgi-redirect' '--disable-debug' '--enable-pic'
'--disable-rpath' '--enable-inline-optimization' '--with-bz2'
'--with-db4=/usr' '--with-curl' '--with-dom=/usr'
'--with-exec-dir=/usr/bin' '--with-freetype-dir=/usr'
'--with-png-dir=/usr' '--with-gd' '--enable-gd-native-ttf' '--with-ttf'
'--with-gdbm' '--with-gettext' '--with-pdflib=shared'
'--with-tiff-dir=/usr' '--with-ncurses' '--with-gmp' '--with-iconv'
'--enable-xslt=shared' '--with-jpeg-dir=/usr' '--with-openssl'
'--with-png' '--with-pspell' '--with-regex=system' '--with-xml'
'--with-xmlrpc' '--with-expat-dir=/usr' '--with-zlib' '--with-layout=GNU'
'--enable-bcmath' '--enable-exif' '--enable-ftp' '--enable-magic-quotes'
'--enable-safe-mode' '--enable-sockets' '--enable-sysvsem'
'--enable-sysvshm' '--enable-discard-path' '--enable-track-vars'
'--enable-trans-sid' '--enable-yp' '--enable-wddx' '--without-oci8'
'--with-pear=/usr/share/pear' '--with-imap=shared' '--with-imap-ssl'
'--with-kerberos=/usr/kerberos' '--with-ldap=shared'
'--with-mcal=shared,/usr' '--with-mcrypt=shared,/usr&#x

#24255 [Fbk->Opn]: make test failing for FAIL Bug #24142 (round() problems)

2003-06-26 Thread alietss at yahoo dot com
 ID:   24255
 User updated by:  alietss at yahoo dot com
 Reported By:  alietss at yahoo dot com
-Status:   Feedback
+Status:   Open
 Bug Type: Scripting Engine problem
 Operating System: Linux RedHat 9.0
 PHP Version:  4CVS-2003-06-19 (stable)
 New Comment:

Hi Snipper:
With those sources this are the results

=
FAILED TEST SUMMARY
-
Bug #22414: passthru() does not read data correctly
[ext/standard/tests/file/bug22414.phpt]
Bug #24142 (round() problems) [ext/standard/tests/math/bug24142.phpt]
=


Previous Comments:


[2003-06-26 13:44:56] [EMAIL PROTECTED]

Does this happen with this package:

http://downloads.php.net/jani/php-4.3.3RC1.tar.gz



[2003-06-19 08:54:51] alietss at yahoo dot com

Description:

Hi people:
I'm playing a while with php-4.3.3-RC2-dev on a RedHat 9.0
httpd-2.0.45, everything was ok until the make test, wich failed with
this:

FAIL Bug #24142 (round() problems)
[ext/standard/tests/math/bug24142.phpt]

=
FAILED TEST SUMMARY
-
Bug #24142 (round() problems) [ext/standard/tests/math/bug24142.phpt]
=

I was building rpms, this is my configure line:

%configure \
--cache-file=../config.cache \
--with-config-file-path=%{_sysconfdir} \
--with-config-file-scan-dir=%{_sysconfdir}/php.d \
--enable-force-cgi-redirect \
--disable-debug \
--enable-pic \
--disable-rpath \
--enable-inline-optimization \
--with-bz2 \
--with-db4=%{_prefix} \
--with-curl \
--with-dom=%{_prefix} \
--with-exec-dir=%{_bindir} \
--with-freetype-dir=%{_prefix} \
--with-png-dir=%{_prefix} \
--with-gd \
--enable-gd-native-ttf \
--with-ttf \
--with-gdbm \
--with-gettext \
--with-pdflib=shared \
--with-tiff-dir=%{_prefix} \
--with-ncurses \
--with-gmp \
--with-iconv \
--enable-xslt=shared \
--with-jpeg-dir=%{_prefix} \
--with-openssl \
--with-png \
--with-pspell \
--with-regex=system \
--with-xml \
--with-xmlrpc \
--with-expat-dir=%{_prefix} \
--with-zlib \
--with-layout=GNU \
--enable-bcmath \
--enable-exif \
--enable-ftp \
--enable-magic-quotes \
--enable-safe-mode \
--enable-sockets \
--enable-sysvsem \
--enable-sysvshm \
--enable-discard-path \
--enable-track-vars \
--enable-trans-sid \
--enable-yp \
--enable-wddx \
--without-oci8 \
--with-pear=/usr/share/pear \
--with-imap=shared \
--with-imap-ssl \
--with-kerberos=/usr/kerberos \
--with-ldap=shared \
--with-mcal=shared,%{_prefix} \
--with-mcrypt=shared,%{_prefix} \
--with-mhash=shared,%{_prefix} \
--with-mssql=shared,%{_prefix} \
--with-mysql=shared,%{_prefix} \
%if %{oracle}
--with-oci8=shared \
%endif
--with-pgsql=shared \
--with-snmp=shared,%{_prefix} \
--with-snmp=shared \
--enable-ucd-snmp-hack \
--with-xslt-sablot=shared,%{_prefix} \
--with-sablot-js=shared,%{_prefix} \
--with-unixODBC=shared \
--enable-memory-limit \
--enable-bcmath \
--enable-shmop \
--enable-versioning \
--enable-calendar \
--enable-dbx \
--enable-dio \
--enable-mcal \
$*

make %{?_smp_mflags}

Regards Aliet






-- 
Edit this bug report at http://bugs.php.net/?id=24255&edit=1



#24322 [Opn]: SNMP conflicts with php-accelerator

2003-06-25 Thread alietss at yahoo dot com
 ID:   24322
 User updated by:  alietss at yahoo dot com
 Reported By:  alietss at yahoo dot com
 Status:   Open
 Bug Type: SNMP related
 Operating System: Linux RedHat 9.0
 PHP Version:  4CVS-2003-06-24 (stable)
 New Comment:

Ok this was the initial report...
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=97826


Previous Comments:


[2003-06-25 15:46:46] alietss at yahoo dot com

Ok, is true I sent you to many output was my error, why don't you see
this bug???

https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=97207

Everything looks like snmp problems



[2003-06-25 07:08:40] [EMAIL PROTECTED]

Not PHP bug.




[2003-06-25 00:26:25] [EMAIL PROTECTED]

TOo much information here... why do you think it conflicts with
php-accelerator? And if it does, you need to contact its author, and
not us.



[2003-06-24 17:03:42] alietss at yahoo dot com

Description:

Hi boys I'm testing php-4.3.3 on Redhat 9.0 httpd-2.0.46 net-snmp-5.8,
everything is well, but when the webserver is restarted by a 
/bin/kill -HUP `cat /var/run/httpd.pid 2>/dev/null` 2> /dev/null ||
true

The server never restart, here the error log 

[Tue Jun 24 17:43:29 2003] [notice-phpa] Acquiring cache : uid 48 gid
48 perms 666 (pid 6216)
[Tue Jun 24 17:43:29 2003] [notice-phpa] PHPA 1.3.3r2 on
linux_i686_glibc2.1.3 (pid 6216)
[Tue Jun 24 17:43:29 2003] [notice-phpa] Initialised 8MB cache at
0x40d0a000 with 512 process entries (pid 6216)
[Tue Jun 24 17:43:29 2003] [notice-phpa] Lock thresholds 10/10 (pid
6216)
[Tue Jun 24 17:43:29 2003] [notice-phpa] Acquiring cache : uid 48 gid
48 perms 666 (pid 6216)
[Tue Jun 24 17:43:29 2003] [notice-phpa] PHPA 1.3.3r2 on
linux_i686_glibc2.1.3 (pid 6216)
[Tue Jun 24 17:43:29 2003] [notice-phpa] Initialised 8MB cache at
0x40d0a000 with 512 process entries (pid 6216)
[Tue Jun 24 17:43:29 2003] [notice-phpa] Lock thresholds 10/10 (pid
6216)
[Tue Jun 24 17:43:29 2003] [notice-phpa] Acquiring cache : uid 48 gid
48 perms 666 (pid 6216)
[Tue Jun 24 17:43:29 2003] [notice-phpa] PHPA 1.3.3r2 on
linux_i686_glibc2.1.3 (pid 6216)
[Tue Jun 24 17:43:29 2003] [notice-phpa] Initialised 8MB cache at
0x40d0a000 with 512 process entries (pid 6216)
[Tue Jun 24 17:43:29 2003] [notice-phpa] Lock thresholds 10/10 (pid
6216)
[Tue Jun 24 17:43:29 2003] [notice-phpa] Acquiring cache : uid 48 gid
48 perms 666 (pid 6216)
[Tue Jun 24 17:43:29 2003] [notice-phpa] PHPA 1.3.3r2 on
linux_i686_glibc2.1.3 (pid 6216)
[Tue Jun 24 17:43:29 2003] [notice-phpa] Initialised 8MB cache at
0x40d0a000 with 512 process entries (pid 6216)
[Tue Jun 24 17:43:29 2003] [notice-phpa] Lock thresholds 10/10 (pid
6216)
[Tue Jun 24 17:43:29 2003] [notice-phpa] Acquiring cache : uid 48 gid
48 perms 666 (pid 6216)
[Tue Jun 24 17:43:29 2003] [notice-phpa] PHPA 1.3.3r2 on
linux_i686_glibc2.1.3 (pid 6216)
[Tue Jun 24 17:43:29 2003] [notice-phpa] Initialised 8MB cache at
0x40d0a000 with 512 process entries (pid 6216)
[Tue Jun 24 17:43:29 2003] [notice-phpa] Lock thresholds 10/10 (pid
6216)
[Tue Jun 24 17:43:29 2003] [notice-phpa] Acquiring cache : uid 48 gid
48 perms 666 (pid 6216)
[Tue Jun 24 17:43:29 2003] [notice-phpa] PHPA 1.3.3r2 on
linux_i686_glibc2.1.3 (pid 6216)
[Tue Jun 24 17:43:29 2003] [notice-phpa] Initialised 8MB cache at
0x40d0a000 with 512 process entries (pid 6216)
[Tue Jun 24 17:43:29 2003] [notice-phpa] Lock thresholds 10/10 (pid
6216)
[Tue Jun 24 17:43:29 2003] [notice-phpa] Acquiring cache : uid 48 gid
48 perms 666 (pid 6216)
[Tue Jun 24 17:43:29 2003] [notice-phpa] PHPA 1.3.3r2 on
linux_i686_glibc2.1.3 (pid 6216)
[Tue Jun 24 17:43:29 2003] [notice-phpa] Initialised 8MB cache at
0x40d0a000 with 512 process entries (pid 6216)
[Tue Jun 24 17:43:29 2003] [notice-phpa] Lock thresholds 10/10 (pid
6216)
[Tue Jun 24 17:43:29 2003] [notice-phpa] Acquiring cache : uid 48 gid
48 perms 666 (pid 6216)
[Tue Jun 24 17:43:29 2003] [notice-phpa] PHPA 1.3.3r2 on
linux_i686_glibc2.1.3 (pid 6216)
[Tue Jun 24 17:43:29 2003] [notice-phpa] Initialised 8MB cache at
0x40d0a000 with 512 process entries (pid 6216)
[Tue Jun 24 17:43:29 2003] [notice-phpa] Lock thresholds 10/10 (pid
6216)
[Tue Jun 24 17:44:00 2003] [notice] SIGHUP received.  Attempting to
restart
[Tue Jun 24 17:43:29 2003] [notice-phpa] Acquiring cache : uid 48 gid
48 perms 666 (pid 6216)
[Tue Jun 24 17:43:29 2003] [notice-phpa] PHPA 1.3.3r2 on
linux_i686_glibc2.1.3 (pid 6216)
[Tue Jun 24 17:43:29 2003] [notice-phpa] Initialised 8MB cache at
0x40d0a000 with 512 process entries (pid 6216)
[Tue Jun 24 17:43:29 2003] [notice-phpa] Lock thresholds 10/10 (pid
6216)
[Tue Jun 24 17:44:00 2003] [notice-phpa] Cache shared memory removed
(pid 6216)
[Tue Jun 24 17:44:

#24322 [Bgs->Opn]: SNMP conflicts with php-accelerator

2003-06-25 Thread alietss at yahoo dot com
 ID:   24322
 User updated by:  alietss at yahoo dot com
 Reported By:  alietss at yahoo dot com
-Status:   Bogus
+Status:   Open
 Bug Type: SNMP related
 Operating System: Linux RedHat 9.0
 PHP Version:  4CVS-2003-06-24 (stable)
 New Comment:

Ok, is true I sent you to many output was my error, why don't you see
this bug???

https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=97207

Everything looks like snmp problems


Previous Comments:


[2003-06-25 07:08:40] [EMAIL PROTECTED]

Not PHP bug.




[2003-06-25 00:26:25] [EMAIL PROTECTED]

TOo much information here... why do you think it conflicts with
php-accelerator? And if it does, you need to contact its author, and
not us.



[2003-06-24 17:03:42] alietss at yahoo dot com

Description:

Hi boys I'm testing php-4.3.3 on Redhat 9.0 httpd-2.0.46 net-snmp-5.8,
everything is well, but when the webserver is restarted by a 
/bin/kill -HUP `cat /var/run/httpd.pid 2>/dev/null` 2> /dev/null ||
true

The server never restart, here the error log 

[Tue Jun 24 17:43:29 2003] [notice-phpa] Acquiring cache : uid 48 gid
48 perms 666 (pid 6216)
[Tue Jun 24 17:43:29 2003] [notice-phpa] PHPA 1.3.3r2 on
linux_i686_glibc2.1.3 (pid 6216)
[Tue Jun 24 17:43:29 2003] [notice-phpa] Initialised 8MB cache at
0x40d0a000 with 512 process entries (pid 6216)
[Tue Jun 24 17:43:29 2003] [notice-phpa] Lock thresholds 10/10 (pid
6216)
[Tue Jun 24 17:43:29 2003] [notice-phpa] Acquiring cache : uid 48 gid
48 perms 666 (pid 6216)
[Tue Jun 24 17:43:29 2003] [notice-phpa] PHPA 1.3.3r2 on
linux_i686_glibc2.1.3 (pid 6216)
[Tue Jun 24 17:43:29 2003] [notice-phpa] Initialised 8MB cache at
0x40d0a000 with 512 process entries (pid 6216)
[Tue Jun 24 17:43:29 2003] [notice-phpa] Lock thresholds 10/10 (pid
6216)
[Tue Jun 24 17:43:29 2003] [notice-phpa] Acquiring cache : uid 48 gid
48 perms 666 (pid 6216)
[Tue Jun 24 17:43:29 2003] [notice-phpa] PHPA 1.3.3r2 on
linux_i686_glibc2.1.3 (pid 6216)
[Tue Jun 24 17:43:29 2003] [notice-phpa] Initialised 8MB cache at
0x40d0a000 with 512 process entries (pid 6216)
[Tue Jun 24 17:43:29 2003] [notice-phpa] Lock thresholds 10/10 (pid
6216)
[Tue Jun 24 17:43:29 2003] [notice-phpa] Acquiring cache : uid 48 gid
48 perms 666 (pid 6216)
[Tue Jun 24 17:43:29 2003] [notice-phpa] PHPA 1.3.3r2 on
linux_i686_glibc2.1.3 (pid 6216)
[Tue Jun 24 17:43:29 2003] [notice-phpa] Initialised 8MB cache at
0x40d0a000 with 512 process entries (pid 6216)
[Tue Jun 24 17:43:29 2003] [notice-phpa] Lock thresholds 10/10 (pid
6216)
[Tue Jun 24 17:43:29 2003] [notice-phpa] Acquiring cache : uid 48 gid
48 perms 666 (pid 6216)
[Tue Jun 24 17:43:29 2003] [notice-phpa] PHPA 1.3.3r2 on
linux_i686_glibc2.1.3 (pid 6216)
[Tue Jun 24 17:43:29 2003] [notice-phpa] Initialised 8MB cache at
0x40d0a000 with 512 process entries (pid 6216)
[Tue Jun 24 17:43:29 2003] [notice-phpa] Lock thresholds 10/10 (pid
6216)
[Tue Jun 24 17:43:29 2003] [notice-phpa] Acquiring cache : uid 48 gid
48 perms 666 (pid 6216)
[Tue Jun 24 17:43:29 2003] [notice-phpa] PHPA 1.3.3r2 on
linux_i686_glibc2.1.3 (pid 6216)
[Tue Jun 24 17:43:29 2003] [notice-phpa] Initialised 8MB cache at
0x40d0a000 with 512 process entries (pid 6216)
[Tue Jun 24 17:43:29 2003] [notice-phpa] Lock thresholds 10/10 (pid
6216)
[Tue Jun 24 17:43:29 2003] [notice-phpa] Acquiring cache : uid 48 gid
48 perms 666 (pid 6216)
[Tue Jun 24 17:43:29 2003] [notice-phpa] PHPA 1.3.3r2 on
linux_i686_glibc2.1.3 (pid 6216)
[Tue Jun 24 17:43:29 2003] [notice-phpa] Initialised 8MB cache at
0x40d0a000 with 512 process entries (pid 6216)
[Tue Jun 24 17:43:29 2003] [notice-phpa] Lock thresholds 10/10 (pid
6216)
[Tue Jun 24 17:43:29 2003] [notice-phpa] Acquiring cache : uid 48 gid
48 perms 666 (pid 6216)
[Tue Jun 24 17:43:29 2003] [notice-phpa] PHPA 1.3.3r2 on
linux_i686_glibc2.1.3 (pid 6216)
[Tue Jun 24 17:43:29 2003] [notice-phpa] Initialised 8MB cache at
0x40d0a000 with 512 process entries (pid 6216)
[Tue Jun 24 17:43:29 2003] [notice-phpa] Lock thresholds 10/10 (pid
6216)
[Tue Jun 24 17:44:00 2003] [notice] SIGHUP received.  Attempting to
restart
[Tue Jun 24 17:43:29 2003] [notice-phpa] Acquiring cache : uid 48 gid
48 perms 666 (pid 6216)
[Tue Jun 24 17:43:29 2003] [notice-phpa] PHPA 1.3.3r2 on
linux_i686_glibc2.1.3 (pid 6216)
[Tue Jun 24 17:43:29 2003] [notice-phpa] Initialised 8MB cache at
0x40d0a000 with 512 process entries (pid 6216)
[Tue Jun 24 17:43:29 2003] [notice-phpa] Lock thresholds 10/10 (pid
6216)
[Tue Jun 24 17:44:00 2003] [notice-phpa] Cache shared memory removed
(pid 6216)
[Tue Jun 24 17:44:00 2003] [notice-phpa] Cache semaphores removed (pid
6216)
[Tue Jun 24 17:44:01 2003] [notice] Digest: generating secret for
digest authentication ...
[Tue Jun 24 17:44:01 2003] [notice] D

#24322 [NEW]: SNMP conflicts with php-accelerator

2003-06-24 Thread alietss at yahoo dot com
From: alietss at yahoo dot com
Operating system: Linux RedHat 9.0
PHP version:  4CVS-2003-06-24 (stable)
PHP Bug Type: SNMP related
Bug description:  SNMP conflicts with php-accelerator

Description:

Hi boys I'm testing php-4.3.3 on Redhat 9.0 httpd-2.0.46 net-snmp-5.8,
everything is well, but when the webserver is restarted by a 
/bin/kill -HUP `cat /var/run/httpd.pid 2>/dev/null` 2> /dev/null || true

The server never restart, here the error log 

[Tue Jun 24 17:43:29 2003] [notice-phpa] Acquiring cache : uid 48 gid 48
perms 666 (pid 6216)
[Tue Jun 24 17:43:29 2003] [notice-phpa] PHPA 1.3.3r2 on
linux_i686_glibc2.1.3 (pid 6216)
[Tue Jun 24 17:43:29 2003] [notice-phpa] Initialised 8MB cache at
0x40d0a000 with 512 process entries (pid 6216)
[Tue Jun 24 17:43:29 2003] [notice-phpa] Lock thresholds 10/10 (pid 6216)
[Tue Jun 24 17:43:29 2003] [notice-phpa] Acquiring cache : uid 48 gid 48
perms 666 (pid 6216)
[Tue Jun 24 17:43:29 2003] [notice-phpa] PHPA 1.3.3r2 on
linux_i686_glibc2.1.3 (pid 6216)
[Tue Jun 24 17:43:29 2003] [notice-phpa] Initialised 8MB cache at
0x40d0a000 with 512 process entries (pid 6216)
[Tue Jun 24 17:43:29 2003] [notice-phpa] Lock thresholds 10/10 (pid 6216)
[Tue Jun 24 17:43:29 2003] [notice-phpa] Acquiring cache : uid 48 gid 48
perms 666 (pid 6216)
[Tue Jun 24 17:43:29 2003] [notice-phpa] PHPA 1.3.3r2 on
linux_i686_glibc2.1.3 (pid 6216)
[Tue Jun 24 17:43:29 2003] [notice-phpa] Initialised 8MB cache at
0x40d0a000 with 512 process entries (pid 6216)
[Tue Jun 24 17:43:29 2003] [notice-phpa] Lock thresholds 10/10 (pid 6216)
[Tue Jun 24 17:43:29 2003] [notice-phpa] Acquiring cache : uid 48 gid 48
perms 666 (pid 6216)
[Tue Jun 24 17:43:29 2003] [notice-phpa] PHPA 1.3.3r2 on
linux_i686_glibc2.1.3 (pid 6216)
[Tue Jun 24 17:43:29 2003] [notice-phpa] Initialised 8MB cache at
0x40d0a000 with 512 process entries (pid 6216)
[Tue Jun 24 17:43:29 2003] [notice-phpa] Lock thresholds 10/10 (pid 6216)
[Tue Jun 24 17:43:29 2003] [notice-phpa] Acquiring cache : uid 48 gid 48
perms 666 (pid 6216)
[Tue Jun 24 17:43:29 2003] [notice-phpa] PHPA 1.3.3r2 on
linux_i686_glibc2.1.3 (pid 6216)
[Tue Jun 24 17:43:29 2003] [notice-phpa] Initialised 8MB cache at
0x40d0a000 with 512 process entries (pid 6216)
[Tue Jun 24 17:43:29 2003] [notice-phpa] Lock thresholds 10/10 (pid 6216)
[Tue Jun 24 17:43:29 2003] [notice-phpa] Acquiring cache : uid 48 gid 48
perms 666 (pid 6216)
[Tue Jun 24 17:43:29 2003] [notice-phpa] PHPA 1.3.3r2 on
linux_i686_glibc2.1.3 (pid 6216)
[Tue Jun 24 17:43:29 2003] [notice-phpa] Initialised 8MB cache at
0x40d0a000 with 512 process entries (pid 6216)
[Tue Jun 24 17:43:29 2003] [notice-phpa] Lock thresholds 10/10 (pid 6216)
[Tue Jun 24 17:43:29 2003] [notice-phpa] Acquiring cache : uid 48 gid 48
perms 666 (pid 6216)
[Tue Jun 24 17:43:29 2003] [notice-phpa] PHPA 1.3.3r2 on
linux_i686_glibc2.1.3 (pid 6216)
[Tue Jun 24 17:43:29 2003] [notice-phpa] Initialised 8MB cache at
0x40d0a000 with 512 process entries (pid 6216)
[Tue Jun 24 17:43:29 2003] [notice-phpa] Lock thresholds 10/10 (pid 6216)
[Tue Jun 24 17:43:29 2003] [notice-phpa] Acquiring cache : uid 48 gid 48
perms 666 (pid 6216)
[Tue Jun 24 17:43:29 2003] [notice-phpa] PHPA 1.3.3r2 on
linux_i686_glibc2.1.3 (pid 6216)
[Tue Jun 24 17:43:29 2003] [notice-phpa] Initialised 8MB cache at
0x40d0a000 with 512 process entries (pid 6216)
[Tue Jun 24 17:43:29 2003] [notice-phpa] Lock thresholds 10/10 (pid 6216)
[Tue Jun 24 17:44:00 2003] [notice] SIGHUP received.  Attempting to
restart
[Tue Jun 24 17:43:29 2003] [notice-phpa] Acquiring cache : uid 48 gid 48
perms 666 (pid 6216)
[Tue Jun 24 17:43:29 2003] [notice-phpa] PHPA 1.3.3r2 on
linux_i686_glibc2.1.3 (pid 6216)
[Tue Jun 24 17:43:29 2003] [notice-phpa] Initialised 8MB cache at
0x40d0a000 with 512 process entries (pid 6216)
[Tue Jun 24 17:43:29 2003] [notice-phpa] Lock thresholds 10/10 (pid 6216)
[Tue Jun 24 17:44:00 2003] [notice-phpa] Cache shared memory removed (pid
6216)
[Tue Jun 24 17:44:00 2003] [notice-phpa] Cache semaphores removed (pid
6216)
[Tue Jun 24 17:44:01 2003] [notice] Digest: generating secret for digest
authentication ...
[Tue Jun 24 17:44:01 2003] [notice] Digest: done
[Tue Jun 24 17:44:01 2003] [notice] LDAP: Built with OpenLDAP LDAP SDK
Iniciando httpd:   [  OK  ]
[EMAIL PROTECTED] php]# /bin/kill -HUP `cat /var/run/httpd.pid 2>/dev/null` 2>
/dev/null || true
[EMAIL PROTECTED] php]# netstat -l
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address   Foreign Address State
tcp0  0 *:mysql *:*
LISTEN
tcp0  0 *:http  *:*
LISTEN
tcp0  0 *:ftp   *:*
LISTEN
tcp0  0 *:ssh   *:*
LISTEN
tcp0  0 localhost.localdom:smtp *:*
LISTEN
tcp   

#24255 [NEW]: make test failing for FAIL Bug #24142 (round() problems)

2003-06-19 Thread alietss at yahoo dot com
From: alietss at yahoo dot com
Operating system: Linux RedHat 9.0
PHP version:  4CVS-2003-06-19 (stable)
PHP Bug Type: Compile Failure
Bug description:  make test failing for FAIL Bug #24142 (round() problems) 

Description:

Hi people:
I'm playing a while with php-4.3.3-RC2-dev on a RedHat 9.0 httpd-2.0.45,
everything was ok until the make test, wich failed with this:

FAIL Bug #24142 (round() problems)
[ext/standard/tests/math/bug24142.phpt]

=
FAILED TEST SUMMARY
-
Bug #24142 (round() problems) [ext/standard/tests/math/bug24142.phpt]
=

I was building rpms, this is my configure line:

%configure \
--cache-file=../config.cache \
--with-config-file-path=%{_sysconfdir} \
--with-config-file-scan-dir=%{_sysconfdir}/php.d \
--enable-force-cgi-redirect \
--disable-debug \
--enable-pic \
--disable-rpath \
--enable-inline-optimization \
--with-bz2 \
--with-db4=%{_prefix} \
--with-curl \
--with-dom=%{_prefix} \
--with-exec-dir=%{_bindir} \
--with-freetype-dir=%{_prefix} \
--with-png-dir=%{_prefix} \
--with-gd \
--enable-gd-native-ttf \
--with-ttf \
--with-gdbm \
--with-gettext \
--with-pdflib=shared \
--with-tiff-dir=%{_prefix} \
--with-ncurses \
--with-gmp \
--with-iconv \
--enable-xslt=shared \
--with-jpeg-dir=%{_prefix} \
--with-openssl \
--with-png \
--with-pspell \
--with-regex=system \
--with-xml \
--with-xmlrpc \
--with-expat-dir=%{_prefix} \
--with-zlib \
--with-layout=GNU \
--enable-bcmath \
--enable-exif \
--enable-ftp \
--enable-magic-quotes \
--enable-safe-mode \
--enable-sockets \
--enable-sysvsem \
--enable-sysvshm \
--enable-discard-path \
--enable-track-vars \
--enable-trans-sid \
--enable-yp \
--enable-wddx \
--without-oci8 \
--with-pear=/usr/share/pear \
--with-imap=shared \
--with-imap-ssl \
--with-kerberos=/usr/kerberos \
--with-ldap=shared \
--with-mcal=shared,%{_prefix} \
--with-mcrypt=shared,%{_prefix} \
--with-mhash=shared,%{_prefix} \
--with-mssql=shared,%{_prefix} \
--with-mysql=shared,%{_prefix} \
%if %{oracle}
--with-oci8=shared \
%endif
--with-pgsql=shared \
--with-snmp=shared,%{_prefix} \
--with-snmp=shared \
--enable-ucd-snmp-hack \
--with-xslt-sablot=shared,%{_prefix} \
--with-sablot-js=shared,%{_prefix} \
--with-unixODBC=shared \
--enable-memory-limit \
--enable-bcmath \
--enable-shmop \
--enable-versioning \
--enable-calendar \
--enable-dbx \
--enable-dio \
--enable-mcal \
$*

make %{?_smp_mflags}

Regards Aliet


-- 
Edit bug report at http://bugs.php.net/?id=24255&edit=1
-- 
Try a CVS snapshot: http://bugs.php.net/fix.php?id=24255&r=trysnapshot
Fixed in CVS:   http://bugs.php.net/fix.php?id=24255&r=fixedcvs
Fixed in release:   http://bugs.php.net/fix.php?id=24255&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=24255&r=needtrace
Try newer version:  http://bugs.php.net/fix.php?id=24255&r=oldversion
Not developer issue:http://bugs.php.net/fix.php?id=24255&r=support
Expected behavior:  http://bugs.php.net/fix.php?id=24255&r=notwrong
Not enough info:http://bugs.php.net/fix.php?id=24255&r=notenoughinfo
Submitted twice:http://bugs.php.net/fix.php?id=24255&r=submittedtwice
register_globals:   http://bugs.php.net/fix.php?id=24255&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=24255&r=php3
Daylight Savings:   http://bugs.php.net/fix.php?id=24255&r=dst
IIS Stability:  http://bugs.php.net/fix.php?id=24255&r=isapi
Install GNU Sed:http://bugs.php.net/fix.php?id=24255&r=gnused



#23945 [NEW]: PHP crashing the output when apache charset is UTF-8

2003-06-02 Thread alietss at yahoo dot com
From: alietss at yahoo dot com
Operating system: Linux RedHat 9.0
PHP version:  4.3.2
PHP Bug Type: Apache2 related
Bug description:  PHP crashing the output when apache charset is UTF-8

Hi people:
I'm testing php-4.3.2 on RedHat 9.0 httpd-2.0.45 from rawhide, this apache
has the AddDefaultCharset set to UTF-8, and is built with apr, now when
apache has this set php crash the outputs of page wich have some words
with acent, for example the words with acent in the spanish language, and
this is a big problem to us, We suppose that UTF-8 should help but it's
not, when you set this to ISO-8859-1 works ok.
   Any Ideas
-- 
Edit bug report at http://bugs.php.net/?id=23945&edit=1
-- 
Try a CVS snapshot: http://bugs.php.net/fix.php?id=23945&r=trysnapshot
Fixed in CVS:   http://bugs.php.net/fix.php?id=23945&r=fixedcvs
Fixed in release:   http://bugs.php.net/fix.php?id=23945&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=23945&r=needtrace
Try newer version:  http://bugs.php.net/fix.php?id=23945&r=oldversion
Not developer issue:http://bugs.php.net/fix.php?id=23945&r=support
Expected behavior:  http://bugs.php.net/fix.php?id=23945&r=notwrong
Not enough info:http://bugs.php.net/fix.php?id=23945&r=notenoughinfo
Submitted twice:http://bugs.php.net/fix.php?id=23945&r=submittedtwice
register_globals:   http://bugs.php.net/fix.php?id=23945&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=23945&r=php3
Daylight Savings:   http://bugs.php.net/fix.php?id=23945&r=dst
IIS Stability:  http://bugs.php.net/fix.php?id=23945&r=isapi
Install GNU Sed:http://bugs.php.net/fix.php?id=23945&r=gnused



#23180 [Opn]: Make fails not finding a krb5.h

2003-04-12 Thread alietss at yahoo dot com
 ID:   23180
 User updated by:  alietss at yahoo dot com
 Reported By:  alietss at yahoo dot com
 Status:   Open
 Bug Type: Compile Failure
 Operating System: Linux RedHat 9.0
 PHP Version:  4CVS-2003-04-12 (stable)
 New Comment:

Hey other test:
I remove now the --with-openssl and that error is gone but now there is
another here it goes...

ext/mysql/libmysql/my_tempnam.o(.text+0x40): In function `my_tempnam':
/usr/src/redhat/BUILD/php4-200304122130/ext/mysql/libmysql/my_tempnam.c:103:
the use of `tempnam' is dangerous, better use `mkstemp'
ext/mysql/libmysql/my_lib.o(.text+0x37a): In function `my_dir':
/usr/src/redhat/BUILD/php4-200304122130/ext/mysql/libmysql/my_lib.c:169:
undefined reference to `errno'
ext/mysql/libmysql/my_lib.o(.text+0x546): In function `my_stat':
/usr/src/redhat/BUILD/php4-200304122130/ext/mysql/libmysql/my_lib.c:588:
undefined reference to `errno'
ext/mysql/libmysql/my_malloc.o(.text+0xbd): In function `my_malloc':
/usr/src/redhat/BUILD/php4-200304122130/ext/mysql/libmysql/my_malloc.c:24:
undefined reference to `errno'
ext/mysql/libmysql/my_realloc.o(.text+0xb4): In function `my_realloc':
/usr/src/redhat/BUILD/php4-200304122130/ext/mysql/libmysql/my_realloc.c:44:
undefined reference to `errno'
ext/mysql/libmysql/my_delete.o(.text+0x6d): In function `my_delete':
/usr/src/redhat/BUILD/php4-200304122130/ext/mysql/libmysql/my_delete.c:16:
undefined reference to `errno'
ext/mysql/libmysql/my_tempnam.o(.text+0x79):/usr/src/redhat/BUILD/php4-200304122130/ext/mysql/libmysql/my_tempnam.c:108:
more undefined references to `errno' follow
collect2: ld returned 1 exit status
make: *** [sapi/cgi/php] Error 1

This the configure line...

./configure --host=i686-pc-linux-gnu --build=i686-pc-linux-gnu
--target=i686-redhat-linux-gnu --program-prefix= --prefix=/usr
--exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin
--sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include

   Regards


Previous Comments:
--------------------

[2003-04-12 17:45:46] alietss at yahoo dot com

Hi people:
Hey I tested with php-4.3.1 and I have the same problem, I think should
be something related to RedHat 9.0. My configure now was...
 ./configure --host=i686-pc-linux-gnu --build=i686-pc-linux-gnu
--target=i686-redhat-linux-gnu --program-prefix= --prefix=/usr
--exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin
--sysconfdir=/etc --datadir=/usr/share
--includedir=/usr/include --with-openssl

But I have the same error...
En el fichero incluído de /usr/include/openssl/ssl.h:179,
 de
/usr/src/redhat/BUILD/php-4.3.1/main/php_network.h:78,
 de
/usr/src/redhat/BUILD/php-4.3.1/ext/standard/fsock.h:38,
 de
/usr/src/redhat/BUILD/php-4.3.1/ext/standard/php_standard.h:44,
 de
/usr/src/redhat/BUILD/php-4.3.1/ext/standard/basic_functions.c:28:
/usr/include/openssl/kssl.h:72:18: krb5.h: No such file or directory

--------------------

[2003-04-12 13:17:15] alietss at yahoo dot com

Hi boys:
I'm building rpms for RedHat 9.0 of php-4.3.2 latest stables sources,
httpd-2.0.45, but my make is failing not finding the krb5.h wich is in
/usr/kerberos/include, the strange is that in the past this was working
for me This is the error output, and my configure line...

In file included from /usr/include/openssl/ssl.h:179,
 from
/usr/src/redhat/BUILD/php-4.3.2/main/php_network.h:78,
 from
/usr/src/redhat/BUILD/php-4.3.2/ext/standard/fsock.h:38,
 from
/usr/src/redhat/BUILD/php-4.3.2/ext/standard/php_standard.
h:44,
 from
/usr/src/redhat/BUILD/php-4.3.2/ext/zlib/zlib.c:48:
/usr/include/openssl/kssl.h:72:18: krb5.h: No such file or directory

here my configure line...
%configure \
--prefix=%{_prefix} \
--cache-file=../config.cache \
--with-config-file-path=%{_sysconfdir} \
--with-config-file-scan-dir=%{_sysconfdir}/php.d \
--enable-force-cgi-redirect \
--disable-debug \
--enable-pic \
--disable-rpath \
--enable-inline-optimization \
--with-bz2 \
--with-db4 \
--with-curl \
--with-dom=%{_prefix} \
--with-exec-dir=%{_bindir} \
--with-freetype-dir=%{_prefix} \
--with-png-dir=%{_prefix} \
--with-gd \
--enable-gd-native-ttf \
--with-ttf \
--with-gdbm \
--with-gettext \
--with-pdflib=shared \
--with-tiff-dir=%{_prefix} \
--with-ncurses \
--with-gmp \
--with-iconv \
--enable-xslt=shared \
--with-jpeg-dir=%{_prefix} \
--with-openssl \
--with-png \
--with-pspell \
--with-regex \
--with-xml \
--

#23180 [Opn]: Make fails not finding a krb5.h

2003-04-12 Thread alietss at yahoo dot com
 ID:   23180
 User updated by:  alietss at yahoo dot com
 Reported By:  alietss at yahoo dot com
 Status:   Open
 Bug Type: Compile Failure
 Operating System: Linux RedHat 9.0
 PHP Version:  4CVS-2003-04-12 (stable)
 New Comment:

Hi people:
Hey I tested with php-4.3.1 and I have the same problem, I think should
be something related to RedHat 9.0. My configure now was...
 ./configure --host=i686-pc-linux-gnu --build=i686-pc-linux-gnu
--target=i686-redhat-linux-gnu --program-prefix= --prefix=/usr
--exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin
--sysconfdir=/etc --datadir=/usr/share
--includedir=/usr/include --with-openssl

But I have the same error...
En el fichero incluído de /usr/include/openssl/ssl.h:179,
 de
/usr/src/redhat/BUILD/php-4.3.1/main/php_network.h:78,
 de
/usr/src/redhat/BUILD/php-4.3.1/ext/standard/fsock.h:38,
 de
/usr/src/redhat/BUILD/php-4.3.1/ext/standard/php_standard.h:44,
 de
/usr/src/redhat/BUILD/php-4.3.1/ext/standard/basic_functions.c:28:
/usr/include/openssl/kssl.h:72:18: krb5.h: No such file or directory


Previous Comments:


[2003-04-12 13:17:15] alietss at yahoo dot com

Hi boys:
I'm building rpms for RedHat 9.0 of php-4.3.2 latest stables sources,
httpd-2.0.45, but my make is failing not finding the krb5.h wich is in
/usr/kerberos/include, the strange is that in the past this was working
for me This is the error output, and my configure line...

In file included from /usr/include/openssl/ssl.h:179,
 from
/usr/src/redhat/BUILD/php-4.3.2/main/php_network.h:78,
 from
/usr/src/redhat/BUILD/php-4.3.2/ext/standard/fsock.h:38,
 from
/usr/src/redhat/BUILD/php-4.3.2/ext/standard/php_standard.
h:44,
 from
/usr/src/redhat/BUILD/php-4.3.2/ext/zlib/zlib.c:48:
/usr/include/openssl/kssl.h:72:18: krb5.h: No such file or directory

here my configure line...
%configure \
--prefix=%{_prefix} \
--cache-file=../config.cache \
--with-config-file-path=%{_sysconfdir} \
--with-config-file-scan-dir=%{_sysconfdir}/php.d \
--enable-force-cgi-redirect \
--disable-debug \
--enable-pic \
--disable-rpath \
--enable-inline-optimization \
--with-bz2 \
--with-db4 \
--with-curl \
--with-dom=%{_prefix} \
--with-exec-dir=%{_bindir} \
--with-freetype-dir=%{_prefix} \
--with-png-dir=%{_prefix} \
--with-gd \
--enable-gd-native-ttf \
--with-ttf \
--with-gdbm \
--with-gettext \
--with-pdflib=shared \
--with-tiff-dir=%{_prefix} \
--with-ncurses \
--with-gmp \
--with-iconv \
--enable-xslt=shared \
--with-jpeg-dir=%{_prefix} \
--with-openssl \
--with-png \
--with-pspell \
--with-regex \
--with-xml \
--with-expat-dir=%{_prefix} \
--with-zlib \
--with-layout=GNU \
--enable-bcmath \
--enable-exif \
--enable-ftp \
--enable-magic-quotes \
--enable-safe-mode \
--enable-sockets \
--enable-sysvsem \
--enable-sysvshm \
--enable-discard-path \
--enable-track-vars \
--enable-trans-sid \
--enable-yp \
--enable-wddx \
--without-oci8 \
--with-pear=/usr/share/pear \
--with-imap=shared \
--with-imap-ssl \
--with-kerberos=/usr/kerberos \
--with-ldap=shared \
--with-mcal=shared,%{_prefix} \
--with-mcrypt=shared,%{_prefix} \
--with-mhash=shared,%{_prefix} \
--with-mssql=shared,%{_prefix} \
--with-mysql=shared,%{_prefix} \
%if %{oracle}
--with-oci8=shared \
%endif
--with-pgsql=shared \
--with-snmp=shared,%{_prefix} \
--with-snmp=shared \
--with-xslt-sablot=shared,%{_prefix} \
--with-sablot-js=shared,%{_prefix} \
--enable-ucd-snmp-hack \
--with-unixODBC=shared \
--enable-memory-limit \
--enable-bcmath \
--enable-shmop \
--enable-calendar \
--enable-dbx \
--enable-dio \
--enable-mcal \

 I hope it helps, Aliet




-- 
Edit this bug report at http://bugs.php.net/?id=23180&edit=1



#22955 [NEW]: Configure fails with error when used --with-snmp

2003-03-29 Thread alietss at yahoo dot com
From: alietss at yahoo dot com
Operating system: Linux RedHat 8.0
PHP version:  4CVS-2003-03-29 (stable)
PHP Bug Type: SNMP related
Bug description:  Configure fails with error when used --with-snmp

Hi all the PHP people:
I'm building rpms for Linux RedHat 8.0 httpd-2.0.40-11 of php-4.3.2 latest
sables sources, but when I use --with-snmp the configure script fails with
this error...

checking for SNMP support... yes
checking for net-snmp-config... /usr/bin/net-snmp-config
checking for snmp_parse_oid... no
checking for init_snmp in -lnetsnmp... no
configure: error: SNMP sanity check failed. Please check config.log for
more information.

I tested alone and the error is still there, my net-snmp  is 5.0.6-8 from
RedHat rpms  I built php-4.3.1 ok with this same configuration. Here my
configure line...

%configure \
--prefix=%{_prefix} \
--cache-file=../config.cache \
--with-config-file-path=%{_sysconfdir} \
--with-config-file-scan-dir=%{_sysconfdir}/php.d \
--enable-force-cgi-redirect \
--disable-debug \
--enable-pic \
--disable-rpath \
--enable-inline-optimization \
--with-bz2 \
--with-db4 \
--with-curl \
--with-dom=%{_prefix} \
--with-exec-dir=%{_bindir} \
--with-freetype-dir=%{_prefix} \
--with-png-dir=%{_prefix} \
--with-gd \
--enable-gd-native-ttf \
--with-ttf \
--with-gdbm \
--with-gettext \
--with-pdflib=shared \
--with-tiff-dir=%{_prefix} \
--with-ncurses \
--with-gmp \
--with-iconv \
--enable-xslt=shared \
--with-jpeg-dir=%{_prefix} \
--with-openssl \
--with-png \
--with-pspell \
--with-regex \
--with-xml \
--with-expat-dir=%{_prefix} \
--with-zlib \
--with-layout=GNU \
--enable-bcmath \
--enable-exif \
--enable-ftp \
--enable-magic-quotes \
--enable-safe-mode \
--enable-sockets \
--enable-sysvsem \
--enable-sysvshm \
--enable-discard-path \
--enable-track-vars \
--enable-trans-sid \
--enable-yp \
--enable-wddx \
--without-oci8 \
--with-pear=/usr/share/pear \
--with-imap=shared \
--with-imap-ssl \
--with-kerberos=/usr/kerberos \
--with-ldap=shared \
--with-mcal=shared,%{_prefix} \
--with-mcrypt=shared,%{_prefix} \
--with-mhash=shared,%{_prefix} \
--with-mssql=shared,%{_prefix} \
--with-mysql=shared,%{_prefix} \
%if %{oracle}
--with-oci8=shared \
%endif
--with-pgsql=shared \
--with-snmp=shared,%{_prefix} \
--with-snmp=shared \
--with-xslt-sablot=shared,%{_prefix} \
--with-sablot-js=shared,%{_prefix} \
--enable-ucd-snmp-hack \
--with-unixODBC=shared \
--enable-memory-limit \
--enable-bcmath \
--enable-shmop \
--enable-calendar \
--enable-dbx \
--enable-dio \
--enable-mcal \

Any Ideas
-- 
Edit bug report at http://bugs.php.net/?id=22955&edit=1
-- 
Try a CVS snapshot: http://bugs.php.net/fix.php?id=22955&r=trysnapshot
Fixed in CVS:   http://bugs.php.net/fix.php?id=22955&r=fixedcvs
Fixed in release:   http://bugs.php.net/fix.php?id=22955&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=22955&r=needtrace
Try newer version:  http://bugs.php.net/fix.php?id=22955&r=oldversion
Not developer issue:http://bugs.php.net/fix.php?id=22955&r=support
Expected behavior:  http://bugs.php.net/fix.php?id=22955&r=notwrong
Not enough info:http://bugs.php.net/fix.php?id=22955&r=notenoughinfo
Submitted twice:http://bugs.php.net/fix.php?id=22955&r=submittedtwice
register_globals:   http://bugs.php.net/fix.php?id=22955&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=22955&r=php3
Daylight Savings:   http://bugs.php.net/fix.php?id=22955&r=dst
IIS Stability:  http://bugs.php.net/fix.php?id=22955&r=isapi
Install GNU Sed:http://bugs.php.net/fix.php?id=22955&r=gnused



#22916 [NEW]: Make install fails due a apxs error

2003-03-26 Thread alietss at yahoo dot com
From: alietss at yahoo dot com
Operating system: Openna Linux RC2
PHP version:  4CVS-2003-03-26 (stable)
PHP Bug Type: Apache2 related
Bug description:  Make install fails due a apxs error

Hi boys:
I'm building rpms for openna Linux of php-4.3.2 current sources from
snaps.php.net everything was going ok but the install fails with this
erro...

Installing PHP SAPI module
/usr/lib/httpd/build/instdso.sh SH_LIBTOOL='/usr/lib/httpd/build/libtool'
libphp
4.la /var/tmp/php-4.3.2-root/usr/lib/httpd/modules
/usr/lib/httpd/build/libtool --mode=install cp libphp4.la
/var/tmp/php-4.3.2-roo
t/usr/lib/httpd/modules/
cp .libs/libphp4.so
/var/tmp/php-4.3.2-root/usr/lib/httpd/modules/libphp4.so
cp .libs/libphp4.lai
/var/tmp/php-4.3.2-root/usr/lib/httpd/modules/libphp4.la
libtool: install: warning: remember to run `libtool --finish
/usr/src/openna/BUI
LD/php-4.3.2/libs'
chmod 755 /var/tmp/php-4.3.2-root/usr/lib/httpd/modules/libphp4.so
apxs:Error: Config file /var/tmp/php-4.3.2-root/etc/httpd/conf/httpd.conf
not fo
und.
make: *** [install-sapi] Error 1

With php-4.3.1 the build was ok, this is my configure line...

%configure \
--prefix=%{_prefix} \
--with-layout=GNU \
--with-config-file-path=%{_sysconfdir}/httpd \
--with-apxs2=%{_sbindir}/apxs \
--with-exec-dir=%{_bindir} \
--with-openssl \
--with-zlib \
--with-bz2 \
--with-gd \
--with-ttf \
--with-png \
--with-jpeg-dir=%{_prefix} \
--with-png-dir=%{_prefix} \
--with-freetype-dir=%{_prefix} \
--with-expat-dir=%{_prefix} \
--with-gmp \
--with-xml \
--with-curl \
--with-mm \
--with-imap=shared \
--with-imap-ssl \
--with-pspell \
--with-gettext \
--with-mysql=shared,%{_prefix} \
--with-mysql-sock=/var/lib/mysql/mysql.sock \
--with-pgsql=shared \
--with-ldap=shared \
--with-pear \
--disable-static \
--disable-debug \
--disable-rpath \
--disable-posix \
--disable-tokenizer \
--enable-discard-path \
--enable-safe-mode \
--enable-magic-quotes \
--enable-bcmath \
--enable-dio \
--enable-gd-native-ttf \
--enable-sysvsem \
--enable-sysvshm \
--enable-sockets \
--enable-track-vars \
--enable-wddx \
--enable-inline-optimization \
--enable-memory-limit

 Any Ideas, Aliet
-- 
Edit bug report at http://bugs.php.net/?id=22916&edit=1
-- 
Try a CVS snapshot: http://bugs.php.net/fix.php?id=22916&r=trysnapshot
Fixed in CVS:   http://bugs.php.net/fix.php?id=22916&r=fixedcvs
Fixed in release:   http://bugs.php.net/fix.php?id=22916&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=22916&r=needtrace
Try newer version:  http://bugs.php.net/fix.php?id=22916&r=oldversion
Not developer issue:http://bugs.php.net/fix.php?id=22916&r=support
Expected behavior:  http://bugs.php.net/fix.php?id=22916&r=notwrong
Not enough info:http://bugs.php.net/fix.php?id=22916&r=notenoughinfo
Submitted twice:http://bugs.php.net/fix.php?id=22916&r=submittedtwice
register_globals:   http://bugs.php.net/fix.php?id=22916&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=22916&r=php3
Daylight Savings:   http://bugs.php.net/fix.php?id=22916&r=dst
IIS Stability:  http://bugs.php.net/fix.php?id=22916&r=isapi
Install GNU Sed:http://bugs.php.net/fix.php?id=22916&r=gnused



#22818 [NEW]: Build fails due a conflict with httpd-2.0.44 headers

2003-03-21 Thread alietss at yahoo dot com
From: alietss at yahoo dot com
Operating system: Linux RedHat 8.0
PHP version:  4CVS-2003-03-21 (stable)
PHP Bug Type: Apache2 related
Bug description:  Build fails due a conflict with httpd-2.0.44 headers

Hi boys.
I'm building rpms for php-4.3.2 on a RedHat8.0 box with httpd-2.0.44, the
build process is failing with this error... after the error is my
configure line

In file included from /usr/include/httpd/httpd.h:86,
 from /usr/include/httpd/util_filter.h:61,
 from
/usr/src/redhat/BUILD/php-4.3.2/sapi/apache2handler/sapi_apache2.c:40:
/usr/include/httpd/pcreposix.h:26:1: warning: "REG_ICASE" redefined
In file included from
/usr/src/redhat/BUILD/php-4.3.2/main/php_regex.h:39,
 from /usr/src/redhat/BUILD/php-4.3.2/main/php.h:74,
 from
/usr/src/redhat/BUILD/php-4.3.2/sapi/apache2handler/sapi_apache2.c:25:
/usr/include/regex.h:266:1: warning: this is the location of the previous
definition
In file included from /usr/include/httpd/httpd.h:86,
 from /usr/include/httpd/util_filter.h:61,
 from
/usr/src/redhat/BUILD/php-4.3.2/sapi/apache2handler/sapi_apache2.c:40:
/usr/include/httpd/pcreposix.h:27:1: warning: "REG_NEWLINE" redefined
In file included from
/usr/src/redhat/BUILD/php-4.3.2/main/php_regex.h:39,
 from /usr/src/redhat/BUILD/php-4.3.2/main/php.h:74,
 from
/usr/src/redhat/BUILD/php-4.3.2/sapi/apache2handler/sapi_apache2.c:25:
/usr/include/regex.h:271:1: warning: this is the location of the previous
definition
In file included from /usr/include/httpd/httpd.h:86,
 from /usr/include/httpd/util_filter.h:61,
 from
/usr/src/redhat/BUILD/php-4.3.2/sapi/apache2handler/sapi_apache2.c:40:
/usr/include/httpd/pcreposix.h:28:1: warning: "REG_NOTBOL" redefined
In file included from
/usr/src/redhat/BUILD/php-4.3.2/main/php_regex.h:39,
 from /usr/src/redhat/BUILD/php-4.3.2/main/php.h:74,
 from
/usr/src/redhat/BUILD/php-4.3.2/sapi/apache2handler/sapi_apache2.c:25:
/usr/include/regex.h:285:1: warning: this is the location of the previous
definition
In file included from /usr/include/httpd/httpd.h:86,
 from /usr/include/httpd/util_filter.h:61,
 from
/usr/src/redhat/BUILD/php-4.3.2/sapi/apache2handler/sapi_apache2.c:40:
/usr/include/httpd/pcreposix.h:29:1: warning: "REG_NOTEOL" redefined
In file included from
/usr/src/redhat/BUILD/php-4.3.2/main/php_regex.h:39,
 from /usr/src/redhat/BUILD/php-4.3.2/main/php.h:74,
 from
/usr/src/redhat/BUILD/php-4.3.2/sapi/apache2handler/sapi_apache2.c:25:
/usr/include/regex.h:288:1: warning: this is the location of the previous
definition
In file included from /usr/include/httpd/httpd.h:86,
 from /usr/include/httpd/util_filter.h:61,
 from
/usr/src/redhat/BUILD/php-4.3.2/sapi/apache2handler/sapi_apache2.c:40:
/usr/include/httpd/pcreposix.h:34:1: warning: "REG_EXTENDED" redefined
In file included from
/usr/src/redhat/BUILD/php-4.3.2/main/php_regex.h:39,
 from /usr/src/redhat/BUILD/php-4.3.2/main/php.h:74,
 from
/usr/src/redhat/BUILD/php-4.3.2/sapi/apache2handler/sapi_apache2.c:25:
/usr/include/regex.h:262:1: warning: this is the location of the previous
definition
In file included from /usr/include/httpd/httpd.h:86,
 from /usr/include/httpd/util_filter.h:61,
 from
/usr/src/redhat/BUILD/php-4.3.2/sapi/apache2handler/sapi_apache2.c:40:
/usr/include/httpd/pcreposix.h:35:1: warning: "REG_NOSUB" redefined
In file included from
/usr/src/redhat/BUILD/php-4.3.2/main/php_regex.h:39,
 from /usr/src/redhat/BUILD/php-4.3.2/main/php.h:74,
 from
/usr/src/redhat/BUILD/php-4.3.2/sapi/apache2handler/sapi_apache2.c:25:
/usr/include/regex.h:275:1: warning: this is the location of the previous
definition
In file included from /usr/include/httpd/httpd.h:86,
 from /usr/include/httpd/util_filter.h:61,
 from
/usr/src/redhat/BUILD/php-4.3.2/sapi/apache2handler/sapi_apache2.c:40:
/usr/include/httpd/pcreposix.h:41: conflicting types for `REG_BADBR'
/usr/include/regex.h:312: previous declaration of `REG_BADBR'
/usr/include/httpd/pcreposix.h:42: conflicting types for `REG_BADPAT'
/usr/include/regex.h:304: previous declaration of `REG_BADPAT'
/usr/include/httpd/pcreposix.h:43: conflicting types for `REG_BADRPT'
/usr/include/regex.h:315: previous declaration of `REG_BADRPT'
/usr/include/httpd/pcreposix.h:44: conflicting types for `REG_EBRACE'
/usr/include/regex.h:311: previous declaration of `REG_EBRACE'
/usr/include/httpd/pcreposix.h:45: conflicting types for `REG_EBRACK'
/usr/include/regex.h:309: previous declaration of `REG_EBRACK'
/usr/include/httpd/pcreposix.h:46: confl