in modules directory i have only httpd.exp and so files?apache
hello all,
im trying to install apache 2 on fedora core 3 after untar apache.2.0.54 and use configure with option --enable-so or --enable-modules=so ( i tried both )
make and make install, i expect to have the modules in /apache2/modules/ but the folder contain only 1 file httpd.exp. why? whats wrong?
some help ?
thank you工具
在modules目錄中只有httpd.exp,那些so文件呢?spa
我嘗試在fedora core 3中安裝apache 2. 當我解壓了apache 2.0.54後使用configure工具而且加入了 --enable-so 或者 --enable-modules=so (兩個我都試過了)翻譯
去make而且make install了。我但願在/apache2/modules/目錄裏有各類模塊,可是這個文件最後只包含了一個httpd.exp文件。 爲何?哪裏出錯了?orm
謝謝htm
Because you're just telling apache to enable the use of shared modules. You also need to tell it to MAKE the shared modules.
You can use these compile flags:
--enable-mods-shared='headers rewrite dav' (where you list the mods. you want)
--enable-mods-shared=most ( compiles "most" modules )
--enable-mods-shared=all ( compiles all modules )
get
由於你只告訴了apache能夠使用共享模塊。你還須要告訴它要MAKE共享模塊it
你能夠使用以下的這些編譯標誌io
--enable-mods-shared='headers rewrite dav' (凡是你想編譯的模塊均可以寫到後邊的引號裏面,以空格分隔)
--enable-mods-shared=most (編譯最多的模塊)
--enable-mods-shared=all (編譯全部模塊)
當我按照上面的方法使用命令 ./configure --enable-so --enable-mods-shared=most 以後,果真編譯出了不少的模塊,問題解決了。