bugGNU gettext - Bugs: bug #22831, gettext 0.17 fails to properly use...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #22831: gettext 0.17 fails to properly use system copy of libxml2

Submitter:  Steve Trotman <pessimism>
Submitted:  Fri 04 Apr 2008 02:29:56 PM UTC
   
 
Category:  Build Severity:  2 - Minor
Item Group:  None Status:  Fix Released
Privacy:  Public Assigned to:  haible
Open/Closed:  Closed

Sat 16 Aug 2008 01:53:40 PM UTC, comment #1: 

It will be fixed in gettext-0.18. Thank you for the report.

You can force the recognition by adding -I/usr/include/libxml2
to the CPPFLAGS before running configure.

Bruno Haible <haible>
Group administrator
Fri 04 Apr 2008 02:29:56 PM UTC, original submission:  

Hi,
I'm trying to build gettext 0.17 on Mac OS 10.4.11 with xcode 2.5.  When I run configure in the gettext-tools directory it says it fails to find libxml2:
checking libxml2/libxml/xmlversion.h usability... no
checking libxml2/libxml/xmlversion.h presence... no
checking for libxml2/libxml/xmlversion.h... no

upon inspection of the config.log file I found this:

configure:30803: checking libxml2/libxml/xmlversion.h usability
configure:30820: gcc -std=gnu99 -c -g -O2  conftest.c >&5
In file included from conftest.c:133:
/usr/include/libxml2/libxml/xmlversion.h:13:31: error: libxml/xmlexports.h: No such file or directory
In file included from conftest.c:133:
/usr/include/libxml2/libxml/xmlversion.h:24: error: syntax error before 'void'
configure:30826: $? = 1
configure: failed program was:
| /* confdefs.h.  */

a look at the directory:
ls -la /usr/include/libxml2/libxml/
total 920
drwxr-xr-x   47 root  wheel   1598 Sep 20  2007 .
drwxr-xr-x    3 root  wheel    102 Sep 20  2007 ..
-rw-r--r--    1 root  wheel   3277 Apr 20  2007 DOCBparser.h
-rw-r--r--    1 root  wheel   9034 Apr 20  2007 HTMLparser.h
-rw-r--r--    1 root  wheel   3558 Apr 20  2007 HTMLtree.h
-rw-r--r--    1 root  wheel   4347 Apr 20  2007 SAX.h
-rw-r--r--    1 root  wheel   4697 Apr 20  2007 SAX2.h
-rw-r--r--    1 root  wheel   2583 Apr 20  2007 c14n.h
-rw-r--r--    1 root  wheel   4958 Apr 20  2007 catalog.h
-rw-r--r--    1 root  wheel   5099 Apr 20  2007 chvalid.h
-rw-r--r--    1 root  wheel   5119 Apr 20  2007 debugXML.h
-rw-r--r--    1 root  wheel   1326 Apr 20  2007 dict.h
-rw-r--r--    1 root  wheel   7867 Apr 20  2007 encoding.h
-rw-r--r--    1 root  wheel   4100 Apr 20  2007 entities.h
-rw-r--r--    1 root  wheel  13458 Apr 20  2007 globals.h
-rw-r--r--    1 root  wheel   5736 Apr 20  2007 hash.h
-rw-r--r--    1 root  wheel   3422 Apr 20  2007 list.h
-rw-r--r--    1 root  wheel   3347 Apr 20  2007 nanoftp.h
-rw-r--r--    1 root  wheel   2018 Apr 20  2007 nanohttp.h
-rw-r--r--    1 root  wheel  36641 Apr 20  2007 parser.h
-rw-r--r--    1 root  wheel  16136 Apr 20  2007 parserInternals.h
-rw-r--r--    1 root  wheel   1103 Apr 20  2007 pattern.h
-rw-r--r--    1 root  wheel   5264 Apr 20  2007 relaxng.h
-rw-r--r--    1 root  wheel  21553 Apr 20  2007 schemasInternals.h
-rw-r--r--    1 root  wheel   1705 Apr 20  2007 threads.h
-rw-r--r--    1 root  wheel  30531 Apr 20  2007 tree.h
-rw-r--r--    1 root  wheel   2274 Apr 20  2007 uri.h
-rw-r--r--    1 root  wheel  12857 Apr 20  2007 valid.h
-rw-r--r--    1 root  wheel   2675 Apr 20  2007 xinclude.h
-rw-r--r--    1 root  wheel   4987 Apr 20  2007 xlink.h
-rw-r--r--    1 root  wheel  10160 Apr 20  2007 xmlIO.h
-rw-r--r--    1 root  wheel   3682 Apr 20  2007 xmlautomata.h
-rw-r--r--    1 root  wheel  34774 Apr 20  2007 xmlerror.h
-rw-r--r--    1 root  wheel   3311 Apr 20  2007 xmlexports.h
-rw-r--r--    1 root  wheel   5858 Apr 20  2007 xmlmemory.h
-rw-r--r--    1 root  wheel  11473 Apr 20  2007 xmlreader.h
-rw-r--r--    1 root  wheel   2191 Apr 20  2007 xmlregexp.h
-rw-r--r--    1 root  wheel   1685 Apr 20  2007 xmlsave.h
-rw-r--r--    1 root  wheel   4796 Apr 20  2007 xmlschemas.h
-rw-r--r--    1 root  wheel   2770 Apr 20  2007 xmlschemastypes.h
-rw-r--r--    1 root  wheel   5467 Apr 20  2007 xmlstring.h
-rw-r--r--    1 root  wheel  10002 Apr 20  2007 xmlunicode.h
-rw-r--r--    1 root  wheel   5793 Apr 20  2007 xmlversion.h
-rw-r--r--    1 root  wheel  20326 Apr 20  2007 xmlwriter.h
-rw-r--r--    1 root  wheel  15067 Apr 20  2007 xpath.h
-rw-r--r--    1 root  wheel  19448 Apr 20  2007 xpathInternals.h
-rw-r--r--    1 root  wheel   3411 Apr 20  2007 xpointer.h

As you can see, xmlexports.h is indeed present.  This is the unmodified apple shipped copy of libxml2.

I found a bug listing in Gentoo linux that appears to be the same issue:
https://bugs.gentoo.org/show_bug.cgi?id=207018
-Steve


Steve Trotman <pessimism>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by haible (Updated the item)
  • -email is unavailable- added by pessimism (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 6 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2023-01-04 haible StatusFixed Fix Released
    2016-11-26 haible CategoryNone Build
    2008-08-16 haible StatusNone Fixed
        Open/ClosedOpen Closed
    2008-08-16 haible Severity3 - Normal 2 - Minor
        Assigned toNone haible

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code