{"action":"opened","issue":{"url":"https://api.github.com/repos/mapnik/mapnik/issues/3635","repository_url":"https://api.github.com/repos/mapnik/mapnik","labels_url":"https://api.github.com/repos/mapnik/mapnik/issues/3635/labels{/name}","comments_url":"https://api.github.com/repos/mapnik/mapnik/issues/3635/comments","events_url":"https://api.github.com/repos/mapnik/mapnik/issues/3635/events","html_url":"https://github.com/mapnik/mapnik/issues/3635","id":212357745,"number":3635,"title":"warning: Can't run postgis.input tests","user":{"login":"Klaus-Tockloth","id":5493128,"avatar_url":"https://avatars2.githubusercontent.com/u/5493128?v=3","gravatar_id":"","url":"https://api.github.com/users/Klaus-Tockloth","html_url":"https://github.com/Klaus-Tockloth","followers_url":"https://api.github.com/users/Klaus-Tockloth/followers","following_url":"https://api.github.com/users/Klaus-Tockloth/following{/other_user}","gists_url":"https://api.github.com/users/Klaus-Tockloth/gists{/gist_id}","starred_url":"https://api.github.com/users/Klaus-Tockloth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Klaus-Tockloth/subscriptions","organizations_url":"https://api.github.com/users/Klaus-Tockloth/orgs","repos_url":"https://api.github.com/users/Klaus-Tockloth/repos","events_url":"https://api.github.com/users/Klaus-Tockloth/events{/privacy}","received_events_url":"https://api.github.com/users/Klaus-Tockloth/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-03-07T08:03:09Z","updated_at":"2017-03-07T08:03:09Z","closed_at":null,"body":"What's my aim? I want to build large OSM carto styled maps (PDF and SVG) with the python utility Nik4 (on Ubuntu 16.04 LTS / AMD64). This requires (my understanding) two things:\r\n- python-mapnik bindings (for mapnik 3.x)\r\n- cairo and pycairo\r\n\r\nI couldn't find any prebuild python-mapnik bindings so I think I have to build them by myself (difficult):\r\n- build mapnik 3.x and install it\r\n- build the python-mapnik bindings with the python-mapnik project\r\n\r\nThe compilation (make) of mapnik seems successful but the test (make test) fails:\r\n\r\n```\r\nwarning:\r\n  Can't run postgis.input tests - check postmaster is running and accessible\r\n...\r\nERROR (Postgis Plugin: FATAL:  database \"template_postgis\" does not exist\r\nConnection string: ' dbname=template_postgis connect_timeout=4'\r\n  encountered during parsing of layer '1' in Layer of 'test/data-visual/styles/text-line-null.xml')\r\n```\r\n\r\nIt seems that the database template \"template_postgis\" is missing. I have this:\r\n- PostgreSQL 9.5.6\r\n- Postgis 2.2.1\r\n\r\nI assume a general configuration (or beginners) fault ... but currently I have no idea what to change."}}
{"actor":{"display_login":"Klaus-Tockloth"}}