Apache install Error with modules
I keep getting this error when i attempt to install Apache 2.0.39 on my linux box (RH 7.3). I've removed the RPM version and below are the commands i'm using to install Apache:
If you ever happen to want to link against installed libraries in a given directory, LIBDIR, you must either use libtool, and specify the full pathname of the library, or use the `-LLIBDIR' flag during linking and do at least one of the following: - add LIBDIR to the `LD_LIBRARY_PATH' environment variable during execution - add LIBDIR to the `LD_RUN_PATH' environment variable during linking - use the `-Wl,--rpath -Wl,LIBDIR' linker flag - have your system administrator add LIBDIR to `/etc/ld.so.conf' See any operating system documentation about shared libraries for more information, such as the ld(1) and ld.so(8) manual pages. ---------------------------------------------------------------------- mv: cannot move `/usr/lib/httpd/modules/' to a subdirectory of itself, `/usr/lib/httpd/modules/mod_alias.so' /bin/sh /usr/local/src/httpd-2.0.39/srclib/apr/libtool --silent --mode=install cp mod_rewrite.la /usr/lib/httpd/modules/ PATH="$PATH:/sbin" ldconfig -n /usr/lib/httpd/modules ---------------------------------------------------------------------- Libraries have been installed in: /usr/lib/httpd/modules Commands i'm using to install apache: ./configure --enable-so --enable-rewrite --enable-modules=all --enable-mods-shared=all --enable-shared=max --prefix=/usr/lib/httpd make make install The modules never show up in the /usr/lib/httpd/modules directory. Anyone have any ideas? |
Yeh heres an idea, DOWNGRADE TO THE MORE STABLE 1.3.26;)
|
Forgot to reply, but yesterday i found the problem, it was a bad download. I downloaded from a mirror site and it didnt work. I redownloaded from apache.org and it worked fine. I havent found 2.0.x to be unstable. I've used the rpm version for a while now, and have just converted to the tarball version.
|
2.0 is stable (I tried it), but if you wan't stuff like PHP you needa go back to 1.3 :(
|
I've just finished installing PHP 4.2.2 on 2.0.39. You should be able to use it.
FYI: Line 93 in file "sapi/apache2filter/php_functions.c" which comes looking like this: #if !MODULE_MAGIC_AT_LEAST(20020506,0) Change it into this: #if MODULE_MAGIC_NUMBER < 20020506 I was getting wierd make errors before doing the above. I HIGHLY recomend doing it if you plan to install. |
UMM I know about that but PHP is instable on it and a lota scripts are broken under it.
|
All times are GMT -5. The time now is 05:55 PM. |