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

pull/4/head
agentzh (章亦春) 14 years ago
parent b644d3d531
commit 942411c114

@ -15,6 +15,18 @@ A quick note to Debian and Ubuntu users:
apt-get install libreadline-dev libpcre3-dev libssl-dev perl 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: A quick note to Fedora/RedHat users:
You're recommended to install the following packages using yum before You're recommended to install the following packages using yum before
installing this bundle: 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 so when it complaints about OpenSSL and you have indeed
already installed it, specify the --with-ld-opt='-L/lib' option. 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: Errors in running the ./configure script can be found in this file:
build/nginx-0.8.54/objs/autoconf.err build/nginx-0.8.54/objs/autoconf.err

Loading…
Cancel
Save