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

mod_perl.c:61: `my_perl' undeclared under Cygwin

Expand Messages
  • sdfgsd sergserg
    This is what I get when I tried to compile RC1 under cygwin $ make cd src/modules/perl && make make[1]: Entering directory
    Message 1 of 32 , Dec 13, 2004
    • 0 Attachment
      This is what I get when I tried to compile RC1 under cygwin
      $ make
      cd "src/modules/perl" && make
      make[1]: Entering directory `/usr/src/mod_perl-2.0.0-RC1/src/modules/perl'
      gcc -I/usr/src/mod_perl-2.0.0-RC1/src/modules/perl -I/usr/src/mod_perl-2.0.0-RC1
      /xs -I/home/Administrator/httpd/include -I/home/Administrator/httpd/include -I/
      home/Administrator/httpd/include -DPERL_USE_SAFE_PUTENV -fno-strict-aliasing -I/
      usr/lib/perl5/5.8.0/cygwin-multi-64int/CORE -DMOD_PERL -DMP_COMPAT_1X -DCYGWIN -
      O3 \
      -c mod_perl.c && mv mod_perl.o mod_perl.lo
      mod_perl.c: In function `modperl_shutdown':
      mod_perl.c:61: `my_perl' undeclared (first use in this function)
      mod_perl.c:61: (Each undeclared identifier is reported only once
      mod_perl.c:61: for each function it appears in.)
      mod_perl.c: In function `modperl_hook_post_config_last':
      mod_perl.c:676: `my_perl' undeclared (first use in this function)
      mod_perl.c: In function `modperl_child_exit':
      mod_perl.c:770: `my_perl' undeclared (first use in this function)
      mod_perl.c: In function `modperl_response_handler':
      mod_perl.c:990: `my_perl' undeclared (first use in this function)
      mod_perl.c: In function `modperl_response_handler_cgi':
      mod_perl.c:1028: `my_perl' undeclared (first use in this function)
      make[1]: *** [mod_perl.lo] Error 1
      make[1]: Leaving directory `/usr/src/mod_perl-2.0.0-RC1/src/modules/perl'
      make: *** [modperl_lib] Error 2

      The perl version is the one that comes with this version of cygwin (Perl 5.8.0). Now I'll compile perl 5.8.5 and try again

      -----------------------------------------------------------------
      Известяване за получено писмо - http://promo.abv.bg/

      --
      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
    • Randy Kobes
      ... Thanks - that s been committed to the svn trunk. -- best regards, randy
      Message 32 of 32 , Apr 6, 2005
      • 0 Attachment
        On Wed, 6 Apr 2005, Nick *** wrote:

        >
        > >On Wed, 6 Apr 2005, Nick *** wrote:
        > >
        > >> Something went wrong after the big merge. I did a fresh
        > >> checkout and it seems like half of the patches are there
        > >> but the other half aren't. For example, the patches for
        > >> src/modules/perl/modperl_common_util.h and
        > >> xs/APR/Base64/APR__Base64.h are fine, but the patches for
        > >> the files that involve in their names 'Apache' (which
        > >> currently is 'Apache2') are missing. Such missing patches
        > >> are for these files: lib/Apache/Build.pm,
        > >> xs/Apache/Directive/Apache__Directive.h,
        > >> xs/Apache/Log/Apache__Log.h... and so on.
        > >
        > >Does the following include all the missing patches?
        > >[...]
        >
        > Yes.

        Thanks - that's been committed to the svn trunk.

        --
        best regards,
        randy
      Your message has been successfully submitted and would be delivered to recipients shortly.