Compiling apache with sqllite, um, support?

Compiling apache with sqllite, um, support?

am 01.02.2010 20:06:34 von Mark Jones

--00504502f58612eb4a047e8eaf26
Content-Type: text/plain; charset=ISO-8859-1

I recently took the plunge and compiled my own apache2 for my Ubuntu (9.10)
server. I ran configure with -n and was looking over the output to try to
learn a bit about what's happening. I noticed at one point that configure
was checking to see if sqlite3 files were available (they weren't). I was
able to locate information that the sqlite dev package contained these
files, installed it, and saw configure acknowledge their presence.

This was cool, as I want to use sqllite. But I'm still curious.

-What does it mean that configure found these files? Do I say I compiled
apache "with sqllite3 support"?

if so,

-Is that good? Necessary? Presumably I can write scripts all day using
sqllite *without* doing the above. Do I write my scripts any differently or
have I just improved server performance? What if I do my development this
way and end up with a production host whose server is not so configured?

Not that sqlite is the end all here, it's just an example. I'm just as
curious about the python mods.

--00504502f58612eb4a047e8eaf26
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

I recently took the plunge and compiled my own apache2 for my Ubuntu (9.10)=
server. =A0I ran configure with -n and was looking over the output to try =
to learn a bit about what's happening. =A0I noticed at one point that c=
onfigure was checking to see if sqlite3 files were available (they weren=
9;t). =A0I was able to locate information that the sqlite dev package conta=
ined these files, installed it, and saw configure acknowledge their presenc=
e.




This was cool, as I want to use sqllite. =A0But I'm stil=
l curious.

-What does it mean that configure found=
these files? =A0Do I say I compiled apache "with sqllite3 support&quo=
t;?



if so,

-Is that good? =A0Neces=
sary? =A0Presumably I can write scripts all day using sqllite *without* doi=
ng the above. =A0Do I write my scripts any differently or have I just impro=
ved server performance? =A0What if I do my development this way and end up =
with a production host whose server is not so configured?



Not that sqlite is the end all here, it's just an e=
xample. =A0I'm just as curious about the python mods.


--00504502f58612eb4a047e8eaf26--

Re: Compiling apache with sqllite, um, support?

am 01.02.2010 23:24:31 von Nick Kew

On Mon, 1 Feb 2010 11:06:34 -0800
Mark Jones wrote:


> -What does it mean that configure found these files? Do I say I compiled
> apache "with sqllite3 support"?

Looks like it, and that's probably as much as you need to know.
But since you ask ...

It's actually APR that has (or lacks) sqlite support. If you build
apache with an existing APR installation, as is likely on most modern
systems, then nothing you do in the apache build makes any difference
to sqlite support. If you compile the two together, then your configure
options matter.

The ideal way to build APR is with sqllite (and other big dependencies
such as other database drivers) as dynamically loadable modules, so
that APR loads them if and only if you're using them. Your distro
may already do this on your behalf.

Anyway, if you want to investigate further, build your own APR
and APR-UTIL.

--
Nick Kew

------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org

Re: Compiling apache with sqllite, um, support?

am 02.02.2010 00:04:09 von Mark Jones

--0016e64dbe14beb7d8047e9200b8
Content-Type: text/plain; charset=ISO-8859-1

Thank you Nick.

So much to learn. I'll concentrate on dynamic loading and APR.

On Mon, Feb 1, 2010 at 2:24 PM, Nick Kew wrote:

> On Mon, 1 Feb 2010 11:06:34 -0800
> Mark Jones wrote:
>
>
> > -What does it mean that configure found these files? Do I say I compiled
> > apache "with sqllite3 support"?
>
> Looks like it, and that's probably as much as you need to know.
> But since you ask ...
>
> It's actually APR that has (or lacks) sqlite support. If you build
> apache with an existing APR installation, as is likely on most modern
> systems, then nothing you do in the apache build makes any difference
> to sqlite support. If you compile the two together, then your configure
> options matter.
>
> The ideal way to build APR is with sqllite (and other big dependencies
> such as other database drivers) as dynamically loadable modules, so
> that APR loads them if and only if you're using them. Your distro
> may already do this on your behalf.
>
> Anyway, if you want to investigate further, build your own APR
> and APR-UTIL.
>
> --
> Nick Kew
>
> ------------------------------------------------------------ ---------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> " from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>

--0016e64dbe14beb7d8047e9200b8
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

Thank you Nick.


So much to learn. =A0I'll concentrat=
e on dynamic loading and APR.

On Mon, Feb=
1, 2010 at 2:24 PM, Nick Kew < webthing.com">nick@webthing.com> wrote:

x #ccc solid;padding-left:1ex;">
On Mon, 1 Feb 2010 11:06:=
34 -0800

Mark Jones <markandconn=
ie.jones@gmail.com
> wrote:





> -What does it mean that configure found these files? =A0Do I say I com=
piled

> apache "with sqllite3 support"?



Looks like it, and that's probably as much as you need to know. r>
But since you ask ...



It's actually APR that has (or lacks) sqlite support. =A0If you build r>
apache with an existing APR installation, as is likely on most modern

systems, then nothing you do in the apache build makes any difference

to sqlite support. =A0If you compile the two together, then your configure<=
br>
options matter.



The ideal way to build APR is with sqllite (and other big dependencies

such as other database drivers) as dynamically loadable modules, so

that APR loads them if and only if you're using them. =A0Your distro >
may already do this on your behalf.



Anyway, if you want to investigate further, build your own APR

and APR-UTIL.



--

Nick Kew



------------------------------------------------------------ ---------

The official User-To-User support forum of the Apache HTTP Server Project.<=
br>
See <URL: lank">http://httpd.apache.org/userslist.html> for more info.

To unsubscribe, e-mail: g">users-unsubscribe@httpd.apache.org

=A0 " =A0 from the digest: @httpd.apache.org">users-digest-unsubscribe@httpd.apache.org

For additional commands, e-mail: org">users-help@httpd.apache.org






--0016e64dbe14beb7d8047e9200b8--