Closed jjsenay closed 4 years ago
HI, thanks for posting this issue. In order to try and help pinpoint the problem, can you provide us with what step this was happening in the getting started? was the script able to build the dependencies?
Thank you for the quick reply.
I did get some Cmake error, but I just went ahead and tried to start the project. Attached are the Cmake.logs
It happened when I did step 7 on the Github instructions.
Thanks
JJS
On Jun 8, 2020, at 11:24 AM, Gregory Boland <notifications@github.com mailto:notifications@github.com> wrote:
HI, thanks for posting this issue. In order to try and help pinpoint the problem, can you provide us with what step this was happening in the getting started? was the script able to build the dependencies?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/IBM/fhe-toolkit-macos/issues/11#issuecomment-640733175, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACCMJ22FX4OYFSSYND2IZNLRVUGDBANCNFSM4NYSAAXA.
So it looks like somewhere in the dependency build, it is failing. It is not creating the HElib_macOS directory with the HElib library in it. It would be quite helpful if we could see the logs from the dependency script when it runs. That will be able to tell us where it is failing. It will print out a mess of text on the terminal after running. If you can look through that and tell us where it is failing, or perhaps copy it into a file and attach it, that would be best. Sorry for the trouble, hope to get it working
All,
Attached is the original, complete console output for Step 5.
JJS
On Jun 8, 2020, at 12:59 PM, Gregory Boland notifications@github.com wrote:
So it looks like somewhere in the dependency build, it is failing. It is not creating the HElib_macOS directory with the HElib library in it. It would be quite helpful if we could see the logs from the dependency script when it runs. That will be able to tell us where it is failing. It will print out a mess of text on the terminal after running. If you can look through that and tell us where it is failing, or perhaps copy it into a file and attach it, that would be best. Sorry for the trouble, hope to get it working
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/IBM/fhe-toolkit-macos/issues/11#issuecomment-640782813, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACCMJ2336UN6GPFF5V56WJDRVURJRANCNFSM4NYSAAXA.
@jjsenay i don't see anything attached, not sure it made it, unless i am missing something
Same problem. Relevant stdout log:
[...]
++ pwd
+ CURRENT_DIR=/Users/redacted/fhe-toolkit-macos/dependencies
+ DEPEND_DIR=/Users/redacted/fhe-toolkit-macos/dependencies
+ cp /Users/redacted/fhe-toolkit-macos/dependencies/Helib_install/CMakeLists.txt /Users/redacted/fhe-toolkit-macos/dependencies/HElib
+ cd /Users/redacted/fhe-toolkit-macos/dependencies/HElib
++ pwd
+ cmake -S. -B../HElib_macOS -GXcode -DCMAKE_SYSTEM_NAME=Darwin '-DCMAKE_OSX_ARCHITECTURES=arm64;x86_64' -DCMAKE_OSX_DEPLOYMENT_TARGET=10.10 -DCMAKE_INSTALL_PREFIX=/Users/redacted/fhe-toolkit-macos/dependencies/HElib/_install -DCMAKE_XCODE_ATTRIBUTE_ONLY_ACTIVE_ARCH=NO -DCMAKE_IOS_INSTALL_COMBINED=YES -DGMP_DIR=/Users/redacted/fhe-toolkit-macos/dependencies/gmp -DGMP_HEADERS=/Users/redacted/fhe-toolkit-macos/dependencies/gmp/include -DGMP_LIB=/Users/redacted/fhe-toolkit-macos/dependencies/gmp/lib/libgmp.a -DNTL_INCLUDE_PATHS=/Users/redacted/fhe-toolkit-macos/dependencies/ntl/include -DNTL_LIB=/Users/redacted/fhe-toolkit-macos/dependencies/ntl/lib/ntl.a -DNTL_DIR=/Users/redacted/fhe-toolkit-macos/dependencies/ntl/include
CMake Error: The source directory "" does not exist.
Specify --help for usage, or press the help button on the CMake GUI.
+ echo ' — — — — — — — — — — Building Dependencies Script Ended — — — — — — — — — — '
— — — — — — — — — — Building Dependencies Script Ended — — — — — — — — — —
Edit:
> cmake --version
cmake version 3.10.1
Hi @wilfred-centrality does you home directory have a white space or symbol on the name? There is an known issue with white space and/o symbols in the directory name that is in the queue for fixing.
-Flavio
Hi @wilfred-centrality, This seems to be a problem with the version of cmake. Other collaborators have reported that cmake vesrion 3.17 works. Can you let us know if it resolves your issue, please?
Thank you.
Flavio,
I get the error using Cmake 3.17.3 for MAC OS. Downloaded binary directly from GitHub
Thanks
JJS
On Jun 14, 2020, at 6:25 AM, Flavio Bergamaschi notifications@github.com wrote:
Hi @wilfred-centrality https://github.com/wilfred-centrality, This seems to be a problem with the version of cmake. Other collaborators have reported that cmake vesrion 3.17 works. Can you let us know if it resolves your issue, please?
Thank you.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/IBM/fhe-toolkit-macos/issues/11#issuecomment-643753323, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACCMJ26ZX5S4F3ISMUZ24ULRWSXTLANCNFSM4NYSAAXA.
Hi @jjsenay I am just following up to see if this is still an issue. Flavio has been busy the last couple of days with the release and @boland25 has been focused on something else (though he should be back in the swing of things Monday or Tuesday of next week). Hang in there. Maybe Monday or Tuesday @boland25 or @faberga can get some time with you to do some debugging done?
IBM,
Nobody has provided guidance on the Cmake question. I will hang tight till next Wednesday.
Thanks
JJS
On Jun 18, 2020, at 1:09 PM, Eli M. Dow notifications@github.com wrote:
Hi @jjsenay https://github.com/jjsenay I am just following up to see if this is still an issue. Flavio has been busy the last couple of days with the release and @boland25 https://github.com/boland25 has been focused on something else (though he should be back in the swing of things Monday or Tuesday of next week). Hang in there. Maybe Monday or Tuesday @boland25 https://github.com/boland25 or @faberga https://github.com/faberga can get some time with you to do some debugging done?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/IBM/fhe-toolkit-macos/issues/11#issuecomment-646224171, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACCMJ2Y6XKYPKDPRZPCGMLTRXJJ4ZANCNFSM4NYSAAXA.
@jjsenay, can you send us the complete log file,, please?
Thank you
@jjsenay from the terminal session where you are trying to install the toolkit, can you send us the output of the command
cmake --version
Thank you. Flavio
IBM,
Are there any more logs than theses?
Show-MacBook-Pro-2:~ johnsenay$ cmake --version cmake version 3.17.3
CMake suite maintained and supported by Kitware (kitware.com/cmake). Show-MacBook-Pro-2:~ johnsenay$
Thanks
John J. Senay
On Jun 22, 2020, at 1:23 PM, Flavio Bergamaschi notifications@github.com wrote:
@wilfred-centrality https://github.com/wilfred-centrality can you send us the complete log file,, please?
Thank you
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/IBM/fhe-toolkit-macos/issues/11#issuecomment-647696015, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACCMJ27YZILZGXWUBFOW2GTRX6ORXANCNFSM4NYSAAXA.
@jjsenay what I am looking for is the output that is printed to the terminal after running the ./setup.sh script. That will be able to tell me where your dependency build is failing. I suspect that the cmake fails because something in the chain before it is failing. It would be most helpful if I could see that
Gregory
Thanks
John J. Senay
On Jun 23, 2020, at 9:14 PM, Gregory Boland notifications@github.com wrote:
@jjsenay https://github.com/jjsenay what I am looking for is the output that is printed to the terminal after running the ./setup.sh script. That will be able to tell me where your dependency build is failing. I suspect that the cmake fails because something in the chain before it is failing. It would be most helpful if I could see that
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/IBM/fhe-toolkit-macos/issues/11#issuecomment-648540475, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACCMJ22BJIB55AUXPRO773TRYFOSDANCNFSM4NYSAAXA.
@jjsenay were you able to get the console output and attach it here as @boland25 requested? We definitely want to help you get going with this, but without some information, we are not able to provide further guidance at this time. Can you let us know if you are still working on this?
Eli,
Yes I did. It is the attached Cmake_build.rtf file
JJS
On Jun 29, 2020, at 11:45 AM, Eli M. Dow <notifications@github.com mailto:notifications@github.com> wrote:
@jjsenay https://github.com/jjsenay were you able to get the console output and attach it here as @boland25 https://github.com/boland25 requested? We definitely want to help you get going with this, but without some information, we are not able to provide further guidance at this time. Can you let us know if you are still working on this?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/IBM/fhe-toolkit-macos/issues/11#issuecomment-651236569, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACCMJ2Z6EXEUZSA5BXYPR43RZDAMNANCNFSM4NYSAAXA.
I just attached a test log. @jjsenay I don't see anything attached from you in this thread. How are you attaching them? You should be able to drag and drop the file here if it is a supported file type
@jjsenay yes I can see @dowem's attached test log, but I do not see yours anywhere.
All,
I am trying another email account. I am sending the attachments via :john@iiotcommunications.com mailto:john@iiotcommunications.com. It is my business account on Protonmail
Sorry for the problems!!
Thanks
JJS
On Jun 29, 2020, at 1:10 PM, Gregory Boland notifications@github.com wrote:
@jjsenay https://github.com/jjsenay yes I can see @dowem https://github.com/dowem's attached test log, but I do not see yours anywhere.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/IBM/fhe-toolkit-macos/issues/11#issuecomment-651277727, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACCMJ2Y33INF4LBU367G23TRZDKI3ANCNFSM4NYSAAXA.
Hi Again,
I am not sure what you mean by trying another email account. You may be viewing this discussion in an email reader, but to do the attachment, you should be editing and posting in GitHub at this url
https://github.com/IBM/fhe-toolkit-macos/issues/11
If you go to the URL above, from within github, you can copy the logs by dragging and dropping them here. If you had been attaching files as email responses, I expect they are not making it to the source github issue where the team is looking for your uploads.
ok, thanks for doing that. I am looking at the output and it seems like the script is calling xcrun --show-sdk-platform-path
but it can't seem to find it.
Do you have Xcode and xcode's command line tools installed? If you don't have Xcode you can download that from the App Store, and the command line tools can be installed by typing this into your terminal xcode-select --install
. If you do have Xcode and its command line tools installed perhaps there are several versions on your machine so maybe you might need to specify the path to one. In that case you can try xcode-select -switch /Applications/Xcode.app/Contents/Developer
. If that didn't work, you can try to reset the path to its default by trying xcode-select --reset
. please try this and re-run the setup.sh
script to see if anything was resolved.
All,
Sorry about the delay. The fHE compiled!!! I will be doing more exploration next week.
Cannot thank the TEAM enough!!
JJS
We are happy to hear you have HElib compiled @jjsenay! Shall we leave this issue open until you can validate that you can run the privacy-preserving search application, or shall we close this issue for now?
Eki,
Please close the issue.
Thanks
John J. Senay
On Jul 1, 2020, at 4:18 PM, Eli M. Dow notifications@github.com wrote:
We are happy to hear you have HElib compiled @jjsenay https://github.com/jjsenay! Shall we leave this issue open until you can validate that you can run the privacy-preserving search application, or shall we close this issue for now?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/IBM/fhe-toolkit-macos/issues/11#issuecomment-652651484, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACCMJ23INLV7ES25PRMTSCDRZOR2BANCNFSM4NYSAAXA.
Eki,
Please close the issue.
Thanks
John J. Senay
On Jul 1, 2020, at 4:18 PM, Eli M. Dow <notifications@github.com mailto:notifications@github.com> wrote:
We are happy to hear you have HElib compiled @jjsenay https://github.com/jjsenay! Shall we leave this issue open until you can validate that you can run the privacy-preserving search application, or shall we close this issue for now?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/IBM/fhe-toolkit-macos/issues/11#issuecomment-652651484, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACCMJ23INLV7ES25PRMTSCDRZOR2BANCNFSM4NYSAAXA.
Having problems with a missing dependence. Does the cmake file need to be updated?
library not found for -lhelib
Build target Privacy Preserving Search_2020-06-08T11-06-45.txt Build target Privacy Preserving Search_2020-06-08T11-06-45.txt