mharc-users

Re: Install problems

2002-11-03 06:55:21

hello,

I am doing something with manual installation, and it worked fine up to a
point.

I used Address: * to get all messages into archive in lists.def file and
apparently worked fine and created monthly indexes and archives using
./read-mail

However I got 2 problems.

1) ./read-mail prints following error for each month of lists:
Warning: Non-zero exit status returned from "mknmz --mhonarc -f
/www/user/mh/cgi-
bin/mknmzrc -T /www/user/mh/cgi-bin/template -O
/www/user/mh/html/onlys -Y --quiet /www/user/mh/html/onlys/2002-10": -1

2) Search is not working. I copied namazu to cgi-bin and renamed to
namazu.cgi. When I try to search, script is found and executed and following
error is printed:
You should use "namazu.cgi" instead of "namazu" command.

Is there a problem with namazu?

These are probably due to manual installation.

regards.

----- Original Message -----
From: "Sezer Yalcin" <sezery(_at_)damla(_dot_)net>
To: <mharc-users(_at_)mhonarc(_dot_)org>
Sent: Sunday, November 03, 2002 2:15 PM
Subject: Re: Install problems



----- Original Message -----
From: "Earl Hood" <earl(_at_)earlhood(_dot_)com>
To: <mharc-users(_at_)mhonarc(_dot_)org>
Sent: Saturday, November 02, 2002 10:45 PM
Subject: Re: Install problems


On November 2, 2002 at 21:13, "Sezer Yalcin" wrote:

I did not install namazu and mhonarc to root but installed them to
/home/user/ folder
MHONARC_LIB=
I am setting this in  config.sh and running "make configure" then
running
install.me and it cannot find mhonarc library.  "make configure" does
not
print an error.

What does the output of 'make mhonarc-check' generate?  If you
get an error, MHONARC_LIB needs to be set to the path of where
the mhonarc libraries are located.  I.e.  When you installed MHonArc,
the value you gave to install the library files would be the
value you use for MHONARC_LIB.

If you want install.pl to be better about finding mhonarc automatically,
make sure that the mhonarc program is located in your default search
path.

Note, if MHonArc's libraries are located in perl's default search
path, MHONARC_LIB can be left blank.

I am using MHonArc2.5.13 and mharc-0.7.1

falcon:~/mharc-0.7.1$ make mhonarc-check
You are using MHonArc v2.5.13

Here is how I get stuck:

falcon:~/mharc-0.7.1$ ./install.pl
Looking for 'make' program... '/usr/bin/gmake'
Looking for 'tar' program... '/bin/tar'
Looking for 'cp' program... '/bin/cp'
Looking for 'mkdir' program... '/bin/mkdir'
Looking for 'pwd' program... '/bin/pwd'
Looking for 'mhonarc' program... NOT FOUND!
Looking for 'mknmz' program... NOT FOUND!
Looking for 'namazu.cgi'... NOT FOUND!
Looking for 'procmail' program... '/usr/bin/procmail'
Looking for 'formail' program... '/usr/bin/formail'
Looking for 'lockfile' program... '/usr/bin/lockfile'

Pathname to install mharc: /www/hcs/mh
opendir(./../..): Permission denied at ./install.pl line 159
opendir(/www/hcs/mh/../../..): Permission denied at ./install.pl line 160
/bin/mkdir: cannot create directory `/mbox': Permission denied
system /bin/mkdir -p /mbox failed: 256

Result is /www/hcs/mh folder created. I have full permission for /www/hcs
folder.


Fortunately script goes on despite errors and asks for a path to
install.

It does quite on errors since many can be fixed post install.  If
you want to terminate install.pl, just enter Ctrl-C (which generally
terminates any running program).

Then it fails while creating /mbox folder.  Why do i need to be root
for
such a mail parsing application?

No.  Check your file/directory permissions to make sure you have
write access.

It appears you are trying to install mharc relative to the root of
the filesystem.  Do not do this since the root user is generally the
only user that can manipulate files at that level.  What path did
you provide at the "Pathname to install mharc: " prompt?

I appreciate if someone tells whether this app can be installed on user
level or do i need to become root?

I do not know of anyone that runs mharc as root.  And according to the
docs, it should not be.

And a manual installation help page will
be more appreciated.

Manual install is easy.  Just extract the bundle where you want it to
be installed.  You will probably want to rename the "mharc-X.X.X"
directory to something else.  Then within the new directory, run
'make configure', it is okay if some errors occur.  Then edit
lib/config.sh to fit your needs and local configuration.  Then rerun
'make configure'.

I copied files somewhere, set $SW_ROOT and run make configure. Now
manually
this appears to be done. Now i will see how will process mbox files

Can i delete .in and .dist files since they appear to be redundant?


But, I'd retry install.pl since it basically does all those steps
for you, and gives you the ability to edit config.sh.

In the future when reporting problems, please specify the version
of mharc you are using and copy of any diagnostic output of programs
that generate error messages.

--ewh

---------------------------------------------------------------------
To sign-off this list, send email to majordomo(_at_)mhonarc(_dot_)org with the
message text UNSUBSCRIBE MHARC-USERS


---------------------------------------------------------------------
To sign-off this list, send email to majordomo(_at_)mhonarc(_dot_)org with the
message text UNSUBSCRIBE MHARC-USERS

<Prev in Thread] Current Thread [Next in Thread>