[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] RE: mod_auth_mysql



"Aidden Bloodmoon" <Aidden@xxxxxxxxxxxxxxxx> wrote:
> Steve,
>
> Well I think my brain allowed me to follow your last post, but im still
> having a slight problem. Im getting the error seen below.:
>
> [root mod_auth_mysql-2.20]#
>
./configure --with-apxs=/usr/sbin/apxs --with-mysql=/usr/include/mysql --wit
> h-apache=/home/work/apache_1.3.12
> loading cache ./config.cache
> checking for gcc... 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... yes
> checking whether gcc accepts -g... yes
> checking whether gcc and cc understand -c and -o together... yes
> checking for ranlib... ranlib
> checking how to run the C preprocessor... gcc -E
> checking for crypt.h... yes
> checking for crypt... no
> checking for crypt in -lc... no
> checking for crypt in -lcrypt... 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... yes
> checking for Apache module support via DSO through APACI... no
> checking for MySQL directory... /usr/include/mysql
> configure: error: Invalid MySQL directory - unable to find mysql.h under
> /usr/include/mysql
>
>
> Now i tried pointing to my mysql directory as /home/mysql which also
didn't
> work. I get the same error, just pointing to that directory.
> I have verified that the mysql.h file is located in /usr/include/mysql
> directory. Im guessing permission issues. Any idea?

Sometimes MySQL and other programs are picky and can't find what they want
even if you tell them the right location.  Try --with-mysql=/usr/include
and --with-mysql=/usr in that order and see if it works.  Yes, it seems like
a bizarre fix, but it's sometimes what's needed.  Post again after you've
tried so people searching the archives can find the right answer.

--
Steve Werby
President, Befriend Internet Services LLC
http://www.befriend.com/