- Install xcode
- Install homebrew
- Run the commands
.
brew install icu4c
brew link icu4c
brew install boost
brew install proj
diff --git a/Library/Formula/gdal.rb b/Library/Formula/gdal.rb | |
index db12c7e..7a2e188 100644 | |
--- a/Library/Formula/gdal.rb | |
+++ b/Library/Formula/gdal.rb | |
@@ -85,7 +85,7 @@ class Gdal < Formula | |
"--with-libtool", | |
# GDAL native backends. | |
- "--with-libtiff=internal", # For bigTIFF support | |
+ "--with-libtiff=/usr/local/lib/libtiff", # For bigTIFF support |
will@will-VirtualBox:~$ ldd `which node` | |
linux-gate.so.1 => (0x00cbf000) | |
librt.so.1 => /lib/i386-linux-gnu/librt.so.1 (0x00f4c000) | |
libssl.so.1.0.0 => /lib/i386-linux-gnu/libssl.so.1.0.0 (0x0046b000) | |
libcrypto.so.1.0.0 => /lib/i386-linux-gnu/libcrypto.so.1.0.0 (0x00291000) | |
libdl.so.2 => /lib/i386-linux-gnu/libdl.so.2 (0x0088b000) | |
libutil.so.1 => /lib/i386-linux-gnu/libutil.so.1 (0x00581000) | |
libstdc++.so.6 => /usr/lib/i386-linux-gnu/libstdc++.so.6 (0x00bb8000) | |
libm.so.6 => /lib/i386-linux-gnu/libm.so.6 (0x00fb1000) | |
libgcc_s.so.1 => /lib/i386-linux-gnu/libgcc_s.so.1 (0x00978000) |
<html> | |
<head> | |
<title>Wax.G Layer Switcher</title> | |
<script src='http://maps.google.com/maps/api/js?sensor=false' type='text/javascript'></script> | |
<script src='http://www.geosprocket.com/mapbox-wax/dist/wax.g.js' type='text/javascript'></script> | |
<script src='http://code.jquery.com/jquery-1.6.4.min.js' type='text/javascript'></script> | |
<link href='http://www.geosprocket.com/css/basic.css' rel='stylesheet' type='text/css' /> | |
<link href='http://www.geosprocket.com/css/buttons.css' rel='stylesheet' type='text/css' /> |
var pipe = function() { | |
r.pipe(w); | |
} | |
if (false === w.write(body, 'ascii')) { | |
w.on('drain', pipe); | |
} else { | |
pipe(); | |
}; |
willwhite ~/src/tilemill: otool -L /usr/local/lib/mapnik2/input/sqlite.input | |
/usr/local/lib/mapnik2/input/sqlite.input: | |
plugins/input/sqlite.input (compatibility version 0.0.0, current version 0.0.0) | |
/usr/local/lib/libsqlite3.0.8.6.dylib (compatibility version 9.0.0, current version 9.6.0) | |
/usr/local/lib/libmapnik2.dylib (compatibility version 2.0.0, current version 2.0.0) | |
/usr/local/Cellar/icu4c/4.4.1/lib/libicuuc.44.1.dylib (compatibility version 44.0.0, current version 44.1.0) | |
/usr/local/lib/libboost_system-mt.dylib (compatibility version 0.0.0, current version 0.0.0) | |
/usr/local/lib/libboost_filesystem-mt.dylib (compatibility version 0.0.0, current version 0.0.0) | |
/usr/lib/libstdc++.6.dylib (compatibility version 7.0.0, current version 7.9.0) | |
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 125.2.11) |
/** | |
* Quantile breaks in a dataset | |
* @param {array}: data list of data. | |
* @param {number}: n number of breaks. | |
* @return {array} of break places. | |
*/ | |
function quantile(data, n) { | |
return _.select(data.sort(), function(val, index) { | |
return index % (data.length / (n - 1)) == 0; | |
}).concat(_.max(data)); |
Started [Server Core:8889]. | |
uncaught undefined: Error: Command failed: NOTICE: database "tilemill_test" does not exist, skipping | |
createdb: database creation failed: ERROR: template database "template_postgis" does not exist | |
psql: FATAL: database "tilemill_test" does not exist | |
at ChildProcess.exithandler (child_process.js:102:15) | |
at ChildProcess.emit (events.js:67:17) | |
at ChildProcess.onexit (child_process.js:192:12) |
tilemill_test=# \d | |
List of relations | |
Schema | Name | Type | Owner | |
--------+---------------------------+----------+---------- | |
public | admin_0_line_land | table | diggersf | |
public | admin_0_line_land_gid_seq | sequence | diggersf | |
public | geography_columns | view | diggersf | |
public | geometry_columns | table | diggersf | |
public | spatial_ref_sys | table | diggersf | |
(5 rows) |
.
brew install icu4c
brew link icu4c
brew install boost
brew install proj
npm ERR! Failed unpacking /usr/share/tilestream/.npm/backbone/0.3.3/package.tgz | |
npm ERR! error installing [email protected] Error: `tar "-zmvxpf" "/usr/share/tilestream/.npm/backbone/0.3.3/package.tgz"` | |
npm ERR! error installing [email protected] failed with 2 | |
npm ERR! error installing [email protected] at ChildProcess.<anonymous> (/usr/lib/node_modules/npm/lib/utils/tar.js:217:20) | |
npm ERR! error installing [email protected] at ChildProcess.emit (events.js:67:17) | |
npm ERR! error installing [email protected] at Socket.<anonymous> (child_process.js:172:12) | |
npm ERR! error installing [email protected] at Socket.emit (events.js:64:17) | |
npm ERR! error installing [email protected] at Array.0 (net.js:831:12) | |
npm ERR! error installing [email protected] at EventEmitter._tickCallback (node.js:126:26) | |
npm ERR! error installing [email protected] Error: `tar "-zmvxpf" "/usr/share/tilestream/.npm/backbone/0.3.3/package.tgz"` |