Package Details: libkml-git r742.9b50572-3

Git Clone URL: https://aur.archlinux.org/libkml-git.git (read-only)
Package Base: libkml-git
Description: A KML library written in C++ with bindings to other languages
Upstream URL: https://github.com/google/libkml
Licenses: BSD
Conflicts: libkml, minizip
Provides: libkml, minizip
Submitter: hdevalence
Maintainer: None
Last Packager: hotaru
Votes: 2
Popularity: 0.000002
First Submitted: 2014-01-27 05:00
Last Updated: 2015-06-11 20:26

Dependencies (6)

Required by (63)

Sources (1)

Latest Comments

qs9rx commented on 2018-05-15 20:58

I had to install minizip for building.

orontee commented on 2017-02-16 08:38

The installed library isn't visible to pkg-config:

libkml-git (master)$ pkg-config --libs libkml
Package libkml was not found in the pkg-config search path.
Perhaps you should add the directory containing `libkml.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libkml' found

I know it is when installing libkml on MSYS2 which use Pacman too. May be you should have a look at their PKGBUILD?

https://github.com/Alexpux/MINGW-packages/tree/master/mingw-w64-libkml

kikislater commented on 2016-12-12 12:10

Thank you orontee. It works with this :

CXXFLAGS+=' -Wno-long-long -O2 -Wno-deprecated-declarations -std=c++98 ' LDFLAGS+=-Wl,--no-as-needed PYTHON=python2 \

Please update package

orontee commented on 2016-08-15 13:53

Please update dependencies: Configuration succeeded after installing jdk8-openjdk; Or pass --disable-java option to ./configure.

One also needs to add -Wno-deprecated-declarations and -std=c++98 to CXXFLAGS to build.

orontee commented on 2016-08-15 13:34


Configure fails on an up-to-date system:

libkml-git (master)$ LANG=C makepkg -csif
...
checking for strstr... yes
checking for swig... swig
checking for java... nojava
configure: error: no java binary in PATH
==> ERROR: A failure occurred in build().
Aborting...

hdevalence commented on 2015-05-09 16:29

Hey, thanks for the suggestion. Unfortunately I've stopped running Arch, so I can't fix it. I've disowned the package if anyone else wants to take it over.

hotaru commented on 2015-05-06 14:58

> # TODO: Use existing libminizip package instead of conflicting with it.
> conflicts=('libminizip','libkml')
> provides=('libkml')
the existing package is called just "minizip", not "libminizip", and it'd be nice to put it in provides as well, if using the existing minizip package is too difficult.

saultdon commented on 2014-03-28 02:00

Updated PKGBUILD works without error now, thanks =)

hdevalence commented on 2014-03-26 17:15

Thanks, I've added spaces around the CXXFLAGS in the PKGBUILD.

Can you let me know if this fixes the problem?

saultdon commented on 2014-03-26 15:27

Getting an error during the build:

libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I../../../src -I../../../third_party/boost_1_34_1 -I../../../third_party/gtest-1.7.0/include -I../../../third_party/uriparser-0.7.5/include -I../../../third_party/zlib-1.2.3/contrib -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wno-unused-parameter -Werror -pedantic -fno-rtti -march=native -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2-Wno-long-long -O2 -MT attributes.lo -MD -MP -MF .deps/attributes.Tpo -c attributes.cc -fPIC -DPIC -o .libs/attributes.o
<command-line>:0:0: error: "_FORTIFY_SOURCE" redefined [-Werror]
<command-line>:0:0: note: this is the location of the previous definition


I had to add a " " (space) at the end of the CPPFLAGS or the CFLAGS variable in /etc/makepkg.conf right after -D_FORTIFY_SOURCE=2
Might only be an issue if you've modified your /etc/makepkg.conf