Closed dermarder closed 9 years ago
Did you follow the instructions on the wiki page?
E
On Nov 10, 2014, at 15:21, dermarder notifications@github.com wrote:
Hey! Im get an error when i try to compile PersonalHomeKit on my Raspberry Pi. Can anyone help me?
Thank you very much.
gcc -O0 -w -o ed25519.o -c ed25519-donna/ed25519.c In file included from ed25519-donna/ed25519.c:19:0: ed25519-donna/ed25519-randombytes.h:83:26: fatal error: openssl/rand.h: Datei oder Verzeichnis nicht gefunden compilation terminated. makefile:27: recipe for target 'ed25519.o' failed make: *\ [ed25519.o] Error 1
— Reply to this email directly or view it on GitHub.
Yes, i did.
I installed OpenSSL, avahi and clang. Then i configured the Configuration.h file following the instructions from the readme file.
Any ideas?
Actually don't need clang since the repo switch to gcc/g++
Based on that I know you didn't follow the instructions for installing on a RPi. You need to update gcc to 4.8. I also recommend not making any changes to the repo, and compile as is first.
Oh, my fault! I had no idea that a wiki exists. Thank you very much
Well, i did all the Steps and now im getting this error:
gcc -O0 -w -o ed25519.o -c ed25519-donna/ed25519.c In file included from ed25519-donna/ed25519.c:19:0: ed25519-donna/ed25519-randombytes.h:83:26: fatal error: openssl/rand.h: Datei oder Verzeichnis nicht gefunden
^
compilation terminated. makefile:27: recipe for target 'ed25519.o' failed make: *\ [ed25519.o] Error 1
Can you help me? Thanks
Did you clone the repo and compile before making any changes?
E
On Nov 10, 2014, at 16:02, dermarder notifications@github.com wrote:
Well, i did all the Steps and now im getting this error:
gcc -O0 -w -o ed25519.o -c ed25519-donna/ed25519.c In file included from ed25519-donna/ed25519.c:19:0: ed25519-donna/ed25519-randombytes.h:83:26: fatal error: openssl/rand.h: Datei oder Verzeichnis nicht gefunden
include
^ compilation terminated. makefile:27: recipe for target 'ed25519.o' failed make: *\ [ed25519.o] Error 1
Can you help me? Thanks
— Reply to this email directly or view it on GitHub.
Yes, i deleted the whole folder and did all the steps explained in the wiki. The configuration file is untouched.
Try cloning an old commit from yesterday. I'll try the new commit once I get home
E
On Nov 10, 2014, at 16:11, dermarder notifications@github.com wrote:
Yes, i deleted the whole folder and did all the steps explained in the wiki. The configuration file is untouched.
— Reply to this email directly or view it on GitHub.
I had no trouble compiling the latest commit.
Post results from the following commands.
uname -a
gcc --version
g++ --version
UPDATE
openssl version
avahi-daemon --version
dermarder: Do you still have compile problem?
Yes im still having the problem.
pi@pi ~ $ uname -a Linux pi 3.12.28+ #709 PREEMPT Mon Sep 8 15:28:00 BST 2014 armv6l GNU/Linux
pi@pi ~ $ gcc --version gcc (Raspbian 4.8.2-21~rpi3rpi1) 4.8.2 Copyright (C) 2013 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
pi@pi ~ $ g++ --version g++ (Raspbian 4.8.2-21~rpi3rpi1) 4.8.2 Copyright (C) 2013 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
pi@pi ~ $ openssl version OpenSSL 1.0.1e 11 Feb 2013
pi@pi ~ $ avahi-daemon --version avahi-daemon 0.6.31
Eng translate: ed25519-donna/ed25519-randombytes.h:83:26: fatal error: openssl/rand.h: File or directory not found So your openssl is missing a header. Try reinstall openssl? P.S. In Ubuntu, OpenSSL update to 1.0.1f
I reinstalled openssl but im still getting the error, any other ideas? thanks for your help EDIT: using a old commit doesn't work aswell
It works now! I had to install the libssl-dev package via apt-get. Thank you very much for your help.
Updated the wiki link instructions.
Hey! Im get an error when i try to compile PersonalHomeKit on my Raspberry Pi. Can anyone help me?
Thank you very much.
gcc -O0 -w -o ed25519.o -c ed25519-donna/ed25519.c In file included from ed25519-donna/ed25519.c:19:0: ed25519-donna/ed25519-randombytes.h:83:26: fatal error: openssl/rand.h: Datei oder Verzeichnis nicht gefunden compilation terminated. makefile:27: recipe for target 'ed25519.o' failed make: *\ [ed25519.o] Error 1