I was wondering if you could help me out install RAPSeearch 2 on my laptop. I first tried to install RAPSearch2 using Homebrew and i got the following error message.
==> Installing rapsearch2 from brewsci/science
==> Downloading https://downloads.sourceforge.net/project/rapsearch2/RAPSearch2.24_64bits.tar.gz
Already downloaded: /Users/kt/Library/Caches/Homebrew/downloads/019130952bdeac4d477eec91b2444faaafd7c1b31bcc4429bedb610969b7d1f4--RAPSearch2.24_64bits.tar.gz
==> make INC=-I/usr/local/opt/boost/include LIBS=-L/usr/local/opt/boost/lib
Last 15 lines from /Users/kt/Library/Logs/Homebrew/rapsearch2/01.make:
^
/usr/local/opt/boost/include/boost/iterator/distance.hpp:49:9: note: candidate function [with SinglePassIterator = std::1::wrap_iter<CHitUnit >]
distance(SinglePassIterator first, SinglePassIterator last)
^
HashSearch.cpp:2556:13: error: call to 'distance' is ambiguous
else if (distance(itStart, itEnd) == 1)
^~~~
/Library/Developer/CommandLineTools/usr/include/c++/v1/iterator:590:1: note: candidate function [with _InputIter = std::1::wrap_iter<CHitUnit >]
distance(_InputIter __first, _InputIter last)
^
/usr/local/opt/boost/include/boost/iterator/distance.hpp:49:9: note: candidate function [with SinglePassIterator = std::1::__wrap_iter<CHitUnit *>]
distance(SinglePassIterator first, SinglePassIterator last)
^
9 errors generated.
make: *** [HashSearch.o] Error 1
After searching online i saw that another user had a similar issue and post a solution on github unfortunately when i tried to implement that approach i get the following message
Error: apple-gcc42 is not supported on OS X versions newer than El Capitan.
Error: Failed to fetch apple-gcc42: unsupported platform
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_apple-gcc42/apple-gcc42/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets to report a bug.
Error: Processing of port apple-gcc42 failed
Hi guys
I was wondering if you could help me out install RAPSeearch 2 on my laptop. I first tried to install RAPSearch2 using Homebrew and i got the following error message. ==> Installing rapsearch2 from brewsci/science ==> Downloading https://downloads.sourceforge.net/project/rapsearch2/RAPSearch2.24_64bits.tar.gz Already downloaded: /Users/kt/Library/Caches/Homebrew/downloads/019130952bdeac4d477eec91b2444faaafd7c1b31bcc4429bedb610969b7d1f4--RAPSearch2.24_64bits.tar.gz ==> make INC=-I/usr/local/opt/boost/include LIBS=-L/usr/local/opt/boost/lib Last 15 lines from /Users/kt/Library/Logs/Homebrew/rapsearch2/01.make: ^ /usr/local/opt/boost/include/boost/iterator/distance.hpp:49:9: note: candidate function [with SinglePassIterator = std::1::wrap_iter<CHitUnit >] distance(SinglePassIterator first, SinglePassIterator last) ^ HashSearch.cpp:2556:13: error: call to 'distance' is ambiguous else if (distance(itStart, itEnd) == 1) ^
~~~ /Library/Developer/CommandLineTools/usr/include/c++/v1/iterator:590:1: note: candidate function [with _InputIter = std::1::wrap_iter<CHitUnit >] distance(_InputIter __first, _InputIter last) ^ /usr/local/opt/boost/include/boost/iterator/distance.hpp:49:9: note: candidate function [with SinglePassIterator = std::1::__wrap_iter<CHitUnit *>] distance(SinglePassIterator first, SinglePassIterator last) ^ 9 errors generated. make: *** [HashSearch.o] Error 1If reporting this issue please do so at (not Homebrew/brew or Homebrew/core): https://github.com/brewsci/homebrew-science/issues
After searching online i saw that another user had a similar issue and post a solution on github unfortunately when i tried to implement that approach i get the following message
Error: apple-gcc42 is not supported on OS X versions newer than El Capitan. Error: Failed to fetch apple-gcc42: unsupported platform Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_apple-gcc42/apple-gcc42/main.log for details. Error: Follow https://guide.macports.org/#project.tickets to report a bug. Error: Processing of port apple-gcc42 failed
Can you help out ?
Thank you Kyriakos