Say you want to install lynx
install in $Home/bin
compile your ncurse,
./configure --prefix=$HOME/bin && make install clean
Compile lynx from source, and use the ncurse library you just compiled
env CFLAGS="-I/home/user/bin/include/ncurses" LDFLAGS="-L/home/user/bin/lib" LIBS="-L/home/user/bin/lib -lncurses" ./configure --prefix=$HOME/bin
The trick is, set the environment variable so the build scripts can find the include files and lib files.
No comments:
Post a Comment