You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Joe Niederberger <jn...@comcast.net> on 2009/10/28 04:04:35 UTC

FreeBSD 7.2, mod_perl2 & Apache2::Cookie (libapreq2)

Hello,

Does anyone have the combination of FreeBSD 7.2, Apache2.2, mod_perl2
and libapreq2 all installed and working fine?

My web-hoster is having exterme difficulties getting this set up. The
Apache2.so is
rife with undefined symbols that they cannot resolve. Simply making a call
to the cookie jar and the process segfaults.

Any help most appreciated.
Thanks in advance.

Joe Niederberger


Re: FreeBSD 7.2, mod_perl2 & Apache2::Cookie (libapreq2)

Posted by me...@gmail.com.
As a side note, my problems were on CentOS.  But the errors were similar ...

Dimitri

On Fri, Oct 30, 2009 at 12:44 PM, Sin <si...@gmail.com> wrote:

>  When I build from ports the " make config " usually brings up a window
> that has options for both 32 bit and 64 bit.   If I had to guess I'd say its
> the same Makefile and source code that builds the binary files.   Or in your
> case a 64 bit bin file.   But honestly I really don't know, we should steer
> this thread over to the FreeBSD mailling lists.  Perhaps its just a matter
> of pointing this out to a maintainer or the governing group at the FreeBSD
> mailling list people.   Maybe they know the next step?
>
> ----- Original Message -----
> *From:* metacyclic@gmail.com
> *To:* Sin <si...@gmail.com>
> *Cc:* Foo JH <jh...@extracktor.com> ; Adam Prime<ad...@utoronto.ca>; Joe
> Niederberger <jn...@comcast.net> ; mod_perl list<mo...@perl.apache.org>
> *Sent:* Friday, October 30, 2009 12:36 PM
> *Subject:* Re: FreeBSD 7.2, mod_perl2 & Apache2::Cookie (libapreq2)
>
> This may be completely unrelated, but I had similar headaches installing
> libapreq2 on a 64 bit machine that had both 32 and 64 bit libs installed.  I
> had to uninstall the offending 32 bit libs (which I didn't need).
>
> Do they have a similar setup?
>
> Dimitri
>
> On Fri, Oct 30, 2009 at 12:28 PM, Sin <si...@gmail.com> wrote:
>
>> pkg_add -r just goes to a package repository and gets a package version
>> thats allready complied for your distribution.   So you can't build your
>> options.
>>
>> However this apreq2.12 issue is interesting.   I was going to try this
>> again.   I went to build this port but make errored out with:
>>
>> ===>  libapreq2-2.12_1 : Error from bsd.apache.mk. apache13 is installed
>> (or APACHE_PORT is defined) and port requires 2.0+.
>> *** Error code 1
>>
>>
>> But if you look at the port it says apache-1.3.41_1 is the build and run
>> dependency.  So it should of built the port (because I just happen to have
>> apache 1.3 installed ).   I'm wondering if all the times I tried to build
>> Apache2.x with mod_perl2 the application couldn't interface with it because
>> of a missing dependency.
>>
>>
>> I'm not a BSD expert but it looks like this port needs updating.   Here's
>> the description in ports:
>>
>>
>>
>> Port:   libapreq2-2.12_1
>> Path:   /usr/ports/www/libapreq2
>> Info:   Generic Apache2 Request Library
>> Maint:  skv@FreeBSD.org
>>
>> B-deps: apache-1.3.41_1 autoconf-2.62 autoconf-wrapper-20071109
>> expat-2.0.1 gettext-0.17_1 gmake-3.81_3 libiconv-1.13.1 libtool-2.2.6a_1
>> m4-1.4.13,1 perl-5.8.9_3
>>
>> R-deps: apache-1.3.41_1 expat-2.0.1 perl-5.8.9_3
>> WWW:    http://httpd.apache.org/apreq/
>>
>>
>>
>> Port:   p5-libapreq2-2.12_1
>> Path:   /usr/ports/www/p5-libapreq2
>> Info:   Generic Apache2 Request Library
>> Maint:  skv@FreeBSD.org
>>
>> B-deps: apache-1.3.41_1 autoconf-2.62 autoconf-wrapper-20071109
>> expat-2.0.1 gettext-0.17_1 gmake-3.81_3 libiconv-1.13.1 libtool-2.2.6a_1
>> m4-1.4.13,1 mod_perl2-2.0.4_2,3 p5-BSD-Resource-1.2903
>> p5-ExtUtils-XSBuilder-0.28_1 p5-Parse-RecDescent-1.962.2 p5-Tie-IxHash-1.21
>> p5-version-0.76 perl-5.8.9_3
>>
>> R-deps: apache-1.3.41_1 expat-2.0.1 mod_perl2-2.0.4_2,3
>> p5-BSD-Resource-1.2903 p5-ExtUtils-XSBuilder-0.28_1
>> p5-Parse-RecDescent-1.962.2 p5-Tie-IxHash-1.21 p5-version-0.76 perl-5.8.9_3
>> WWW:    http://httpd.apache.org/apreq/
>>
>>
>> ----- Original Message ----- From: "Foo JH" <jh...@extracktor.com>
>> To: "Adam Prime" <ad...@utoronto.ca>
>> Cc: "Joe Niederberger" <jn...@comcast.net>; "mod_perl list" <
>> modperl@perl.apache.org>
>> Sent: Friday, October 30, 2009 3:15 AM
>>
>> Subject: Re: FreeBSD 7.2, mod_perl2 & Apache2::Cookie (libapreq2)
>>
>>
>> Just a thought: is install ap22 + mp2 + libapreq2 via pkg_add -r an
>>> option? That's what I normally do these days.
>>>
>>>
>>> Adam Prime wrote:
>>>
>>>> You guys might want to take a look at this thread on apreq-dev
>>>>
>>>> http://marc.info/?t=124207659800007&r=1&w=2
>>>>
>>>> Specifically the last couple of posts from pgollucci (who is a freebsd,
>>>> and mod_perl committer).  If you can't get apreq2.12 to work, try 2.08.
>>>>
>>>> Adam
>>>>
>>>>
>>>>
>>>>
>>>> Joe Niederberger wrote:
>>>>
>>>>> How do I find out what *all* the special options needed are?
>>>>>
>>>>> Thanks,
>>>>> Joe N.
>>>>>
>>>>> ----- Original Message ----- From: <gl...@gallien.net>
>>>>> To: "mod_perl list" <mo...@perl.apache.org>
>>>>> Sent: Thursday, October 29, 2009 12:14 PM
>>>>> Subject: Re: FreeBSD 7.2, mod_perl2 & Apache2::Cookie (libapreq2)
>>>>>
>>>>>
>>>>> I've been using apache2/mod_perl2 on FreeBSD for years. Currently using
>>>>>> 6.3 and 7.2. Installing from ports should work fine, but I prefer to install
>>>>>> separate versions of apache2 and mod_perl2 from source. Haven't had a
>>>>>> problem installing either of those in sometime. Installing libapreq2 on
>>>>>> FreeBSD requires some special options, like passing --with-expat=/usr/local
>>>>>> to configure and using gmake.
>>>>>>
>>>>>> -Glenn
>>>>>>
>>>>>
>>>>>
>>>>
>>>
>>>
>>
>

Re: FreeBSD 7.2, mod_perl2 & Apache2::Cookie (libapreq2)

Posted by Joe Niederberger <jn...@comcast.net>.
Well, I didn't make the changes myself - they were done by Datapipe staff
who
run a server for me. The route taken was extreme - they basically
de-installed all packages
and reinstalled. There may be better ways to go about it.

Joe N.

----- Original Message ----- 
From: "Foo JH" <jh...@extracktor.com>
To: "Joe Niederberger" <jn...@comcast.net>
Cc: <ma...@animalhead.com>; "mod_perl list" <mo...@perl.apache.org>
Sent: Tuesday, November 10, 2009 8:41 PM
Subject: Re: FreeBSD 7.2, mod_perl2 & Apache2::Cookie (libapreq2)


> Hello Joe,
>
> Do you think you can post the changes that need to be made here, for us
> to reference when we hit the same problem?
>
> Thanks.


Re: FreeBSD 7.2, mod_perl2 & Apache2::Cookie (libapreq2)

Posted by Foo JH <jh...@extracktor.com>.
Hello Joe,

Do you think you can post the changes that need to be made here, for us 
to reference when we hit the same problem?

Thanks.

Joe Niederberger wrote:
> Thanks to everyone who contributed their insights to this thread - I
> did get in touch with Mr. Galucci - and he did help straighten out
> my installation. The main problem here was some remnants of Apache2
> were still in the file system and lib pointers were not set correctly 
> during
> the install and so things didn't link up properly.
>  
> Thanks again,
> Joe Niederberger
>
>     ----- Original Message -----
>     *From:* mackenna@animalhead.com <ma...@animalhead.com>
>     *To:* Sin <ma...@gmail.com>
>     *Cc:* metacyclic@gmail.com <ma...@gmail.com> ;
>     mod_perl list <ma...@perl.apache.org>
>     *Sent:* Friday, October 30, 2009 11:56 AM
>     *Subject:* Re: FreeBSD 7.2, mod_perl2 & Apache2::Cookie (libapreq2)
>
>     The man you want at the FreeBSD lists is Philip M. Gollucci.  
>     He maintains libapreq2 in the ports collection, and was very
>     helpful to me when I was trying to get the module to build, 
>     earlier this year.
>
>     Good Luck and please report your results to this list when this is
>     settled,
>     cmac
>
>
>     On Oct 30, 2009, at 9:44 AM, Sin wrote:
>
>>     When I build from ports the " make config " usually brings up a
>>     window that has options for both 32 bit and 64 bit.   If I had to
>>     guess I'd say its the same Makefile and source code that builds
>>     the binary files.   Or in your case a 64 bit bin file.   But
>>     honestly I really don't know, we should steer this thread over to
>>     the FreeBSD mailling lists.  Perhaps its just a matter of
>>     pointing this out to a maintainer or the governing group at the
>>     FreeBSD mailling list people.   Maybe they know the next step? 
>>
>>         ----- Original Message -----
>>         *From:* metacyclic@gmail.com <ma...@gmail.com>
>>         *To:* Sin <ma...@gmail.com>
>>         *Cc:* Foo JH <ma...@extracktor.com> ; Adam Prime
>>         <ma...@utoronto.ca> ; Joe Niederberger
>>         <ma...@comcast.net> ; mod_perl list
>>         <ma...@perl.apache.org>
>>         *Sent:* Friday, October 30, 2009 12:36 PM
>>         *Subject:* Re: FreeBSD 7.2, mod_perl2 & Apache2::Cookie
>>         (libapreq2)
>>
>>         This may be completely unrelated, but I had similar headaches
>>         installing libapreq2 on a 64 bit machine that had both 32 and
>>         64 bit libs installed.  I had to uninstall the offending 32
>>         bit libs (which I didn't need).
>>
>>         Do they have a similar setup?
>>
>>         Dimitri
>>
>>         On Fri, Oct 30, 2009 at 12:28 PM, Sin <sinister@gmail.com
>>         <ma...@gmail.com>> wrote:
>>
>>             pkg_add -r just goes to a package repository and gets a
>>             package version thats allready complied for your
>>             distribution.   So you can't build your options.
>>
>>             However this apreq2.12 issue is interesting.   I was
>>             going to try this again.   I went to build this port but
>>             make errored out with:
>>
>>             ===>  libapreq2-2.12_1 : Error from bsd.apache.mk
>>             <http://bsd.apache.mk>. apache13 is installed (or
>>             APACHE_PORT is defined) and port requires 2.0+.
>>             *** Error code 1
>>
>>
>>             But if you look at the port it says apache-1.3.41_1 is
>>             the build and run dependency.  So it should of built the
>>             port (because I just happen to have apache 1.3 installed
>>             ).   I'm wondering if all the times I tried to build
>>             Apache2.x with mod_perl2 the application couldn't
>>             interface with it because of a missing dependency.
>>
>>
>>             I'm not a BSD expert but it looks like this port needs
>>             updating.   Here's the description in ports:
>>
>>
>>
>>             Port:   libapreq2-2.12_1
>>             Path:   /usr/ports/www/libapreq2
>>             Info:   Generic Apache2 Request Library
>>             Maint:  skv@FreeBSD.org <ma...@FreeBSD.org>
>>
>>             B-deps: apache-1.3.41_1 autoconf-2.62
>>             autoconf-wrapper-20071109 expat-2.0.1 gettext-0.17_1
>>             gmake-3.81_3 libiconv-1.13.1 libtool-2.2.6a_1 m4-1.4.13,1
>>             perl-5.8.9_3
>>
>>             R-deps: apache-1.3.41_1 expat-2.0.1 perl-5.8.9_3
>>             WWW:    http://httpd.apache.org/apreq/
>>
>>
>>
>>             Port:   p5-libapreq2-2.12_1
>>             Path:   /usr/ports/www/p5-libapreq2
>>             Info:   Generic Apache2 Request Library
>>             Maint:  skv@FreeBSD.org <ma...@FreeBSD.org>
>>
>>             B-deps: apache-1.3.41_1 autoconf-2.62
>>             autoconf-wrapper-20071109 expat-2.0.1 gettext-0.17_1
>>             gmake-3.81_3 libiconv-1.13.1 libtool-2.2.6a_1 m4-1.4.13,1
>>             mod_perl2-2.0.4_2,3 p5-BSD-Resource-1.2903
>>             p5-ExtUtils-XSBuilder-0.28_1 p5-Parse-RecDescent-1.962.2
>>             p5-Tie-IxHash-1.21 p5-version-0.76 perl-5.8.9_3
>>
>>             R-deps: apache-1.3.41_1 expat-2.0.1 mod_perl2-2.0.4_2,3
>>             p5-BSD-Resource-1.2903 p5-ExtUtils-XSBuilder-0.28_1
>>             p5-Parse-RecDescent-1.962.2 p5-Tie-IxHash-1.21
>>             p5-version-0.76 perl-5.8.9_3
>>             WWW:    http://httpd.apache.org/apreq/
>>
>>
>>             ----- Original Message ----- From: "Foo JH"
>>             <jhfoo-ml@extracktor.com <ma...@extracktor.com>>
>>             To: "Adam Prime" <adam.prime@utoronto.ca
>>             <ma...@utoronto.ca>>
>>             Cc: "Joe Niederberger" <jniederberger@comcast.net
>>             <ma...@comcast.net>>; "mod_perl list"
>>             <modperl@perl.apache.org <ma...@perl.apache.org>>
>>             Sent: Friday, October 30, 2009 3:15 AM
>>
>>             Subject: Re: FreeBSD 7.2, mod_perl2 & Apache2::Cookie
>>             (libapreq2)
>>
>>
>>                 Just a thought: is install ap22 + mp2 + libapreq2 via
>>                 pkg_add -r an option? That's what I normally do these
>>                 days.
>>
>>
>>                 Adam Prime wrote:
>>
>>                     You guys might want to take a look at this thread
>>                     on apreq-dev
>>
>>                     http://marc.info/?t=124207659800007&r=1&w=2
>>                     <http://marc.info/?t=124207659800007&r=1&w=2>
>>
>>                     Specifically the last couple of posts from
>>                     pgollucci (who is a freebsd, and mod_perl
>>                     committer).  If you can't get apreq2.12 to work,
>>                     try 2.08.
>>
>>                     Adam
>>
>>
>>
>>
>>                     Joe Niederberger wrote:
>>
>>                         How do I find out what *all* the special
>>                         options needed are?
>>
>>                         Thanks,
>>                         Joe N.
>>
>>                         ----- Original Message ----- From:
>>                         <glenn@gallien.net <ma...@gallien.net>>
>>                         To: "mod_perl list" <modperl@perl.apache.org
>>                         <ma...@perl.apache.org>>
>>                         Sent: Thursday, October 29, 2009 12:14 PM
>>                         Subject: Re: FreeBSD 7.2, mod_perl2 &
>>                         Apache2::Cookie (libapreq2)
>>
>>
>>                             I've been using apache2/mod_perl2 on
>>                             FreeBSD for years. Currently using 6.3
>>                             and 7.2. Installing from ports should
>>                             work fine, but I prefer to install
>>                             separate versions of apache2 and
>>                             mod_perl2 from source. Haven't had a
>>                             problem installing either of those in
>>                             sometime. Installing libapreq2 on FreeBSD
>>                             requires some special options, like
>>                             passing --with-expat=/usr/local to
>>                             configure and using gmake.
>>
>>                             -Glenn
>>
>>
>>
>>
>>
>>
>>
>>
>


Re: FreeBSD 7.2, mod_perl2 & Apache2::Cookie (libapreq2)

Posted by Joe Niederberger <jn...@comcast.net>.
Thanks to everyone who contributed their insights to this thread - I
did get in touch with Mr. Galucci - and he did help straighten out
my installation. The main problem here was some remnants of Apache2
were still in the file system and lib pointers were not set correctly during 
the install and so things didn't link up properly.

Thanks again,
Joe Niederberger
  ----- Original Message ----- 
  From: mackenna@animalhead.com 
  To: Sin 
  Cc: metacyclic@gmail.com ; mod_perl list 
  Sent: Friday, October 30, 2009 11:56 AM
  Subject: Re: FreeBSD 7.2, mod_perl2 & Apache2::Cookie (libapreq2)


  The man you want at the FreeBSD lists is Philip M. Gollucci.  
  He maintains libapreq2 in the ports collection, and was very
  helpful to me when I was trying to get the module to build, 
  earlier this year.


  Good Luck and please report your results to this list when this is settled,
  cmac




  On Oct 30, 2009, at 9:44 AM, Sin wrote:


    When I build from ports the " make config " usually brings up a window that has options for both 32 bit and 64 bit.   If I had to guess I'd say its the same Makefile and source code that builds the binary files.   Or in your case a 64 bit bin file.   But honestly I really don't know, we should steer this thread over to the FreeBSD mailling lists.  Perhaps its just a matter of pointing this out to a maintainer or the governing group at the FreeBSD mailling list people.   Maybe they know the next step? 
      ----- Original Message -----
      From: metacyclic@gmail.com
      To: Sin
      Cc: Foo JH ; Adam Prime ; Joe Niederberger ; mod_perl list
      Sent: Friday, October 30, 2009 12:36 PM
      Subject: Re: FreeBSD 7.2, mod_perl2 & Apache2::Cookie (libapreq2)


      This may be completely unrelated, but I had similar headaches installing libapreq2 on a 64 bit machine that had both 32 and 64 bit libs installed.  I had to uninstall the offending 32 bit libs (which I didn't need).

      Do they have a similar setup?

      Dimitri


      On Fri, Oct 30, 2009 at 12:28 PM, Sin <si...@gmail.com> wrote:

        pkg_add -r just goes to a package repository and gets a package version thats allready complied for your distribution.   So you can't build your options.

        However this apreq2.12 issue is interesting.   I was going to try this again.   I went to build this port but make errored out with:

        ===>  libapreq2-2.12_1 : Error from bsd.apache.mk. apache13 is installed (or APACHE_PORT is defined) and port requires 2.0+.
        *** Error code 1


        But if you look at the port it says apache-1.3.41_1 is the build and run dependency.  So it should of built the port (because I just happen to have apache 1.3 installed ).   I'm wondering if all the times I tried to build Apache2.x with mod_perl2 the application couldn't interface with it because of a missing dependency.


        I'm not a BSD expert but it looks like this port needs updating.   Here's the description in ports:



        Port:   libapreq2-2.12_1
        Path:   /usr/ports/www/libapreq2
        Info:   Generic Apache2 Request Library
        Maint:  skv@FreeBSD.org

        B-deps: apache-1.3.41_1 autoconf-2.62 autoconf-wrapper-20071109 expat-2.0.1 gettext-0.17_1 gmake-3.81_3 libiconv-1.13.1 libtool-2.2.6a_1 m4-1.4.13,1 perl-5.8.9_3

        R-deps: apache-1.3.41_1 expat-2.0.1 perl-5.8.9_3
        WWW:    http://httpd.apache.org/apreq/



        Port:   p5-libapreq2-2.12_1
        Path:   /usr/ports/www/p5-libapreq2
        Info:   Generic Apache2 Request Library
        Maint:  skv@FreeBSD.org

        B-deps: apache-1.3.41_1 autoconf-2.62 autoconf-wrapper-20071109 expat-2.0.1 gettext-0.17_1 gmake-3.81_3 libiconv-1.13.1 libtool-2.2.6a_1 m4-1.4.13,1 mod_perl2-2.0.4_2,3 p5-BSD-Resource-1.2903 p5-ExtUtils-XSBuilder-0.28_1 p5-Parse-RecDescent-1.962.2 p5-Tie-IxHash-1.21 p5-version-0.76 perl-5.8.9_3

        R-deps: apache-1.3.41_1 expat-2.0.1 mod_perl2-2.0.4_2,3 p5-BSD-Resource-1.2903 p5-ExtUtils-XSBuilder-0.28_1 p5-Parse-RecDescent-1.962.2 p5-Tie-IxHash-1.21 p5-version-0.76 perl-5.8.9_3
        WWW:    http://httpd.apache.org/apreq/


        ----- Original Message ----- From: "Foo JH" <jh...@extracktor.com>
        To: "Adam Prime" <ad...@utoronto.ca>
        Cc: "Joe Niederberger" <jn...@comcast.net>; "mod_perl list" <mo...@perl.apache.org>
        Sent: Friday, October 30, 2009 3:15 AM

        Subject: Re: FreeBSD 7.2, mod_perl2 & Apache2::Cookie (libapreq2)



          Just a thought: is install ap22 + mp2 + libapreq2 via pkg_add -r an option? That's what I normally do these days.


          Adam Prime wrote:

            You guys might want to take a look at this thread on apreq-dev

            http://marc.info/?t=124207659800007&r=1&w=2

            Specifically the last couple of posts from pgollucci (who is a freebsd, and mod_perl committer).  If you can't get apreq2.12 to work, try 2.08.

            Adam




            Joe Niederberger wrote:

              How do I find out what *all* the special options needed are?

              Thanks,
              Joe N.

              ----- Original Message ----- From: <gl...@gallien.net>
              To: "mod_perl list" <mo...@perl.apache.org>
              Sent: Thursday, October 29, 2009 12:14 PM
              Subject: Re: FreeBSD 7.2, mod_perl2 & Apache2::Cookie (libapreq2)



                I've been using apache2/mod_perl2 on FreeBSD for years. Currently using 6.3 and 7.2. Installing from ports should work fine, but I prefer to install separate versions of apache2 and mod_perl2 from source. Haven't had a problem installing either of those in sometime. Installing libapreq2 on FreeBSD requires some special options, like passing --with-expat=/usr/local to configure and using gmake.

                -Glenn
















Re: FreeBSD 7.2, mod_perl2 & Apache2::Cookie (libapreq2)

Posted by ma...@animalhead.com.
The man you want at the FreeBSD lists is Philip M. Gollucci.
He maintains libapreq2 in the ports collection, and was very
helpful to me when I was trying to get the module to build,
earlier this year.

Good Luck and please report your results to this list when this is  
settled,
cmac


On Oct 30, 2009, at 9:44 AM, Sin wrote:

> When I build from ports the " make config " usually brings up a  
> window that has options for both 32 bit and 64 bit.   If I had to  
> guess I'd say its the same Makefile and source code that builds the  
> binary files.   Or in your case a 64 bit bin file.   But honestly I  
> really don't know, we should steer this thread over to the FreeBSD  
> mailling lists.  Perhaps its just a matter of pointing this out to  
> a maintainer or the governing group at the FreeBSD mailling list  
> people.   Maybe they know the next step?
> ----- Original Message -----
> From: metacyclic@gmail.com
> To: Sin
> Cc: Foo JH ; Adam Prime ; Joe Niederberger ; mod_perl list
> Sent: Friday, October 30, 2009 12:36 PM
> Subject: Re: FreeBSD 7.2, mod_perl2 & Apache2::Cookie (libapreq2)
>
> This may be completely unrelated, but I had similar headaches  
> installing libapreq2 on a 64 bit machine that had both 32 and 64  
> bit libs installed.  I had to uninstall the offending 32 bit libs  
> (which I didn't need).
>
> Do they have a similar setup?
>
> Dimitri
>
> On Fri, Oct 30, 2009 at 12:28 PM, Sin <si...@gmail.com> wrote:
> pkg_add -r just goes to a package repository and gets a package  
> version thats allready complied for your distribution.   So you  
> can't build your options.
>
> However this apreq2.12 issue is interesting.   I was going to try  
> this again.   I went to build this port but make errored out with:
>
> ===>  libapreq2-2.12_1 : Error from bsd.apache.mk. apache13 is  
> installed (or APACHE_PORT is defined) and port requires 2.0+.
> *** Error code 1
>
>
> But if you look at the port it says apache-1.3.41_1 is the build  
> and run dependency.  So it should of built the port (because I just  
> happen to have apache 1.3 installed ).   I'm wondering if all the  
> times I tried to build Apache2.x with mod_perl2 the application  
> couldn't interface with it because of a missing dependency.
>
>
> I'm not a BSD expert but it looks like this port needs updating.    
> Here's the description in ports:
>
>
>
> Port:   libapreq2-2.12_1
> Path:   /usr/ports/www/libapreq2
> Info:   Generic Apache2 Request Library
> Maint:  skv@FreeBSD.org
>
> B-deps: apache-1.3.41_1 autoconf-2.62 autoconf-wrapper-20071109  
> expat-2.0.1 gettext-0.17_1 gmake-3.81_3 libiconv-1.13.1  
> libtool-2.2.6a_1 m4-1.4.13,1 perl-5.8.9_3
>
> R-deps: apache-1.3.41_1 expat-2.0.1 perl-5.8.9_3
> WWW:    http://httpd.apache.org/apreq/
>
>
>
> Port:   p5-libapreq2-2.12_1
> Path:   /usr/ports/www/p5-libapreq2
> Info:   Generic Apache2 Request Library
> Maint:  skv@FreeBSD.org
>
> B-deps: apache-1.3.41_1 autoconf-2.62 autoconf-wrapper-20071109  
> expat-2.0.1 gettext-0.17_1 gmake-3.81_3 libiconv-1.13.1  
> libtool-2.2.6a_1 m4-1.4.13,1 mod_perl2-2.0.4_2,3 p5-BSD- 
> Resource-1.2903 p5-ExtUtils-XSBuilder-0.28_1 p5-Parse- 
> RecDescent-1.962.2 p5-Tie-IxHash-1.21 p5-version-0.76 perl-5.8.9_3
>
> R-deps: apache-1.3.41_1 expat-2.0.1 mod_perl2-2.0.4_2,3 p5-BSD- 
> Resource-1.2903 p5-ExtUtils-XSBuilder-0.28_1 p5-Parse- 
> RecDescent-1.962.2 p5-Tie-IxHash-1.21 p5-version-0.76 perl-5.8.9_3
> WWW:    http://httpd.apache.org/apreq/
>
>
> ----- Original Message ----- From: "Foo JH" <jh...@extracktor.com>
> To: "Adam Prime" <ad...@utoronto.ca>
> Cc: "Joe Niederberger" <jn...@comcast.net>; "mod_perl list"  
> <mo...@perl.apache.org>
> Sent: Friday, October 30, 2009 3:15 AM
>
> Subject: Re: FreeBSD 7.2, mod_perl2 & Apache2::Cookie (libapreq2)
>
>
> Just a thought: is install ap22 + mp2 + libapreq2 via pkg_add -r an  
> option? That's what I normally do these days.
>
>
> Adam Prime wrote:
> You guys might want to take a look at this thread on apreq-dev
>
> http://marc.info/?t=124207659800007&r=1&w=2
>
> Specifically the last couple of posts from pgollucci (who is a  
> freebsd, and mod_perl committer).  If you can't get apreq2.12 to  
> work, try 2.08.
>
> Adam
>
>
>
>
> Joe Niederberger wrote:
> How do I find out what *all* the special options needed are?
>
> Thanks,
> Joe N.
>
> ----- Original Message ----- From: <gl...@gallien.net>
> To: "mod_perl list" <mo...@perl.apache.org>
> Sent: Thursday, October 29, 2009 12:14 PM
> Subject: Re: FreeBSD 7.2, mod_perl2 & Apache2::Cookie (libapreq2)
>
>
> I've been using apache2/mod_perl2 on FreeBSD for years. Currently  
> using 6.3 and 7.2. Installing from ports should work fine, but I  
> prefer to install separate versions of apache2 and mod_perl2 from  
> source. Haven't had a problem installing either of those in  
> sometime. Installing libapreq2 on FreeBSD requires some special  
> options, like passing --with-expat=/usr/local to configure and  
> using gmake.
>
> -Glenn
>
>
>
>
>
>
>


Re: FreeBSD 7.2, mod_perl2 & Apache2::Cookie (libapreq2)

Posted by Sin <si...@gmail.com>.
When I build from ports the " make config " usually brings up a window that has options for both 32 bit and 64 bit.   If I had to guess I'd say its the same Makefile and source code that builds the binary files.   Or in your case a 64 bit bin file.   But honestly I really don't know, we should steer this thread over to the FreeBSD mailling lists.  Perhaps its just a matter of pointing this out to a maintainer or the governing group at the FreeBSD mailling list people.   Maybe they know the next step?  
  ----- Original Message ----- 
  From: metacyclic@gmail.com 
  To: Sin 
  Cc: Foo JH ; Adam Prime ; Joe Niederberger ; mod_perl list 
  Sent: Friday, October 30, 2009 12:36 PM
  Subject: Re: FreeBSD 7.2, mod_perl2 & Apache2::Cookie (libapreq2)


  This may be completely unrelated, but I had similar headaches installing libapreq2 on a 64 bit machine that had both 32 and 64 bit libs installed.  I had to uninstall the offending 32 bit libs (which I didn't need).

  Do they have a similar setup?

  Dimitri


  On Fri, Oct 30, 2009 at 12:28 PM, Sin <si...@gmail.com> wrote:

    pkg_add -r just goes to a package repository and gets a package version thats allready complied for your distribution.   So you can't build your options.

    However this apreq2.12 issue is interesting.   I was going to try this again.   I went to build this port but make errored out with:

    ===>  libapreq2-2.12_1 : Error from bsd.apache.mk. apache13 is installed (or APACHE_PORT is defined) and port requires 2.0+.
    *** Error code 1


    But if you look at the port it says apache-1.3.41_1 is the build and run dependency.  So it should of built the port (because I just happen to have apache 1.3 installed ).   I'm wondering if all the times I tried to build Apache2.x with mod_perl2 the application couldn't interface with it because of a missing dependency.


    I'm not a BSD expert but it looks like this port needs updating.   Here's the description in ports:



    Port:   libapreq2-2.12_1
    Path:   /usr/ports/www/libapreq2
    Info:   Generic Apache2 Request Library
    Maint:  skv@FreeBSD.org

    B-deps: apache-1.3.41_1 autoconf-2.62 autoconf-wrapper-20071109 expat-2.0.1 gettext-0.17_1 gmake-3.81_3 libiconv-1.13.1 libtool-2.2.6a_1 m4-1.4.13,1 perl-5.8.9_3

    R-deps: apache-1.3.41_1 expat-2.0.1 perl-5.8.9_3
    WWW:    http://httpd.apache.org/apreq/



    Port:   p5-libapreq2-2.12_1
    Path:   /usr/ports/www/p5-libapreq2
    Info:   Generic Apache2 Request Library
    Maint:  skv@FreeBSD.org

    B-deps: apache-1.3.41_1 autoconf-2.62 autoconf-wrapper-20071109 expat-2.0.1 gettext-0.17_1 gmake-3.81_3 libiconv-1.13.1 libtool-2.2.6a_1 m4-1.4.13,1 mod_perl2-2.0.4_2,3 p5-BSD-Resource-1.2903 p5-ExtUtils-XSBuilder-0.28_1 p5-Parse-RecDescent-1.962.2 p5-Tie-IxHash-1.21 p5-version-0.76 perl-5.8.9_3

    R-deps: apache-1.3.41_1 expat-2.0.1 mod_perl2-2.0.4_2,3 p5-BSD-Resource-1.2903 p5-ExtUtils-XSBuilder-0.28_1 p5-Parse-RecDescent-1.962.2 p5-Tie-IxHash-1.21 p5-version-0.76 perl-5.8.9_3
    WWW:    http://httpd.apache.org/apreq/


    ----- Original Message ----- From: "Foo JH" <jh...@extracktor.com>
    To: "Adam Prime" <ad...@utoronto.ca>
    Cc: "Joe Niederberger" <jn...@comcast.net>; "mod_perl list" <mo...@perl.apache.org>
    Sent: Friday, October 30, 2009 3:15 AM

    Subject: Re: FreeBSD 7.2, mod_perl2 & Apache2::Cookie (libapreq2)



      Just a thought: is install ap22 + mp2 + libapreq2 via pkg_add -r an option? That's what I normally do these days.


      Adam Prime wrote:

        You guys might want to take a look at this thread on apreq-dev

        http://marc.info/?t=124207659800007&r=1&w=2

        Specifically the last couple of posts from pgollucci (who is a freebsd, and mod_perl committer).  If you can't get apreq2.12 to work, try 2.08.

        Adam




        Joe Niederberger wrote:

          How do I find out what *all* the special options needed are?

          Thanks,
          Joe N.

          ----- Original Message ----- From: <gl...@gallien.net>
          To: "mod_perl list" <mo...@perl.apache.org>
          Sent: Thursday, October 29, 2009 12:14 PM
          Subject: Re: FreeBSD 7.2, mod_perl2 & Apache2::Cookie (libapreq2)



            I've been using apache2/mod_perl2 on FreeBSD for years. Currently using 6.3 and 7.2. Installing from ports should work fine, but I prefer to install separate versions of apache2 and mod_perl2 from source. Haven't had a problem installing either of those in sometime. Installing libapreq2 on FreeBSD requires some special options, like passing --with-expat=/usr/local to configure and using gmake.

            -Glenn












Re: FreeBSD 7.2, mod_perl2 & Apache2::Cookie (libapreq2)

Posted by me...@gmail.com.
This may be completely unrelated, but I had similar headaches installing
libapreq2 on a 64 bit machine that had both 32 and 64 bit libs installed.  I
had to uninstall the offending 32 bit libs (which I didn't need).

Do they have a similar setup?

Dimitri

On Fri, Oct 30, 2009 at 12:28 PM, Sin <si...@gmail.com> wrote:

> pkg_add -r just goes to a package repository and gets a package version
> thats allready complied for your distribution.   So you can't build your
> options.
>
> However this apreq2.12 issue is interesting.   I was going to try this
> again.   I went to build this port but make errored out with:
>
> ===>  libapreq2-2.12_1 : Error from bsd.apache.mk. apache13 is installed
> (or APACHE_PORT is defined) and port requires 2.0+.
> *** Error code 1
>
>
> But if you look at the port it says apache-1.3.41_1 is the build and run
> dependency.  So it should of built the port (because I just happen to have
> apache 1.3 installed ).   I'm wondering if all the times I tried to build
> Apache2.x with mod_perl2 the application couldn't interface with it because
> of a missing dependency.
>
>
> I'm not a BSD expert but it looks like this port needs updating.   Here's
> the description in ports:
>
>
>
> Port:   libapreq2-2.12_1
> Path:   /usr/ports/www/libapreq2
> Info:   Generic Apache2 Request Library
> Maint:  skv@FreeBSD.org
>
> B-deps: apache-1.3.41_1 autoconf-2.62 autoconf-wrapper-20071109 expat-2.0.1
> gettext-0.17_1 gmake-3.81_3 libiconv-1.13.1 libtool-2.2.6a_1 m4-1.4.13,1
> perl-5.8.9_3
>
> R-deps: apache-1.3.41_1 expat-2.0.1 perl-5.8.9_3
> WWW:    http://httpd.apache.org/apreq/
>
>
>
> Port:   p5-libapreq2-2.12_1
> Path:   /usr/ports/www/p5-libapreq2
> Info:   Generic Apache2 Request Library
> Maint:  skv@FreeBSD.org
>
> B-deps: apache-1.3.41_1 autoconf-2.62 autoconf-wrapper-20071109 expat-2.0.1
> gettext-0.17_1 gmake-3.81_3 libiconv-1.13.1 libtool-2.2.6a_1 m4-1.4.13,1
> mod_perl2-2.0.4_2,3 p5-BSD-Resource-1.2903 p5-ExtUtils-XSBuilder-0.28_1
> p5-Parse-RecDescent-1.962.2 p5-Tie-IxHash-1.21 p5-version-0.76 perl-5.8.9_3
>
> R-deps: apache-1.3.41_1 expat-2.0.1 mod_perl2-2.0.4_2,3
> p5-BSD-Resource-1.2903 p5-ExtUtils-XSBuilder-0.28_1
> p5-Parse-RecDescent-1.962.2 p5-Tie-IxHash-1.21 p5-version-0.76 perl-5.8.9_3
> WWW:    http://httpd.apache.org/apreq/
>
>
> ----- Original Message ----- From: "Foo JH" <jh...@extracktor.com>
> To: "Adam Prime" <ad...@utoronto.ca>
> Cc: "Joe Niederberger" <jn...@comcast.net>; "mod_perl list" <
> modperl@perl.apache.org>
> Sent: Friday, October 30, 2009 3:15 AM
>
> Subject: Re: FreeBSD 7.2, mod_perl2 & Apache2::Cookie (libapreq2)
>
>
>  Just a thought: is install ap22 + mp2 + libapreq2 via pkg_add -r an
>> option? That's what I normally do these days.
>>
>>
>> Adam Prime wrote:
>>
>>> You guys might want to take a look at this thread on apreq-dev
>>>
>>> http://marc.info/?t=124207659800007&r=1&w=2
>>>
>>> Specifically the last couple of posts from pgollucci (who is a freebsd,
>>> and mod_perl committer).  If you can't get apreq2.12 to work, try 2.08.
>>>
>>> Adam
>>>
>>>
>>>
>>>
>>> Joe Niederberger wrote:
>>>
>>>> How do I find out what *all* the special options needed are?
>>>>
>>>> Thanks,
>>>> Joe N.
>>>>
>>>> ----- Original Message ----- From: <gl...@gallien.net>
>>>> To: "mod_perl list" <mo...@perl.apache.org>
>>>> Sent: Thursday, October 29, 2009 12:14 PM
>>>> Subject: Re: FreeBSD 7.2, mod_perl2 & Apache2::Cookie (libapreq2)
>>>>
>>>>
>>>>  I've been using apache2/mod_perl2 on FreeBSD for years. Currently using
>>>>> 6.3 and 7.2. Installing from ports should work fine, but I prefer to install
>>>>> separate versions of apache2 and mod_perl2 from source. Haven't had a
>>>>> problem installing either of those in sometime. Installing libapreq2 on
>>>>> FreeBSD requires some special options, like passing --with-expat=/usr/local
>>>>> to configure and using gmake.
>>>>>
>>>>> -Glenn
>>>>>
>>>>
>>>>
>>>
>>
>>
>

Re: FreeBSD 7.2, mod_perl2 & Apache2::Cookie (libapreq2)

Posted by cr...@animalhead.com.
Mr. Sin, I can't tell from your email exactly what isn't working
for you, so will assume that you have similar problems as Mr. N.
 From my experience, the problem may be FreeBSD + libapreq2 2.12.

My site runs FreeBSD 6.3.  I could not get libapreq2 2.12
and associated Perl linkages (mod_apreq2-20090110/2.7.1) to
build from source and pass.  The author kept wanting more
data about failures, and I'm ashamed to say I stopped
answering his requests (it was a bad week).

But I did get the package to install from the FreeBSD ports
collection, using the following commands:

cd /ports/www/libapreq2  # your ports path may be different
sudo make clean
sudo make install WITH_MODPERL2=yes FORCE_PKG_REGISTER=yes

The ports version notes document the included patch that's
needed for FreeBSD.  It has been working fine for months.

Hope this works for either or both of you.

Best of luck,
cmac


On Oct 29, 2009, at 8:22 AM, Sin wrote:

> Hello,
>
> Few weeks back I joined this mailing list to find out about this  
> myself. I've been trying to get apache 2.x and mod_perl2 to run  
> together for many many months now.   My target application was  
> OTRS.   I've seen apache2 and mod_perl2 work with Debian no  
> problem.  I figured I was doing something wrong.   I'm not so sure  
> i'm in the wrong at this point after following all readme files to  
> the letter.
>
> I've gone back to using apache-1.3.41_1 / mod_perl-1.31_1
>
> Seems like all versions of 1.3 work for the past years, but apache  
> 2 just doesn't want to interface with the application.  Its there,  
> installs, but doesn't work.  Log files never come up with anything  
> to point to.
>
> This apache 2.x and mod_perl2 failed on FreeBSD 6 and 7.  Haven't  
> tried 8 yet.
>
> ----- Original Message ----- From: "Joe Niederberger"  
> <jn...@comcast.net>
> To: "mod_perl list" <mo...@perl.apache.org>
> Sent: Tuesday, October 27, 2009 11:04 PM
> Subject: FreeBSD 7.2, mod_perl2 & Apache2::Cookie (libapreq2)
>
>
>> Hello,
>>
>> Does anyone have the combination of FreeBSD 7.2, Apache2.2, mod_perl2
>> and libapreq2 all installed and working fine?
>>
>> My web-hoster is having exterme difficulties getting this set up. The
>> Apache2.so is
>> rife with undefined symbols that they cannot resolve. Simply  
>> making a call
>> to the cookie jar and the process segfaults.
>>
>> Any help most appreciated.
>> Thanks in advance.
>>
>> Joe Niederberger
>>


Re: FreeBSD 7.2, mod_perl2 & Apache2::Cookie (libapreq2)

Posted by Devin Teske <dt...@vicor.com>.
Oops =)

Replace 'sr' with 'sudo' wherever encountered (corporate colloquialism).

As somebody else said recently on this very same thread, it's likely
that your problem is libapreq. And as they mentioned, the correct thing
to do would be to build it from the ports tree (otherwise compiled by-
hand with any modifications required to make it work on FreeBSD -- which
is what the ports tree does for you).

(shrug) Dunno, not using libapreq in our distribution. Besides libapreq,
I can't say that we've had any problems on FreeBSD at all (many
versions). Though there are some gotchas (for example, if you don't use
--with-devrandom configure option, then the FreeBSD system will
eventually cause HTTPS clients to hang as the system waits for more
entropy to be gathered for /dev/random (redefining to /dev/urandom
solves this problem).
--
Devin Teske



On Thu, 2009-10-29 at 09:41 -0700, Devin Teske wrote:
> Running Apache 2.2.13 with mod_perl 2.0.4 and other sundry pieces on
> FreeBSD-4.11.
> 
> Here's my compile notes (sorry if it's a little lengthy, just
> copy/pasted to minimize time spent on this):
> 
> 
> 
> 
> Paste:
> 
> The Apache HTTP Server Project is an effort to develop and maintain an
> open-source HTTP server for various modern desktop and server operating
> systems, such as UNIX and Windows NT. The goal of this project is to
> provide a secure, efficient and extensible server which provides HTTP
> services in sync with the current HTTP standards.
> The 2.x branch of Apache Web Server includes several improvements like
> threading, use of APR, native IPv6 and SSL support, and many more.
> 
> WWW: http://httpd.apache.org/
> 
> ================================================================================COMPILE NOTES:
> 
> Initial source tarball:
>         http://apache.downlod.in/httpd/httpd-2.2.13.tar.gz
> 
> In addition to the intial source archive, you will need to have the following
> packages installed on your system to successfully compile apache:
> 
>         expat-1.x.x
>         libiconv-1.x.x
>         openldap-client-2.2.x
> 
> NOTE: The above packages are not required during run-time.
> 
> Complete the following steps to compile and install apache:
> 
>         1. cd ~/
>         2. fetch http://apache.downlod.in/httpd/httpd-2.2.13.tar.gz
>         3. tar zxvf httpd-2.2.13.tar.gz
>         4. cd httpd-2.2.13
>         5. sr ln -s /usr/lib/libc_r.so /usr/local/lib/libdb1.so
>         6. ./configure \
>                 --enable-threads \
>                 --with-devrandom=/dev/urandom \
>                 \
>                 --with-ldap-include=/usr/local/include \
>                 --with-ldap-lib=/usr/local/lib \
>                 --with-ldap \
>                 --with-dbm=db1 \
>                 --with-berkeley-db=/usr/include:/usr/local/lib \
>                 --enable-ndbm \
>                 \
>                 --with-included-apr \
>                 --enable-authn-alias \
>                 --enable-authnz-ldap \
>                 --enable-cache \
>                 --enable-disk-cache \
>                 --enable-file-cache \
>                 --enable-ldap \
>                 --enable-mem-cache \
>                 --enable-mods-shared=all \
>                 --enable-proxy \
>                 --enable-ssl \
>                 --enable-suexec \
>                 2>&1 | tee configure.out
>         7. make 2>&1 | tee make.out
> 
>         WARNING! If `/usr/local/apache2' already exists, move it out of the way
>                  before executing the next command.
> 
>         8. sr make install
> 
> If all of the above steps complete without error, your newly-built apache
> distribution will be located at "/usr/local/apache2".
> 
> In the event that an error occurs, please mail the files "configure.out" and
> "make.out" respectively to the developers.
> 
> Also required, is mod_perl. To compile mod_perl you will need the following
> packages installed:
> 
>         perl-5.8.5
> 
> Then, follow these steps to compile and install mod_perl:
> 
>         1. cd ~/
>         2. fetch http://perl.apache.org/dist/mod_perl-2.0-current.tar.gz
>         3. tar zxvf mod_perl-2.0-current.tar.gz
>         4. cd mod_perl-2.0.4
>         5. perl5.8.5 Makefile.PL MP_APXS=/usr/local/apache2/bin/apxs \
>                 2>&1 | tee configure.out
> 
>         WARNING! The symbolic-link `/usr/local/bin/perl' must point to
>                  `/usr/local/bin/perl5.8.5' before executing the following
>                  command. However, after the make process is complete, you
>                  should make `/usr/local/bin/perl' point to `/usr/bin/perl'.
> 
>         6. make 2>&1 | tee make.out
> 
>         WARNING! If `/usr/local/lib/perl5/site_perl/5.8.5/mach' already exists,
>                  make sure that you move it out of the way before executing the
>                  next command. However, make sure to put it back when done (and
>                  optionally perform the following command once-more if you also
>                  need the current system to be updated for testing rather than
>                  just packing).
> 
>         7. sr make install
> 
> --
> Devin Teske
> 
> 
> On Thu, 2009-10-29 at 17:31 +0100, André Warnier wrote:
> > Joe Niederberger wrote:
> > > Sadly, has the signs of a not-well technology.
> > > Anyone have opinions on a way forward?
> > > Is the answer Linux?
> > > 
> > I have no idea about FreeBSD, but I am using Apache 2.0 & 2.2, with 
> > mod_perl 2.x, on quite a lot of Linux (Debian, Suse, RedHat) systems, 
> > with a lot of satisfaction and very few problems (and the few there are 
> > generally turn out to be in my code, not in mod_perl).
> > 
> > 
> 



Re: FreeBSD 7.2, mod_perl2 & Apache2::Cookie (libapreq2)

Posted by Devin Teske <dt...@vicor.com>.
Running Apache 2.2.13 with mod_perl 2.0.4 and other sundry pieces on
FreeBSD-4.11.

Here's my compile notes (sorry if it's a little lengthy, just
copy/pasted to minimize time spent on this):




Paste:

The Apache HTTP Server Project is an effort to develop and maintain an
open-source HTTP server for various modern desktop and server operating
systems, such as UNIX and Windows NT. The goal of this project is to
provide a secure, efficient and extensible server which provides HTTP
services in sync with the current HTTP standards.
The 2.x branch of Apache Web Server includes several improvements like
threading, use of APR, native IPv6 and SSL support, and many more.

WWW: http://httpd.apache.org/

================================================================================COMPILE NOTES:

Initial source tarball:
        http://apache.downlod.in/httpd/httpd-2.2.13.tar.gz

In addition to the intial source archive, you will need to have the following
packages installed on your system to successfully compile apache:

        expat-1.x.x
        libiconv-1.x.x
        openldap-client-2.2.x

NOTE: The above packages are not required during run-time.

Complete the following steps to compile and install apache:

        1. cd ~/
        2. fetch http://apache.downlod.in/httpd/httpd-2.2.13.tar.gz
        3. tar zxvf httpd-2.2.13.tar.gz
        4. cd httpd-2.2.13
        5. sr ln -s /usr/lib/libc_r.so /usr/local/lib/libdb1.so
        6. ./configure \
                --enable-threads \
                --with-devrandom=/dev/urandom \
                \
                --with-ldap-include=/usr/local/include \
                --with-ldap-lib=/usr/local/lib \
                --with-ldap \
                --with-dbm=db1 \
                --with-berkeley-db=/usr/include:/usr/local/lib \
                --enable-ndbm \
                \
                --with-included-apr \
                --enable-authn-alias \
                --enable-authnz-ldap \
                --enable-cache \
                --enable-disk-cache \
                --enable-file-cache \
                --enable-ldap \
                --enable-mem-cache \
                --enable-mods-shared=all \
                --enable-proxy \
                --enable-ssl \
                --enable-suexec \
                2>&1 | tee configure.out
        7. make 2>&1 | tee make.out

        WARNING! If `/usr/local/apache2' already exists, move it out of the way
                 before executing the next command.

        8. sr make install

If all of the above steps complete without error, your newly-built apache
distribution will be located at "/usr/local/apache2".

In the event that an error occurs, please mail the files "configure.out" and
"make.out" respectively to the developers.

Also required, is mod_perl. To compile mod_perl you will need the following
packages installed:

        perl-5.8.5

Then, follow these steps to compile and install mod_perl:

        1. cd ~/
        2. fetch http://perl.apache.org/dist/mod_perl-2.0-current.tar.gz
        3. tar zxvf mod_perl-2.0-current.tar.gz
        4. cd mod_perl-2.0.4
        5. perl5.8.5 Makefile.PL MP_APXS=/usr/local/apache2/bin/apxs \
                2>&1 | tee configure.out

        WARNING! The symbolic-link `/usr/local/bin/perl' must point to
                 `/usr/local/bin/perl5.8.5' before executing the following
                 command. However, after the make process is complete, you
                 should make `/usr/local/bin/perl' point to `/usr/bin/perl'.

        6. make 2>&1 | tee make.out

        WARNING! If `/usr/local/lib/perl5/site_perl/5.8.5/mach' already exists,
                 make sure that you move it out of the way before executing the
                 next command. However, make sure to put it back when done (and
                 optionally perform the following command once-more if you also
                 need the current system to be updated for testing rather than
                 just packing).

        7. sr make install

--
Devin Teske


On Thu, 2009-10-29 at 17:31 +0100, André Warnier wrote:
> Joe Niederberger wrote:
> > Sadly, has the signs of a not-well technology.
> > Anyone have opinions on a way forward?
> > Is the answer Linux?
> > 
> I have no idea about FreeBSD, but I am using Apache 2.0 & 2.2, with 
> mod_perl 2.x, on quite a lot of Linux (Debian, Suse, RedHat) systems, 
> with a lot of satisfaction and very few problems (and the few there are 
> generally turn out to be in my code, not in mod_perl).
> 
> 



Re: FreeBSD 7.2, mod_perl2 & Apache2::Cookie (libapreq2)

Posted by André Warnier <aw...@ice-sa.com>.
Joe Niederberger wrote:
> Sadly, has the signs of a not-well technology.
> Anyone have opinions on a way forward?
> Is the answer Linux?
> 
I have no idea about FreeBSD, but I am using Apache 2.0 & 2.2, with 
mod_perl 2.x, on quite a lot of Linux (Debian, Suse, RedHat) systems, 
with a lot of satisfaction and very few problems (and the few there are 
generally turn out to be in my code, not in mod_perl).



Re: FreeBSD 7.2, mod_perl2 & Apache2::Cookie (libapreq2)

Posted by Joe Niederberger <jn...@comcast.net>.
Sadly, has the signs of a not-well technology.
Anyone have opinions on a way forward?
Is the answer Linux?

----- Original Message ----- 
From: "Sin" <si...@gmail.com>

>
> Few weeks back I joined this mailling list to find out about this myself.
> I've been trying to get apache 2.x and mod_perl2 to run together for many
> many months now.   My target application was OTRS.   I've seen apache2 and
> mod_perl2 work with Debian no problem.  I figured I was doing something
> wrong.   I'm not so sure i'm in the wrong at this point after following
all
> readme files to the letter.
>
>
> I've gone back to using apache-1.3.41_1 / mod_perl-1.31_1
>
>
> Seems like all versions of 1.3 work for the past years, but apache 2 just
> doesn't want to interface with the application.  Its there, installs, but
> doesn't work.  Log files never come up with anything to point to.
>
> This apache 2.x and mod_perl2 failed on FreeBSD 6 and 7.  Haven't tried 8
> yet.


Re: FreeBSD 7.2, mod_perl2 & Apache2::Cookie (libapreq2)

Posted by Sin <si...@gmail.com>.
Hello,


Few weeks back I joined this mailling list to find out about this myself. 
I've been trying to get apache 2.x and mod_perl2 to run together for many 
many months now.   My target application was OTRS.   I've seen apache2 and 
mod_perl2 work with Debian no problem.  I figured I was doing something 
wrong.   I'm not so sure i'm in the wrong at this point after following all 
readme files to the letter.


I've gone back to using apache-1.3.41_1 / mod_perl-1.31_1


Seems like all versions of 1.3 work for the past years, but apache 2 just 
doesn't want to interface with the application.  Its there, installs, but 
doesn't work.  Log files never come up with anything to point to.

This apache 2.x and mod_perl2 failed on FreeBSD 6 and 7.  Haven't tried 8 
yet.

----- Original Message ----- 
From: "Joe Niederberger" <jn...@comcast.net>
To: "mod_perl list" <mo...@perl.apache.org>
Sent: Tuesday, October 27, 2009 11:04 PM
Subject: FreeBSD 7.2, mod_perl2 & Apache2::Cookie (libapreq2)


> Hello,
>
> Does anyone have the combination of FreeBSD 7.2, Apache2.2, mod_perl2
> and libapreq2 all installed and working fine?
>
> My web-hoster is having exterme difficulties getting this set up. The
> Apache2.so is
> rife with undefined symbols that they cannot resolve. Simply making a call
> to the cookie jar and the process segfaults.
>
> Any help most appreciated.
> Thanks in advance.
>
> Joe Niederberger
>
> 


Re: FreeBSD 7.2, mod_perl2 & Apache2::Cookie (libapreq2)

Posted by Joe Niederberger <jn...@comcast.net>.
Oh - the perl version is 5.8.9 -


----- Original Message ----- 
From: "Joe Niederberger" <jn...@comcast.net>
To: "mod_perl list" <mo...@perl.apache.org>
Sent: Tuesday, October 27, 2009 10:04 PM
Subject: FreeBSD 7.2, mod_perl2 & Apache2::Cookie (libapreq2)


> Hello,
>
> Does anyone have the combination of FreeBSD 7.2, Apache2.2, mod_perl2
> and libapreq2 all installed and working fine?
>
> My web-hoster is having exterme difficulties getting this set up. The
> Apache2.so is
> rife with undefined symbols that they cannot resolve. Simply making a call
> to the cookie jar and the process segfaults.
>
> Any help most appreciated.
> Thanks in advance.
>
> Joe Niederberger
>


Re: FreeBSD 7.2, mod_perl2 & Apache2::Cookie (libapreq2)

Posted by Sin <si...@gmail.com>.
pkg_add -r just goes to a package repository and gets a package version 
thats allready complied for your distribution.   So you can't build your 
options.

However this apreq2.12 issue is interesting.   I was going to try this 
again.   I went to build this port but make errored out with:

===>  libapreq2-2.12_1 : Error from bsd.apache.mk. apache13 is installed (or 
APACHE_PORT is defined) and port requires 2.0+.
*** Error code 1


But if you look at the port it says apache-1.3.41_1 is the build and run 
dependency.  So it should of built the port (because I just happen to have 
apache 1.3 installed ).   I'm wondering if all the times I tried to build 
Apache2.x with mod_perl2 the application couldn't interface with it because 
of a missing dependency.


I'm not a BSD expert but it looks like this port needs updating.   Here's 
the description in ports:



Port:   libapreq2-2.12_1
Path:   /usr/ports/www/libapreq2
Info:   Generic Apache2 Request Library
Maint:  skv@FreeBSD.org

B-deps: apache-1.3.41_1 autoconf-2.62 autoconf-wrapper-20071109 expat-2.0.1 
gettext-0.17_1 gmake-3.81_3 libiconv-1.13.1 libtool-2.2.6a_1 m4-1.4.13,1 
perl-5.8.9_3

R-deps: apache-1.3.41_1 expat-2.0.1 perl-5.8.9_3
WWW:    http://httpd.apache.org/apreq/



Port:   p5-libapreq2-2.12_1
Path:   /usr/ports/www/p5-libapreq2
Info:   Generic Apache2 Request Library
Maint:  skv@FreeBSD.org

B-deps: apache-1.3.41_1 autoconf-2.62 autoconf-wrapper-20071109 expat-2.0.1 
gettext-0.17_1 gmake-3.81_3 libiconv-1.13.1 libtool-2.2.6a_1 m4-1.4.13,1 
mod_perl2-2.0.4_2,3 p5-BSD-Resource-1.2903 p5-ExtUtils-XSBuilder-0.28_1 
p5-Parse-RecDescent-1.962.2 p5-Tie-IxHash-1.21 p5-version-0.76 perl-5.8.9_3

R-deps: apache-1.3.41_1 expat-2.0.1 mod_perl2-2.0.4_2,3 
p5-BSD-Resource-1.2903 p5-ExtUtils-XSBuilder-0.28_1 
p5-Parse-RecDescent-1.962.2 p5-Tie-IxHash-1.21 p5-version-0.76 perl-5.8.9_3
WWW:    http://httpd.apache.org/apreq/


----- Original Message ----- 
From: "Foo JH" <jh...@extracktor.com>
To: "Adam Prime" <ad...@utoronto.ca>
Cc: "Joe Niederberger" <jn...@comcast.net>; "mod_perl list" 
<mo...@perl.apache.org>
Sent: Friday, October 30, 2009 3:15 AM
Subject: Re: FreeBSD 7.2, mod_perl2 & Apache2::Cookie (libapreq2)


> Just a thought: is install ap22 + mp2 + libapreq2 via pkg_add -r an 
> option? That's what I normally do these days.
>
>
> Adam Prime wrote:
>> You guys might want to take a look at this thread on apreq-dev
>>
>> http://marc.info/?t=124207659800007&r=1&w=2
>>
>> Specifically the last couple of posts from pgollucci (who is a freebsd, 
>> and mod_perl committer).  If you can't get apreq2.12 to work, try 2.08.
>>
>> Adam
>>
>>
>>
>>
>> Joe Niederberger wrote:
>>> How do I find out what *all* the special options needed are?
>>>
>>> Thanks,
>>> Joe N.
>>>
>>> ----- Original Message ----- From: <gl...@gallien.net>
>>> To: "mod_perl list" <mo...@perl.apache.org>
>>> Sent: Thursday, October 29, 2009 12:14 PM
>>> Subject: Re: FreeBSD 7.2, mod_perl2 & Apache2::Cookie (libapreq2)
>>>
>>>
>>>> I've been using apache2/mod_perl2 on FreeBSD for years. Currently using 
>>>> 6.3 and 7.2. Installing from ports should work fine, but I prefer to 
>>>> install separate versions of apache2 and mod_perl2 from source. Haven't 
>>>> had a problem installing either of those in sometime. Installing 
>>>> libapreq2 on FreeBSD requires some special options, like 
>>>> passing --with-expat=/usr/local to configure and using gmake.
>>>>
>>>> -Glenn
>>>
>>
>
> 


Re: FreeBSD 7.2, mod_perl2 & Apache2::Cookie (libapreq2)

Posted by Foo JH <jh...@extracktor.com>.
Just a thought: is install ap22 + mp2 + libapreq2 via pkg_add -r an 
option? That's what I normally do these days.


Adam Prime wrote:
> You guys might want to take a look at this thread on apreq-dev
>
> http://marc.info/?t=124207659800007&r=1&w=2
>
> Specifically the last couple of posts from pgollucci (who is a 
> freebsd, and mod_perl committer).  If you can't get apreq2.12 to work, 
> try 2.08.
>
> Adam
>
>
>
>
> Joe Niederberger wrote:
>> How do I find out what *all* the special options needed are?
>>
>> Thanks,
>> Joe N.
>>
>> ----- Original Message ----- From: <gl...@gallien.net>
>> To: "mod_perl list" <mo...@perl.apache.org>
>> Sent: Thursday, October 29, 2009 12:14 PM
>> Subject: Re: FreeBSD 7.2, mod_perl2 & Apache2::Cookie (libapreq2)
>>
>>
>>> I've been using apache2/mod_perl2 on FreeBSD for years. Currently 
>>> using 6.3 and 7.2. Installing from ports should work fine, but I 
>>> prefer to install separate versions of apache2 and mod_perl2 from 
>>> source. Haven't had a problem installing either of those in 
>>> sometime. Installing libapreq2 on FreeBSD requires some special 
>>> options, like passing --with-expat=/usr/local to configure and using 
>>> gmake.
>>>
>>> -Glenn
>>
>


Re: FreeBSD 7.2, mod_perl2 & Apache2::Cookie (libapreq2)

Posted by Adam Prime <ad...@utoronto.ca>.
You guys might want to take a look at this thread on apreq-dev

http://marc.info/?t=124207659800007&r=1&w=2

Specifically the last couple of posts from pgollucci (who is a freebsd, 
and mod_perl committer).  If you can't get apreq2.12 to work, try 2.08.

Adam




Joe Niederberger wrote:
> How do I find out what *all* the special options needed are?
> 
> Thanks,
> Joe N.
> 
> ----- Original Message ----- 
> From: <gl...@gallien.net>
> To: "mod_perl list" <mo...@perl.apache.org>
> Sent: Thursday, October 29, 2009 12:14 PM
> Subject: Re: FreeBSD 7.2, mod_perl2 & Apache2::Cookie (libapreq2)
> 
> 
>> I've been using apache2/mod_perl2 on FreeBSD for years. Currently using 
>> 6.3 and 7.2. Installing from ports should work fine, but I prefer to 
>> install separate versions of apache2 and mod_perl2 from source. Haven't 
>> had a problem installing either of those in sometime. Installing 
>> libapreq2 on FreeBSD requires some special options, like passing 
>> --with-expat=/usr/local to configure and using gmake.
>>
>> -Glenn
> 


Re: FreeBSD 7.2, mod_perl2 & Apache2::Cookie (libapreq2)

Posted by "glenn@gallien.net" <gl...@gallien.net>.
These are the steps I use to install libapreq2.

# ./configure --with-apache2-apxs=/path/to/apache/apxs 
--with-expat=/usr/local --enable-perl-glue
# gmake
# gmake test
# gmake install

Except for the --with-expat flag, this is what is in the INSTALL doc. If 
you checkout from svn, run ./buildconf first.

It is best to compile everything with the same compiler and the same 
version perl, otherwise you will likely have problems.

I hope that's of some help.

-Glenn



> How do I find out what *all* the special options needed are?
>
> Thanks,
> Joe N.
>
> ----- Original Message ----- 
> From: <gl...@gallien.net>
> To: "mod_perl list" <mo...@perl.apache.org>
> Sent: Thursday, October 29, 2009 12:14 PM
> Subject: Re: FreeBSD 7.2, mod_perl2 & Apache2::Cookie (libapreq2)
>
>
>   
>> I've been using apache2/mod_perl2 on FreeBSD for years. Currently using 
>> 6.3 and 7.2. Installing from ports should work fine, but I prefer to 
>> install separate versions of apache2 and mod_perl2 from source. Haven't 
>> had a problem installing either of those in sometime. Installing 
>> libapreq2 on FreeBSD requires some special options, like passing 
>> --with-expat=/usr/local to configure and using gmake.
>>
>> -Glenn
>>     
>
>   


-- 

Glenn Gallien
Gallien Consulting, Inc.
www.gallien.net


Re: FreeBSD 7.2, mod_perl2 & Apache2::Cookie (libapreq2)

Posted by Joe Niederberger <jn...@comcast.net>.
How do I find out what *all* the special options needed are?

Thanks,
Joe N.

----- Original Message ----- 
From: <gl...@gallien.net>
To: "mod_perl list" <mo...@perl.apache.org>
Sent: Thursday, October 29, 2009 12:14 PM
Subject: Re: FreeBSD 7.2, mod_perl2 & Apache2::Cookie (libapreq2)


> I've been using apache2/mod_perl2 on FreeBSD for years. Currently using 
> 6.3 and 7.2. Installing from ports should work fine, but I prefer to 
> install separate versions of apache2 and mod_perl2 from source. Haven't 
> had a problem installing either of those in sometime. Installing 
> libapreq2 on FreeBSD requires some special options, like passing 
> --with-expat=/usr/local to configure and using gmake.
> 
> -Glenn


Re: FreeBSD 7.2, mod_perl2 & Apache2::Cookie (libapreq2)

Posted by "glenn@gallien.net" <gl...@gallien.net>.
I've been using apache2/mod_perl2 on FreeBSD for years. Currently using 
6.3 and 7.2. Installing from ports should work fine, but I prefer to 
install separate versions of apache2 and mod_perl2 from source. Haven't 
had a problem installing either of those in sometime. Installing 
libapreq2 on FreeBSD requires some special options, like passing 
--with-expat=/usr/local to configure and using gmake.

-Glenn
> Hello,
>
> Does anyone have the combination of FreeBSD 7.2, Apache2.2, mod_perl2
> and libapreq2 all installed and working fine?
>
> My web-hoster is having exterme difficulties getting this set up. The
> Apache2.so is
> rife with undefined symbols that they cannot resolve. Simply making a call
> to the cookie jar and the process segfaults.
>
> Any help most appreciated.
> Thanks in advance.
>
> Joe Niederberger
>
>   

RE: FreeBSD 7.2, mod_perl2 & Apache2::Cookie (libapreq2)

Posted by "Ihnen, David" <di...@amazon.com>.
I have helped configure apache2 on versions of BSD - whether it's the latest or not is not in my knowledge, as I was merely handed servers of relative newness and paid to make apache2/mod_perl run on them.

I just compiled from source with the packages in the BSD package system, configured them, and went on with life.  Which isn't much help, since I don't know if it's the version you're talking about or if I somehow dodged whatever problem or method you're using to get binaries.

David


-----Original Message-----
From: Joe Niederberger [mailto:jniederberger@comcast.net] 
Sent: Thursday, October 29, 2009 9:03 AM
To: Joe Niederberger; mod_perl list
Subject: Re: FreeBSD 7.2, mod_perl2 & Apache2::Cookie (libapreq2)

Should I conclude nobody is running mod_perl2 on the
latest version of FreeBSD?


----- Original Message ----- 
From: "Joe Niederberger" <jn...@comcast.net>
To: "mod_perl list" <mo...@perl.apache.org>
Sent: Tuesday, October 27, 2009 10:04 PM
Subject: FreeBSD 7.2, mod_perl2 & Apache2::Cookie (libapreq2)


> Hello,
>
> Does anyone have the combination of FreeBSD 7.2, Apache2.2, mod_perl2
> and libapreq2 all installed and working fine?
>
> My web-hoster is having exterme difficulties getting this set up. The
> Apache2.so is
> rife with undefined symbols that they cannot resolve. Simply making a call
> to the cookie jar and the process segfaults.
>
> Any help most appreciated.
> Thanks in advance.
>
> Joe Niederberger
>


Re: FreeBSD 7.2, mod_perl2 & Apache2::Cookie (libapreq2)

Posted by Joe Niederberger <jn...@comcast.net>.
Should I conclude nobody is running mod_perl2 on the
latest version of FreeBSD?


----- Original Message ----- 
From: "Joe Niederberger" <jn...@comcast.net>
To: "mod_perl list" <mo...@perl.apache.org>
Sent: Tuesday, October 27, 2009 10:04 PM
Subject: FreeBSD 7.2, mod_perl2 & Apache2::Cookie (libapreq2)


> Hello,
>
> Does anyone have the combination of FreeBSD 7.2, Apache2.2, mod_perl2
> and libapreq2 all installed and working fine?
>
> My web-hoster is having exterme difficulties getting this set up. The
> Apache2.so is
> rife with undefined symbols that they cannot resolve. Simply making a call
> to the cookie jar and the process segfaults.
>
> Any help most appreciated.
> Thanks in advance.
>
> Joe Niederberger
>