#2216 closed defect (fixed)
p5-xml-parser depends on DP's version of expat
Reported by: | pguyot (Paul Guyot) | Owned by: | rshaw@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.0 |
Keywords: | Cc: | ||
Port: |
Description
I'm not sure because this is not my own box and it didn't came in a completely clean environment. However, it seems that p5-xml-parser will be satisfied with MacOS X 10.3.5's version of expat and it won't build with it.
Error: Target com.apple.build returned: shell command "cd "/Volumes/Medias/src/opendarwin/darwinports/dports/perl/p5-xml-parser/work/XML-Parser-2.34" && make all" returned error 2 Command output: Expat.c: In function `XS_XMLParserExpat_UnsetAllHandlers': Expat.c:2568: error: `XML_Parser' undeclared (first use in this function) Expat.c:2568: error: parse error before "parser" Expat.xs:2144: error: `cbv' undeclared (first use in this function) Expat.xs:2144: error: parse error before ')' token Expat.xs:2149: error: `XML_StartNamespaceDeclHandler' undeclared (first use in this function) Expat.xs:2149: error: parse error before numeric constant Expat.xs:2153: error: `parser' undeclared (first use in this function) Expat.xs:2154: error: `XML_StartElementHandler' undeclared (first use in this function) Expat.xs:2154: error: parse error before numeric constant Expat.xs:2158: error: `XML_UnknownEncodingHandler' undeclared (first use in this function) Expat.xs:2158: error: parse error before numeric constant Expat.c: In function `XS_XMLParserExpat_ElementIndex': Expat.c:2600: error: `XML_Parser' undeclared (first use in this function) Expat.c:2600: error: parse error before "parser" Expat.xs:2167: error: `cbv' undeclared (first use in this function) Expat.xs:2167: error: parse error before ')' token Expat.c: In function `XS_XMLParserExpat_SkipUntil': Expat.c:2621: error: `XML_Parser' undeclared (first use in this function) Expat.c:2621: error: parse error before "parser" Expat.xs:2179: error: `cbv' undeclared (first use in this function) Expat.xs:2179: error: parse error before ')' token Expat.c: In function `XS_XMLParserExpat_Do_External_Parse': Expat.c:2643: error: `XML_Parser' undeclared (first use in this function) Expat.c:2643: error: parse error before "parser" Expat.xs:2194: error: `cbv' undeclared (first use in this function) Expat.xs:2194: error: parse error before ')' token Expat.xs:2197: error: `parser' undeclared (first use in this function) make[1]: * [Expat.o] Error 1 make: * [subdirs] Error 2
I think this is a common problem of MacOS X's version of expat and I fixed it by manually installing expat from DP.
Change History (2)
comment:1 Changed 20 years ago by rshaw@…
Status: | new → assigned |
---|
comment:2 Changed 20 years ago by rshaw@…
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Problem fixed. It should now compile with either the OS standard one, or the DarwinPorts version (if installed).
-rshaw
I'm fixing this now. Thanks for catching it! I already had expat installed when I first built this port. -rshaw