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.000000
First Submitted: 2014-01-27 05:00
Last Updated: 2015-06-11 20:26

Dependencies (6)

Required by (83)

Sources (1)

Latest Comments

« First ‹ Previous 1 2

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