* bug#7603: 24.0.50; compilation of NS variant fails with too old libxml2
@ 2010-12-10 0:49 Peter Dyballa
2010-12-10 10:03 ` Peter Dyballa
0 siblings, 1 reply; 3+ messages in thread
From: Peter Dyballa @ 2010-12-10 0:49 UTC (permalink / raw)
To: 7603
Hello!
Compilation failed with:
xml.c: In function ‘parse_region’:
xml.c:107: error: ‘HTML_PARSE_RECOVER’ undeclared (first use in this
function)
xml.c:107: error: (Each undeclared identifier is reported only once
xml.c:107: error: for each function it appears in.)
LIBXML_DOTTED_VERSION "2.6.16" does not have this enumeration from
"2.6.32":
# 178 "/sw/include/libxml2/libxml/HTMLparser.h"
typedef enum {
HTML_PARSE_RECOVER = 1<<0,
HTML_PARSE_NOERROR = 1<<5,
HTML_PARSE_NOWARNING= 1<<6,
HTML_PARSE_PEDANTIC = 1<<7,
HTML_PARSE_NOBLANKS = 1<<8,
HTML_PARSE_NONET = 1<<11,
HTML_PARSE_COMPACT = 1<<16
} htmlParserOption;
Maybe it's worth to make configure check the version of libxml2...
This old software is part of Mac OS X 10.5.8.
--
Greetings
Pete
Theory and practice are the same, in theory, but, in practice, they
are different.
^ permalink raw reply [flat|nested] 3+ messages in thread
* bug#7603: 24.0.50; compilation of NS variant fails with too old libxml2
2010-12-10 0:49 bug#7603: 24.0.50; compilation of NS variant fails with too old libxml2 Peter Dyballa
@ 2010-12-10 10:03 ` Peter Dyballa
2011-01-15 3:21 ` Chong Yidong
0 siblings, 1 reply; 3+ messages in thread
From: Peter Dyballa @ 2010-12-10 10:03 UTC (permalink / raw)
To: 7603
Hello!
Looking into the configure and config.log files and experimenting with
pkg-config it seems that configure checks for the wrong version
number. Instead of 2.2.0 (maybe a years old version number) a larger
value/more recent version number should be checked, obviously greater
than 2.6.16 to satisfy the dependency from
typedef enum {
HTML_PARSE_RECOVER = 1<<0,
HTML_PARSE_NOERROR = 1<<5,
HTML_PARSE_NOWARNING= 1<<6,
HTML_PARSE_PEDANTIC = 1<<7,
HTML_PARSE_NOBLANKS = 1<<8,
HTML_PARSE_NONET = 1<<11,
HTML_PARSE_COMPACT = 1<<16
} htmlParserOption;
in .../include/libxml2/libxml/HTMLparser.h.
--
Greetings
Pete
To be is to do.
– I. Kant
To do is to be.
– A. Sartre
Yabba-Dabba-Doo!
– F. Flintstone
^ permalink raw reply [flat|nested] 3+ messages in thread
* bug#7603: 24.0.50; compilation of NS variant fails with too old libxml2
2010-12-10 10:03 ` Peter Dyballa
@ 2011-01-15 3:21 ` Chong Yidong
0 siblings, 0 replies; 3+ messages in thread
From: Chong Yidong @ 2011-01-15 3:21 UTC (permalink / raw)
To: Peter Dyballa; +Cc: 7603
Peter Dyballa <Peter_Dyballa@Freenet.DE> writes:
> Hello!
>
> Looking into the configure and config.log files and experimenting with
> pkg-config it seems that configure checks for the wrong version
> number. Instead of 2.2.0 (maybe a years old version number) a larger
> value/more recent version number should be checked, obviously greater
> than 2.6.16 to satisfy the dependency from
>
> typedef enum {
> HTML_PARSE_RECOVER = 1<<0,
> HTML_PARSE_NOERROR = 1<<5,
> HTML_PARSE_NOWARNING= 1<<6,
> HTML_PARSE_PEDANTIC = 1<<7,
> HTML_PARSE_NOBLANKS = 1<<8,
> HTML_PARSE_NONET = 1<<11,
> HTML_PARSE_COMPACT = 1<<16
> } htmlParserOption;
>
> in .../include/libxml2/libxml/HTMLparser.h.
Looks reasonable. Committed; thanks.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2011-01-15 3:21 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-12-10 0:49 bug#7603: 24.0.50; compilation of NS variant fails with too old libxml2 Peter Dyballa
2010-12-10 10:03 ` Peter Dyballa
2011-01-15 3:21 ` Chong Yidong
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).