Skip to content

Instantly share code, notes, and snippets.

View nextstopsun's full-sized avatar

Nikolai Lebedev nextstopsun

View GitHub Profile
@nextstopsun
nextstopsun / config.log
Created April 2, 2012 12:22
GRASS GIS 6.4.2 install error
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
configure:759: checking host system type
configure:782: checking for gcc
configure:886: checking whether the C compiler (/usr/bin/clang -Os -w -pipe -march=native -Qunused-arguments -L/usr/local/Cellar/readline/6.2.2/lib -L/usr/local/Cellar/gettext/0.18.1.1/lib) works
configure:902: /usr/bin/clang -o conftest -Os -w -pipe -march=native -Qunused-arguments -I/usr/local/Cellar/readline/6.2.2/include -I/usr/local/Cellar/gettext/0.18.1.1/include -L/usr/local/Cellar/readline/6.2.2/lib -L/usr/local/Cellar/gettext/0.18.1.1/lib conftest.c 1>&5
configure:928: checking whether the C compiler (/usr/bin/clang -Os -w -pipe -march=native -Qunused-arguments -L/usr/local/Cellar/readline/6.2.2/lib -L/usr/local/Cellar/gettext/0.18.1.1/lib) is a cross-compiler
configure:933: checking whether we are using GNU C
configure:940: /usr/bin/clang -E conftest.c
@nextstopsun
nextstopsun / brew_mapnik_log
Created April 2, 2012 14:26
Homebrew mapnik install fail log
==> Downloading https://github.com/downloads/mapnik/mapnik/mapnik-2.0.0.tar.bz2
Already downloaded: /Library/Caches/Homebrew/mapnik-2.0.0.tar.bz2
==> python scons/scons.py configure CC="/usr/bin/clang" CXX="/usr/bin/clang++" JOBS=2 PREFIX=/usr/local/Cellar/mapnik/2.0.0 ICU_INCLUDES=/usr/local/Cellar/icu4c/4.8.1.1/include ICU_LIBS=/usr/local/Cellar/icu4c/4.8.1.1/lib
==> python scons/scons.py install
scons: Reading SConscript files ...
Using previous successful configuration...
Re-configure by running "python scons/scons.py configure".

Welcome to Mapnik...

