FreeBSD ./build Script issue with mod_perl

ReN

Verified User
Joined
Jul 2, 2005
Messages
185
Hey guys , the most recent build script throughs me this error , any one got any ideas ???


Trying to make mod_perl...
cd "src/modules/perl" && make
cc -c -I/usr/local/directadmin/custombuild/mod_perl-2.0.4/src/modules/perl -I/usr/local/directadmin/custombuild/mod_perl-2.0.4/xs -I/usr/include/apache -I/usr/include/apache -I/usr/include/apache -DAPPLLIB_EXP="/usr/local/lib/perl5/5.8.8/BSDPAN" -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include -DMOD_PERL -DMP_COMPAT_1X -D_REENTRANT -D_THREAD_SAFE -DAP_HAVE_DESIGNATED_INITIALIZER -O -pipe -DVERSION=\"0.009000\" -DXS_VERSION=\"0.009000\" -DPIC -fPIC "-I/usr/local/lib/perl5/5.8.8/mach/CORE" -DMP_HAVE_APR_LIBS Base64.c
In file included from Base64.xs:24:
/usr/local/directadmin/custombuild/mod_perl-2.0.4/xs/modperl_xs_typedefs.h:67: error: syntax error before '*' token
/usr/local/directadmin/custombuild/mod_perl-2.0.4/xs/modperl_xs_typedefs.h:67: warning: data definition has no type or storage class
*** Error code 1
 
bump - why is this patch not apart of the build script?
 
Last edited:
--- lib/ModPerl/BuildMM.pm (revision 648960)
+++ lib/ModPerl/BuildMM.pm (working copy)
@@ -359,7 +359,7 @@

$apr_config ||= $build->get_apr_config();

- if ($path =~ m/(Thread|Global)Mutex/) {
+ if ($path =~ m/(Thread|Global)(Mutex|RWLock)/) {
return unless $apr_config->{HAS_THREADS};
}


here is the patch , but when i apply it
the build script overwrites it
 
ok obviously , i'll need to use 2.0.3 instead of a bugged 2.0.4 - how would i configure up build script in custombuild to do this????
 
Back
Top