From: David S. <ds...@vi...> - 2003-07-31 18:54:40
|
On Thu, 31 Jul 2003, Marc-Antoine Parent wrote: > First, my install was quite dated, so I upgraded to be up to speed with > you. > I configured with > ./configure --with-libxml-prefix=/sw --with-libxslt-prefix=/sw > --with-libiconv-dir=/sw > I even have problems compiling, as the with-libiconv-dir is not > honoured (/sw/include does not get in the include path) and hence the > iconv.h is not found in the compile stage. > The proper solution would be to change at the level of configure.in and > Makefile.in. > Here is a patch: Hmm, the patch failed for me in src/Makefile.in. I don't have time right now to figure out exactly why, but here is Makefile.in.rej: *************** *** 83,89 **** install_sh = @install_sh@ INCLUDES = -I. -I$(top_srcdir) -I$(top_srcdir)/src \ -I$(top_builddir) -I$(top_builddir)/src \ ! $(LIBXML_CFLAGS) $(LIBXSLT_CFLAGS) $(LIBICONV_CFLAGS) $(CFLAGS) bin_PROGRAMS = xml --- 81,87 ---- install_sh = @install_sh@ INCLUDES = -I. -I$(top_srcdir) -I$(top_srcdir)/src \ -I$(top_builddir) -I$(top_builddir)/src \ ! $(LIBXML_CFLAGS) $(LIBXSLT_CFLAGS) $(CFLAGS) bin_PROGRAMS = xml *************** *** 96,102 **** EXTRA_DIST = xml.c xml_edit.c xml_ls.c xml_escape.c xml_select.c xml_trans.c xml_validate.c xml_format.c xml_elem.c xml_C14N.c trans.c binsert.c stack.c binsert.h stack.h trans.h LDADDS = \ ! @LIBXSLT_LIBS@ @LIBXML_LIBS@ @LIBICONV_LIBS@ $(EXTRA_LIBS) subdir = src mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs --- 94,100 ---- EXTRA_DIST = xml.c xml_edit.c xml_ls.c xml_escape.c xml_select.c xml_trans.c xml_validate.c xml_format.c xml_elem.c xml_C14N.c trans.c binsert.c stack.c binsert.h stack.h trans.h LDADDS = \ ! @LIBXSLT_LIBS@ @LIBXML_LIBS@ $(EXTRA_LIBS) subdir = src mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs -- David Sewell, Managing Editor Electronic Imprint, The University of Virginia Press PO Box 400318, Charlottesville, VA 22904-4318 USA Courier: 310 Old Ivy Way, Suite 302, Charlottesville VA 22903 Email: ds...@vi... Tel: +1 434 924 9973 Web: http://www.ei.virginia.edu/ |