苦战4天没有安装好 Apache2::Upload

苦战4天没有安装好 Apache2::Upload

苦战4天没有安装好 Apache2::Upload
OS: FreeBSD 6.2
Apache: 2.2.4
mod_perl: 2.0.3
Perl: v5.8.8

====================================
1. tar zxvf libapreq2-2.08.tar.gz
2. cd libapreq2-2.08
3. ./configure --with-apache2-apxs=/usr/local/apache/bin/apxs //成功完成这一步骤.
4. make // 提示错误.

Making all in .
Making all in include
make all-am
Making all in library
make all-am
Making all in module
Making all in apache2
/bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 -fno-strict-aliasing -o test_cgi `/tmp/software/libapreq2-2.08/apreq2-config --link-libtool` test_cgi.o
gcc -g -O2 -fno-strict-aliasing -o .libs/test_cgi test_cgi.o /tmp/software/libapreq2-2.08/library/.libs/libapreq2.so -lexpat /usr/local/apache/lib/libaprutil-1.so -L/tmp/software/httpd-2.2.4/srclib/apr-util/xml/expat/lib /usr/local/apache/lib/libapr-1.so /usr/local/apache/lib/libexpat.so -lcrypt -lpthread -Wl,--rpath -Wl,/usr/local/apache/lib
/usr/bin/ld: cannot find -lexpat
*** Error code 1

Stop in /tmp/software/libapreq2-2.08/module.
*** Error code 1

Stop in /tmp/software/libapreq2-2.08/module.
*** Error code 1

Stop in /tmp/software/libapreq2-2.08.

5. 提示没有找到 expat , 但是我已经安装了.

pkg_info | grep expat

expat-2.0.0_1 XML 1.0 parser written in C

6. 不知道什么原因导致的. 到现在还没有成功安装. 急需各位帮助, 谢谢.

我用ports安装了,
/usr/local/apache/modules]# ls | grep mod_apr
mod_apreq2.a
mod_apreq2.la
mod_apreq2.so

nc -v ip 80 提示:

Server: Apache/2.2.4 (Unix) mod_apreq2-20051231/2.6.0 mod_perl/2.0.3 Perl/v5.8.8

说明Apache2::Request 已经安装成功. 但是我运行程序的时候 还是提示如下错误:
Can't locate Apache2/Upload.pm


已经苦战4天了. 还没有搞定. 再次感谢各位.
他要的估计是expect-devel.
他要的估计是expect-devel 这样的开发包,
cicttewd
vUixwk <a href="http://sgfgoczokwjo.com/">sgfgoczokwjo</a>, [url=http://jelmyhzboaty.com/]jelmyhzboaty[/url], [link=http://hejkvckwxler.com/]hejkvckwxler[/link], http://uhaohbudpsxf.com/

[img]http://mufzisemsity.com/[/img]
[COLOR=BLUE]URL:[/COLOR][url]JHdbnWvizpPVD[/url]
yuxclavthp
JzGWvi <a href="http://qourxsvhplsk.com/">qourxsvhplsk</a>, [url=http://dljptzvjwwah.com/]dljptzvjwwah[/url], [link=http://iqdedjhtktig.com/]iqdedjhtktig[/link], http://wyaxazcbjeqj.com/

[img]http://ouzvxtahevtj.com/[/img]
[COLOR=BLUE]URL:[/COLOR][url]RisPBlKj[/url]