From: Wilfried Goesgens <[EMAIL PROTECTED]>

willi> [willi@zoonenetbsd]:~/src/openssl-0.9.5a $ sysctl -n hw.model | sed 
's,.*\(.\)86-class.*,i\186,'
willi> bash: sysctl: command not found
willi> maybe this should be checked earlier ?
willi> but: 
willi> [root@zoonenetbsd]:~ # sysctl -n hw.model | sed 's,.*\(.\)86-class.*,i\186,'
willi> i686
willi> [root@zoonenetbsd]:~ # which sysctl
willi> /usr/sbin/sysctl

Ah, that explains it.  Does the normal user have permission to use sysctl?

willi> Did you compile anytime as root?
willi> Can't you rely on sysctl being in /usr/sbin/ and calling it
willi> with absolute path?
willi> uname IS available (on my default install) in the path; 
willi> why not use it?

One thing to know is that config is basically a copy of GuessOS from
Apache with some extras at the end to convert the result to somehting
suitable for Configure.

I think that those who coded that had /usr/sbin in their path.
The problem with uname is that it says 'i386' in all cases, and
someone might want to insert optimized code for 686...

-- 
Richard Levitte   \ Spannv�gen 38, II \ [EMAIL PROTECTED]
Chairman@Stacken   \ S-168 35  BROMMA  \ T: +46-8-26 52 47
Redakteur@Stacken   \      SWEDEN       \ or +46-709-50 36 10
Procurator Odiosus Ex Infernis                -- [EMAIL PROTECTED]
Member of the OpenSSL development team: http://www.openssl.org/
Software Engineer, Celo Communications: http://www.celocom.com/

Unsolicited commercial email is subject to an archival fee of $400.
See <http://www.stacken.kth.se/~levitte/mail/> for more info.
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to