Message boards : Server programs : Compiling crypt_prog
Message board moderation
Author | Message |
---|---|
Send message Joined: 13 Jan 11 Posts: 4 ![]() |
Hi, I'm currently trying to get a private boinc project going but I'm stuck at signing my applications. The problem occured earlier, when creating my project with make_project it couldn't generate the keys I need because it seems that crypt_prog didn't compile. The exact error message is: Keys don't exist in /path/to/keys/; generate them? [Y/n] Setting up server files: generating keys sh: /path/to/boinc/lib/crypt_prog: No such file or directory FATAL ERROR: Command failed: /path/to/boinc/lib/crypt_prog -genkey 1024 /path/to/keys/upload_private /path/to/keys/upload_public >/dev/null I tried compiling it manualy with cd /path/to/boinc/lib make crypt but I get 'crypt.cpp:23:20: error: config.h: No such file or directory'. Now, before I dig deep into the makefile to set some paths, is there anything I'm doing wrong or is there any known solution to this? Thanks! edit: To install the server I followed these instructions: http://boinc.berkeley.edu/trac/wiki/ServerIntro#cookbook-debian40 |
![]() Send message Joined: 29 Aug 05 Posts: 15585 ![]() |
Which BOINC source code are you using and which Linux distro? What command are you using to make the keys with crypt_prog? I ask so I can tell the developer that I'll try to have pass by this way. By the way, to use crypt_prog, see here. No, it doesn't say how to compile it or what to do when it won't compile, just what its command uses are. Also check out this page for the correct use overall of the cryptology program. |
Send message Joined: 13 Jan 11 Posts: 4 ![]() |
Which BOINC source code are you using and which Linux distro? svn co http://boinc.berkeley.edu/svn/branches/server_stable on Debian 2.6.26-25lenny1 (2.6.26-2-686-bigmem, gcc version 4.3.2, Python 2.5.2) What command are you using to make the keys with crypt_prog? I'm using the Make Project Script which is supposed to generate the keys automatically, but as you can see from the error message (first post) it can't find the crypt_prog binaries because they're not compiled. |
![]() Send message Joined: 29 Aug 05 Posts: 15585 ![]() |
Better follow the instructions in the official Wiki. We don't know how old the instructions are in the unofficial wiki and when they've been updated. See http://boinc.berkeley.edu/trac/wiki/MakeProject for more info. I've forwarded it to a developer, but won't expect a reaction for another 4 or more hours, due to his locality. |
Send message Joined: 13 Jan 11 Posts: 4 ![]() |
No problem, doesn't hurry much :) I didn't know which wiki to use, I find the boinc sites quite confusing, I don't know where to look for which information because there are so many places to look and to find out which is the correct one is hard, thanks for the link to the official wiki. I'll try again following the instructions there and see how far I get. |
![]() Send message Joined: 29 Aug 05 Posts: 15585 ![]() |
I didn't know which wiki to use The one you're using now has 'Unofficial Wiki' plastered all over it. ;-) The official wiki, which did come later is situated at http://boinc.berkeley.edu/trac/wiki/ProjectMain. This one is updated by the developers, so this one is best used in situations like this. If in doubt, you can ask here, or better yet, on the email lists to the Gods, that we speak of in this thread. Again, due to their locality (mostly West-coast USA, UTC -8/-9 hours), getting an answer from them can take a while. |
Send message Joined: 13 Jan 11 Posts: 4 ![]() |
Right, the official wiki basically does the same as I already tried. After compiling the source, executing make_project still fails to generate the keys. Same error, same cause. I'll try to manually create the keys with some ssh keygen to sign and run the applications. If this doesn't work either, I'll consult the mailing list. Thanks for the help! edit: Oh yea and while I'm on it, make_project also fails to copy binaries from boinc/sched (all) and boinc/tools (some), when trying to compile those manually it throws ‘MYSQL_ROW’ has not been declared errors and others. Not sure why this happens, but I'm sure that it shouldn't happen in a stable branch... Error Log: http://pastebin.com/AqHM9VZf & http://pastebin.com/yb3EpEB9 edit2: Nope, got stuck at signing the applications because the sign_executable didn't compile either. Time for the mailing lists. |
Copyright © 2025 University of California.
Permission is granted to copy, distribute and/or modify this document
under the terms of the GNU Free Documentation License,
Version 1.2 or any later version published by the Free Software Foundation.