2011-12-29

Slitaz -- libkml-svn

error: ISO C++ 1998 does not support 'long long'

cc1plus: warnings being treated as errors
In file included from ../../../third_party/boost_1_34_1/boost/config.hpp:57:0,
                 from ../../../third_party/boost_1_34_1/boost/intrusive_ptr.hpp:16,
                 from ../../../src/kml/base/xml_element.h:31,
                 from ../../../src/kml/dom/kml_cast.h:29,
                 from ../../../src/kml/dom.h:32,
                 from ../../../src/kml/convenience/atom_util.h:34,
                 from atom_util.cc:28:
../../../third_party/boost_1_34_1/boost/config/suffix.hpp:435:18: error: ISO C++ 1998 does not support ‘long long’
../../../third_party/boost_1_34_1/boost/config/suffix.hpp:436:18: error: ISO C++ 1998 does not support ‘long long’

1.
http://code.google.com/p/libkml/issues/detail?id=170

Relax the compile flags in the makefiles. E.g. http://code.google.com/p/libkml/source/browse/trunk/src/kml/base/Makefile.am#8

Removing -Werror might be sufficient.


2.
root@slitaz:~/libkml# du -ch libkml-svn/fs/usr
104.0K  libkml-svn/fs/usr/include/kml/convenience
60.0K   libkml-svn/fs/usr/include/kml/xsd
140.0K  libkml-svn/fs/usr/include/kml/base
8.0K    libkml-svn/fs/usr/include/kml/third_party/boost_1_34_1/boost/config/stdlib
12.0K   libkml-svn/fs/usr/include/kml/third_party/boost_1_34_1/boost/config/platform
8.0K    libkml-svn/fs/usr/include/kml/third_party/boost_1_34_1/boost/config/no_tr1
8.0K    libkml-svn/fs/usr/include/kml/third_party/boost_1_34_1/boost/config/compiler
84.0K   libkml-svn/fs/usr/include/kml/third_party/boost_1_34_1/boost/config
8.0K    libkml-svn/fs/usr/include/kml/third_party/boost_1_34_1/boost/detail
120.0K  libkml-svn/fs/usr/include/kml/third_party/boost_1_34_1/boost
124.0K  libkml-svn/fs/usr/include/kml/third_party/boost_1_34_1
128.0K  libkml-svn/fs/usr/include/kml/third_party
168.0K  libkml-svn/fs/usr/include/kml/engine
40.0K   libkml-svn/fs/usr/include/kml/regionator
376.0K  libkml-svn/fs/usr/include/kml/dom
1.0M    libkml-svn/fs/usr/include/kml
1.0M    libkml-svn/fs/usr/include
184.0K  libkml-svn/fs/usr/share/java
188.0K  libkml-svn/fs/usr/share
22.5M   libkml-svn/fs/usr/lib/libkml
5.8M    libkml-svn/fs/usr/lib/python2.7/site-packages
5.9M    libkml-svn/fs/usr/lib/python2.7
72.7M   libkml-svn/fs/usr/lib
73.9M   libkml-svn/fs/usr
73.9M   total
root@slitaz:~/libkml#


3.
root@slitaz:~/libkml# cat libkml-svn/receipt
# SliTaz package receipt.

PACKED_SIZE="12.2M"
UNPACKED_SIZE="73.9M"
PACKAGE="libkml"
VERSION="svn"
CATEGORY="misc"
SHORT_DESC="A library to manipulate KML 2.2 OGC standard files"
MAINTAINER=""
WEB_SITE="http://code.google.com/p/libkml/"
WGET_URL="svn checkout http://libkml.googlecode.com/svn/trunk/ libkml"

DEPENDS=""
BUILD_DEPENDS="java6-jdk python-dev swig"
root@slitaz:~/libkml#


4.
root@slitaz:~/libkml# cat DEPENDENCIES
This file records the source URL and version of each external package
used by libkml. Other versions may work fine, but you'll be less
on your own if you use these exact versions as well.

Required:
g++: 4.0.1, 4.0.3 (or MS Visual Studio 2005 on Windows)
expat: expat.sourceforge.net 2.0.1
zlib: www.zlib.net 1.2.3
googletest: http://googletest.googlecode.com r108 (supplied in this project)

Optional:
java: java.sun.com 1.5.0_13, 1.6.0_04
python: www.python.org 2.3.4, 2.4.4, 2.5.1
swig: www.swig.org at least 1.3.35. Also known to work with 1.3.39

Development:
automake: www.gnu.org/software/automake 1.9.6
autoconf: www.gnu.org/software/autoconf 2.59
libtool: www.gnu.org/software/libtool 1.5

root@slitaz:~/libkml#
.