mharc-users

configuring mharc

2002-09-14 16:50:01
I just got started playing with mharc.  I have MHonArc installed in 
/usr/local/mhonarc, with the library files in /usr/local/mhonarc/lib.  
When I ran make configure, mhonarc-check couldn't find the MHonArc library 
files, and so make configure failed.

This was easy to solve; I just added:

  use lib '/usr/local/mhonarc/lib';

to mhonarc-check.  However, it seems to me that having to do this is a 
bug, because I should be able to define this in config.sh.  The problem
is that there is no config.sh until make configure succeeds, but make 
configure requires mhonarc-check to succeed, and mhonarc-check will fail 
because the path to MHonArc's library files is not defined in config.sh!

It seems to me that the correct sequence should be:

  1. Generate config.sh and lists.def first, and give the user the 
     opportunity to edit them.

  2. After the user has an opportunity to edit the files, make configure 
     should run mhonarc-check and apply-config.

Earl, are you planning to write a tool (similar to MHonArc's install.me) 
for generating config.sh and lists.def?  That would also allow you to 
define the location for the Perl binary as well, which is currently 
hardcoded.

Incidentally, I thought about submitting this as a bug to Savannah, but I 
didn't for two reasons.  First, it's not so much a bug as it is a 
suggestion.  Second, there isn't a bug tracking category for mharc.

-Eugene

-- 
+=== Eugene Eric Kim ===== eekim(_at_)eekim(_dot_)com ===== 
http://www.eekim.com/ ===+
|       "Writer's block is a fancy term made up by whiners so they        |
+=====  can have an excuse to drink alcohol."  --Steve Martin  ===========+

---------------------------------------------------------------------
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>