You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Enrico Weigelt <we...@metux.de> on 2004/12/13 08:39:07 UTC

Re: PCRE in 2.1/2.2

* Joe Orton <jo...@redhat.com> wrote:

<snip>
> > Is there any reason to keep libpcre in the httpd tree?
> 
> untar && configure && make must "just work" on any random Unix system.

shot yourself. 
apache2 requires expat, which is less common than pcre.

<snip>
> Those are bugs which can be fixed by optionally using an external PCRE
> library (configure --with-pcre) and/or properly namespacing the symbols
Are you shure this option really exists ?

> defined by the bundled copy of PCRE.  Removing the bundled PCRE is not
> necessary to that goal or otherwise desirable, though.
The original question was exactly the opposite: is it necessary always
to have a bundled pcre ?


cu
-- 
---------------------------------------------------------------------
 Enrico Weigelt    ==   metux IT service

  phone:     +49 36207 519931         www:       http://www.metux.de/
  fax:       +49 36207 519932         email:     contact@metux.de
  cellphone: +49 174 7066481
---------------------------------------------------------------------
 -- DSL ab 0 Euro. -- statische IP -- UUCP -- Hosting -- Webshops --
---------------------------------------------------------------------

Re: PCRE in 2.1/2.2

Posted by Richard Jones <ri...@annexia.org>.
On Mon, Dec 13, 2004 at 12:57:36AM -0700, Paul Querna wrote:
> I agree with you however, but this is the current state of httpd. 
> Patches to allow using of external libs for everything we currently 
> embed are extremely welcome.

For external PCRE:

http://issues.apache.org/bugzilla/show_bug.cgi?id=27550
http://issues.apache.org/bugzilla/attachment.cgi?id=13377

Rich.

-- 
Richard Jones.  http://www.annexia.org/  http://www.j-london.com/
>>>   http://www.team-notepad.com/ - collaboration tools for teams   <<<
Merjis Ltd. http://www.merjis.com/ - improving website return on investment
Write Apache modules in OCaml - http://www.merjis.com/developers/mod_caml

Re: PCRE in 2.1/2.2

Posted by Enrico Weigelt <we...@metux.de>.
* Paul Querna <ch...@force-elite.com> wrote:
> Enrico Weigelt wrote:
> <snip>
> >>Dependencies are to be tracked by a vendor, not by our users who 
> >>download the source from us.
> >
> >Ah, great. And when will be the day when glibc is included in httpd ?
> 
> Never. glibc is GPL/LGPLed, and the httpd server project cannot 
> distribute it as part of our license and ASF policy. The BSD libc 
> however...</tonge-in-cheek>

Aha, if glibc was released under asf license, it would already 
be in ?


...

Tip: too much sun makes silly ...


cu
-- 
---------------------------------------------------------------------
 Enrico Weigelt    ==   metux IT service

  phone:     +49 36207 519931         www:       http://www.metux.de/
  fax:       +49 36207 519932         email:     contact@metux.de
  cellphone: +49 174 7066481
---------------------------------------------------------------------
 -- DSL ab 0 Euro. -- statische IP -- UUCP -- Hosting -- Webshops --
---------------------------------------------------------------------

Re: PCRE in 2.1/2.2

Posted by Paul Querna <ch...@force-elite.com>.
Enrico Weigelt wrote:
<snip>
>>Dependencies are to be tracked by a vendor, not by our users who 
>>download the source from us.
> 
> Ah, great. And when will be the day when glibc is included in httpd ?

Never. glibc is GPL/LGPLed, and the httpd server project cannot 
distribute it as part of our license and ASF policy. The BSD libc 
however...</tonge-in-cheek>


-Paul

Re: PCRE in 2.1/2.2

Posted by Enrico Weigelt <we...@metux.de>.
* Paul Querna <ch...@force-elite.com> wrote:

<snip>
> srclib/apr-util/configure --help | grep expat
>   --with-expat=DIR        specify Expat location

