Skip to content

Instantly share code, notes, and snippets.

@prologic
Created February 26, 2013 02:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save prologic/5035373 to your computer and use it in GitHub Desktop.
Save prologic/5035373 to your computer and use it in GitHub Desktop.
mapnik - Failed ot build on 10.8.2
$ brew install mapnik
==> Installing mapnik dependency: libtool
dyld: DYLD_ environment variables being ignored because main executable (/usr/bin/sudo) is setuid or setgid
==> Downloading http://ftpmirror.gnu.org/libtool/libtool-2.4.2.tar.gz
######################################################################## 100.0%
==> ./configure --prefix=/usr/local/Cellar/libtool/2.4.2 --program-prefix=g --enable-ltdl-install
==> make install
==> Caveats
In order to prevent conflicts with Apple's own libtool we have prepended a "g"
so, you have instead: glibtool and glibtoolize.
==> Summary
🍺 /usr/local/Cellar/libtool/2.4.2: 66 files, 2.2M, built in 13 seconds
==> Installing mapnik dependency: icu4c
==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/icu4c-50.1.mountainlion.bottle.1.tar.gz
######################################################################## 100.0%
==> Pouring icu4c-50.1.mountainlion.bottle.1.tar.gz
==> Caveats
This formula is keg-only: so it was not symlinked into /usr/local.
Conflicts; see: https://github.com/mxcl/homebrew/issues/issue/167
Generally there are no consequences of this for you. If you build your
own software and it requires this formula, you'll need to add to your
build variables:
LDFLAGS: -L/usr/local/opt/icu4c/lib
CPPFLAGS: -I/usr/local/opt/icu4c/include
==> Summary
🍺 /usr/local/Cellar/icu4c/50.1: 235 files, 55M
==> Installing mapnik dependency: boost
==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/boost-1.53.0.mountain_lion.bottle.tar.gz
######################################################################## 100.0%
==> Pouring boost-1.53.0.mountain_lion.bottle.tar.gz
🍺 /usr/local/Cellar/boost/1.53.0: 9328 files, 243M
==> Installing mapnik
dyld: DYLD_ environment variables being ignored because main executable (/usr/bin/sudo) is setuid or setgid
==> Downloading https://github.com/downloads/mapnik/mapnik/mapnik-v2.1.0.tar.bz2
######################################################################## 100.0%
==> python scons/scons.py configure CC="cc" CXX="c++" JOBS=4 PREFIX=/usr/local/Cellar/mapnik/2.1.0 ICU_INCLUDES=/usr/local/opt/icu4c/include ICU_LIBS=/usr/local
==> python scons/scons.py install
: grammar_(new feature_collection_grammar<iterator_type,feature_type>(ctx,tr)) {}
^
2 errors generated.
scons: *** [src/json/feature_collection_parser.os] Error 1
scons: building terminated because of errors.
READ THIS: https://github.com/mxcl/homebrew/wiki/troubleshooting
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment