Subject: pkg/4709: problems installing audio/cddbd
To: None <gnats-bugs@gnats.netbsd.org>
From: Steve Allen <allen@wormey.ndip.eskimo.net>
List: netbsd-bugs
Date: 12/17/1997 18:18:00
>Number:         4709
>Category:       pkg
>Synopsis:       problems are encountered in installing audio/cddbd
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    gnats-admin (GNATS administrator)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Dec 17 18:35:00 1997
>Last-Modified:
>Originator:     Steve Allen
>Organization:
I speak only for myself.
>Release:        1.3_BETA
>Environment:
	
System: NetBSD wormey 1.3_BETA NetBSD 1.3_BETA (GENERIC) #51: Sun Nov 30 10:07:10 PST 1997 root2@wormey:/usr/src/sys/arch/mac68k/compile/GENERIC mac68k


>Description:
	Two items:
	   Installation requires user input
	   Build of fuzzy matching hash file fails
>How-To-Repeat:
Script started on Wed Dec 17 18:02:02 1997
# make install
>Fix:
Script to accept default answers, except to answer 'no' to "edit motd" and
"build hash file" (unless better solution for second problem).
>Audit-Trail:
>Unformatted:
>> Checksum OK for cddbd-1.3.1.tar.gz.
>> Checksum OK for cddbd-1.3.1.patch1.gz.
===>  Installing for cddbd-1.3.1p1

Installing "cddbd" CDDB Protocol Server 1.3.1 by Steve Scherf

Enter cddbd binary directory
[/usr/pkg/bin]: 	<NOTE: all entries require user input>

Enter cddbd work directory
[/usr/pkg/share/xmcd/cddbd]: 

Enter CD database directory
[/usr/pkg/share/xmcd/cddb]: 

Do you want to enable logging of server accesses? [y] 
Do you want configure your site as a master database hub? [n] 

Enter user and permission information. In general, you will want
the server and database user/group/perms to be the same. They MUST
be the same if you are not root. Note that the server binary perms
should be setuid/setgid unless you can guarantee that the owner will
be the only user to run it.

Enter the user who will own the server directory
[root]: 

Enter the group of the server directory
[wheel]: 

Enter the server file binary mode
[555]: 

Enter the server file creation mode
[644]: 

Enter the server directory creation mode
[755]: 

Enter the user who will own the database
[root]: 

Enter the group of the database
[wheel]: 

Enter the database file mode
[644]: 

Enter the database directory mode
[755]: 

Do you want to allow automatic database updates? [n] 
Do you want to create the motd file now? [y] n

You will have to edit /usr/pkg/share/xmcd/cddbd/motd by hand if you
wish to create a message of the day.

Making directories...
        /usr/pkg/share/xmcd/cddbd

Installing cddbd files...
        /usr/pkg/bin/cddbd
        /usr/pkg/share/xmcd/cddbd/access
        /usr/pkg/share/xmcd/cddbd/sites

Do you want to create the fuzzy matching hash file now? [y] 

Please wait while the hash file is created.
This will take a few minutes.

Can't open database directory: /usr/pkg/share/xmcd/cddb (2).
Quitting, status 1.

Errors have occurred in the installation.
See /tmp/cddbd.err for an error log.
*** Error code 1

Stop.
*** Error code 1

Stop.
*** Error code 1

Stop.
# cat /tmp/cddbd.err
Failed to build the fuzzy matching hash file.
# exit

Script done on Wed Dec 17 18:03:18 1997