Mailing List Archive



Back to the month index Back to the list index

Howie (caffeine@toodarkpark.org)
Fri, 14 Nov 1997 01:39:25 -0500 (EST)


Date: Fri, 14 Nov 1997 01:39:25 -0500 (EST)
From: Howie <caffeine@toodarkpark.org>
Subject: Re: mod_auth_msql
Message-ID: <Pine.LNX.3.96.971114013744.1708G-100000@brap.toodarkpark.org>

On Thu, 13 Nov 1997, Matthew Feinberg wrote:

> 1)Are there web sites that have more information regarding MSQL?
> I have searched but can not find any.
>
> 2) I am attemting to compile apache 1.2.3 with mod_auth_msql
> and get this error.
>
> gcc -c -O2 -DSTATUS mod_auth_msql.c
> mod_auth_msql.c:411: msql.h: No such file or directory
> *** Error code 1
>
> In my Configuration file I have
> EXTRA_LIBS= -lmsql -L/usr/local/Hughes/include
>
> and
>
> Module msql_auth_module mod_auth_msql.o

-l and -L have no effect on #include statements -- they're for libraries (
-lXYZ == link with libXYZ, -L/XYZ == search for libs in /XYZ ).

what you need to do is say:

gcc -c -O2 -DSTATUS -I/usr/local/Hughes/include mod_auth_msql.c

-I == search for include's in this directory.

as always, consult the gcc man page for more info.

---
Howie <caffeine@toodarkpark.org>   NeXTmail accepted as of Sat-15-Nov
URL: http://www.toodarkpark.org    Business: http://www.cgishop.com
Unix, Motif, NEXTSTEP              CGI/Database programming in C,ObjC,PERL