
Signature
Antoine Quint <aq@fuchsia-design.com>
W3C SVG Working Group Invited Expert
SVG Consulting, Teaching and Outsourcing
Fuchsia Design <http://www.fuchsia-design.com/>
Yes, this seems to be another case of a Perl define (I_POLL) colliding
with a Mac OS X one (in OpenTransportProtocol.h). Panther now has
poll() (an emulation actually), so that is why I_POLL is now defined.
A quick workaround is to apply the following patch:
------------- cut ------------------- cut ---------------
--- common/util.c.orig Wed Apr 9 01:30:55 2003
+++ common/util.c Thu Oct 23 10:26:00 2003
@@ -6,6 +6,7 @@
# define _INC_UTIL_C_
#include <sys/param.h>
+#undef I_POLL
#include <Files.h>
#ifdef _INC_PERL_XSUB_H
--- Copy/filecopy.c.orig Wed Apr 9 01:30:55 2003
+++ Copy/filecopy.c Thu Oct 23 10:26:18 2003
@@ -2,6 +2,7 @@
* $Id: filecopy.c,v 0.65 2003/04/09 08:25:26 dankogai Exp $
*/
+#undef I_POLL
#include <Files.h>
#include "common/util.c"
--- Spec/Spec.xs.orig Sat Jan 12 07:25:01 2002
+++ Spec/Spec.xs Thu Oct 23 10:27:10 2003
@@ -9,6 +9,7 @@
return -1;
}
+#undef I_POLL
#include <Finder.h>
#include "common/util.c"
------------- cut ------------------- cut ---------------
This allows it to build for me, and the tests succeed. One other
difference, which might not really make a difference, is that I used
gcc 3.3, not 2.95 as you do.
------------------------------------------------------------------------
--
Edward Moy
Apple
(This message is from me as a reader of this list, and not a statement
from Apple.)
> Hi there,
>
[quoted text clipped - 62 lines]
>
> Antoine
Antoine Quint - 23 Oct 2003 23:06 GMT
Hi,
> Yes, this seems to be another case of a Perl define (I_POLL) colliding
> with a Mac OS X one (in OpenTransportProtocol.h). Panther now has
> poll() (an emulation actually), so that is why I_POLL is now defined.
>
> A quick workaround is to apply the following patch:
[snip]
> This allows it to build for me, and the tests succeed. One other
> difference, which might not really make a difference, is that I used
> gcc 3.3, not 2.95 as you do.
I only used gcc 2.95 because Dan was suggesting to build the
distribution with it, back in the 7B21 days. Thanks a lot for the help,
installation succeeded and I'm a happy man. Rock on.
Antoine

Signature
Antoine Quint <aq@fuchsia-design.com>
W3C SVG Working Group Invited Expert
SVG Consulting, Teaching and Outsourcing
Fuchsia Design <http://www.fuchsia-design.com/>