I am trying to install piratte from the given link(https://bitbucket.org/hatswitch/piratte hatswitch / PIRATTE — Bitbucket ) on my intel galileo gen-2.
i have installed PBC library but when i am running make command in libswabe-pirrate then it is continuously running the same script again and again (endless).
Thank you for contacting us.
I've been reviewing the instructions and requisites to install piratte. According to the documentation I found, in order to install piratte, you need to install the PBC library. This library, in turn, has the GMP library as a requisite. I found a few ways to install these libraries and would like to know how you chose to install them, please send us the links you followed. I ask because, some packages compiled in some repositories are not compatible with certain images of the Galileo. It'd also be useful to know which Yocto image you're using. Please send us the output of cat /etc/version.
We want to try to help you solve this problem, but, please keep in mind that installing third party packages to the default Galileo image is considered to be outside the scope of support. You can also contact pirate support here: https://support.atlassian.com/bitbucket/ . They might be able to provide more insight on your issue.
We'll be waiting for your response
Thank you for your reply. We installed piratte to attempt to reproduce your issue. However, we didn't observe any problems during the installation. We installed the GMP library first, then, the PBC library and lastly piratte.
We installed GMP from: http://repo.opkg.net/galileo/ http://repo.opkg.net/galileo/
For the PBC Library, we downloaded the file labeled pbc-0.5.14.tar.gz from https://crypto.stanford.edu/pbc/download.html https://crypto.stanford.edu/pbc/download.html .
We uncompressed the file and then ran
$ ./configure $ make $ make install
This process takes about half an hour, so don't worry if you feel it's taking too long. Let the process finish and after everything is installed, move on to install pirate.
Download the file here: https://bitbucket.org/hatswitch/piratte/downloads/ https://bitbucket.org/hatswitch/piratte/downloads/ . Uncompress the file and inside the folder libbswabe-piratte, run the following commands:
./configure make make install
Lastly, go to the pirate folder and also run the 3 previous commands (as explained in the guide).
Installing pirate lasts about 5 minutes.
Let us know if the steps you're following differ from ours.
We'll be waiting for your response.
we have done cpabe(http://acsc.cs.utexas.edu/cpabe/ Advanced Crypto Software Collection ) installation on the same image and we didn't have to install GMP as it is preinstalled with the image and then followed the same procedure as you said. but scripts kept on repeating. please throw some light on how to install GMP i will try it with the new image.
In the Yocto image, you can communicate with the repo we shared above and use the command opkg install gmp to install GMP. The image can be downloaded from here: https://software.intel.com/en-us/iot/hardware/galileo/downloads . After this is done, follow the instructions from our previous reply and let us know your results.
If possible, download the same packages as we did so it becomes easier to compare our results in case an error occurs.
The contents of /etc/opkg/base-feeds.conf are:
src/gz all http://repo.opkg.net/galileo/repo/all
src/gz clanton http://repo.opkg.net/galileo/repo/clanton
src/gz i586 http://repo.opkg.net/galileo/repo/i586
And the result of wget http://repo.opkg.net/galileo/ is:
Connecting to repo.opkg.net (188.8.131.52:80)
index.html 100% |*******************************| 799 0:00:00 ETA
Have you already configured Wi-Fi in your Galileo? Are you able to make ping requests? You need to have an internet connection in order to use wget to fetch packages.