Subject: Problems with apr*.h files (running 3.1)
To: None <>
From: Paul Newhouse <>
List: pkgsrc-users
Date: 09/23/2007 16:06:27
Apologies it this is the wrong list.  I can't see where I went wrong.

    mail[root]: pkg_info|grep apr
    apr-1.2.8           Apache Portable Runtime
    p5-libapreq2-2.07   Lots of Apache specific httpd handling modules

    mail[root]: (cd www/ap2-auth-mysql; make update)
    ===> Resuming update for ap2-auth-mysql-1.11.12nb6
    => Required installed package digest>=20010302: digest-20060826 found
    ===> Checking for vulnerabilities in ap2-auth-mysql-1.11.12nb6
    => Checksum SHA1 OK for ap2-auth-mysql/mod_auth_mysql.c.gz
    => Checksum SHA1 OK for ap2-auth-mysql/mysql-group-auth.txt
    => Checksum RMD160 OK for ap2-auth-mysql/mod_auth_mysql.c.gz
    => Checksum RMD160 OK for ap2-auth-mysql/mysql-group-auth.txt
    ===> Building for ap2-auth-mysql-1.11.12nb6
    cd /usr/pkgsrc/www/ap2-auth-mysql/work/ap2-auth-mysql-1.11.12 &&
           /usr/pkg/sbin/apxs -c -n mod_auth_mysql  
           -I/usr/pkg/include -L/usr/pkg/lib/mysql -Wl,-R/usr/pkg/lib/mysql
           -lmysqlclient mod_auth_mysql.c
    /usr/pkg/libexec/apr/libtool --silent --mode=compile cc -prefer-pic -O2 
           -I/usr/pkg/include -I/usr/include  -DNETBSD -pthread 
           -I/usr/pkg/include/httpd  -I/usr/pkg/include/apr-1   
           -I/usr/pkg/include/apr-1 -I/usr/pkg/include -I/usr/pkg/include
           -c -o mod_auth_mysql.lo mod_auth_mysql.c && touch mod_auth_mysql.slo
    In file included from /usr/pkgsrc/www/ap2-auth-mysql/work/.buildlink/include/httpd/httpd.h:43,
                     from mod_auth_mysql.c:187:
                     apr_hooks.h: No such file or directory
                     apr_optional_hooks.h: No such file or directory
    In file included from mod_auth_mysql.c:187:
                     apr_buckets.h: No such file or directory
                     apr_uri.h: No such file or directory

Where are the apr...h files supposed to be and how to I install them there???