Re: [siesta-dev] list setup issues

[prev] [thread] [next] [lurker] [Date index for 2003/07/30]

From: Richard Clamp
Subject: Re: [siesta-dev] list setup issues
Date: 23:34 on 30 Jul 2003
On Wed, Jul 30, 2003 at 09:24:27PM +0300, Gabor Szabo wrote:
> 1) nacho was not installed in my PATH
>    it arrived at /usr/local/perl580/bin/nacho
>    (my perl is installed in /usr/local/perl580/ so that's OK)

These go to whatever Module::Build's C<installscript> is set to, it
should normally be correct, even when it's not strictly convenient.

> 2) While at the end I got the message, the crash just does not seem to be
>    nice.
>    nacho create-database
>    is not mentioned in the Siesta::UserGuide
> [root@pc10 siesta]# /usr/local/perl580/bin/nacho
> /usr/local/siesta/siesta.conf: No such file or directory
> Error initializing Siesta:
> dbih_setup_fbav: invalid number of fields: 0, NUM_OF_FIELDS attribute
> probably not set right at /usr/local/perl580/lib/site_perl/5.8.0/Ima/
> line 751.
> Compilation failed in require at
> /usr/local/perl580/lib/site_perl/5.8.0/ line 7.
> BEGIN failed--compilation aborted at
> /usr/local/perl580/lib/site_perl/5.8.0/ line 7.
> Compilation failed in require at /usr/local/perl580/bin/nacho line 32.
> Try 'nacho create-database' if you are installing siesta for the first time

Well we could hide the error, but it might not be a useful thing to
do.  One thing that springs to mind is that unless some kind of
verbose flag is supplied it could supress the dump of $@.  I'll gladly
take opinions on this.

> 3) Still running as root. (you say I am crazy, don't you :) I got this one:
> [root@pc10 siesta]# /usr/local/perl580/bin/nacho create-database
> /usr/local/siesta/siesta.conf: No such file or directory

Pesky AppConfig.  Dealt with in #1269.

> 4)  creating a list seems to work, but the if you really insist on doing
> this in two steps
> you can at least tell the user to write
> nacho show-alias mambo   will show you what to include in /etc/aliases
> [root@pc10 siesta]# /usr/local/perl580/bin/nacho create-list mambo
> /usr/local/siesta/siesta.conf: No such file or directory
> Created the new list 'mambo' <>
> nacho show-alias will show you what to include in /etc/aliases

I don't follow, are you suggesting just wedging some more spaces in
there?  That's simple enough.

The more useful fix is to undo the quick pre-release hack that was
#1256 and allow nacho to take a config file on its command-line.  That
will allow t/30nacho.t pass on an uninstalled copy.  If I get a tuit
I'll do this tomorrow.


Richard Clamp <>

Generated at 13:56 on 01 Jul 2004 by mariachi 0.52