hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : Dedicated Server : MOD Auth MySQL on Raq 550! can't install it! :///
Reply

Dedicated Server Current and past experiences with dedicated server providers, bandwidth, and server performance. Review managed and unmanaged dedicated web servers, discuss both Windows and Unix dedicated server solutions, and discuss dedicated hosting providers. If your service is unavailable, please click here.
Forum Jump

MOD Auth MySQL on Raq 550! can't install it! :///

Reply Post New Thread In Dedicated Server Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 05-07-2003, 03:43 PM
Winddancer Winddancer is offline
Newbie
 
Join Date: Nov 2002
Posts: 6
Unhappy

MOD Auth MySQL on Raq 550! can't install it! :///


Hi all,

I am really despereate!!!!
Quite some time ago I installed the mod auth mysql module (needed to verify users with the .htaccess file through the mysql DB) on a RAQ4.

Now I want to install this module on a Raq550.

I downloaded the same package I was using on the RAQ4 and tried to configure it. (its the general LINUX distribution!)

But when I run configure on the module like this:

sh ./configure --with-mysql=/var/lib/mysql/ --with-apache=/usr/lib/apache


I receive the error:

configure: error: Invalid Apache directory - unable to find httpd.h under /usr/lib/apache/

There is really no httpd.h !!!

Someone gave me the hint that I should add this include dir to the configure command.

--includedir=/usr/local/apache

BUT: the dir /usr/local/apache doesn't exist on the RAQ550. I could locate the httpd.h at:

/usr/include/apache


Here is what I get when I try the configure file with the statements mentioned above:

Quote:
[root modauthmysql]# sh ./configure --with-mysql=/var/lib/mysql/ --with-apache=/usr/lib/apache/ --includedir=/usr/include/apache/
loading cache ./config.cache
checking for gcc... (cached) gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking whether gcc and cc understand -c and -o together... (cached) yes
checking for ranlib... (cached) ranlib
checking how to run the C preprocessor... (cached) gcc -E
checking for crypt.h... (cached) yes
checking for crypt... (cached) no
checking for crypt in -lc... (cached) no
checking for crypt in -lcrypt... (cached) yes
checking for standard DES crypt... yes
checking for extended DES crypt... yes
checking for MD5 crypt... yes
checking for Blowfish crypt... yes
checking for Apache module support via DSO through APXS... no
checking for Apache module support via DSO through APACI... no
checking for Apache directory... /usr/lib/apache/
configure: error: Invalid Apache directory - unable to find httpd.h under /usr/lib/apache/
I really need this module to get installed! If anyone has experience with this module or any idea what the hell I am doing wrong, PLEASE let me know!!!!!

Thanks

Sven

* UPDATE *
I just downloaded the latest mod auth mysql 2.2 from mysql.com. I thought this might help, but I still face the same problem! ://


Last edited by Winddancer; 05-07-2003 at 04:12 PM.
Reply With Quote


Sponsored Links
  #2  
Old 05-08-2003, 03:28 AM
Winddancer Winddancer is offline
Newbie
 
Join Date: Nov 2002
Posts: 6
another update:

in the old installation on a previous server I used these variables to configure the module:

./configure --with-apxs=/usr/sbin/apxs --with-mysql=/usr/


Now I don't even know what APXS is, but as I remember this was something a user advised me to try who had installed that module on a RAQ3.

Anyway. When I now run make I receive the error message that the file libauth_mysql.so is missing and that it should be copied to /usr/lib/apache/libauth_mysql.so

furthermore there are other changes which should be made:
Quote:
In order to proceed, please edit the Apache Configuration file: |

| |

| 1. Add '-lmysqlclient' to the EXTRA_LIBS= line

| 2. Add '-L/usr/local/lib/mysql' to the EXTRA_LFLAGS= line

| 3. Add '-I/usr/local/include/mysql' to the EXTRA_CFLAGS= line

| 4. At the bottom of the file, add the line: |

| |

| Module auth_mysql_module mod_auth_mysql.o |

| |

| To recompile Apache and enable the new module, run the Apache |

| Configure script and then make.
None of the lines 1-3 can be found in the http.conf.
Or where else can I find these lines?

Can anyone give me a hint on this?

best regards

Sven

Reply With Quote
  #3  
Old 05-08-2003, 12:58 PM
CmptrWz CmptrWz is offline
Junior Guru
 
Join Date: Sep 2001
Posts: 238
That is for re-building Apache from source. Not in config files of the webserver, in the compiler config file.

Reply With Quote
Sponsored Links
Reply

Related posts from TheWhir.com
Title Type Date Posted
Web Host Rackspace Launches Private Beta for MySQL Cloud Database Web Hosting News 2011-12-01 21:09:51
Softaculous Adds 17 New Apps to Auto Installer Library Web Hosting News 2011-09-12 17:51:10
Web Host A2 Hosting Launches QuickInstaller Tool for VPS Plans Web Hosting News 2011-08-19 20:00:53
Web Host FireHost Partners with Cloud Security Firm Gazzang for Data Encryption Web Hosting News 2011-08-16 20:33:43
Attracta Offers Single-Click Web App Installation to Customers Web Hosting News 2011-08-11 16:57:09


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

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

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement:
Web Hosting News:



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?