{"action":"created","issue":{"url":"https://api.github.com/repos/N0NB/hamlib/issues/12","labels_url":"https://api.github.com/repos/N0NB/hamlib/issues/12/labels{/name}","comments_url":"https://api.github.com/repos/N0NB/hamlib/issues/12/comments","events_url":"https://api.github.com/repos/N0NB/hamlib/issues/12/events","html_url":"https://github.com/N0NB/hamlib/issues/12","id":113188029,"number":12,"title":"Python 3 Bindings","user":{"login":"njohnsn","id":8146426,"avatar_url":"https://avatars.githubusercontent.com/u/8146426?v=3","gravatar_id":"","url":"https://api.github.com/users/njohnsn","html_url":"https://github.com/njohnsn","followers_url":"https://api.github.com/users/njohnsn/followers","following_url":"https://api.github.com/users/njohnsn/following{/other_user}","gists_url":"https://api.github.com/users/njohnsn/gists{/gist_id}","starred_url":"https://api.github.com/users/njohnsn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/njohnsn/subscriptions","organizations_url":"https://api.github.com/users/njohnsn/orgs","repos_url":"https://api.github.com/users/njohnsn/repos","events_url":"https://api.github.com/users/njohnsn/events{/privacy}","received_events_url":"https://api.github.com/users/njohnsn/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-10-24T22:33:30Z","updated_at":"2015-10-25T21:26:17Z","closed_at":null,"body":"I'm trying to use hamlib with Python 3.\r\n\r\nI cloned the repository from here, but when I try to build it with --with-python-binding I get:\r\n\r\n    checking whether to build python binding and demo... yes\r\n    checking whether python3 version is >= 2.1... yes\r\n    checking for python3 version... 3.4\r\n    checking for python3 platform... linux\r\n    checking for python3 script directory... ${prefix}/lib/python3.4/site-packages\r\n    checking for python3 extension module directory... ${exec_prefix}/lib/python3.4/site-packages\r\n    checking for python3.4... /usr/bin/python3.4\r\n    checking for a version of Python >= '2.1.0'... yes\r\n    checking for the distutils Python package... yes\r\n    checking for Python include path... -I/usr/include/python3.4m\r\n    checking for Python library path... -L/usr/lib -lpython3.4m\r\n    checking for Python site-packages path... /usr/lib/python3/dist-packages\r\n    checking python extra libraries... -lrt   -lexpat                   -L/usr/lib -lz  -lexpat -lpthread -ldl  -lutil\r\n    checking python extra linking flags... -Xlinker -export-dynamic -Wl,-O1 -Wl,-Bsymbolic-functions\r\n    checking consistency of all components of python development environment... no\r\n    configure: error: in `/home/njohnsn/hamlib':\r\n    configure: error: \r\n      Could not link test program to Python. Maybe the main Python library has been\r\n      installed in some non-standard library path. If so, pass it to configure,\r\n      via the LDFLAGS environment variable.\r\n      Example: ./configure LDFLAGS=\"-L/usr/non-standard-path/python/lib\"\r\n      ============================================================================\r\n      ERROR!\r\n      You probably have to install the development version of the Python package\r\n      for your distribution.  The exact name of this package varies among them.\r\n      ============================================================================\r\n\r\nI'm trying to compile on ubuntu 14.04 LTS with stock python 3 (3.4) installed as well as the 3.4 developer package.\r\n\r\nAny help would be appreciated.\r\n\r\n-Neil\r\n"},"comment":{"url":"https://api.github.com/repos/N0NB/hamlib/issues/comments/150974667","html_url":"https://github.com/N0NB/hamlib/issues/12#issuecomment-150974667","issue_url":"https://api.github.com/repos/N0NB/hamlib/issues/12","id":150974667,"user":{"login":"njohnsn","id":8146426,"avatar_url":"https://avatars.githubusercontent.com/u/8146426?v=3","gravatar_id":"","url":"https://api.github.com/users/njohnsn","html_url":"https://github.com/njohnsn","followers_url":"https://api.github.com/users/njohnsn/followers","following_url":"https://api.github.com/users/njohnsn/following{/other_user}","gists_url":"https://api.github.com/users/njohnsn/gists{/gist_id}","starred_url":"https://api.github.com/users/njohnsn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/njohnsn/subscriptions","organizations_url":"https://api.github.com/users/njohnsn/orgs","repos_url":"https://api.github.com/users/njohnsn/repos","events_url":"https://api.github.com/users/njohnsn/events{/privacy}","received_events_url":"https://api.github.com/users/njohnsn/received_events","type":"User","site_admin":false},"created_at":"2015-10-25T21:26:17Z","updated_at":"2015-10-25T21:26:17Z","body":"I installed the packages you listed, and I'm still getting the same error messages, except with the version of python 2.7 listed instead of 3.4\r\n\r\n-Neil\r\n"}}