Closed GoogleCodeExporter closed 9 years ago
0. the error about expat_external.h, is reported because you dont have
libexpat-dev package on the box.
Pls get that first using "apt-get install libexpat-dev" or using synaptics.
(apologies if the docs dont mention that this package is required )
1. Pls retain your src/Document.cpp fix for include of <assert.h>
2. in xmlplus source root, do make clean
3. in src/Makefile.am do following fixes:
2.1) add -S option CXXFLAGS/CFLAGS , should look like this:
AM_CXXFLAGS= -S -g -O0 -I$(top_srcdir)/include
AM_CFLAGS= -S -g -O0 -I$(top_srcdir)/include -I$(top_srcdir)/src/DOM/
2.2) remove fvisibility flag towards the end of the file, rather add -lexpat like so:
before: libxsdall_la_LDFLAGS = -fvisibility=default -lpthread
after: libxsdall_la_LDFLAGS = -lexpat -lpthread
(some libtool versions, abort on seeing this option -fvisibility=default, and we dont need this option )
4. then run ./configure(or autogen.sh) in xmlplus source root again, and then
"make && make install"
Note: A formal fix will be rolled out soon.
Original comment by xmlplus....@gmail.com
on 27 Nov 2010 at 7:54
Fixed in xmlplus-0.1 branch as well as trunk.
Following are the ways to use this fix:
1. download xmlplus-0.1.1.src.tar.gz from sourceforge, which has xmlplus-0.1
plus fixes:
https://sourceforge.net/projects/xmlplus/files/xmlplus/0.1.1/xmlplus-0.1.1.src.tar.gz/download
2. apply the xmlplus-0.1.patch.tgz attached with this bug.
To apply the patch, place this xmlplus-0.1.patch.tgz archive inside your xmlplus-0.1 source root, and then run:
tar -zxvf xmlplus-0.1.patch.tgz
This will replace the files accordingly.
After applying patch, one must run "make clean" followed by "configure, make, make install" again.
Original comment by xmlplus....@gmail.com
on 29 Nov 2010 at 7:50
Attachments:
Original issue reported on code.google.com by
sutambe
on 25 Nov 2010 at 10:15