emphasized that you need to add the path of your "ldconfig" utility to your PATH env if you want to enable luajit.

This commit is contained in:
agentzh (章亦春) 2011-05-26 15:47:21 +08:00
parent b644d3d531
commit 942411c114
1 changed files with 12 additions and 3 deletions

15
README
View File

@ -15,6 +15,18 @@ A quick note to Debian and Ubuntu users:
apt-get install libreadline-dev libpcre3-dev libssl-dev perl
If you want to enable LuaJIT, ensure that your system's "ldconfig"
utility is in your PATH environment. You can check out
the path of your "ldconfig" by using the "whereis" command:
whereis ldconfig
On Debian systems, it's usually /sbin, and you just need to add
it to your PATH this way:
PATH=/sbin:$PATH
export PATH
A quick note to Fedora/RedHat users:
You're recommended to install the following packages using yum before
installing this bundle:
@ -58,9 +70,6 @@ in your PATH environment, and then follow the following steps:
so when it complaints about OpenSSL and you have indeed
already installed it, specify the --with-ld-opt='-L/lib' option.
At least on some Debian systems, when --with-luajit is specified,
it is required to specify the option --with-ld-opt="-ldl" as well.
Errors in running the ./configure script can be found in this file:
build/nginx-0.8.54/objs/autoconf.err