sick of spam, I was going to make an smtpd.  Figured I should do it
with Apache 2 and mod_perl.

I am building with,

cd [apache-2.0]
./configure --prefix=$HOME/apps/apache --with-mpm=threaded --enable-so
make && make install

cd [modperl-2.0]
make realclean && ~/apps/perl Makefile.PL \
MP_GENERATE_XS=1 MP_USE_DSO=1 MP_TRACE=1 \
MP_APXS=$HOME/apps/apache/bin/apxs \
&& make && make test && make install

FWIW, I am getting a compiler #@$%#$% like the following. What did I
do wrong?  :-]

$ find ./ -type f | xargs grep HZ | less

Everything is the latest from CVS as of earlier this evening.


 - ask

cc -c -I/home/smtpd/src/modperl-2.0/src/modules/perl -I/home/smtpd/src/modperl-2.0/xs 
-I/home/smtpd/apps/apache/incl
MOD_PERL -DMP_TRACE -g    -DVERSION=\"0.01\"  -DXS_VERSION=\"0.01\" -DPIC -fpic 
-I/home/smtpd/apps/lib/perl5/5.7.2/i
eebsd-thread-multi/CORE  RequestIO.c
In file included from 
/home/smtpd/apps/lib/perl5/5.7.2/i386-freebsd-thread-multi/CORE/perl.h:2096,
                 from 
/home/smtpd/src/modperl-2.0/src/modules/perl/modperl_perl_includes.h:30,
                 from /home/smtpd/src/modperl-2.0/src/modules/perl/mod_perl.h:5,
                 from RequestIO.xs:14:
/home/smtpd/apps/lib/perl5/5.7.2/i386-freebsd-thread-multi/CORE/sv.h:986: warning: 
`sv_setsv' redefined
/home/smtpd/apps/lib/perl5/5.7.2/i386-freebsd-thread-multi/CORE/embed.h:2246: warning: 
this is the location of the ps definition
/home/smtpd/apps/lib/perl5/5.7.2/i386-freebsd-thread-multi/CORE/sv.h:987: warning: 
`sv_catsv' redefined
/home/smtpd/apps/lib/perl5/5.7.2/i386-freebsd-thread-multi/CORE/embed.h:2194: warning: 
this is the location of the ps definition
/home/smtpd/apps/lib/perl5/5.7.2/i386-freebsd-thread-multi/CORE/sv.h:988: warning: 
`sv_catpvn' redefined
/home/smtpd/apps/lib/perl5/5.7.2/i386-freebsd-thread-multi/CORE/embed.h:2193: warning: 
this is the location of the ps definition
/home/smtpd/apps/lib/perl5/5.7.2/i386-freebsd-thread-multi/CORE/sv.h:989: warning: 
`sv_2pv' redefined
/home/smtpd/apps/lib/perl5/5.7.2/i386-freebsd-thread-multi/CORE/embed.h:2176: warning: 
this is the location of the ps definition
/home/smtpd/apps/lib/perl5/5.7.2/i386-freebsd-thread-multi/CORE/sv.h:990: warning: 
`sv_pvn_force' redefined

/home/smtpd/apps/lib/perl5/5.7.2/i386-freebsd-thread-multi/CORE/embed.h:2227: warning: 
this is the location of the ps definition
/home/smtpd/apps/lib/perl5/5.7.2/i386-freebsd-thread-multi/CORE/sv.h:991: warning: 
`sv_utf8_upgrade' redefined
/home/smtpd/apps/lib/perl5/5.7.2/i386-freebsd-thread-multi/CORE/embed.h:2361: warning: 
this is the location of the ps definition
In file included from RequestIO.xs:22:
/home/smtpd/src/modperl-2.0/xs/Apache/RequestIO/Apache__RequestIO.h: In function 
`mpxs_ap_rvputs':
/home/smtpd/src/modperl-2.0/xs/Apache/RequestIO/Apache__RequestIO.h:34: `HZ' 
undeclared (first use in this function)
/home/smtpd/src/modperl-2.0/xs/Apache/RequestIO/Apache__RequestIO.h:34: (Each 
undeclared identifier is reported only
/home/smtpd/src/modperl-2.0/xs/Apache/RequestIO/Apache__RequestIO.h:34: for each 
function it appears in.)
*** Error code 1

Stop in /home/smtpd/src/modperl-2.0/WrapXS/Apache/RequestIO.
*** Error code 1

Stop in /home/smtpd/src/modperl-2.0/WrapXS/Apache.
*** Error code 1

Stop in /home/smtpd/src/modperl-2.0/WrapXS.
*** Error code 1

Stop in /home/smtpd/src/modperl-2.0.


-- 
ask bjoern hansen, http://ask.netcetera.dk/         !try; do();
more than a billion impressions per week, http://valueclick.com



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to