{"action":"closed","issue":{"url":"https://api.github.com/repos/osmcode/pyosmium/issues/55","repository_url":"https://api.github.com/repos/osmcode/pyosmium","labels_url":"https://api.github.com/repos/osmcode/pyosmium/issues/55/labels{/name}","comments_url":"https://api.github.com/repos/osmcode/pyosmium/issues/55/comments","events_url":"https://api.github.com/repos/osmcode/pyosmium/issues/55/events","html_url":"https://github.com/osmcode/pyosmium/issues/55","id":299910112,"number":55,"title":"FreeBSD build","user":{"login":"sporkman","id":510750,"avatar_url":"https://avatars1.githubusercontent.com/u/510750?v=4","gravatar_id":"","url":"https://api.github.com/users/sporkman","html_url":"https://github.com/sporkman","followers_url":"https://api.github.com/users/sporkman/followers","following_url":"https://api.github.com/users/sporkman/following{/other_user}","gists_url":"https://api.github.com/users/sporkman/gists{/gist_id}","starred_url":"https://api.github.com/users/sporkman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sporkman/subscriptions","organizations_url":"https://api.github.com/users/sporkman/orgs","repos_url":"https://api.github.com/users/sporkman/repos","events_url":"https://api.github.com/users/sporkman/events{/privacy}","received_events_url":"https://api.github.com/users/sporkman/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":11,"created_at":"2018-02-24T04:18:16Z","updated_at":"2018-05-03T10:43:55Z","closed_at":"2018-05-03T10:43:55Z","author_association":"NONE","body":"Using either pip or building from source fails.  It looks like the way the boost libs or searched for is very linux-specific, so it doesn't find the installed boost libs.  Errors for each type of build below.  On installing the python boost libs, I'm given this message with instructions for linking:\r\n\r\n```\r\nYou have built the Boost.Python library. You have to add the following\r\noptions when building your own code:\r\n\r\nCompiler options:\r\n   -I/usr/local/include/python2.7 -I/usr/local/include\r\n\r\nLinker options:\r\n   -L/usr/local/lib/python2.7 -L/usr/local/lib -lboost_python -lpython2.7\r\n```\r\nNot sure how to fiddle with setup.py to get pyosmium looking in the right place.  Any tips?\r\n\r\nPip and source build attempts below:\r\n\r\n```\r\n[root@nominatim ~]# pip install osmium\r\nCollecting osmium\r\n  Using cached osmium-2.13.0.tar.gz\r\n    Complete output from command python setup.py egg_info:\r\n    Traceback (most recent call last):\r\n      File \"<string>\", line 1, in <module>\r\n      File \"/tmp/pip-build-oVEgyO/osmium/setup.py\", line 74, in <module>\r\n        raise Exception(\"Cannot find boost_python library\")\r\n    Exception: Cannot find boost_python library\r\n\r\n    ----------------------------------------\r\nCommand \"python setup.py egg_info\" failed with error code 1 in /tmp/pip-build-oVEgyO/osmium/\r\n```\r\n\r\n```\r\n[spork@nominatim ~/osmium-2.13.0]$ python setup.py build\r\nTraceback (most recent call last):\r\n  File \"setup.py\", line 74, in <module>\r\n    raise Exception(\"Cannot find boost_python library\")\r\nException: Cannot find boost_python library\r\n```"}}
{"actor":{"display_login":"lonvia"}}