Subject: pkg/15836: build with bad PREFIX
To: None <gnats-bugs@gnats.netbsd.org>
From: None <igy@arhc.org>
List: netbsd-bugs
Date: 03/08/2002 03:14:32
>Number:         15836
>Category:       pkg
>Synopsis:       build with bad PREFIX
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Mar 08 03:15:00 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Naoto Shimazaki
>Release:        current
>Organization:
PRUG
>Environment:
NetBSD caolila 1.5ZA NetBSD 1.5ZA (CAOLILA) #2: Tue Mar  5 15:05:43 JST 2002     root@caolila:/net/src/sys/arch/i386/compile/CAOLILA i386

>Description:
pkgsrc/japanese/canna-lib builds canna with null prefix.
Build procedure not reports any error, but compiled with missing prefix
of package.  So, when the cannacheck command is invoked, canna-server
tries to open /share/canna/canna.default, and fails.

>How-To-Repeat:
cd pkgsrc/japanese/canna-server
make install
cannacheck

>Fix:
Giving PREFIX explicitly on build time.  But this is just a workaround.
I don't know why:-)

cd pkgsrc/japanese/canna-server
PREFIX=/usr/pkg make install


>Release-Note:
>Audit-Trail:
>Unformatted: