Skip to Content.
Sympa Menu

sm-discuss - Re: [SM-Discuss] Apache 2 Spell . . .

sm-discuss AT lists.ibiblio.org

Subject: Public SourceMage Discussion List

List archive

Chronological Thread  
  • From: Arjan Bouter <abouter AT sourcemage.org>
  • To: sourcemage AT feline-soul.com
  • Cc: sm-discuss AT lists.ibiblio.org
  • Subject: Re: [SM-Discuss] Apache 2 Spell . . .
  • Date: Wed, 11 Oct 2006 13:51:51 +0200

On Tue, 10 Oct 2006 12:48:24 -0600
"Bearcat M. Sandor" <sourcemage AT feline-soul.com> wrote:

> There is a bug about this in bugs.sourcemage.org. You might want to add
> your
> comments to that.
>
> I have casted the apache22 spell and it works flawlessly.
>
> Bearcat

Thanks :)

There were quite a few changes in apache 2.2.*, which is why i've created
another spell for it.
One of the changes is (as you noticed) that it ignores the configure options
in favor of a layout.

Another change is the renaming of the modules, some of which have missing
--enable or --disable options.
The same might be true for httpd-dev, i haven't had the time to check that
yet.

The apache22 spell is using a custom SMGL layout which i tried to keep pretty
much the same as the usual layout.
I'd recommend to use this for the apache2 spell as well.

Arjan Bouter

>
> On Tuesday 10 October 2006 10:30 in an email titled "[SM-Discuss] Apache 2
> Spell . . ." Jason Flatt wrote:
> >There is an issue with the apache2 spell (and maybe the apache22 spell,
> > though I haven't checked) that I wanted to present for possible
> > solutions.
> > It seems the configure script pretty much ignores any setting of --prefix
> > (and related options) and will only use settings defined in
> > config.layout.
> > Currently the spell is set to use the layout of GNU, and that puts
> > everything in /usr/local (not specifying a layout seems to be pretty close
> > to the same as specifying GNU). There isn't a perfect layout choice which
> > maps directly with where we install files by default.
> >
> >There are two options, as I see it:
> > 1) Use the Debian layout instead, which is the closest to how we do it, of
> > the options already available.
> > 2) Create a patch where I define a new layout that is exactly how we do
> > it,
> > then set the spell to use that layout.
> >
> >Is it acceptable enough to use the Debian layout, or should I create a
> >SourceMage (LSB?) layout? Here is the definition of the Debian layout (if
> >you want to see what other layouts are available, see the config.layout
> >file
> >in the root directory of the source):
> >
> ># Debian layout
> ><Layout Debian>
> > prefix:
> > exec_prefix: ${prefix}/usr
> > bindir: ${exec_prefix}/bin
> > sbindir: ${exec_prefix}/sbin
> > libdir: ${exec_prefix}/lib
> > libexecdir: ${exec_prefix}/lib/apache2/modules
> > mandir: ${exec_prefix}/share/man
> > sysconfdir: ${prefix}/etc/apache2
> > datadir: ${exec_prefix}/share/apache2
> > iconsdir: ${datadir}/icons
> > htdocsdir: ${prefix}/usr/share/apache2/default-site/htdocs
> > manualdir: ${htdocsdir}/manual
> > cgidir: ${prefix}/usr/lib/cgi-bin
> > includedir: ${exec_prefix}/include/apache2
> > localstatedir: ${prefix}/var/run
> > runtimedir: ${prefix}/var/run
> > logfiledir: ${prefix}/var/log/apache2
> > proxycachedir: ${prefix}/var/cache/apache2/proxy
> > infodir: ${exec_prefix}/share/info
> > installbuilddir: ${prefix}/etc/apache2/build
> > errordir: ${datadir}/error
> ></Layout>



+=======
Source Mage GNU/Linux developer,
http://www.sourcemage.org
Registered as user #310617 with the Linux Counter,
http://counter.li.org.
GnuPG Key 79D4B14E = 94AD 3FD1 E259 67ED 632E 2B06 CFBE 1154 79D4 B14E
+===

Attachment: signature.asc
Description: PGP signature




Archive powered by MHonArc 2.6.24.

Top of Page