#188 ✓ resolved
Vladimir

bricolage & apache-itk_2.2.15

Reported by Vladimir | July 12th, 2010 @ 07:22 AM | in 2.1.0

Hello, will work bricolage with apache-itk_2.2.15?

Comments and changes to this ticket

  • phillipadsmith

    phillipadsmith July 12th, 2010 @ 02:07 PM

    Hello, will work bricolage with apache-itk_2.2.15?

    Why don't you give it a try?

  • Vladimir

    Vladimir July 12th, 2010 @ 02:14 PM

    ==> Finished Selecting Apache version <==

    Looking for PostgreSQL with version >= 8.1.0...
    Found PostgreSQL's pg_config at '/usr/local/bin/pg_config'.
    Is this correct? [yes]
    Found acceptable version of Postgres: 8.4.4.
    Looking for Apache with version >= 2.0.55...
    Found Apache server binary at '/usr/local/sbin/httpd'.
    Is this correct? [yes]
    Found Apache executable at /usr/local/sbin/httpd.
    Found acceptable version of Apache: 2.2.15.
    Checking for preforking apache2 ...
    ###############################################################################

    Bricolage and mod_perl should be run under the prefork version of Apache2,
    rather than the threaded worker version. Please re-compile or install
    the preforked version.

    ############################################################################### *** Error code 1

    Stop in /home/admin/data/www/shumbely.com/bricolage-2.0.0.
    %

  • theory

    theory July 12th, 2010 @ 04:18 PM

    • Milestone set to 2.1.0
    • State changed from “new” to “open”
    • Tag set to apache, mod_perl, prefork
    • Assigned user changed from “Bugs (at bricolage)” to “theory”

    I don't remember why we required prefork, other than the fact that it's the best supported way to run mod_perl2. But try this patch:

    --- a/inst/required.pl
    +++ b/inst/required.pl
    @@ -370,13 +370,13 @@ sub find_apache2 {
         print "Found acceptable version of Apache: $x.$y.$z.\n";
         $REQ{APACHE_VERSION} = [$x,$y,$z];
    
    -    print "Checking for preforking apache2 ... \n";
    -    my $compiled_modules = `$REQ{APACHE_EXE} -l`;
    -    return hard_fail("Bricolage and mod_perl should be run under the prefork ".
    -        "version of Apache2,\nrather than the threaded worker version. Please ".
    -        "re-compile or install\nthe preforked version. \n"
    -    ) unless ($compiled_modules =~ /prefork\.c/);
    -    print "Found prefork built in module\n";
    +    # print "Checking for preforking apache2 ... \n";
    +    # my $compiled_modules = `$REQ{APACHE_EXE} -l`;
    +    # return hard_fail("Bricolage and mod_perl should be run under the prefork ".
    +    #     "version of Apache2,\nrather than the threaded worker version. Please ".
    +    #     "re-compile or install\nthe preforked version. \n"
    +    # ) unless ($compiled_modules =~ /prefork\.c/);
    +    # print "Found prefork built in module\n";
    
         return 1;
     }
    

    That should disable the prefork requirement. Install Bricolage, get it running, and see if it doesn't work.

    David

  • Vladimir

    Vladimir July 23rd, 2010 @ 02:00 PM

    Thank You, patch is applied.

    I install Bricolage on VDS (FreeBSD 8, 258 Mb Ram), and here than now happens after command "#make install":
    [code] t/writemakefile_args.t .... ok
    t/xs.t .................... ok
    All tests successful.
    Files=55, Tests=764, 34 wallclock secs ( 0.27 usr 0.22 sys + 13.95 cusr 5.74 csys = 20.18 CPU)
    Result: PASS
    MSCHWERN/ExtUtils-MakeMaker-6.56.tar.gz /usr/bin/make test -- OK Running make install
    Prepending /root/.cpan/build/ExtUtils-MakeMaker-6.56-rG4umt/blib/arch /root/.cpan/build/ExtUtils-MakeMaker-6.56-rG4umt/blib/lib to PERL5LIB for 'install'
    Appending installation info to /usr/local/lib/perl5/5.10.1/mach/perllocal.pod
    MSCHWERN/ExtUtils-MakeMaker-6.56.tar.gz /usr/bin/make install -- OK *** Error code 1

    Stop in /home/admin/data/www/shumbely.com/bricolage-2.0.0.
    [/code]

  • Vladimir

    Vladimir July 23rd, 2010 @ 02:04 PM

    Im sorry...

    t/writemakefile_args.t .... ok
    t/xs.t .................... ok
    All tests successful.
    Files=55, Tests=764, 34 wallclock secs ( 0.27 usr  0.22 sys + 13.95 cusr  5.74 csys = 20.18 CPU)
    Result: PASS
      MSCHWERN/ExtUtils-MakeMaker-6.56.tar.gz
      /usr/bin/make test -- OK
    Running make install
    Prepending /root/.cpan/build/ExtUtils-MakeMaker-6.56-rG4umt/blib/arch /root/.cpan/build/ExtUtils-MakeMaker-6.56-rG4umt/blib/lib to PERL5LIB for 'install'
    Appending installation info to /usr/local/lib/perl5/5.10.1/mach/perllocal.pod
      MSCHWERN/ExtUtils-MakeMaker-6.56.tar.gz
      /usr/bin/make install  -- OK
    *** Error code 1


    Stop in /home/admin/data/www/shumbely.com/bricolage-2.0.0.
  • Vladimir

    Vladimir July 28th, 2010 @ 01:18 PM

    Hello.
    The given error (as I have understood), has appeared that I have established port www/libapreq2, and the port www/p5-libapreq2 - is not present.

    After I have established www/p5-libapeq2, make instal have finished work.

  • theory

    theory July 29th, 2010 @ 12:02 AM

    Cool, thanks, I'll apply the patch and allow non-prefork Apache 2. Assuming that Bricolage actually works for you now, yes?

  • Bugs (at bricolage)

    Bugs (at bricolage) July 29th, 2010 @ 12:09 AM

    • State changed from “open” to “resolved”
  • Bugs (at bricolage)

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

Referenced by

Pages