Ah, yeah. I've grepped for --with-pcre, which is missing.

I'm now trying it on my buildfarm ...

<snip>
> >btw: why is it a goal to put all dependencies into the package 
> >just to be able to do "make && make install" w/o any preparations ?!
> >
> >dependencies are to be tracked by the computer, 100% automatically.
> 
> Dependencies are to be tracked by a vendor, not by our users who 
> download the source from us.
Ah, great. And when will be the day when glibc is included in httpd ?

Dependencies are to be tracked by the installation system.

> I agree with you however, but this is the current state of httpd. 
> Patches to allow using of external libs for everything we currently 
> embed are extremely welcome.
If the configure script was something carefully hand-written and not
autoshitt'ed, I would go ahead and do it. But I refuse to spend more
time on autoshit as I'm already urged to.


cu
-- 
---------------------------------------------------------------------
 Enrico Weigelt    ==   metux IT service

  phone:     +49 36207 519931         www:       http://www.metux.de/
  fax:       +49 36207 519932         email:     contact@metux.de
  cellphone: +49 174 7066481
---------------------------------------------------------------------
 -- DSL ab 0 Euro. -- statische IP -- UUCP -- Hosting -- Webshops --
---------------------------------------------------------------------

Re: PCRE in 2.1/2.2

Posted by Paul Querna <ch...@force-elite.com>.
Enrico Weigelt wrote:
> * Paul Querna <ch...@force-elite.com> wrote:
> 
> <snip>
> 
>>>shot yourself. 
>>>apache2 requires expat, which is less common than pcre.
>>
>>does not.  APR-Util embeds expat.
> 
> eh? uglier than i thouht!
> 
> why isnt there an --with-expat=... option for enforcing use of 
> external expat ? 
> 

There is:

srclib/apr-util/configure --help | grep expat
   --with-expat=DIR        specify Expat location

> btw: why is it a goal to put all dependencies into the package 
> just to be able to do "make && make install" w/o any preparations ?!
 >
> dependencies are to be tracked by the computer, 100% automatically.

Dependencies are to be tracked by a vendor, not by our users who 
download the source from us.

I agree with you however, but this is the current state of httpd. 
Patches to allow using of external libs for everything we currently 
embed are extremely welcome.

-Paul

Re: PCRE in 2.1/2.2

Posted by Enrico Weigelt <we...@metux.de>.
* Paul Querna <ch...@force-elite.com> wrote:

<snip>
> >shot yourself. 
> >apache2 requires expat, which is less common than pcre.
> 
> does not.  APR-Util embeds expat.
eh? uglier than i thouht!

why isnt there an --with-expat=... option for enforcing use of 
external expat ? 

embedding standard libraries adds unnecessary complexity, wastes 
resources and limits flexibility.


btw: why is it a goal to put all dependencies into the package 
just to be able to do "make && make install" w/o any preparations ?!

dependencies are to be tracked by the computer, 100% automatically.


cu
-- 
---------------------------------------------------------------------
 Enrico Weigelt    ==   metux IT service

  phone:     +49 36207 519931         www:       http://www.metux.de/
  fax:       +49 36207 519932         email:     contact@metux.de
  cellphone: +49 174 7066481
---------------------------------------------------------------------
 -- DSL ab 0 Euro. -- statische IP -- UUCP -- Hosting -- Webshops --
---------------------------------------------------------------------

Re: PCRE in 2.1/2.2

Posted by Paul Querna <ch...@force-elite.com>.
Enrico Weigelt wrote:
> * Joe Orton <jo...@redhat.com> wrote:
> 
> <snip>
> 
>>>Is there any reason to keep libpcre in the httpd tree?
>>
>>untar && configure && make must "just work" on any random Unix system.
> 
> 
> shot yourself. 
> apache2 requires expat, which is less common than pcre.

does not.  APR-Util embeds expat.

-Paul