LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-24-2002, 11:16 AM   #1
prozach
Member
 
Registered: Feb 2002
Distribution: Fedora RedHat Core 2
Posts: 58

Rep: Reputation: 15
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?
 
Old 07-26-2002, 01:53 AM   #2
rverlander
Member
 
Registered: May 2002
Distribution: A few
Posts: 488

Rep: Reputation: 30
Yeh heres an idea, DOWNGRADE TO THE MORE STABLE 1.3.26
 
Old 07-26-2002, 07:56 AM   #3
prozach
Member
 
Registered: Feb 2002
Distribution: Fedora RedHat Core 2
Posts: 58

Original Poster
Rep: Reputation: 15
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.
 
Old 07-26-2002, 09:07 PM   #4
rverlander
Member
 
Registered: May 2002
Distribution: A few
Posts: 488

Rep: Reputation: 30
2.0 is stable (I tried it), but if you wan't stuff like PHP you needa go back to 1.3
 
Old 07-26-2002, 09:29 PM   #5
prozach
Member
 
Registered: Feb 2002
Distribution: Fedora RedHat Core 2
Posts: 58

Original Poster
Rep: Reputation: 15
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.
 
Old 07-27-2002, 08:46 AM   #6
rverlander
Member
 
Registered: May 2002
Distribution: A few
Posts: 488

Rep: Reputation: 30
UMM I know about that but PHP is instable on it and a lota scripts are broken under it.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
error when trying to install perl modules jimi_j Linux - Software 3 07-19-2004 11:17 PM
install modules error PyroBoy101 Mandriva 3 06-11-2004 12:44 PM
Unable to install Apache: Error: mod_accounting.so does not have a corresponding .in Codeman05 Linux - Software 0 02-03-2004 05:03 PM
Mandrake 8.2: getting error on Apache-2.0.43 install robroto88 Mandriva 2 02-02-2004 04:46 PM
Compile Error- /lib/modules/extra/modules.dep UpChuck Debian 2 01-11-2004 10:20 AM


All times are GMT -5. The time now is 04:47 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration