dreamstreat / 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 8 years ago

GoogleCodeExporter commented 8 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

GoogleCodeExporter commented 8 years ago
hello,

could you recreate this on the github fork. it is not possible to provide fixes 
in the googlecode project or in the google/libkml project on github.

Instead we maintain a fork of this here: https://github.com/libkml/libkml

If you could test this latest version and bug still exists, we can try to 
provide a fix for you

Original comment by rasha...@gmail.com on 5 Apr 2015 at 10:12