{"action":"created","issue":{"url":"https://api.github.com/repos/XPIR-team/XPIR/issues/21","repository_url":"https://api.github.com/repos/XPIR-team/XPIR","labels_url":"https://api.github.com/repos/XPIR-team/XPIR/issues/21/labels{/name}","comments_url":"https://api.github.com/repos/XPIR-team/XPIR/issues/21/comments","events_url":"https://api.github.com/repos/XPIR-team/XPIR/issues/21/events","html_url":"https://github.com/XPIR-team/XPIR/issues/21","id":149982405,"number":21,"title":"Error installing XPIR on Mac OSX (El Capitan)","user":{"login":"JoaoAndreSa","id":9702328,"avatar_url":"https://avatars.githubusercontent.com/u/9702328?v=3","gravatar_id":"","url":"https://api.github.com/users/JoaoAndreSa","html_url":"https://github.com/JoaoAndreSa","followers_url":"https://api.github.com/users/JoaoAndreSa/followers","following_url":"https://api.github.com/users/JoaoAndreSa/following{/other_user}","gists_url":"https://api.github.com/users/JoaoAndreSa/gists{/gist_id}","starred_url":"https://api.github.com/users/JoaoAndreSa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JoaoAndreSa/subscriptions","organizations_url":"https://api.github.com/users/JoaoAndreSa/orgs","repos_url":"https://api.github.com/users/JoaoAndreSa/repos","events_url":"https://api.github.com/users/JoaoAndreSa/events{/privacy}","received_events_url":"https://api.github.com/users/JoaoAndreSa/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2016-04-21T06:45:34Z","updated_at":"2016-04-22T16:39:06Z","closed_at":null,"body":"Although XPIR is running on Ubuntu I tried to install this same library (release 0.2.0) on MAC OSX (my work computer). \r\n\r\nI tried following all compiling steps (mac ports, clang 3.6/gcc4.8) using brew to install the remaining dependencies (GMP/mprf/boost) but I always get the same error during make (which I presume to be something related with boost linkage). I already tried to install boost from source files and even tried to statically assign the BOOST_ROOT variable (BOOST_ROOT=/usr/local/Cellar/boost).Any ideas on what else should I do to make this work? \r\n\r\n**$ cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_COMPILER=/opt/local/bin/gcc-mp-4.8 -DCMAKE_CXX_COMPILER=/opt/local/bin/clang-mp-3.6**\r\n\r\n-- The C compiler identification is GNU 4.8.5\r\n-- The CXX compiler identification is Clang 3.6.2\r\n-- Checking whether C compiler has -isysroot\r\n-- Checking whether C compiler has -isysroot - yes\r\n-- Checking whether C compiler supports OSX deployment target flag\r\n-- Checking whether C compiler supports OSX deployment target flag - yes\r\n-- Check for working C compiler: /opt/local/bin/gcc-mp-4.8\r\n-- Check for working C compiler: /opt/local/bin/gcc-mp-4.8 -- works\r\n-- Detecting C compiler ABI info\r\n-- Detecting C compiler ABI info - done\r\n-- Detecting C compile features\r\n-- Detecting C compile features - done\r\n-- Check for working CXX compiler: /opt/local/bin/clang-mp-3.6\r\n-- Check for working CXX compiler: /opt/local/bin/clang-mp-3.6 -- works\r\n-- Detecting CXX compiler ABI info\r\n-- Detecting CXX compiler ABI info - done\r\n-- Performing Test COMPILER_SUPPORTS_CXX11\r\n-- Performing Test COMPILER_SUPPORTS_CXX11 - Success\r\n-- Building RELEASE version\r\n-- Performing Test COMPILER_SUPPORTS-MARCH=NATIVE\r\n-- Performing Test COMPILER_SUPPORTS-MARCH=NATIVE - Failed\r\n-- Performing Test COMPILER_SUPPORTS-MTUNE=NATIVE\r\n-- Performing Test COMPILER_SUPPORTS-MTUNE=NATIVE - Failed\r\n-- Performing Test COMPILER_SUPPORTS-FUNROLL-LOOPS\r\n-- Performing Test COMPILER_SUPPORTS-FUNROLL-LOOPS - Failed\r\n-- The ASM compiler identification is GNU\r\n-- Found assembler: /opt/local/bin/gcc-mp-4.8\r\n-- Looking for pthread.h\r\n-- Looking for pthread.h - found\r\n-- Looking for pthread_create\r\n-- Looking for pthread_create - found\r\n-- Found Threads: TRUE  \r\n-- Boost version: 1.60.0\r\n-- Found the following Boost libraries:\r\n--   atomic\r\n--   chrono\r\n--   date_time\r\n--   exception\r\n--   program_options\r\n--   regex\r\n--   system\r\n--   thread\r\n--   program_options\r\n-- GMP libs: /opt/local/lib/libgmp.dylib /opt/local/lib/libgmpxx.dylib\r\n-- Found GMP: /opt/local/include (Required is at least version \"6\") \r\n-- mpfr libs: /opt/local/lib/libmpfr.dylib\r\n-- Found MPFR: /opt/local/include (Required is at least version \"3.1.2\") \r\n-- Send the catalog to the client\r\n-- Use multi-threading\r\n-- Show performance measurements during execution\r\n-- GMP libs: /opt/local/lib/libgmp.dylib /opt/local/lib/libgmpxx.dylib\r\n-- Configuring done\r\n-- Generating done\r\n\r\n\r\n**$ make**\r\n\r\n**Undefined symbols for architecture x86_64:**\r\n  \"boost::program_options::to_internal(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)\", referenced from:\r\n      boost::program_options::basic_parsed_options<char> boost::program_options::parse_command_line<char>(int, char const const, boost::program_options::options_description const&, int, boost::function1<std::pair<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>) in main.cpp.o\r\n  \"boost::program_options::options_description::options_description(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, unsigned int, unsigned int)\", referenced from:\r\n      _main in main.cpp.o\r\n(...)\r\nvtable for boost::program_options::typed_value<unsigned int, char> in main.cpp.o\r\n**ld: symbol(s) not found for architecture x86_64\r\ncollect2: error: ld returned 1 exit status**\r\nmake[2]: *** [apps/client/pir_client] Error 1\r\nmake[1]: *** [apps/client/CMakeFiles/pir_client.dir/all] Error 2\r\n\r\n\r\nBest regards,\r\nJoao Sa"},"comment":{"url":"https://api.github.com/repos/XPIR-team/XPIR/issues/comments/213501949","html_url":"https://github.com/XPIR-team/XPIR/issues/21#issuecomment-213501949","issue_url":"https://api.github.com/repos/XPIR-team/XPIR/issues/21","id":213501949,"user":{"login":"carlosaguilarmelchor","id":10304162,"avatar_url":"https://avatars.githubusercontent.com/u/10304162?v=3","gravatar_id":"","url":"https://api.github.com/users/carlosaguilarmelchor","html_url":"https://github.com/carlosaguilarmelchor","followers_url":"https://api.github.com/users/carlosaguilarmelchor/followers","following_url":"https://api.github.com/users/carlosaguilarmelchor/following{/other_user}","gists_url":"https://api.github.com/users/carlosaguilarmelchor/gists{/gist_id}","starred_url":"https://api.github.com/users/carlosaguilarmelchor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/carlosaguilarmelchor/subscriptions","organizations_url":"https://api.github.com/users/carlosaguilarmelchor/orgs","repos_url":"https://api.github.com/users/carlosaguilarmelchor/repos","events_url":"https://api.github.com/users/carlosaguilarmelchor/events{/privacy}","received_events_url":"https://api.github.com/users/carlosaguilarmelchor/received_events","type":"User","site_admin":false},"created_at":"2016-04-22T16:39:06Z","updated_at":"2016-04-22T16:39:06Z","body":"Hey, \r\ngood news thank you :) I let @Kirija do a bugfix and close the issue once all the problems are solved (with the helper_script and without it).\r\n\r\nThank you again for your feedback,\r\n\r\nCarlos"}}