-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Hi,
first of all: Thanks a lot for another release for one of my favourite pieces of software.
I just downloaded the new AxKit 1.6.2 from CPAN and when trying to install it make fails with the following output:
/usr/bin/perl Makefile.PL --config= --installdeps=Perl::Tidy,0
cc -c -I/usr/local/include/libxml2 - -I/System/Library/Perl/darwin/auto/Apache/include - -I/System/Library/Perl/darwin/auto/Apache/include/modules/perl - -I/usr/include/httpd -I/usr/include/httpd -pipe -fno-common - -no-cpp-precomp -fno-strict-aliasing -O3 -DVERSION=\"1.62\" - -DXS_VERSION=\"1.62\" "-I/System/Library/Perl/darwin/CORE" - -DHAVE_BLANK -DHAVE_LIBXML2 AxKit.c
In file included from AxKit.xs:14:
getstyles.h:4:35: modules/perl/mod_perl.h: No such file or directory
In file included from AxKit.xs:14:
getstyles.h:28: parse error before "Apache"
getstyles.h:28: warning: no semicolon at end of struct or union
getstyles.h:34: parse error before '}' token
getstyles.h:34: warning: data definition has no type or storage class
AxKit.c: In function `XS_AxKit_build_uri':
AxKit.c:181: `Apache' undeclared (first use in this function)
AxKit.c:181: (Each undeclared identifier is reported only once
AxKit.c:181: for each function it appears in.)
AxKit.c:181: parse error before "r"
AxKit.c:187: `r' undeclared (first use in this function)
AxKit.xs: In function `XS_AxKit_Debug':
AxKit.xs:175: warning: assignment makes pointer from integer without a cast
AxKit.xs:204: `APLOG_MARK' undeclared (first use in this function)
AxKit.xs:204: `APLOG_NOERRNO' undeclared (first use in this function)
AxKit.xs:204: `APLOG_WARNING' undeclared (first use in this function)
AxKit.c: In function `XS_Apache__AxKit__ConfigReader__get_config':
AxKit.c:260: `Apache' undeclared (first use in this function)
AxKit.c:260: parse error before "r"
AxKit.c:264: `r' undeclared (first use in this function)
AxKit.c: In function `XS_Apache__AxKit__Provider_xs_get_styles_fh':
AxKit.c:421: `Apache' undeclared (first use in this function)
AxKit.c:421: parse error before "r"
AxKit.xs:355: parse error before "results"
AxKit.c:437: `r' undeclared (first use in this function)
AxKit.xs:366: `results' undeclared (first use in this function)
AxKit.c: In function `XS_Apache__AxKit__Provider_xs_get_styles_str':
AxKit.c:518: `Apache' undeclared (first use in this function)
AxKit.c:518: parse error before "r"
AxKit.xs:439: parse error before "results"
AxKit.c:530: `r' undeclared (first use in this function)
AxKit.xs:446: `results' undeclared (first use in this function)
AxKit.xs: In function `boot_AxKit':
AxKit.xs:126: `null_cleanup' undeclared (first use in this function)
make: *** [AxKit.o] Error 1
The solution is to make AxKit find mod_perl.h (which I have at /usr/local/src/apache_1.3.27/src/modules/perl/mod_perl.h). How this is done depends on how you install AxKit:
- - Using the CPAN module
Execute the following command (altering the include path to your needs) in the CPAN shell before running 'install AxKit':
o conf makepl_arg INC="-I/usr/local/src/apache_1.3.27/src"
- - During a manual installation (also altering the include path to your needs)
cd /somedir/AxKit-1.62
perl Makefile.PL INC="-I/usr/local/src/apache_1.3.27/src"
make
make test
sudo make install UNINST=1
Hope this message will be useful for others running AxKit on MacOS X.
Best Regards,
Benne -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (Darwin)
iD8DBQE/JuGaR5U9XkJXZKwRAvciAKCK5/cZZJrAbjIvCHUotdhF05iCfACfSDxV Ic/qal9IIotvnRbxNLxB2GY= =eOtq -----END PGP SIGNATURE-----
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
