Warning: file_exists(): open_basedir restriction in effect. File(/srv/http/vhosts/aur.archlinux.org/public/web/locale//en/LC_MESSAGES/aurweb.mo) is not within the allowed path(s): (/srv/http/vhosts/aur-dev.archlinux.org/:/etc/aurweb/) in /srv/http/vhosts/aur-dev.archlinux.org/public/web/lib/streams.php on line 90
AUR (en) - libkml-git

Notice: Undefined variable: name in /srv/http/vhosts/aur-dev.archlinux.org/public/web/lib/pkgfuncs.inc.php on line 248

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

Git Clone URL: https://aur-dev.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: hotaru
Last Packager: hotaru
Votes: 1
Popularity: 0.333135
First Submitted: 2014-01-27 05:00
Last Updated: 2015-06-11 20:26

Dependencies (6)

Required by (38)

Sources (1)

Latest Comments

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().

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