Hi There

I am trying to compile mapnik on a raspberry pi, but ran into an error compiling mapnik_geometry.os.

g++ -o bindings/python/mapnik_geometry.os -c -ansi -Wall -pthread -ftemplate-depth-300 -O3 -fno-strict-aliasing -finline-functions -Wno-inline -Wno-parentheses -Wno-char-subscripts -fPIC -DHAVE_JPEG -DMAPNIK_USE_PROJ4 -DHAVE_PNG -DHAVE_TIFF -DBIGINT -DBOOST_REGEX_HAS_ICU -DLINUX -DMAPNIK_THREADSAFE -DNDEBUG -DHAVE_CAIRO -DHAVE_PYCAIRO -Ideps -Ideps/clipper/include -Ideps/agg/include -I. -Iinclude -I/usr/local/include -I/usr/include -I/usr/include/freetype2 -I/usr/include/libxml2 -I/usr/include/postgresql -I/usr/include/gdal -I/usr/include/python2.7 -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/pycairo bindings/python/mapnik_geometry.cpp g++: internal compiler error: Killed (program cc1plus)

How did you install mapnik on the Pi? Once I have it up and running I can look into this question.

Regards

asked 03 Mar '15, 22:39

dickvla's gravatar image

dickvla
11112
accept rate: 0%

edited 04 Mar '15, 07:51

scai's gravatar image

scai ♦
31.2k18281436


"internal compiler error: Killed" sounds like you are running out of memory, which is very likely on a Raspberry Pi. Try to stop other processes requiring much memory and maybe add a swap file, note that this might increase your compile time significantly.

permanent link

answered 04 Mar '15, 07:54

scai's gravatar image

scai ♦
31.2k18281436
accept rate: 23%

edited 04 Mar '15, 07:54

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×312
×4

question asked: 03 Mar '15, 22:39

question was seen: 2,335 times

last updated: 04 Mar '15, 07:54

powered by OSQA