On Sun, 2003-04-27 at 05:31, Kevin Waterson wrote: > I am trying to build mod_perl from .src.rpm but it fails. > This is surprising as it must have been compiled for the > mod_perl rpm, unless, it is not really the source for the > mod_perl rpm. Here is the error... > > -c modperl_const.c && mv modperl_const.o modperl_const.lo > gcc -I/usr/src/redhat/BUILD/mod_perl-1.99_07/src/modules/perl -I/usr/src/redhat/BUILD/mod_perl-1.99_07/xs -I/usr/include/httpd -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBUGGING -fno-strict-aliasing -I/usr/local/include -I/usr/include/gdbm -I/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE -DMOD_PERL -O2 -march=i386 -mcpu=i686 -g -fPIC \ > -c modperl_constants.c && mv modperl_constants.o modperl_constants.lo > modperl_constants.c: In function `modperl_constants_lookup_apr': > modperl_constants.c:631: `APR_POLLIN' undeclared (first use in this function) > modperl_constants.c:631: (Each undeclared identifier is reported only once > modperl_constants.c:631: for each function it appears in.) > modperl_constants.c:636: `APR_POLLPRI' undeclared (first use in this function) > modperl_constants.c:641: `APR_POLLOUT' undeclared (first use in this function) > modperl_constants.c:646: `APR_POLLERR' undeclared (first use in this function) > modperl_constants.c:651: `APR_POLLHUP' undeclared (first use in this function) > modperl_constants.c:656: `APR_POLLNVAL' undeclared (first use in this function) > make[1]: *** [modperl_constants.lo] Error 1 > make[1]: Leaving directory `/usr/src/redhat/BUILD/mod_perl-1.99_07/src/modules/perl' > make: *** [modperl_lib] Error 2 > error: Bad exit status from /var/tmp/rpm-tmp.82225 (%build) You'll need the httpd-devel package installed I believe, do you have that? -- Shawn <drevil@xxxxxxxxxxxx> http://www.warpcore.org/