@nextstopsun
nextstopsun / brew_wxMac.log
Created April 3, 2012 07:44
wxMac configure error
==> Downloading http://downloads.sourceforge.net/project/wxwindows/2.8.12/wxMac-2.8.12.tar.bz2
Already downloaded: /Library/Caches/Homebrew/wxmac-2.8.12.tar.bz2
==> ./configure --disable-debug --prefix=/usr/local/Cellar/wxmac/2.8.12 --enable-unicode --enable-display --with-opengl
checking build system type... i686-apple-darwin11.3.0
checking host system type... i686-apple-darwin11.3.0
checking target system type... i686-apple-darwin11.3.0
loading argument cache configarg.cache
checking for --enable-gui... yes
checking for --enable-monolithic... no
checking for --enable-plugins... no
@nextstopsun
nextstopsun / configure.log
Created April 4, 2012 09:12
grass config log
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
configure:759: checking host system type
configure:782: checking for gcc
configure:886: checking whether the C compiler (/usr/bin/clang -Os -w -pipe -march=native -Qunused-arguments -L/usr/local/Cellar/readline/6.2.2/lib -L/usr/local/Cellar/gettext/0.18.1.1/lib) works
configure:902: /usr/bin/clang -o conftest -Os -w -pipe -march=native -Qunused-arguments -I/usr/local/Cellar/readline/6.2.2/include -I/usr/local/Cellar/gettext/0.18.1.1/include -L/usr/local/Cellar/readline/6.2.2/lib -L/usr/local/Cellar/gettext/0.18.1.1/lib conftest.c 1>&5
configure:928: checking whether the C compiler (/usr/bin/clang -Os -w -pipe -march=native -Qunused-arguments -L/usr/local/Cellar/readline/6.2.2/lib -L/usr/local/Cellar/gettext/0.18.1.1/lib) is a cross-compiler
configure:933: checking whether we are using GNU C
configure:940: /usr/bin/clang -E conftest.c
@nextstopsun
nextstopsun / pip.log
Created April 12, 2012 19:59
imposm pip.log
------------------------------------------------------------
/usr/local/bin/pip run on Thu Apr 12 23:49:10 2012
Downloading/unpacking imposm
Running setup.py egg_info for package imposm
running egg_info
writing requirements to pip-egg-info/imposm.egg-info/requires.txt
writing pip-egg-info/imposm.egg-info/PKG-INFO
writing namespace_packages to pip-egg-info/imposm.egg-info/namespace_packages.txt
@nextstopsun
nextstopsun / script.js
Created July 4, 2012 16:55
Proj4Leaflet 102012 projection test
var res = [
140000.0000000000,
70000.0000000000,
35000.0000000000,
17500.0000000000,
8750.0000000000,
4375.0000000000,
2187.5000000000,
1093.7500000000,
546.8750000000,
@nextstopsun
nextstopsun / prj4lfl.js
Created August 23, 2012 09:27
Proj4Leaflet with Leaflet 0.4.4 102012 projection test
var res = [
140000.0000000000,
70000.0000000000,
35000.0000000000,
17500.0000000000,
8750.0000000000,
4375.0000000000,
2187.5000000000,
1093.7500000000,
546.8750000000,
@nextstopsun
nextstopsun / lf4_tile_error
Created August 28, 2012 13:05
Leaflet 0.4.4 messed up tiles from TMS
<!DOCTYPE html>
<html>
<head>
<title>Leaflet Quick Start Guide Example</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="dist/leaflet.css" />
<!--[if lte IE 8]><link rel="stylesheet" href="../dist/leaflet.ie.css" /><![endif]-->
</head>
<body>
@nextstopsun
nextstopsun / raster_edge.xml
Created October 29, 2012 23:13
mapnik config for reproducting error with raster edge
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE Map[]>
<Map srs="+proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0 +units=m +nadgrids=@null +wktext +over +no_defs" background-color="#ffffff">
<Style name="sfc" filter-mode="first">
<Rule>
<RasterSymbolizer scaling="bilinear" opacity="1"/>
</Rule>
</Style>
@nextstopsun
nextstopsun / mapnik_boost_fail
Created July 22, 2013 17:04
mapnik boost 1.54 build failure
bash-3.2$ brew install --with-cairo --with-gdal --with-geos --with-postgresql --verbose mapnik
/usr/local/opt/python/bin/python2 -c import numpy
/usr/local/opt/python/bin/python2 -c import numpy
==> Downloading http://mapnik.s3.amazonaws.com/dist/v2.2.0/mapnik-v2.2.0.tar.bz2
Already downloaded: /Library/Caches/Homebrew/mapnik-2.2.0.tar.bz2
tar xf /Library/Caches/Homebrew/mapnik-2.2.0.tar.bz2
brew: Appending to PYTHONPATH: /usr/local/Cellar/mapnik/2.2.0/lib/python2.7/site-packages
==> /usr/local/opt/python/bin/python2 scons/scons.py configure CC="cc" CXX="c++" JOBS=4 PREFIX=/usr/local/Cellar/mapnik/2.2.0 ICU_INCLUDES=/usr/local/opt/icu4c/include ICU_LIBS=/usr/local/opt/icu4c/lib PYTHON_PREFIX=/usr/local/Cellar/mapnik/2.2.0 JPEG_INCLUDES=/usr/local/opt/jpeg/include JPEG_LIBS=/usr/local/opt/jpeg/lib TIFF_INCLUDES=/usr/local/opt/libtiff/include TIFF_LIBS=/usr/local/opt/libtiff/lib BOOST_INCLUDES=/usr/local/opt/boost/include BOOST_LIBS=/usr/local/opt/boost/lib PROJ_INCLUDES=/usr/local/opt/proj/include PROJ_LIBS=/u