Bug 1240241 - expat-devel does not ship nametab.h
Summary: expat-devel does not ship nametab.h
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: expat
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Joe Orton
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 1076796
TreeView+ depends on / blocked
 
Reported: 2015-07-06 10:22 UTC by Dmitrij S. Kryzhevich
Modified: 2015-07-07 03:38 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2015-07-06 12:36:50 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Dmitrij S. Kryzhevich 2015-07-06 10:22:06 UTC
Description of problem:

tDOM require expat. While building, it uses expat.h and nametab.h headers. Both were bundled along with full expat library, what is wrong. expat.h is shipped by expat-devel but nametab.h - not.

How reproducible:
Try to build tDOM without bundled expat library.

Actual results:
In file included from ./generic/xmlsimple.c:69:0:
./generic/dom.h:249:30: fatal error:nametab.h: No such file or directory
compilation terminated.

Expected results:
Building complete.

Comment 1 Joe Orton 2015-07-06 12:36:50 UTC
nametab.h is not part of the expat public API, it's an internal interface.

$ head -1 expat-2.1.0/lib/nametab.h 
static const unsigned namingBitmap[] = {
...
^ note, static.

Comment 2 Dmitrij S. Kryzhevich 2015-07-07 03:38:39 UTC
Yes, static.
S.o tDOM have to use bundled one.


Note You need to log in before you can comment on or make changes to this bug.