Subject: pkg/12590: ap-perl install fails on installing documentation.
To: None <gnats-bugs@gnats.netbsd.org>
From: None <nathan.ahlstrom@medtronic.com>
List: netbsd-bugs
Date: 04/09/2001 17:02:31
>Number: 12590
>Category: pkg
>Synopsis: ap-perl install fails on installing documentation.
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Apr 09 15:08:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator: Nathan Ahlstrom
>Release: 1.5.1_ALPHA
>Organization:
me
>Environment:
System: NetBSD bsd 1.5.1_ALPHA NetBSD 1.5.1_ALPHA (GENERIC) #1: Sun Apr 1 16:43:54 PDT 2001 toddpw@kei.toddpw.net:/usr/src/sys/arch/i386/compile/GENERIC i386
>Description:
Installation for pkgsrc/www/ap-perl fails while trying to install
the mod_perl documentation.
Writing /usr/pkg/lib/perl5/site_perl/5.6.0/i386-netbsd/auto/mod_perl/.packlist
(cd ./apaci && make install;)
/usr/pkg/sbin/apxs -i -n perl mod_perl.so
install -c -m 555 -o root -g wheel mod_perl.so /usr/pkg/lib/httpd/mod_perl.so
Appending installation info to /usr/pkg/lib/perl5/5.6.0/i386-netbsd/perllocal.pod
install -c -o root -g wheel -m 444 /usr/pkgsrc/www/ap-perl/work/mod_perl-1.25/htdocs/manual/mod/mod_perl.html /usr/pkg/share/httpd/htdocs/manual/mod
install: /usr/pkg/share/httpd/htdocs/manual/mod: No such file or directory
*** Error code 1
Stop.
*** Error code 1
Stop.
*** Error code 1
Stop.
*** Error code 1
Stop.
>How-To-Repeat:
cd /usr/pkgsrc/www/ap-perl ; make install
>Fix:
The below diff fixed the problem for me, but may not be the
correct fix.
Index: Makefile
===================================================================
RCS file: /usr/NetBSD-cvs/pkgsrc/www/ap-perl/Makefile,v
retrieving revision 1.12
diff -u -r1.12 Makefile
--- Makefile 2001/02/17 17:21:50 1.12
+++ Makefile 2001/04/09 21:56:32
@@ -25,6 +25,7 @@
@cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL ${MAKE_PARAMS}
post-install:
+ ${MKDIR} ${PREFIX}/share/httpd/htdocs/manual/mod
${INSTALL_DATA} ${WRKSRC}/htdocs/manual/mod/mod_perl.html \
${PREFIX}/share/httpd/htdocs/manual/mod
>Release-Note:
>Audit-Trail:
>Unformatted: