PiRSquared17 / libkml

Automatically exported from code.google.com/p/libkml
Other
0 stars 0 forks source link

Building issues in RHEL 6 #191

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. ./configure 
--prefix=/home/vizexperts/LinuxBuilds/OSS/LibKML/libkml-1.2.0-Binaries
2. make

What is the expected output? What do you see instead?
The expected output is that the source code has to be built successfully. 
Instead I get the following errors. I have Expat library installed and expat.h 
available at /usr/local/include.  
In file included from ../../../src/kml/base/expat_handler_ns.h:32,
                 from expat_handler_ns.cc:27:
../../../src/kml/base/expat_handler.h:50: error: ‘XML_Parser’ has not been 
declared
../../../src/kml/base/expat_handler.h:53: error: ‘XML_Parser’ does not name 
a type
../../../src/kml/base/expat_handler.h:58: error: ‘XML_Parser’ does not name 
a type
../../../src/kml/base/expat_handler.h: In member function ‘void 
kmlbase::ExpatHandler::set_parser(int)’:
../../../src/kml/base/expat_handler.h:51: error: ‘parser_’ was not declared 
in this scope
In file included from expat_handler_ns.cc:30:
../../../src/kml/base/expat_parser.h: At global scope:
../../../src/kml/base/expat_parser.h:118: error: ‘XML_Parser’ does not name 
a type
../../../src/kml/base/expat_parser.h:121: error: ‘XML_Parser’ has not been 
declared
make[4]: *** [expat_handler_ns.lo] Error 1
make[4]: Leaving directory 
`/home/vizexperts/LinuxBuilds/OSS/LibKML/libkml-1.2.0/src/kml/base'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory 
`/home/vizexperts/LinuxBuilds/OSS/LibKML/libkml-1.2.0/src/kml'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory 
`/home/vizexperts/LinuxBuilds/OSS/LibKML/libkml-1.2.0/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory 
`/home/vizexperts/LinuxBuilds/OSS/LibKML/libkml-1.2.0'

What version of the product are you using? On what operating system?
1.2.0

Did you run the unit test suite that comes with the project? Did all tests pass?

Please provide any additional information below.

Original issue reported on code.google.com by nareshsa...@gmail.com on 1 Apr 2014 at 6:03