After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 60534 - libxslt 1.0.4 and cygwin
libxslt 1.0.4 and cygwin
Status: VERIFIED FIXED
Product: libxslt
Classification: Platform
Component: general
unspecified
Other Windows
: Normal normal
: ---
Assigned To: Daniel Veillard
Daniel Veillard
Depends on:
Blocks:
 
 
Reported: 2001-09-14 17:25 UTC by chrisp
Modified: 2009-08-15 18:40 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description chrisp 2001-09-14 17:25:26 UTC
libxslt 1.0.4 (as well as the 9/14/2001 snapshot build) would not make 
properly under cygwin; it failed with the following error in extra.c:

extra.c: In function `xsltFunctionLocalTime':
extra.c:244: invalid operands to binary -
make[2]: *** [extra.lo] Error 1

I was able to get it to build by changing the #if directive on line 152 of 
the file to also check for cygwin in addition to FreeBSD.  Someone might 
want to confirm this is a legitimate fix though... my goal is just to get 
Perl's XML bundle installed under cygwin :)

Here is the code as I have changed it, along with the related comment so 
that it can be merged more easily:

-- BEGIN CODE BLOCK --------------------------------------------
/*
 * Seems FreeBSD decided not to provide the timezone libc varaible
 * C.f bug report #59570 http://bugzilla.gnome.org/show_bug.cgi?id=59570
 */
#if !defined( __FreeBSD__) && !defined(__CYGWIN__)
-- END CODE BLOCK ----------------------------------------------

OS/library versions:
libxslt 1.0.4 (also 20010914 snapshot)
cygwin 1.3.2(0.39/3/2) running on Windows 2000 5.00.2195 Service Pack 2

Please let me know if you need any further information.

# Chris
Comment 1 Daniel Veillard 2001-09-14 17:44:44 UTC
Actually someone suggested a different change:

http://mail.gnome.org/archives/xslt/2001-September/msg00033.html

and there was a bit of debate on the best way to handle this

Daniel
Comment 2 Daniel Veillard 2001-09-15 15:41:19 UTC
Okay I fixed it in a radical way see the closure of bug #59570

http://bugzilla.gnome.org/show_bug.cgi?id=59570

  thanks this should be fixed in the next version,

Daniel
Comment 3 Daniel Veillard 2001-10-30 18:46:00 UTC
Should be fixed in the last 2 releases,

Daniel