{"action":"closed","issue":{"url":"https://api.github.com/repos/drmeister/clasp/issues/299","repository_url":"https://api.github.com/repos/drmeister/clasp","labels_url":"https://api.github.com/repos/drmeister/clasp/issues/299/labels{/name}","comments_url":"https://api.github.com/repos/drmeister/clasp/issues/299/comments","events_url":"https://api.github.com/repos/drmeister/clasp/issues/299/events","html_url":"https://github.com/drmeister/clasp/issues/299","id":180961331,"number":299,"title":"build fails at linking cclasp-boehm; with non-standard libboost location","user":{"login":"attila-lendvai","id":840345,"avatar_url":"https://avatars.githubusercontent.com/u/840345?v=3","gravatar_id":"","url":"https://api.github.com/users/attila-lendvai","html_url":"https://github.com/attila-lendvai","followers_url":"https://api.github.com/users/attila-lendvai/followers","following_url":"https://api.github.com/users/attila-lendvai/following{/other_user}","gists_url":"https://api.github.com/users/attila-lendvai/gists{/gist_id}","starred_url":"https://api.github.com/users/attila-lendvai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/attila-lendvai/subscriptions","organizations_url":"https://api.github.com/users/attila-lendvai/orgs","repos_url":"https://api.github.com/users/attila-lendvai/repos","events_url":"https://api.github.com/users/attila-lendvai/events{/privacy}","received_events_url":"https://api.github.com/users/attila-lendvai/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/drmeister/clasp/labels/building","name":"building","color":"eb6420"}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-10-04T17:55:12Z","updated_at":"2016-10-05T13:57:42Z","closed_at":"2016-10-05T13:57:42Z","body":"i'm on Debian stable and therefore had to build a fresh libboost myself. i installed it under `/opt`.\r\n\r\nthis is how i need to build clasp, which works almost until the end, but fails when linking cclasp_boehm:\r\n\r\n```\r\nCXXFLAGS=\"-I/opt/boost_1_62_0/include\" LDFLAGS=\"-L/opt/boost_1_62_0/lib\" EXTERNALS_CLASP_DIR=/media/store/work/clasp/externals-clasp/ PJOBS=2 make\r\n```\r\n\r\ni can successfully finish building cclasp if i hardcode this into the wscript file, into the `link_executable` task:\r\n\r\n`-L/opt/boost_1_62_0/lib -Wl,-rpath=/opt/boost_1_62_0/lib`\r\n\r\ncclasp then can successfully `compile-file` and `load` fasls.\r\n\r\nthe resulting cclasp has no clue about the libboost path, though:\r\n\r\n```\r\n$ ./cclasp-boehm\r\nStarting Boehm cclasp 0.4.0-1039-g2eb181f ... loading image... it takes a few seconds\r\nTop level.\r\n> core:*build-linkflags*\r\n\r\n\"-L/media/store/work/clasp/externals-clasp/build/release/lib -fuse-ld=gold -stdlib=libstdc++ -lstdc++ -pthread -flto=thin -fvisibility=default -rdynamic\"\r\n> core:*build-stlib*\r\n\r\n\" -lclangASTMatchers -lclangDynamicASTMatchers -lclangIndex -lclangTooling -lclangFormat -lclangToolingCore -lclangBasic -lclangCodeGen -lclangDriver -lclangFrontend -lclangFrontendTool -lclangCodeGen -lclangRewriteFrontend -lclangARCMigrate -lclangStaticAnalyzerFrontend -lclangFrontend -lclangDriver -lclangParse -lclangSerialization -lclangSema -lclangEdit -lclangStaticAnalyzerCheckers -lclangStaticAnalyzerCore -lclangAnalysis -lclangAST -lclangRewrite -lclangLex -lclangBasic -lLLVMLTO -lLLVMObjCARCOpts -lLLVMSymbolize -lLLVMDebugInfoPDB -lLLVMDebugInfoDWARF -lLLVMObjectYAML -lLLVMGlobalISel -lLLVMLibDriver -lLLVMOption -lLLVMCoverage -lLLVMTableGen -lLLVMOrcJIT -lLLVMX86Disassembler -lLLVMX86AsmParser -lLLVMX86CodeGen -lLLVMSelectionDAG -lLLVMAsmPrinter -lLLVMDebugInfoCodeView -lLLVMX86Desc -lLLVMMCDisassembler -lLLVMX86Info -lLLVMX86AsmPrinter -lLLVMX86Utils -lLLVMMCJIT -lLLVMLineEditor -lLLVMPasses -lLLVMipo -lLLVMVectorize -lLLVMLinker -lLLVMIRReader -lLLVMInterpreter -lLLVMExecutionEngine -lLLVMRuntimeDyld -lLLVMObject -lLLVMMCParser -lLLVMMIRParser -lLLVMCodeGen -lLLVMTarget -lLLVMScalarOpts -lLLVMInstCombine -lLLVMInstrumentation -lLLVMTransformUtils -lLLVMMC -lLLVMBitWriter -lLLVMBitReader -lLLVMAnalysis -lLLVMProfileData -lLLVMAsmParser -lLLVMCore -lLLVMSupport -lboost_filesystem -lboost_regex -lboost_date_time -lboost_program_options -lboost_system -lboost_iostreams -lz -lgc\"\r\n> core:*build-lib*\r\n\r\n\" -ldl -lncurses -lm -lgmpxx -lgmp\"\r\n> \r\n```"}}
{"actor":{"display_login":"attila-lendvai"}}