Archive for October, 2009

 

 

Oct 13 2009

Command History with Arrow Keys in Ksh

Published by dave under Aix, Misc, linux, solaris

Arrows aren’t used in ksh as a default. To enable command history like in Bash, add the following lines in the .profile or .kshrc file:

# Switch to Emacs mode
# Only Emacs mode lets you make use of arrow keys
set -o emacs

# Go back in command history (up arrow)
alias __A=’^P’
# Go back in command history (down [...]

No responses yet

Oct 04 2009

Compiling Freeradius with Oracle Support

Published by dave under Freeradius, Oracle

Compilation Error?

The Oracle client being installed (11g R2 in my setup), Freeradius doesn’t seem to find Oracle headers.
I get the following error message:

Error compiling Oracle/Freeradius
configure: WARNING: oracle headers not found.
Use –with-oracle-home-dir=<path>.
configure: WARNING: silently not building rlm_sql_oracle.
configure: WARNING: FAILURE: rlm_sql_oracle requires: oci.h.

 
Specifying the path to –with-oracle-home-dir doesn’t change anything at all.
 
Installing Oracle Client
Install Oracle runtime client [...]

No responses yet