[aur-dev] Problem compiling OpenSSH
Perhaps I'm not that sharp, but I'm not able to compile OpenSSH succesfully. I followed all steps in INSTALL, but things fail for me after issuing `make` in step 5. My terminal reads: auth2-pubkey.c: In function ‘user_key_command_allowed2’: auth2-pubkey.c:579:34: error: ‘SSH_FP_MD5’ undeclared (first use in this function) keytext = key_fingerprint(key, SSH_FP_MD5, SSH_FP_HEX); ^ auth2-pubkey.c:579:34: note: each undeclared identifier is reported only once for each function it appears in auth2-pubkey.c:523:18: warning: unused variable ‘errmsg’ [-Wunused-variable] char *username, errmsg[512]; ^ Makefile:148: recipe for target 'auth2-pubkey.o' failed make: *** [auth2-pubkey.o] Error 1 I suppose SSH_FP_MD5 is a constant, but I cannot find it elsewhere. Is there something I do wrong here? Regards, Marcel
On 12/30/2014 05:14 PM, Marcel Korpel wrote:
Perhaps I'm not that sharp, but I'm not able to compile OpenSSH succesfully.
I followed all steps in INSTALL, but things fail for me after issuing `make` in step 5. My terminal reads:
auth2-pubkey.c: In function ‘user_key_command_allowed2’: auth2-pubkey.c:579:34: error: ‘SSH_FP_MD5’ undeclared (first use in this function) keytext = key_fingerprint(key, SSH_FP_MD5, SSH_FP_HEX); ^ auth2-pubkey.c:579:34: note: each undeclared identifier is reported only once for each function it appears in auth2-pubkey.c:523:18: warning: unused variable ‘errmsg’ [-Wunused-variable] char *username, errmsg[512]; ^ Makefile:148: recipe for target 'auth2-pubkey.o' failed make: *** [auth2-pubkey.o] Error 1
I suppose SSH_FP_MD5 is a constant, but I cannot find it elsewhere. Is there something I do wrong here?
Regards, Marcel
Try "--with-md5-passwords" Also, how's this related to aur-dev? -- Note: My last name is not Krejzi.
* "Armin K." <krejzi@email.com> (Tue, 30 Dec 2014 17:30:04 +0100):
Try "--with-md5-passwords"
As an option to ./configure? Tried it, but make failed with the same message.
Also, how's this related to aur-dev?
It's about installing the AUR locally in order to develop patches and the like. Is aur-general a better place to discuss these kind of things? Regards, Marcel
On 12/30/2014 05:42 PM, Marcel Korpel wrote:
* "Armin K." <krejzi@email.com> (Tue, 30 Dec 2014 17:30:04 +0100):
Try "--with-md5-passwords"
As an option to ./configure? Tried it, but make failed with the same message.
Also, how's this related to aur-dev?
It's about installing the AUR locally in order to develop patches and the like. Is aur-general a better place to discuss these kind of things?
This is about the development of aur.archlinux.org itself. Why would you need to build openssh from source? Doesn't your system provide an installation? Or does the git version of aur somehow bundle openssh?
Regards, Marcel
-- Note: My last name is not Krejzi.
On Tue, Dec 30, 2014 at 05:44:55PM +0100, Armin K. wrote:
On 12/30/2014 05:42 PM, Marcel Korpel wrote:
* "Armin K." <krejzi@email.com> (Tue, 30 Dec 2014 17:30:04 +0100):
Try "--with-md5-passwords"
As an option to ./configure? Tried it, but make failed with the same message.
Also, how's this related to aur-dev?
It's about installing the AUR locally in order to develop patches and the like. Is aur-general a better place to discuss these kind of things?
This is about the development of aur.archlinux.org itself. Why would you need to build openssh from source? Doesn't your system provide an installation? Or does the git version of aur somehow bundle openssh?
And development of the AUR now includes a patched build of openssh, so this is all rather relevant... dR
On Tue, 30 Dec 2014 at 17:14:38, Marcel Korpel wrote:
Perhaps I'm not that sharp, but I'm not able to compile OpenSSH succesfully.
I followed all steps in INSTALL, but things fail for me after issuing `make` in step 5. My terminal reads:
auth2-pubkey.c: In function ‘user_key_command_allowed2’: auth2-pubkey.c:579:34: error: ‘SSH_FP_MD5’ undeclared (first use in this function) keytext = key_fingerprint(key, SSH_FP_MD5, SSH_FP_HEX); ^ auth2-pubkey.c:579:34: note: each undeclared identifier is reported only once for each function it appears in auth2-pubkey.c:523:18: warning: unused variable ‘errmsg’ [-Wunused-variable] char *username, errmsg[512]; ^ Makefile:148: recipe for target 'auth2-pubkey.o' failed make: *** [auth2-pubkey.o] Error 1
I suppose SSH_FP_MD5 is a constant, but I cannot find it elsewhere. Is there something I do wrong here?
The patch is built against OpenSSH 6.7p1. Try running `git checkout V_6_7_P1` before applying the patch and running `make`. I will update INSTALL soon.
Regards, Marcel
* Lukas Fleischer <archlinux@cryptocrack.de> (Tue, 30 Dec 2014 18:14:19 +0100):
The patch is built against OpenSSH 6.7p1. Try running `git checkout V_6_7_P1` before applying the patch and running `make`.
After doing so, everything is installed correctly. However, how do I access the web interface (at least to enter my public key)? There used to be instructions in INSTALL to add a virtual host, but they have been removed lately. Regards, Marcel
On Wed, 31 Dec 2014 at 02:05:59, Marcel Korpel wrote:
* Lukas Fleischer <archlinux@cryptocrack.de> (Tue, 30 Dec 2014 18:14:19 +0100):
The patch is built against OpenSSH 6.7p1. Try running `git checkout V_6_7_P1` before applying the patch and running `make`.
After doing so, everything is installed correctly.
However, how do I access the web interface (at least to enter my public key)? There used to be instructions in INSTALL to add a virtual host, but they have been removed lately.
They were removed because they are web server specific and we do not Apache anymore. I might add more details again later.
Regards, Marcel
participants (4)
-
Armin K.
-
Dave Reisner
-
Lukas Fleischer
-
Marcel Korpel