Re: wackamole pain

Theo Schlossnagle <[email protected]> Mon, 19 Apr 2004 16:01:22 -0400
Newsgroups gmane.comp.apache.mod-wackamole.general
Message-ID <[email protected]>
Jay West wrote:

>Trying to rebuild wackamole to support embedded perl; a portion of
>configure:
>
>checking sys/socket.h presence... yes
>configure: WARNING: sys/socket.h: present but cannot be compiled
>configure: WARNING: sys/socket.h: check for missing prerequisite headers?
>configure: WARNING: sys/socket.h: proceeding with the preprocessor's result
>checking for sys/socket.h... yes
>
>Then during make:
>gcc -g -O2 -Wall    -I/usr/libdata/perl/5.00503/mach/CORE -I. -I.  -I/usr/lo
>cal/include -DDONT_USE_THREADS -DETCDIR=\"/usr/local/etc\"  -D_PATH_WACKAMOL
>E_PIDDIR=\"/var/run\"  -DBUNDLEEXT=\"so\" -DHAVE_CONFIG_H -c perl.c
>perl.c: In function `my_eval_sv':
>perl.c:19: warning: implicit declaration of function `eval_sv'
>perl.c: In function `perl_handler':
>perl.c:112: warning: implicit declaration of function `call_pv'
>gcc -g -O2 -Wall    -I/usr/libdata/perl/5.00503/mach/CORE -I. -I.  -I/usr/lo
>cal/include -DDONT_USE_THREADS -DETCDIR=\"/usr/local/etc\"  -D_PATH_WACKAMOL
>E_PIDDIR=\"/var/run\"  -DBUNDLEEXT=\"so\" -DHAVE_CONFIG_H -c perlxsi.c
>perlxsi.c:4: warning: parameter names (without types) in function
>declaration
>perlxsi.c:6: syntax error before `CV'
>*** Error code 1
>
>Stop in /usr/local/software/wackamole.
>chopper#
>
>Using freebsd 4.9 and cvs version of wackamole. Any thoughts??? Also, how
>does one go about calling a C program for "on up" as opposed to Perl? I
>didn't see anything about that....
>  
>
Hmmm sounds like you don't have threads or multiplicity defined in your 
perl build... That isn't a problem, it should be as simple as removing 
perlxsi.c and typing make perlxsi.c.  That file should be autogenerated 
by perl -- it is a bootstrapper for embedding perl.

-- 
// Theo Schlossnagle
// Principal Engineer -- http://www.omniti.com/~jesus/
// Postal Engine -- http://www.postalengine.com/
// Ecelerity: fastest MTA on Earth