Namazu-devel-ja(旧)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
error in either scripts/mknmz or tutorial.html (namazu-bugs-ja#934)
- From: vlb@xxxxxxxx
- Date: Sun, 3 Aug 2003 00:42:29 +0900 (JST)
- X-ml-name: namazu-devel-ja
- X-mail-count: 03188
At http://www.namazu.org/doc/tutorial.html#before-make-install I read:
If you wish to test mknmz before make install , do cd scripts and ./mknmz .
This will refer adjacent ../pl/*.pl . (not /usr/local/share/namazu ).
This is incorrect. The mknmz code
my $PKGDATADIR = $ENV{'pkgdatadir'} || "/usr/local/share/namazu";
requires the variable pkgdatadir to be set to .. first.
for example, if I try, as you suggest, I get an error
% cd scripts
% ./mknmz
Can't locate conf.pl in @INC (@INC contains: /usr/local/share/namazu/pl .
/usr/local/lib/perl5/5.6.1/i386-freebsd /usr/local/lib/perl5/5.6.1
/usr/local/lib/perl5/site_perl/5.6.1/i386-freebsd
/usr/local/lib/perl5/site_perl/5.6.1
/usr/local/lib/perl5/site_perl/5.005/i386-freebsd
/usr/local/lib/perl5/site_perl/5.005
/usr/local/lib/perl5/site_perl) at ./mknmz line 345.
Instead I must run this way:
bash-2.04$ pkgdatadir=.. ./mknmz
Please update the tutorial or change the script so they match and are correct
Thank you.
--
- Vicki
Vicki Brown ZZZ Journeyman Sourceror:
P.O. Box 1269 zz |\ _,,,---,,_ Scripts & Philtres
San Bruno, CA zz /,`.-'`' -. ;-;;,_ Perl, Unix, MacOS
94066 USA |,4- ) )-,_. ,\ ( `'-' http://philtres.com
mailto:vlb@xxxxxxxx '---''(_/--' `-'\_) http://www.cfcl.com/vlb