Loading ...
Sorry, an error occurred while loading the content.

Re: Bug? Make test fails on configure_httpd/configure_apxs

Expand Messages
  • Steven
    ... Whoops, well the only thing I d suggest is making clear that writing bug reports in a hurry is a Bad Thing (tm). I thought i saw a cat there the first time
    Message 1 of 7 , Nov 1, 2004
    • 0 Attachment
      On Sunday 31 October 2004 22:18, Stas Bekman wrote:
      > Steven, can you please tell me where did you see the suggestion to post
      > here the script t/REPORT and not the output of its execution? If it wasn't
      > clear in the help document, please suggest how to improve the wording.

      Whoops, well the only thing I'd suggest is making clear that writing bug
      reports in a hurry is a Bad Thing (tm). I thought i saw a cat there the first
      time I read it ;-).

      -------------8<---------- Start Bug Report ------------8<----------
      1. Problem Description:

      After a succesfull standard compilation without warnings, make test fails very
      quickly when attempting to configure_apxs and configure_httpd. The httpd
      can't be found by REPORT, but it does exist in the specified directory:
      /home/ufo/downloads/apache2/httpd-2.0.52/.libs/httpd: ELF 32-bit LSB
      executable, Intel 80386, version 1 (SYSV), for GNU/Linux 2.0.30, dynamically
      linked (uses shared libs), not stripped

      Apache was configured, built and installed without warnings (same gcc 3.4.2).

      $test_config->{vars}->{httpd} is empty.

      ufo@steven:~/downloads/apache2$ httpd-2.0.52/.libs/httpd -V
      Server version: Apache/2.0.52
      Server built: Oct 29 2004 23:56:28
      Server's Module Magic Number: 20020903:9
      Architecture: 32-bit
      Server compiled with....
      -D APACHE_MPM_DIR="server/mpm/prefork"
      -D APR_HAS_SENDFILE
      -D APR_HAS_MMAP
      -D APR_HAVE_IPV6 (IPv4-mapped addresses enabled)
      -D APR_USE_SYSVSEM_SERIALIZE
      -D APR_USE_PTHREAD_SERIALIZE
      -D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
      -D APR_HAS_OTHER_CHILD
      -D AP_HAVE_RELIABLE_PIPED_LOGS
      -D HTTPD_ROOT="/usr/apache2/"
      -D SUEXEC_BIN="/usr/apache2//bin/suexec"
      -D DEFAULT_PIDLOG="logs/httpd.pid"
      -D DEFAULT_SCOREBOARD="logs/apache_runtime_status"
      -D DEFAULT_LOCKFILE="logs/accept.lock"
      -D DEFAULT_ERRORLOG="logs/error_log"
      -D AP_TYPES_CONFIG_FILE="conf/mime.types"
      -D SERVER_CONFIG_FILE="conf/httpd.conf"

      2. Used Components and their Configuration:

      *** mod_perl version 1.9917

      *** using
      /home/ufo/downloads/apache2/modules/mod_perl-1.99_17/lib/Apache/BuildConfig.pm

      *** Makefile.PL options:
      MP_APR_LIB => aprext
      MP_COMPAT_1X => 1
      MP_GENERATE_XS => 1
      MP_LIBNAME => mod_perl
      MP_USE_DSO => 1


      *** The httpd binary was not found

      *** (apr|apu)-config linking info

      -L/home/ufo/downloads/apache2/httpd-2.0.52/srclib/apr/.libs
      -L/home/ufo/downloads/apache2/httpd-2.0.52/srclib/apr -lapr-0 -lrt -lm
      -lcrypt -lnsl -lpthread -ldl
      -L/home/ufo/downloads/apache2/httpd-2.0.52/srclib/apr-util/.libs
      -L/home/ufo/downloads/apache2/httpd-2.0.52/srclib/apr-util -laprutil-0 -ldb1
      -lexpat



      *** /usr/local/bin/perl -V
      Summary of my perl5 (revision 5.0 version 8 subversion 3) configuration:
      Platform:
      osname=linux, osvers=2.6.8.1, archname=i686-linux
      uname='linux steven 2.6.8.1 #1 thu oct 21 15:16:38 cest 2004 i686 unknown
      '
      config_args='-de'
      hint=recommended, useposix=true, d_sigaction=define
      usethreads=undef use5005threads=undef useithreads=undef
      usemultiplicity=undef
      useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
      use64bitint=undef use64bitall=undef uselongdouble=undef
      usemymalloc=n, bincompat5005=undef
      Compiler:
      cc='cc', ccflags ='-fno-strict-aliasing -I/usr/local/include
      -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
      optimize='-O3',
      cppflags='-fno-strict-aliasing -I/usr/local/include'
      ccversion='', gccversion='3.4.2', gccosandvers=''
      intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234
      d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
      ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t',
      lseeksize=8
      alignbytes=4, prototype=define
      Linker and Libraries:
      ld='cc', ldflags =' -L/usr/local/lib'
      libpth=/usr/local/lib /lib /usr/lib
      libs=-lnsl -ldl -lm -lcrypt -lutil -lc
      perllibs=-lnsl -ldl -lm -lcrypt -lutil -lc
      libc=/lib/libc-2.2.5.so, so=so, useshrplib=false, libperl=libperl.a
      gnulibc_version='2.2.5'
      Dynamic Linking:
      dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-rdynamic'
      cccdlflags='-fpic', lddlflags='-shared -L/usr/local/lib'


      Characteristics of this binary (from libperl):
      Compile-time options: USE_LARGE_FILES
      Built under linux
      Compiled at Oct 29 2004 23:53:26
      %ENV:
      PERL_LWP_USE_HTTP_10="1"
      @INC:
      /usr/local/lib/perl5/5.8.3/i686-linux
      /usr/local/lib/perl5/5.8.3
      /usr/local/lib/perl5/site_perl/5.8.3/i686-linux
      /usr/local/lib/perl5/site_perl/5.8.3
      /usr/local/lib/perl5/site_perl
      .

      *** Packages of interest status:

      Apache::Request: -
      CGI : 3.01
      LWP : -
      mod_perl : -


      3. This is the core dump trace: (if you get a core dump):

      (No core dump)

      This report was generated by t/REPORT on Mon Nov 1 12:02:46 2004 GMT.

      Steven.

      --
      Mijn openbare cryptografische sleutel / My public cryptographic key:
      http://steven.lepelaar.homeunix.org/public_key.asc


      --
      Report problems: http://perl.apache.org/bugs/
      Mail list info: http://perl.apache.org/maillist/modperl.html
      List etiquette: http://perl.apache.org/maillist/email-etiquette.html
    • Stas Bekman
      Steven wrote: [parts of the detailed report snipped] Thanks Steven, [...] ... I think I can see what the problem is. Could you run the same build with an
      Message 2 of 7 , Nov 1, 2004
      • 0 Attachment
        Steven wrote:

        [parts of the detailed report snipped]

        Thanks Steven,

        [...]
        > *** Makefile.PL options:
        > MP_APR_LIB => aprext
        > MP_COMPAT_1X => 1
        > MP_GENERATE_XS => 1
        > MP_LIBNAME => mod_perl
        > MP_USE_DSO => 1

        I think I can see what the problem is. Could you run the same build with
        an explicit argument of apxs: MP_APXS=/path/to/apxs as explained here:
        http://perl.apache.org/docs/2.0/user/install/install.html#Dynamic_mod_perl

        I think you've entered the values for httpd/apxs interactively (is that
        right?) and those weren't stored?

        In any case please paste the exact configuration you've used to build
        mod_perl, since obviously t/REPORT doesn't have them all. And which needs
        to be fixed.

        --
        __________________________________________________________________
        Stas Bekman JAm_pH ------> Just Another mod_perl Hacker
        http://stason.org/ mod_perl Guide ---> http://perl.apache.org
        mailto:stas@... http://use.perl.org http://apacheweek.com
        http://modperlbook.org http://apache.org http://ticketmaster.com

        --
        Report problems: http://perl.apache.org/bugs/
        Mail list info: http://perl.apache.org/maillist/modperl.html
        List etiquette: http://perl.apache.org/maillist/email-etiquette.html
      • Stas Bekman
        [please don t forget to CC/reply-all the list] ... -- __________________________________________________________________ Stas Bekman JAm_pH ------
        Message 3 of 7 , Nov 2, 2004
        • 0 Attachment
          [please don't forget to CC/reply-all the list]

          Steven wrote:
          > On Sunday 31 October 2004 22:18, Stas Bekman wrote:
          >
          >>Steven, can you please tell me where did you see the suggestion to post
          >>here the script t/REPORT and not the output of its execution? If it wasn't
          >>clear in the help document, please suggest how to improve the wording.
          >
          >
          > Whoops, well the only thing I'd suggest is making clear that writing bug
          > reports in a hurry is a Bad Thing (tm). I thought i saw a cat there the first
          > time I read it ;-).
          >
          > -------------8<---------- Start Bug Report ------------8<----------
          > 1. Problem Description:
          >
          > After a succesfull standard compilation without warnings, make test fails very
          > quickly when attempting to configure_apxs and configure_httpd. The httpd
          > can't be found by REPORT, but it does exist in the specified directory:
          > /home/ufo/downloads/apache2/httpd-2.0.52/.libs/httpd: ELF 32-bit LSB
          > executable, Intel 80386, version 1 (SYSV), for GNU/Linux 2.0.30, dynamically
          > linked (uses shared libs), not stripped
          >
          > Apache was configured, built and installed without warnings (same gcc 3.4.2).
          >
          > $test_config->{vars}->{httpd} is empty.
          >
          > ufo@steven:~/downloads/apache2$ httpd-2.0.52/.libs/httpd -V
          > Server version: Apache/2.0.52
          > Server built: Oct 29 2004 23:56:28
          > Server's Module Magic Number: 20020903:9
          > Architecture: 32-bit
          > Server compiled with....
          > -D APACHE_MPM_DIR="server/mpm/prefork"
          > -D APR_HAS_SENDFILE
          > -D APR_HAS_MMAP
          > -D APR_HAVE_IPV6 (IPv4-mapped addresses enabled)
          > -D APR_USE_SYSVSEM_SERIALIZE
          > -D APR_USE_PTHREAD_SERIALIZE
          > -D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
          > -D APR_HAS_OTHER_CHILD
          > -D AP_HAVE_RELIABLE_PIPED_LOGS
          > -D HTTPD_ROOT="/usr/apache2/"
          > -D SUEXEC_BIN="/usr/apache2//bin/suexec"
          > -D DEFAULT_PIDLOG="logs/httpd.pid"
          > -D DEFAULT_SCOREBOARD="logs/apache_runtime_status"
          > -D DEFAULT_LOCKFILE="logs/accept.lock"
          > -D DEFAULT_ERRORLOG="logs/error_log"
          > -D AP_TYPES_CONFIG_FILE="conf/mime.types"
          > -D SERVER_CONFIG_FILE="conf/httpd.conf"
          >
          > 2. Used Components and their Configuration:
          >
          > *** mod_perl version 1.9917
          >
          > *** using
          > /home/ufo/downloads/apache2/modules/mod_perl-1.99_17/lib/Apache/BuildConfig.pm
          >
          > *** Makefile.PL options:
          > MP_APR_LIB => aprext
          > MP_COMPAT_1X => 1
          > MP_GENERATE_XS => 1
          > MP_LIBNAME => mod_perl
          > MP_USE_DSO => 1
          >
          >
          > *** The httpd binary was not found
          >
          > *** (apr|apu)-config linking info
          >
          > -L/home/ufo/downloads/apache2/httpd-2.0.52/srclib/apr/.libs
          > -L/home/ufo/downloads/apache2/httpd-2.0.52/srclib/apr -lapr-0 -lrt -lm
          > -lcrypt -lnsl -lpthread -ldl
          > -L/home/ufo/downloads/apache2/httpd-2.0.52/srclib/apr-util/.libs
          > -L/home/ufo/downloads/apache2/httpd-2.0.52/srclib/apr-util -laprutil-0 -ldb1
          > -lexpat
          >
          >
          >
          > *** /usr/local/bin/perl -V
          > Summary of my perl5 (revision 5.0 version 8 subversion 3) configuration:
          > Platform:
          > osname=linux, osvers=2.6.8.1, archname=i686-linux
          > uname='linux steven 2.6.8.1 #1 thu oct 21 15:16:38 cest 2004 i686 unknown
          > '
          > config_args='-de'
          > hint=recommended, useposix=true, d_sigaction=define
          > usethreads=undef use5005threads=undef useithreads=undef
          > usemultiplicity=undef
          > useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
          > use64bitint=undef use64bitall=undef uselongdouble=undef
          > usemymalloc=n, bincompat5005=undef
          > Compiler:
          > cc='cc', ccflags ='-fno-strict-aliasing -I/usr/local/include
          > -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
          > optimize='-O3',
          > cppflags='-fno-strict-aliasing -I/usr/local/include'
          > ccversion='', gccversion='3.4.2', gccosandvers=''
          > intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234
          > d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
          > ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t',
          > lseeksize=8
          > alignbytes=4, prototype=define
          > Linker and Libraries:
          > ld='cc', ldflags =' -L/usr/local/lib'
          > libpth=/usr/local/lib /lib /usr/lib
          > libs=-lnsl -ldl -lm -lcrypt -lutil -lc
          > perllibs=-lnsl -ldl -lm -lcrypt -lutil -lc
          > libc=/lib/libc-2.2.5.so, so=so, useshrplib=false, libperl=libperl.a
          > gnulibc_version='2.2.5'
          > Dynamic Linking:
          > dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-rdynamic'
          > cccdlflags='-fpic', lddlflags='-shared -L/usr/local/lib'
          >
          >
          > Characteristics of this binary (from libperl):
          > Compile-time options: USE_LARGE_FILES
          > Built under linux
          > Compiled at Oct 29 2004 23:53:26
          > %ENV:
          > PERL_LWP_USE_HTTP_10="1"
          > @INC:
          > /usr/local/lib/perl5/5.8.3/i686-linux
          > /usr/local/lib/perl5/5.8.3
          > /usr/local/lib/perl5/site_perl/5.8.3/i686-linux
          > /usr/local/lib/perl5/site_perl/5.8.3
          > /usr/local/lib/perl5/site_perl
          > .
          >
          > *** Packages of interest status:
          >
          > Apache::Request: -
          > CGI : 3.01
          > LWP : -
          > mod_perl : -
          >
          >
          > 3. This is the core dump trace: (if you get a core dump):
          >
          > (No core dump)
          >
          > This report was generated by t/REPORT on Mon Nov 1 12:02:46 2004 GMT.
          >
          > Steven.
          >


          --
          __________________________________________________________________
          Stas Bekman JAm_pH ------> Just Another mod_perl Hacker
          http://stason.org/ mod_perl Guide ---> http://perl.apache.org
          mailto:stas@... http://use.perl.org http://apacheweek.com
          http://modperlbook.org http://apache.org http://ticketmaster.com

          --
          Report problems: http://perl.apache.org/bugs/
          Mail list info: http://perl.apache.org/maillist/modperl.html
          List etiquette: http://perl.apache.org/maillist/email-etiquette.html
        • Stas Bekman
          [don t forget to CC the list! Thanks] ... section ... It s just a bug. But now I think I should be able to reproduce it. But see below, I need more info. ...
          Message 4 of 7 , Nov 2, 2004
          • 0 Attachment
            [don't forget to CC the list! Thanks]

            Steven Mocking wrote:
            > On Monday 01 November 2004 23:28, Stas Bekman wrote:
            >
            >>Steven wrote:
            >>
            >>>*** Makefile.PL options:
            >>> MP_APR_LIB => aprext
            >>> MP_COMPAT_1X => 1
            >>> MP_GENERATE_XS => 1
            >>> MP_LIBNAME => mod_perl
            >>> MP_USE_DSO => 1
            >>
            >>I think I can see what the problem is. Could you run the same build with
            >>an explicit argument of apxs: MP_APXS=/path/to/apxs as explained here:
            >>http://perl.apache.org/docs/2.0/user/install/install.html#Dynamic_mod_perl
            >
            >
            > That's a lot better. Near-100% test succes now. But my apache is not
            > distributed among directories, so I don't really understand why this
            section
            > is so related to the problem?

            It's just a bug. But now I think I should be able to reproduce it. But see
            below, I need more info.

            >>I think you've entered the values for httpd/apxs interactively (is that
            >>right?) and those weren't stored?
            >
            >
            > That's correct. I expected that the interactively acquired path would stay
            > incorperated.

            right. and the bug is in the fact that it's not stored in
            Apache/BuildConfig.pm

            >>In any case please paste the exact configuration you've used to build
            >>mod_perl, since obviously t/REPORT doesn't have them all. And which needs
            >>to be fixed.
            >
            >
            > Configuration of mod_perl, perl or apache? Mod_perl was configured without
            > additional options.

            I mean the things you've typed on interactive prompt, etc. i.e. paste your
            'perl Makefile.PL' session (only, w/o 'make', etc).





            --
            __________________________________________________________________
            Stas Bekman JAm_pH ------> Just Another mod_perl Hacker
            http://stason.org/ mod_perl Guide ---> http://perl.apache.org
            mailto:stas@... http://use.perl.org http://apacheweek.com
            http://modperlbook.org http://apache.org http://ticketmaster.com

            --
            Report problems: http://perl.apache.org/bugs/
            Mail list info: http://perl.apache.org/maillist/modperl.html
            List etiquette: http://perl.apache.org/maillist/email-etiquette.html
          • Stas Bekman
            ... sorry, i ve hit the Send too quickly... -- __________________________________________________________________ Stas Bekman JAm_pH ------ Just
            Message 5 of 7 , Nov 2, 2004
            • 0 Attachment
              Stas Bekman wrote:
              > [please don't forget to CC/reply-all the list]

              sorry, i've hit the Send too quickly...

              --
              __________________________________________________________________
              Stas Bekman JAm_pH ------> Just Another mod_perl Hacker
              http://stason.org/ mod_perl Guide ---> http://perl.apache.org
              mailto:stas@... http://use.perl.org http://apacheweek.com
              http://modperlbook.org http://apache.org http://ticketmaster.com

              --
              Report problems: http://perl.apache.org/bugs/
              Mail list info: http://perl.apache.org/maillist/modperl.html
              List etiquette: http://perl.apache.org/maillist/email-etiquette.html
            Your message has been successfully submitted and would be delivered to recipients shortly.