Apache Cookie error

Hi All,

Trying to install RT-2-0-13 on FreeBSD 4.5 and Apache-1.3.22 with MySQL.
When I do make testdeps I get the the following error:

Checking for Apache::Cookie…Apache::Cookie not installed.
Checking for MIME::Entity 5.108 …MIME::Entity 5.108 not installed.

For Apache Cookie I tried installing libapreq-0.31 as suggested by
http://www.helgrim.com/perlmodules/. But I am getting the following error
while doing so:

make
cc -c -I/usr/local/include/apache
-I/usr/local/include/apache -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H
-fno-strict-aliasing -I/usr/local/include
-O -DVERSION="" -DXS_VERSION="" -DPIC -fpic
“-I/usr/local/lib/perl5/5.8.0/i386-freebsd/CORE” apache_request.c
cc -c -I/usr/local/include/apache
-I/usr/local/include/apache -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H
-fno-strict-aliasing -I/usr/local/include
-O -DVERSION="" -DXS_VERSION="" -DPIC -fpic
“-I/usr/local/lib/perl5/5.8.0/i386-freebsd/CORE” apache_cookie.c
cc -c -I/usr/local/include/apache
-I/usr/local/include/apache -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H
-fno-strict-aliasing -I/usr/local/include
-O -DVERSION="" -DXS_VERSION="" -DPIC -fpic
“-I/usr/local/lib/perl5/5.8.0/i386-freebsd/CORE” multipart_buffer.c
rm -rf …/blib/arch/auto/libapreq/libapreq.a
/usr/bin/ar cr …/blib/arch/auto/libapreq/libapreq.a apache_request.o
apache_cookie.o multipart_buffer.o && : …/blib/arch/auto/libapreq/libapreq.a
chmod 755 …/blib/arch/auto/libapreq/libapreq.a
cc -c -I…/c -I/usr/local/include/apache
-I/usr/local/include/apache -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H
-fno-strict-aliasing -I/usr/local/include
-O -DVERSION="0.31" -DXS_VERSION="0.31" -DPIC -fpic
“-I/usr/local/lib/perl5/5.8.0/i386-freebsd/CORE” Request.c
Request.xs:2: mod_perl.h: No such file or directory
*** Error code 1

Stop in /usr/home/addr/libapreq-0.31/Request.
*** Error code 1

Stop in /usr/home/addr/libapreq-0.31.

What could be the problem?

And for MIME entity I have instlled both the MIME Tools and the MIME
Base64, but still getting that its not installed.

What could be the problem? Any help is welcome.

Steve

Steve wrote:

For Apache Cookie I tried installing libapreq-0.31 as suggested by
http://www.helgrim.com/perlmodules/. But I am getting the following error
while doing so:

Request.xs:2: mod_perl.h: No such file or directory
*** Error code 1

What could be the problem?

Missing mod_perl?

And for MIME entity I have instlled both the MIME Tools and the MIME
Base64, but still getting that its not installed.

What could be the problem? Any help is welcome.

for i in www/p5-libapreq converters/p5-MIME-Base64 mail/p5-MIME-Tools
do
cd /usr/ports/$i && make install
done

All those things install fine from the ports collection. (And the
p5-libapreq port will install mod_perl for you if needed.)