php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #12302 timezone,struct statfs,linking
Submitted: 2001-07-21 21:02 UTC Modified: 2002-06-29 23:32 UTC
Votes:1
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:0 (0.0%)
Same OS:1 (100.0%)
From: marcus dot boerger at post dot rwth-aachen dot de Assigned:
Status: Not a bug Package: Compile Failure
PHP Version: 4.0.6 OS: cygwin
Private report: No CVE-ID: None
 [2001-07-21 21:02 UTC] marcus dot boerger at post dot rwth-aachen dot de
I am trying to install php with gd,postgres,... to cygwin.
+timezone must be explicitly converted to long by typecast in openssl/openssl.c 
in line 782 replace it with
	gmadjust = -(thetime.tm_isdst ? (long)timezone - 3600 : (long)timezone + 3600);

same in standard/datetime.c (multiple occurences of same problem)

+ struct statfs not defined
included file sys/vfs.h in configure mechanism...

include following block at line 49 in statndard/filestat.h
#if defined(HAVE_SYS_VFS_H)
# include <sys/vfs.h>
#endif
--block end

+ leaving problem of creating the .so library
what ever i do there is a problem :-(
when working with original scripts the .a/.lai files are generated but make install fails

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-06-29 23:32 UTC] sniper@php.net
Thank you for taking the time to report a problem with PHP.
Unfortunately your version of PHP is too old -- the problem
might already be fixed. Please download a new PHP
version from http://www.php.net/downloads.php

If you are able to reproduce the bug with one of the latest
versions of PHP, please change the PHP version on this bug report
to the version you tested and change the status back to "Open".
Again, thank you for your continued support of PHP.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed May 01 16:01:31 2024 UTC