Use an alternative opt path without re-compiling


I want to use mc on an AIX machine where I am just an user without many privileges. So to avoid compiling 
myself I used a binary from [1] and installed it to my home directory into the following directory 


On startup mc loads the librarys from lib fine, because setting up LIBPATH like:


But while loading files from /opt (like /opt/freeware/etc/mc/mc.charsets) mc of course can't find the files 
there. Because they are in ~/opt.
The result: E.g. it doesn't can load the default skin.

I found in the trac wiki that while compiling I could change the path using --prefix.
But is there a way to change the path without re-compiling?


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]