I am installing Mutt v 0.95.6 on a Solaris (sys == sun4x_56) network
where the source directory has a different path from the destination
path.  As a result, I encountered several installation problems, mostly
having to do with incorrect path names in various install commands
within Makefiles.   A working diff file is included at the end of this
email.  

    In addition to changing the makefiles, I was unable to find a good
fix for a problem where the files in POTFILES.in are installed (back:
keymap_defs.h is created in the DEST directory, but the other files are
still located back in the SRC dir).  I ended up simply copying
keymap_defs.h over to the same directory after configuration.  

    After I got it working, we noticed a few difficulties in using Mutt:
1.  When Mutt is started or ended, it insists on doing a message count
in the current folder.  This is not a problem so much as a time suck. 
One tester has a "small" mailbox (by our realm standards) of over 1000
messages, and this count takes over a minute, which is annoying. 
2.  We are unable to browse IMAP message folders.  I can switch current
working folder only by typing in the full path name.  Browsing is
important to us because our network makes use of a very large number of
shared message folders, and most members of the network community use
them.  This means that support for subscriptions and folder browsing for
IMAP are essential.  

Thanks for your time. Any suggestions will be appreciated.



diff -r -u /tmp/mutt-0.95.6-us/Makefile.am mutt-0.95.6-us/Makefile.am 
--- /tmp/mutt-0.95.6-us/Makefile.am    Thu Jun  3 16:35:55 1999
+++ mutt-0.95.6-us/Makefile.am    Mon Jun 28 15:24:26 1999
@@ -81,7 +81,7 @@
     elif [ -f $(DESTDIR)$(sharedir)/../Muttrc ] ; then \
          mv $(DESTDIR)$(sharedir)/../Muttrc $(DESTDIR)$(sysconfdir) ; \
     elif [ ! -f $(DESTDIR)$(sysconfdir)/Muttrc ] ; then \
-        $(INSTALL) -m 644 ./Muttrc $(DESTDIR)$(sysconfdir) ; \
+        $(INSTALL) -m 644 $(srcdir)/Muttrc $(DESTDIR)$(sysconfdir) ; \
     fi
     -if [ ! -f $(DESTDIR)$(sysconfdir)/mime.types ]; then \
         $(INSTALL) -m 644 $(srcdir)/mime.types $(DESTDIR)$(sysconfdir); \

diff -r -u /tmp/mutt-0.95.6-us/configure.in mutt-0.95.6-us/configure.in 
--- /tmp/mutt-0.95.6-us/configure.in    Thu Jun  3 16:36:05 1999
+++ mutt-0.95.6-us/configure.in    Mon Jun 28 15:24:28 1999
@@ -11,7 +11,7 @@
 
 AC_MSG_CHECKING(for prefix)
 if test x$prefix = xNONE; then
-    mutt_cv_prefix=$ac_default_prefix
+    mutt_cv_prefix="\${prefix}"
 else
     mutt_cv_prefix=$prefix
 fi
@@ -345,7 +345,7 @@
     [ AC_CACHE_CHECK(where to put the documentation,
                mutt_cv_docdir,
         [if test x$prefix = xNONE; then
-            mutt_cv_prefix=$ac_default_prefix
+            mutt_cv_prefix="\${prefix}"
         else
             mutt_cv_prefix=$prefix
         fi

diff -r -u /tmp/mutt-0.95.6-us/doc/Makefile.in mutt-0.95.6-us/doc/Makefile.in 
--- /tmp/mutt-0.95.6-us/doc/Makefile.in    Thu Jun  3 16:38:37 1999
+++ mutt-0.95.6-us/doc/Makefile.in    Mon Jun 28 15:24:38 1999
@@ -40,7 +40,7 @@
 topsrcdir_DOCFILES = COPYRIGHT GPL INSTALL ChangeLog    \
     README NEWS TODO README.SECURITY
 
-DOCFILES = manual.txt
+DOCFILES = $(srcdir)/manual.txt
 
 
 all: mutt.man dotlock.man try-html try-txt

diff -r -u /tmp/mutt-0.95.6-us/po/Makefile.in.in
mutt-0.95.6-us/po/Makefile.in.in 
--- /tmp/mutt-0.95.6-us/po/Makefile.in.in    Thu Jun  3 16:39:12 1999
+++ mutt-0.95.6-us/po/Makefile.in.in    Mon Jun 28 15:24:43 1999
@@ -85,7 +85,7 @@
 all-no:
 
 $(top_srcdir)/keymap_defs.h: 
-    cd $(top_srcdir) && $(MAKE) keymap_defs.h
+    cd .. && $(MAKE) keymap_defs.h
 
 $(srcdir)/$(PACKAGE).pot: $(POTFILES)
     $(XGETTEXT) --default-domain=$(PACKAGE) --directory=$(top_srcdir) \

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Barbara King Jensen - [EMAIL PROTECTED]  | Voulez-vous danser avec moi?
http://www.contrib.andrew.cmu.edu/~blk/   |       (Ace of Base)

Reply via email to