Yes, I had the same problem. I figured it had to do with the fact that
i am running debian gnu linux and I tried to get away with using the packaged
install for apache and mod perl. 

I haven't had the chance to work on it anymore but I suspect the answer
is that you have to get the full apache source tree, run make config and possibly
compile apache in the tree. That willl fill out the tree. Then edit the 
Makefile in your Apache::Language build directory and add the right paths
with "-I". 

THat's my guess.

On Tue, Nov 16, 1999 at 04:38:31PM +0100, Manon Goo wrote:
> Hi I tried to install Apache::Language with perl -MCPAN -eshell and
> install Apache::Langauge this dows not work ... the I tried to copy th
> *.h files form modperl 
> and apache into place an it did not work either ....  anny hints ??
> 
> Manon Goo
> 
> PS:
> I am not on the [EMAIL PROTECTED]  list please reply to [EMAIL PROTECTED]
> 
> The following happend: 
> 
> 
> lutz:/usr/src/CPAN/build/Apache-Language-0.07# make
> cc -c -I./auto/Apache/include -I./auto/Apache/include/modules/perl -I
> -Dbool=char -DHAS_BOOL -D_REENTRANT -DDEBIAN -I/usr/local/include -O2   
> -DVERSION=\"0.07\" -DXS_VERSION=\"0.07\" -fPIC
> -I/usr/lib/perl5/5.005/i386-linux/CORE  Language.c
> Language.xs:1: modules/perl/mod_perl.h: No such file or directory
> make: *** [Language.o] Error 1
> 
> ##
> ## My Fix
> 
> lutz:/usr/src/CPAN/build/Apache-Language-0.07# cp -a
> ../mod_perl-1.21/src/modules .
> lutz:/usr/src/CPAN/build/Apache-Language-0.07# cp -a
> /usr/include/apache-1.3/* modules/perl/
> 
> ##
> ## The Ugly Result ....
>          
> lutz:/usr/src/CPAN/build/Apache-Language-0.07# make
> cc -c -I./auto/Apache/include -I./auto/Apache/include/modules/perl -I
> -Dbool=char -DHAS_BOOL -D_REENTRANT -DDEBIAN -I/usr/local/include -O2   
> -DVERSION=\"0.07\" -DXS_VERSION=\"0.07\" -fPIC
> -I/usr/lib/perl5/5.005/i386-linux/CORE  Language.c
> In file included from /usr/lib/perl5/5.005/i386-linux/CORE/perl.h:1276,
>                  from modules/perl/mod_perl.h:41,
>                  from Language.xs:1:
> /usr/lib/perl5/5.005/i386-linux/CORE/cop.h:217: parse error before
> `bool'
> /usr/lib/perl5/5.005/i386-linux/CORE/cop.h:217: warning: no semicolon at
> end of struct or union
> /usr/lib/perl5/5.005/i386-linux/CORE/cop.h:218: warning: data definition
> has no type or storage class
> /usr/lib/perl5/5.005/i386-linux/CORE/cop.h:227: parse error before `}'
> /usr/lib/perl5/5.005/i386-linux/CORE/cop.h:268: field `cx_subst' has
> incomplete type
> In file included from /usr/lib/perl5/5.005/i386-linux/CORE/perl.h:1280,
>                  from modules/perl/mod_perl.h:41,
>                  from Language.xs:1:
> /usr/lib/perl5/5.005/i386-linux/CORE/scope.h:135: parse error before
> `bool'
> /usr/lib/perl5/5.005/i386-linux/CORE/scope.h:135: warning: no semicolon
> at end of struct or union
> In file included from /usr/lib/perl5/5.005/i386-linux/CORE/perl.h:2109,
>                  from modules/perl/mod_perl.h:41,
>                  from Language.xs:1:
> /usr/lib/perl5/5.005/i386-linux/CORE/proto.h:27: parse error before
> `Perl_Gv_AMupdate'
> /usr/lib/perl5/5.005/i386-linux/CORE/proto.h:27: warning: data
> definition has no type or storage class
> /usr/lib/perl5/5.005/i386-linux/CORE/proto.h:33: parse error before
> `Perl_avhv_exists_ent'
> /usr/lib/perl5/5.005/i386-linux/CORE/proto.h:33: warning: data
> definition has no type or storage class
> /usr/lib/perl5/5.005/i386-linux/CORE/proto.h:98: parse error before
> `Perl_do_aexec'
> /usr/lib/perl5/5.005/i386-linux/CORE/proto.h:98: warning: data
> definition has no type or storage class
> /usr/lib/perl5/5.005/i386-linux/CORE/proto.h:101: parse error before
> `Perl_do_close'
> /usr/lib/perl5/5.005/i386-linux/CORE/proto.h:101: parse error before
> `bool'
> /usr/lib/perl5/5.005/i386-linux/CORE/proto.h:101: warning: data
> definition has no type or storage class
> /usr/lib/perl5/5.005/i386-linux/CORE/proto.h:102: parse error before
> `Perl_do_eof'
> /usr/lib/perl5/5.005/i386-linux/CORE/proto.h:102: warning: data
> definition has no type or storage class
> /usr/lib/perl5/5.005/i386-linux/CORE/proto.h:103: parse error before
> `Perl_do_exec'
> /usr/lib/perl5/5.005/i386-linux/CORE/proto.h:103: warning: data
> definition has no type or storage class
> /usr/lib/perl5/5.005/i386-linux/CORE/proto.h:115: parse error before
> `Perl_do_open'
> /usr/lib/perl5/5.005/i386-linux/CORE/proto.h:116: warning: data
> definition has no type or storage class
> /usr/lib/perl5/5.005/i386-linux/CORE/proto.h:118: parse error before
> `Perl_do_print'
> /usr/lib/perl5/5.005/i386-linux/CORE/proto.h:118: warning: data
> definition has no type or storage class
> /usr/lib/perl5/5.005/i386-linux/CORE/proto.h:121: parse error before
> `Perl_do_seek'
> /usr/lib/perl5/5.005/i386-linux/CORE/proto.h:121: warning: data
> definition has no type or storage class
> /usr/lib/perl5/5.005/i386-linux/CORE/proto.h:149: parse error before
> `bool'
> /usr/lib/perl5/5.005/i386-linux/CORE/proto.h:182: parse error before
> `Perl_hv_exists'
> /usr/lib/perl5/5.005/i386-linux/CORE/proto.h:182: warning: data
> definition has no type or storage class
> /usr/lib/perl5/5.005/i386-linux/CORE/proto.h:183: parse error before
> `Perl_hv_exists_ent'
> /usr/lib/perl5/5.005/i386-linux/CORE/proto.h:183: warning: data
> definition has no type or storage class
> /usr/lib/perl5/5.005/i386-linux/CORE/proto.h:204: parse error before
> `Perl_io_close'
> /usr/lib/perl5/5.005/i386-linux/CORE/proto.h:204: warning: data
> definition has no type or storage class
> /usr/lib/perl5/5.005/i386-linux/CORE/proto.h:522: parse error before
> `Perl_sv_2bool'
> /usr/lib/perl5/5.005/i386-linux/CORE/proto.h:522: warning: data
> definition has no type or storage class
> /usr/lib/perl5/5.005/i386-linux/CORE/proto.h:554: parse error before
> `Perl_sv_derived_from'
> /usr/lib/perl5/5.005/i386-linux/CORE/proto.h:554: warning: data
> definition has no type or storage class
> /usr/lib/perl5/5.005/i386-linux/CORE/proto.h:592: parse error before
> `Perl_sv_tainted'
> /usr/lib/perl5/5.005/i386-linux/CORE/proto.h:592: warning: data
> definition has no type or storage class
> /usr/lib/perl5/5.005/i386-linux/CORE/proto.h:596: parse error before
> `Perl_sv_upgrade'
> /usr/lib/perl5/5.005/i386-linux/CORE/proto.h:596: warning: data
> definition has no type or storage class
> /usr/lib/perl5/5.005/i386-linux/CORE/proto.h:600: parse error before
> `bool'
> /usr/lib/perl5/5.005/i386-linux/CORE/proto.h:603: parse error before
> `bool'
> In file included from /usr/lib/perl5/5.005/i386-linux/CORE/perl.h:2133,
>                  from modules/perl/mod_perl.h:41,
>                  from Language.xs:1:
> /usr/lib/perl5/5.005/i386-linux/CORE/perlvars.h:48: parse error before
> `PL_nomemok'
> /usr/lib/perl5/5.005/i386-linux/CORE/perlvars.h:48: warning: data
> definition has no type or storage class
> /usr/lib/perl5/5.005/i386-linux/CORE/perlvars.h:136: parse error before
> `PL_in_my'
> /usr/lib/perl5/5.005/i386-linux/CORE/perlvars.h:136: warning: data
> definition has no type or storage class
> /usr/lib/perl5/5.005/i386-linux/CORE/perlvars.h:144: parse error before
> `PL_do_undump'
> /usr/lib/perl5/5.005/i386-linux/CORE/perlvars.h:144: warning: data
> definition has no type or storage class
> /usr/lib/perl5/5.005/i386-linux/CORE/perlvars.h:157: parse error before
> `PL_collation_standard'
> /usr/lib/perl5/5.005/i386-linux/CORE/perlvars.h:157: warning: data
> definition has no type or storage class
> /usr/lib/perl5/5.005/i386-linux/CORE/perlvars.h:166: parse error before
> `PL_numeric_standard'
> /usr/lib/perl5/5.005/i386-linux/CORE/perlvars.h:166: warning: data
> definition has no type or storage class
> /usr/lib/perl5/5.005/i386-linux/CORE/perlvars.h:168: parse error before
> `PL_numeric_local'
> /usr/lib/perl5/5.005/i386-linux/CORE/perlvars.h:168: warning: data
> definition has no type or storage class
> In file included from /usr/lib/perl5/5.005/i386-linux/CORE/perl.h:2138,
>                  from modules/perl/mod_perl.h:41,
>                  from Language.xs:1:
> /usr/lib/perl5/5.005/i386-linux/CORE/intrpvar.h:28: parse error before
> `PL_minus_c'
> /usr/lib/perl5/5.005/i386-linux/CORE/intrpvar.h:28: warning: data
> definition has no type or storage class
> /usr/lib/perl5/5.005/i386-linux/CORE/intrpvar.h:32: parse error before
> `PL_preprocess'
> /usr/lib/perl5/5.005/i386-linux/CORE/intrpvar.h:32: warning: data
> definition has no type or storage class
> /usr/lib/perl5/5.005/i386-linux/CORE/intrpvar.h:33: parse error before
> `PL_minus_n'
> /usr/lib/perl5/5.005/i386-linux/CORE/intrpvar.h:33: warning: data
> definition has no type or storage class
> /usr/lib/perl5/5.005/i386-linux/CORE/intrpvar.h:34: parse error before
> `PL_minus_p'
> /usr/lib/perl5/5.005/i386-linux/CORE/intrpvar.h:34: warning: data
> definition has no type or storage class
> /usr/lib/perl5/5.005/i386-linux/CORE/intrpvar.h:35: parse error before
> `PL_minus_l'
> /usr/lib/perl5/5.005/i386-linux/CORE/intrpvar.h:35: warning: data
> definition has no type or storage class
> /usr/lib/perl5/5.005/i386-linux/CORE/intrpvar.h:36: parse error before
> `PL_minus_a'
> /usr/lib/perl5/5.005/i386-linux/CORE/intrpvar.h:36: warning: data
> definition has no type or storage class
> /usr/lib/perl5/5.005/i386-linux/CORE/intrpvar.h:37: parse error before
> `PL_minus_F'
> /usr/lib/perl5/5.005/i386-linux/CORE/intrpvar.h:37: warning: data
> definition has no type or storage class
> /usr/lib/perl5/5.005/i386-linux/CORE/intrpvar.h:38: parse error before
> `PL_doswitches'
> /usr/lib/perl5/5.005/i386-linux/CORE/intrpvar.h:38: warning: data
> definition has no type or storage class
> /usr/lib/perl5/5.005/i386-linux/CORE/intrpvar.h:39: parse error before
> `PL_dowarn'
> /usr/lib/perl5/5.005/i386-linux/CORE/intrpvar.h:39: warning: data
> definition has no type or storage class
> /usr/lib/perl5/5.005/i386-linux/CORE/intrpvar.h:40: parse error before
> `PL_doextract'
> /usr/lib/perl5/5.005/i386-linux/CORE/intrpvar.h:40: warning: data
> definition has no type or storage class
> /usr/lib/perl5/5.005/i386-linux/CORE/intrpvar.h:41: parse error before
> `PL_sawampersand'
> /usr/lib/perl5/5.005/i386-linux/CORE/intrpvar.h:41: warning: data
> definition has no type or storage class
> /usr/lib/perl5/5.005/i386-linux/CORE/intrpvar.h:42: parse error before
> `PL_sawstudy'
> /usr/lib/perl5/5.005/i386-linux/CORE/intrpvar.h:42: warning: data
> definition has no type or storage class
> /usr/lib/perl5/5.005/i386-linux/CORE/intrpvar.h:43: parse error before
> `PL_sawvec'
> /usr/lib/perl5/5.005/i386-linux/CORE/intrpvar.h:43: warning: data
> definition has no type or storage class
> /usr/lib/perl5/5.005/i386-linux/CORE/intrpvar.h:44: parse error before
> `PL_unsafe'
> /usr/lib/perl5/5.005/i386-linux/CORE/intrpvar.h:44: warning: data
> definition has no type or storage class
> /usr/lib/perl5/5.005/i386-linux/CORE/intrpvar.h:120: parse error before
> `PL_tainting'
> /usr/lib/perl5/5.005/i386-linux/CORE/intrpvar.h:120: warning: data
> definition has no type or storage class
> /usr/lib/perl5/5.005/i386-linux/CORE/intrpvar.h:152: parse error before
> `PL_preambled'
> /usr/lib/perl5/5.005/i386-linux/CORE/intrpvar.h:152: warning: data
> definition has no type or storage class
> /usr/lib/perl5/5.005/i386-linux/CORE/intrpvar.h:192: parse error before
> `PL_in_clean_objs'
> /usr/lib/perl5/5.005/i386-linux/CORE/intrpvar.h:192: warning: data
> definition has no type or storage class
> /usr/lib/perl5/5.005/i386-linux/CORE/intrpvar.h:193: parse error before
> `PL_in_clean_all'
> /usr/lib/perl5/5.005/i386-linux/CORE/intrpvar.h:193: warning: data
> definition has no type or storage class
> In file included from /usr/lib/perl5/5.005/i386-linux/CORE/perl.h:2140,
>                  from modules/perl/mod_perl.h:41,
>                  from Language.xs:1:
> /usr/lib/perl5/5.005/i386-linux/CORE/thrdvar.h:67: parse error before
> `PL_tainted'
> /usr/lib/perl5/5.005/i386-linux/CORE/thrdvar.h:67: warning: data
> definition has no type or storage class
> /usr/lib/perl5/5.005/i386-linux/CORE/thrdvar.h:88: parse error before
> `PL_dirty'
> /usr/lib/perl5/5.005/i386-linux/CORE/thrdvar.h:88: warning: data
> definition has no type or storage class
Content-Description: Card for Manon Goo




-- 
        Finger [EMAIL PROTECTED] to get my public key.
        http://joe.to/~davide
        http://members.spree.com/bigbigbig

PGP signature

Reply via email to