correct fix for missing sigc++-config.h

This commit is contained in:
Dane Springmeyer
2014-10-02 14:38:07 -07:00
parent 5f81d92a47
commit 23a60bce99

View File

@ -7,19 +7,21 @@ compiler:
before_install:
#- sudo apt-add-repository --yes ppa:mapnik/nightly-trunk
#- sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
- sudo apt-get update -qq
- sudo apt-get update -y
install:
- sudo apt-get -qq install build-essential apache2-threaded-dev autotools-dev automake libtool
- sudo apt-get -y install build-essential apache2-threaded-dev autotools-dev automake libtool
#- sudo apt-get install -y gcc-4.8 g++-4.8
before_script:
- sudo apt-get -qq install libmapnik2-2.0 libmapnik-dev mapnik-utils libsigc++-dev
- sudo apt-get -y install libmapnik2-2.0 libmapnik-dev mapnik-utils
#- sudo apt-get -qq install libmapnik=3.0.0* mapnik-utils=3.0.0* libmapnik-dev=3.0.0* mapnik-input-plugin*=3.0.0*
script:
#- if [ "${CXX}" = 'g++' ]; then export CXX="g++-4.8" && export CC="gcc-4.8"; fi;
# workaround https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=63403 and https://bugs.launchpad.net/ubuntu/+source/cairomm/+bug/452733
- export CXXFLAGS="-I/usr/lib/x86_64-linux-gnu/sigc++-2.0/include/"
- ./autogen.sh
- ./configure
- make