{"action":"created","issue":{"url":"https://api.github.com/repos/SynoCommunity/spksrc/issues/1648","labels_url":"https://api.github.com/repos/SynoCommunity/spksrc/issues/1648/labels{/name}","comments_url":"https://api.github.com/repos/SynoCommunity/spksrc/issues/1648/comments","events_url":"https://api.github.com/repos/SynoCommunity/spksrc/issues/1648/events","html_url":"https://github.com/SynoCommunity/spksrc/issues/1648","id":68078851,"number":1648,"title":"compiling boost_python","user":{"login":"gkroone","id":4581848,"avatar_url":"https://avatars.githubusercontent.com/u/4581848?v=3","gravatar_id":"","url":"https://api.github.com/users/gkroone","html_url":"https://github.com/gkroone","followers_url":"https://api.github.com/users/gkroone/followers","following_url":"https://api.github.com/users/gkroone/following{/other_user}","gists_url":"https://api.github.com/users/gkroone/gists{/gist_id}","starred_url":"https://api.github.com/users/gkroone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gkroone/subscriptions","organizations_url":"https://api.github.com/users/gkroone/orgs","repos_url":"https://api.github.com/users/gkroone/repos","events_url":"https://api.github.com/users/gkroone/events{/privacy}","received_events_url":"https://api.github.com/users/gkroone/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2015-04-13T11:55:16Z","updated_at":"2015-04-16T08:35:52Z","closed_at":null,"body":"I'm new to programming and spksrc, but giving it a try anyhow, but I'm having trouble compiling latest revisions of domoticz due to it requiring boost_python.\r\n\r\nin the configure part of the MakeFile for boost, it creates a file called: \r\nwork-x86-5.1/boost_1_53_0/tools/build/v2/user-config.jam\r\n\r\nwhen I modify the boost Makefile to list:\r\n\r\n    @echo \"using gcc : `$(TC_PATH)$(TC_PREFIX)gcc -dumpversion` : $(TC_PATH)$(TC_PREFIX)g++ : <address-model>\\\"$(ADDRESS_MODEL)\\\" <cflags>\\\"$(CFLAGS)\\\" <cxxflags>\\\"$(CXXFLAGS)\\\" <linkflags>\\\" -L$(STAGING_INSTALL_PREFIX)/lib/$(PYTHON_INC_DIR) $(LDFLAGS)\\\" <link>\\\"shared\\\" ; \" > $(WORK_DIR)/$(PKG_DIR)/tools/build/v2/user-config.jam\r\n\r\n\r\nto basically add into \r\n    \\<linkflags\\>\r\n    -L$(STAGING_INSTALL_PREFIX)/lib/$(PYTHON_INC_DIR)\r\n\r\nand also in the Domoticz Makefile, I add \r\n    PYTHON_INC_DIR=\"python2.7\" \r\n\r\nthen the boost compiles correctly, but I was unable to figure out how to make it compile by just modifying the Domoticz MakeFile.\r\nI tried many things.  adding e.g. \r\n    ADDITIONAL_LDFLAGS = \"-L$(STAGING_INSTALL_PREFIX)/lib/$(PYTHON_INC_DIR)\"\r\ndid not work.\r\n\r\nhow should I do this properly? \r\n\r\nIs this a problem with boost MakeFile or with Domoticz MakeFile?"},"comment":{"url":"https://api.github.com/repos/SynoCommunity/spksrc/issues/comments/93678488","html_url":"https://github.com/SynoCommunity/spksrc/issues/1648#issuecomment-93678488","issue_url":"https://api.github.com/repos/SynoCommunity/spksrc/issues/1648","id":93678488,"user":{"login":"gkroone","id":4581848,"avatar_url":"https://avatars.githubusercontent.com/u/4581848?v=3","gravatar_id":"","url":"https://api.github.com/users/gkroone","html_url":"https://github.com/gkroone","followers_url":"https://api.github.com/users/gkroone/followers","following_url":"https://api.github.com/users/gkroone/following{/other_user}","gists_url":"https://api.github.com/users/gkroone/gists{/gist_id}","starred_url":"https://api.github.com/users/gkroone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gkroone/subscriptions","organizations_url":"https://api.github.com/users/gkroone/orgs","repos_url":"https://api.github.com/users/gkroone/repos","events_url":"https://api.github.com/users/gkroone/events{/privacy}","received_events_url":"https://api.github.com/users/gkroone/received_events","type":"User","site_admin":false},"created_at":"2015-04-16T08:35:52Z","updated_at":"2015-04-16T08:35:52Z","body":"@LouiS22 I've tried to build for marvel 88f6281 and faced the same issue. initial build fails, but then all I do is the following:\r\nmv work-88f6281-5.1/boost_1_53_0 work-88f6281-5.1/boost_1_53_0.bak\r\nrm work-88f6281-5.1/.boost-configure_done\r\nrm work-88f6281-5./.boost-extract_done\r\nrm work-88f6281-5.1/.boost-patch_done\r\nmake arch-88f6281\r\n\r\nand the compile completes just fine.\r\n\r\nI found this article: #516 describing the exact problem.\r\n\r\nI uncommented the line in cross/boost/Makefile\r\n    -include $(WORK_DIR)/python-cc.mk\r\n\r\nand added to the DEPENDS in domoticz makefile: /cross/python\r\nalso removed  my other changes in the makefile for boost and domoticz that are related to boost_python compilation.\r\n\r\nnow it compiles just fine without error in the boost compilation."}}