octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: mex and gdal


From: JohnD
Subject: RE: mex and gdal
Date: Thu, 18 Feb 2016 13:02:47 -0500


> -----Original Message-----
> From: JohnD [mailto:address@hidden
> Sent: Thursday, February 18, 2016 12:34 PM
> To: address@hidden; 'Doug Stewart'
> Subject: RE: mex and gdal
> 
> >
> > Message: 2
> > Date: Thu, 18 Feb 2016 08:09:10 -0500
> > From: Doug Stewart <address@hidden>
> > To: octave-maintainers <address@hidden>
> > Subject: mex and gdal
> > Message-ID:
> >     <CAAohRsaRCYAcpXtQGBL0qNH_-
> > address@hidden>
> > Content-Type: text/plain; charset="utf-8"
> >
> > I am trying to get mxe compiling working to make a windows nsis
> > installer
> >
> > I am getting this error
> > make[2]: Leaving directory
> > '/home/doug/octavec/mxe-octave/tmp-gdal/gdal-1.11.4'
> > /home/doug/octavec/mxe-octave/Makefile:753: recipe for target
> > 'build-only- gdal' failed
> > make[1]: *** [build-only-gdal] Error 2
> > make[1]: Leaving directory '/home/doug/octavec/mxe-octave'
> >
> >
> >
> > In the log file i see:
> >
> > libtool: compile:  i686-w64-mingw32-g++ -g -O2 -msse -
> > DHAVE_SSE_AT_COMPILE_TIME -Wall -DOGR_ENABLED -
> > I/home/doug/octavec/mxe-octave/tmp-gdal/gdal-1.11.4/port
> > -I/home/doug/octavec/mxe-octave/usr/i686-w64-mingw32
> > -I/home/doug/octavec/mxe-octave/usr/i686-w64-mingw32/include
> > -I/home/doug/octavec/mxe-octave/usr/i686-w64-mingw32
> > -I/home/doug/octavec/mxe-octave/usr/i686-w64-mingw32/include
> > -I/home/doug/octavec/mxe-octave/usr/i686-w64-mingw32
> > -I/home/doug/octavec/mxe-octave/usr/i686-w64-mingw32/include
> > -I/home/doug/octavec/mxe-octave/usr/i686-w64-mingw32/include
> > -I/home/doug/octavec/mxe-octave/usr/i686-w64-mingw32/include
> > -I/home/doug/octavec/mxe-octave/usr/i686-w64-mingw32
> > -I/home/doug/octavec/mxe-octave/usr/i686-w64-mingw32/include
> > -I/home/doug/octavec/mxe-octave/usr/i686-w64-mingw32
> > -I/home/doug/octavec/mxe-octave/usr/i686-w64-mingw32/include
> > -I/home/doug/octavec/mxe-octave/usr/i686-w64-mingw32
> > -I/home/doug/octavec/mxe-octave/usr/i686-w64-mingw32/include
> > -I/home/doug/octavec/mxe-octave/usr/i686-w64-mingw32/include -
> > DHAVE_CURL -DHAVE_LIBZ -I/usr/include/libxml2 -DHAVE_LIBXML2 -c
> > cpl_xml_validate.cpp  -DDLL_EXPORT -DPIC -o .libs/cpl_xml_validate.o
> > In
> file
> > included from /usr/include/libxml2/libxml/parser.h:810:0,
> >                  from /usr/include/libxml2/libxml/globals.h:18,
> >                  from /usr/include/libxml2/libxml/threads.h:35,
> >                  from /usr/include/libxml2/libxml/xmlmemory.h:218,
> >                  from /usr/include/libxml2/libxml/tree.h:1307,
> >                  from /usr/include/libxml2/libxml/xmlschemas.h:19,
> >                  from cpl_xml_validate.cpp:57:
> > /usr/include/libxml2/libxml/encoding.h:31:26: fatal error:
unicode/ucnv.h:
> > No such file or directory
> >  #include <unicode/ucnv.h>
> >                           ^
> > compilation terminated.
> > ../GDALmake.opt:568: recipe for target 'cpl_xml_validate.lo' failed
> > make[3]: *** [cpl_xml_validate.lo] Error 1
> >
> >
> > I am using     make   -k    just to see what else fails.
> >
> >
> > Where does   unicode/ucnv.h:
> > come from?
> >
> > Doug
> >
> 
> It looks like it is pulling include files from /usr/include which it
shouldn't be
> doing.
> 
> Do you have xml2-config somewhere in the path?
> On my system, looking in log/gdal I have:
> Checking for xml2-config... no
> 
> You could perhaps try adding to gdal.mk the option --without-xml2  and see
if
> that helps
> 
> 


Better yet perhaps:

-with-xml2=$(HOST_BINDIR)/xml2-config






reply via email to

[Prev in Thread] Current Thread [Next in Thread]