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/11/07 07:51:49 UTC

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

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 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
>>
>>
>>
>>
>>
>>
>>
>>
>