[Namazu-users-en] mknmz broken?

Alex Teslik alex at acatysmoof.com
Mon May 1 09:56:52 JST 2006


I tried searching the lists, but didn't find this...

I upgraded my namazu to the latest namazu2-2.0.16 via FreeBSD ports. It was
working fine, but now mknmz is dying with this error:

[root]/home/alex/example.com/archive# /usr/local/bin/mknmz --check-filesize
--update=./search --output-dir=./search --template-dir=./search/templates ./html
Use of uninitialized value in split at /usr/local/bin/mknmz line 1149.
Use of uninitialized value in chdir at /usr/local/bin/mknmz line 1153.
Use of chdir('') or chdir(undef) as chdir() is deprecated at
/usr/local/bin/mknmz line 1153.
Use of uninitialized value in concatenation (.) or string at
/usr/local/bin/mknmz line 1154.
Usage: mknmz [options] <target>...
Try `mknmz --help' for more information.

I opened up mknmz, but a quick glance didn't find the error. Ideas?

I did find a different error though - the line:

sub process_file ($$$$$$) {

should be:

sub process_file ($$$$$$$) {

The number of prototypes is wrong, based on what @_ gets assigned to in the
next line.

Thanks,
Alex



More information about the Namazu-users-en mailing list