ID:               32425
 Updated by:       [EMAIL PROTECTED]
 Reported By:      dsacchet at kikamedical dot com
-Status:           Open
+Status:           Feedback
 Bug Type:         Date/time related
 Operating System: Linux 2.4.27
 PHP Version:      4.3.10
 New Comment:

This is anyhow just problem with your system -> bogus.



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

[2005-03-24 18:14:10] dsacchet at kikamedical dot com

It will be difficult to upgrade the gcc version because this
version is not stable onto gentoo. Do you want me to make
some test with C program. I have good notion of C programming
so if you tell me make a program like that, compile and
execute, I can do that (do you use the C mktime into the
php source ?)

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

[2005-03-24 18:04:53] [EMAIL PROTECTED]

Can you try upgrading your GCC to 3.4.3 ?


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

[2005-03-24 10:40:06] dsacchet at kikamedical dot com

# ./configure --disable-all --disable-cgi && make
creating cache ./config.cache
checking host system type... i686-pc-linux-gnu

...

Build complete.
(It is safe to ignore warnings about tempnam and tmpnam).

venus php4-STABLE-200503240730 # sapi/cli/php -r \
> 'echo date("M-d-Y H:i:s", mktime(8, 0, 60, 12, 31, 1997))."\n\n";'
Dec-31-1997 08:00:59

venus php4-STABLE-200503240730 # 

So ... same result ... I become crazy ! :)

Do you want some output from the ./configure ?

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

[2005-03-23 23:42:18] [EMAIL PROTECTED]

Please try using this CVS snapshot:

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

And do exactly this:

# ./configure --disable-all --disable-cgi && make
# sapi/cli/php -r \
'echo date("M-d-Y H:i:s", mktime(8, 0, 60, 12, 31, 1997));'

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

[2005-03-23 14:09:56] dsacchet at kikamedical dot com

Here the complete description of my system :

Gentoo Linux stable branch updated to latest version
of portage.

uname -a :

Linux venus.kika.loc 2.4.27 #2 SMP Thu Nov 25 15:22:28 CET 2004 i686
Intel(R) Pentium(R) 4 CPU 2.80GHz GenuineIntel GNU/Linux

Glibc version :

sys-libs/glibc-2.3.4.20041102-r1

GCC :

i686-pc-linux-gnu-3.3.5

If you know the gentoo system, here is my USE flags :

USE="apache2 expat gd java mng mpeg4 native oci8 pcre pear-db php \
     plotutils regexp speedo sse type1 X509 -oss -apm -arts -avi -cups
\
     -encode -foomaticdb -fortran -gnome -gpm -gtk -gtk2 -imlib -kde
-libg \
     -mad -mikmod -motif -oggvorbis -opengl -qt -quicktime -sdl -X
-xmms \
     -xv"

And finally, I can paste you the configure line from the
phpinfo :

'./configure' '--prefix=/usr' '--host=i686-pc-linux-gnu'
'--mandir=/usr/share/man' '--infodir=/usr/share/info'
'--datadir=/usr/share' '--sysconfdir=/etc' '--localstatedir=/var/lib'
'--with-apxs2=/usr/sbin/apxs2' '--with-ndbm=/usr' '--with-db4=/usr'
'--with-mcrypt=/usr' '--with-mhash=/usr' '--without-interbase'
'--without-ming' '--without-swf' '--without-sybase' '--with-gdbm=/usr'
'--without-fdftk' '--with-java=/opt/sun-jdk-1.4.2.07' '--without-mcal'
'--with-oci8=/u01/app/oracle/product/9.2.0.4.0' '--with-unixODBC=/usr'
'--without-pgsql' '--with-snmp=/usr' '--enable-ucd-snmp-hack'
'--without-gmp' '--without-mssql' '--with-pdflib=/usr' '--with-gd'
'--enable-gd-native-ttf' '--with-png=/usr' '--with-png-dir=/usr'
'--with-jpeg=/usr' '--with-jpeg-dir=/usr' '--enable-exif'
'--with-tiff=/usr' '--with-tiff-dir=/usr' '--without-mysql'
'--with-freetype-dir=/usr' '--with-ttf=/usr' '--with-t1lib=/usr'
'--with-gettext' '--without-qtdom' '--with-pspell=/usr'
'--with-openssl=/usr' '--without-imap' '--with-ldap=/usr'
'--with-dom=/usr' '--with-dom-xslt=/usr' '--with-dom-exslt=/usr'
'--without-kerberos' '--with-pam' '--disable-memory-limit'
'--enable-ipv6' '--without-yaz' '--disable-debug' '--with-curlwrappers'
'--with-curl=/usr' '--enable-dbx' '--with-zlib=/usr'
'--with-zlib-dir=/usr' '--with-sablot=/usr' '--enable-xslt'
'--with-xslt-sablot' '--with-xmlrpc' '--enable-wddx' '--with-xml'
'--enable-mbstring=all' '--enable-mbregex' '--with-bz2=/usr'
'--with-crack=/usr' '--with-cdb' '--enable-pcntl' '--enable-bcmath'
'--enable-calendar' '--enable-dbase' '--enable-filepro' '--enable-ftp'
'--with-mime-magic=/usr/share/misc/file/magic.mime' '--enable-sockets'
'--enable-sysvsem' '--enable-sysvshm' '--enable-sysvmsg' '--with-iconv'
'--enable-shmop' '--enable-dio' '--enable-yp' '--without-ncurses'
'--without-readline' '--enable-inline-optimization'
'--enable-track-vars' '--enable-trans-sid' '--enable-versioning'
'--with-config-file-path=/etc/php/apache2-php4' '--without-pear'
'--libdir=/usr/lib/php'

Thank you very much for your help. I really appreciate that.

Best regards

Denis Sacchet

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

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
    http://bugs.php.net/32425

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

Reply via email to