After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 319596 - Trouble building libxml2 using "--with-minimum" option.
Trouble building libxml2 using "--with-minimum" option.
Status: RESOLVED FIXED
Product: libxml2
Classification: Platform
Component: general
2.6.22
Other All
: Normal normal
: ---
Assigned To: Daniel Veillard
libxml QA maintainers
: 319889 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2005-10-24 12:36 UTC by Greg Morgan
Modified: 2005-10-27 09:14 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Greg Morgan 2005-10-24 12:36:14 UTC
Please describe the problem:
Unable to build libxml2 on Linux RH FC4 using the "--with-minimum" option.

Steps to reproduce:
1. Run configure as follows:  

   ./configure --with-minimum --with-threads --with-xpath --with-sax1 
       --with-tree --with-output --prefix=/opt/libxml2-2.6.22

2. Then simply run make.
 


Actual results:
Builds up until it gets to compiling 'testapi.c' and then errors with:

if gcc -DHAVE_CONFIG_H -I. -I. -I. -I./include -I./include  -D_REENTRANT      -
g -O2 -pedantic -W -Wformat -Wunused -Wimplicit -Wreturn-type -Wswitch -
Wcomment -Wtrigraphs -Wformat -Wchar-subscripts -Wuninitialized -Wparentheses -
Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Waggregate-return -
Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wredundant-
decls -MT testapi.o -MD -MP -MF ".deps/testapi.Tpo" -c -o testapi.o testapi.c; \
then mv -f ".deps/testapi.Tpo" ".deps/testapi.Po"; else rm -
f ".deps/testapi.Tpo"; exit 1; fi
testapi.c: In function 'gen_xmlValidCtxtPtr':
testapi.c:455: warning: unused parameter 'no'
testapi.c: In function 'des_xmlValidCtxtPtr':
testapi.c:461: warning: unused parameter 'val'
testapi.c: At top level:
testapi.c:17762: error: syntax error before 'gen_xmlSchematronPtr'
testapi.c:17762: warning: return type defaults to 'int'
testapi.c:17762: warning: no previous prototype for 'gen_xmlSchematronPtr'
testapi.c: In function 'gen_xmlSchematronPtr':

Expected results:
Simply build the library to completion with out any errors.

Does this happen every time?
yes

Other information:
William Brack has fixed the problem.  I'm simply filing the bug report for 
completeness and to let others know in case they run into the same issue.
Comment 1 William M. Brack 2005-10-24 15:40:23 UTC
Fixed in CVS (gentest.py and testapi.c).  Thanks for the report.
Comment 2 Daniel Veillard 2005-10-27 09:14:10 UTC
*** Bug 319889 has been marked as a duplicate of this bug. ***