Hi All,
Following are steps to compile apache on linux.
pre-requisite for apache to compiled on linux, it must have gcc
Compiling Apache to built 32 bit Apache
make sure gcc version is 32 bit, assumption is that you logged in root user.
Following are the commands
./configure --prefix=/opt/httpd
make
make install
Compiling apache code to built 64 bit apache
Following are the commands
./configure CFLAGS=-m64 LDFLAGS="-L/usr/sfw/lib/amd64 -R/usr/sfw/lib/amd64" LIBS=-L/usr/sfw/lib/amd64 CPPFLAGS=-m64
make
make install.
No comments:
Post a Comment