cvs commit: mod_parrot apache.ops README

[email protected]
Newsgroups perl.cvs.mod_parrot
Message-ID <[email protected]>
cvsuser     02/05/29 08:08:29

  Modified:    .        README
  Added:       .        apache.ops
  Log:
  update README to explain how to build PMC and .ops
  
  added apache.ops (needs to build a key)
  I can't call bare methods inside a PMC yet (Dan says we need namespaces
  and function calls first, as they aren't true vtable methods)
  Until then, I can cheat and call set_string_keyed and get_string_keyed
  with the proper magic.
  
  Revision  Changes    Path
  1.8       +12 -4     mod_parrot/README
  
  Index: README
  ===================================================================
  RCS file: /cvs/public/mod_parrot/README,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -w -r1.7 -r1.8
  --- README	28 May 2002 06:11:52 -0000	1.7
  +++ README	29 May 2002 15:08:29 -0000	1.8
  @@ -29,18 +29,26 @@
   
   0. Fix the APACHEDIR and the PARROT_DIR in the Makefile.
   
  -1. First build parrot.
  +1. Patch up parrot so you can use the PMC and ops
  +
  +    a) cd into mod_parrot directory
  +    b) make patch
  +    c) cd $PARROT_DIR
  +    d) ln -s $MODPARROT_DIR/apache.ops apache.ops
  +    e) ln -s $MODPARROT_DIR/apache.pmc classes.pmc
  +
  +2. then build parrot.
   
       a) cd $PARROT_DIR
       b) perl ./Configure.pl with arguments to your tasting
       c) make shared
       d) copy blib/lib/libparrot.so to $APACHEDIR/libexec or something
       
  -2. Then run
  +3. Then run
   
     make mod_parrot.so
   
  -3. Install mod_parrot into your apache tree with
  +4. Install mod_parrot into your apache tree with
   
     make install
   
  @@ -51,7 +59,7 @@
   can just unpack the Apache source and then run
     ./configure --enable-module=so --prefix=/home/me/somewhere/else/
   
  -4, To activate the parrot module in your apache configuration, do
  +5, To activate the parrot module in your apache configuration, do
   something like
   
       <Location /parrot/>
  
  
  
  1.1                  mod_parrot/apache.ops
  
  Index: apache.ops
  ===================================================================
  VERSION = PARROT_VERSION;
  
  op ap_print (in PMC, in STR) {
    ($1->vtable->set_string_keyed)(interpreter, $1, NULL, $2);
    goto NEXT();
  }
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.