Hello. I have just installed the new release (8.0) of Red Hat Linux and want to replace the mutt package from the Linux distribution with one with support for compressed folders. But I am not succeeding in compiling it.
The mutt package from RH builds without problems and does not install mutt_dotlock. I have added the compressed folder patch to it, and run ./configure and make. Then the build process fails due to errors in the generated Makefile. It seems that it does not work if the recent automake and autoconf packages included in RHL 8.0 (versions 1.6.3 and 2.53, respectively). Therefore, before running configure, I used the older automake and autoconf tools, also present in the RHL distribution: # new commands aclocal-1.5 -I m4 autoheader-2.13 make -f Makefile.am.in -C m4 automake-1.5 --foreign autoconf-2.13 # commands alread been used (except for # the addition of --enable-compressed) ./configure --prefix=/usr \ --with-sharedir=/etc --sysconfdir=/etc \ --with-docdir=/usr/share/doc/mutt-1.4 \ --with-mandir=/usr/share/man \ --with-infodir=/usr/share/info \ --enable-pop --enable-imap \ --enable-compressed \ --with-sasl \ --with-ssl \ --with-gss=/usr/kerberos \ --disable-warnings --with-ncurses --disable-domain \ --disable-flock --enable-fcntl make make install DESTDIR=..... (The RPM spec file I am using is attached to this message.) These steps succeeds, but mutt_dotlock file is also installed. I have not digged into the Makefiles of mutt, because I am not an advanced developer. I am willing to understand why patching the mutt sources with the compressed folder patch and running the above aclocal, autoheader, automake and autoconf commands causes the installation of mutt_dotlock. Looking in the compressed folder patch, I cannot see any modification related to it. Any clues on this issue? Romildo -- Prof. Jos� Romildo Malaquias Departamento de Computa��o - Universidade Federal de Ouro Preto http://www.decom.ufop.br/prof/romildo/ [EMAIL PROTECTED] http://uber.com.br/romildo/ [EMAIL PROTECTED]
Summary: A text mode mail user agent. Name: mutt %define uversion 0.9 Version: 1.4 Release: 4jrm Serial: 5 License: GPL Group: Applications/Internet Source: ftp://ftp.mutt.org/pub/mutt/mutt-%{version}i.tar.gz Source2: ftp://ftp.mutt.org/pub/mutt/contrib/urlview-%{uversion}.tar.gz Source1: mutt_ldap_query Source3: mutt-colors Source100: mutt-Muttrc_compressed_folders.foot Patch0: mutt-1.4-nosetgid.patch Patch1: mutt-default.patch Patch2: mutt-1.2.5-muttbug-tmp.patch Patch3: mutt-1.2.5.1-autosplat.patch Patch10: urlview-0.9-default.patch Patch11: urlview.diff Patch100: http://www.spinnaker.de/mutt/compressed/patch-%{version}.rr.compressed.1.gz Url: http://www.mutt.org/ Requires: smtpdaemon, webclient Obsoletes: urlview Provides: urlview Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root Conflicts: mutt-us Provides: mutt-i %{!?nossl:BuildPrereq: openssl-devel} %{!?nokerberos:BuildPrereq: krb5-devel} BuildPrereq: /usr/sbin/sendmail ncurses-devel /usr/bin/autoconf-2.13 /usr/bin/automake-1.5 %description Mutt is a text-mode mail user agent. Mutt supports color, threading, arbitrary key remapping, and a lot of customization. You should install mutt if you have used it in the past and you prefer it, or if you are new to mail programs and have not decided which one you are going to use. %prep %setup -n mutt-%{version} -q -a 2 %patch100 -p1 -b .compressed # Thou shalt use fcntl, and only fcntl %patch0 -p1 -b .nosetgid # Something to make default colors work right. # fixme: make sure this is still needed %patch1 -p1 -b .default # use mktemp -d in muttbug %patch2 -p1 -b .tmp # versioned automake/autoconf %patch3 -p1 -b .autosplat %patch10 -p0 -b .default %patch11 -p0 -b .build install -m644 %{SOURCE1} mutt_ldap_query %build aclocal-1.5 -I m4 autoheader-2.13 make -f Makefile.am.in -C m4 automake-1.5 --foreign autoconf-2.13 export -n LINGUAS CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%{_prefix} \ --with-sharedir=/etc --sysconfdir=/etc \ --with-docdir=%{_docdir}/mutt-%{version} \ --with-mandir=%{_mandir} \ --with-infodir=%{_infodir} \ --enable-pop --enable-imap \ --enable-compressed \ --with-sasl \ %{!?nossl:--with-ssl} \ %{!?nokerberos:--with-gss=/usr/kerberos} \ --disable-warnings --with-ncurses --disable-domain \ --disable-flock --enable-fcntl make cd urlview-%{uversion} %configure --with-ncurses make %install rm -rf $RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT mkdir -p $RPM_BUILD_ROOT/etc/X11/applnk/Internet cat > $RPM_BUILD_ROOT/etc/X11/applnk/Internet/mutt.desktop <<EOF [Desktop Entry] Name=Mutt Name[sv]=Mutt Type=Application Comment=Mail reader Comment[sv]=E-postl�sare Icon=mail2.xpm MiniIcon=mini-mail.xpm Exec=mutt Terminal=true EOF # we like GPG here cat contrib/gpg.rc >> \ $RPM_BUILD_ROOT/etc/Muttrc grep -5 "^color" contrib/sample.muttrc >> \ $RPM_BUILD_ROOT/etc/Muttrc # and we use aspell cat >> $RPM_BUILD_ROOT/etc/Muttrc <<EOF # use aspell set ispell="/usr/bin/aspell --mode=email check" EOF cd urlview-%{uversion} %makeinstall install -m 755 url_handler.sh $RPM_BUILD_ROOT%{_bindir}/url_handler.sh mkdir -p doc/urlview cp AUTHORS ChangeLog COPYING INSTALL README sample.urlview urlview.sgml \ doc/urlview cd .. ## Append changes to Muttrc to make use of bzip2/gzip files #bzip2 -cd %{SOURCE100} >> $RPM_BUILD_ROOT%{_sysconfdir}/Muttrc %find_lang %{name} %clean rm -rf $RPM_BUILD_ROOT %files -f %{name}.lang %defattr(-,root,root) %config /etc/Muttrc %config (missingok) /etc/X11/applnk/Internet/mutt.desktop %doc doc/*.txt %doc contrib/*.rc README* contrib/sample.* NEWS %doc COPYRIGHT doc/manual.txt contrib/language* mime.types mutt_ldap_query %doc urlview-%{uversion}/doc/urlview %{_bindir}/mutt %{_bindir}/muttbug %{_bindir}/pgpring %{_bindir}/pgpewrap %{_bindir}/urlview %{_bindir}/url_handler.sh %{_mandir}/man1/urlview.* %{_mandir}/man1/mutt.* %{_mandir}/man5/muttrc.* %changelog * Tue Oct 01 2002 Jos� Romildo Malaquias <[EMAIL PROTECTED]> 1.4-4 - Patch to add compressed folder settings for gzip and bzip2 to /etc/Muttrc - Compressed folder patch from Roland Rosenfeld <[EMAIL PROTECTED]> - Rebuild against ncurses instead of slang - Uncomment the mutt.desktop line on the file list * Fri Jun 21 2002 Tim Powers <[EMAIL PROTECTED]> - automated rebuild * Fri Jun 14 2002 Bill Nottingham <[EMAIL PROTECTED]> 1.4-3 - rebuild against new slang * Wed May 29 2002 Nalin Dahyabhai <[EMAIL PROTECTED]> 1.4-2 - forcibly enable SSL and GSSAPI support * Wed May 29 2002 Bill Nottingham <[EMAIL PROTECTED]> 1.4-1 - whoa, 1.4. * Sun May 26 2002 Tim Powers <[EMAIL PROTECTED]> - automated rebuild * Thu May 16 2002 Bill Nottingham <[EMAIL PROTECTED]> - autoconf fun * Wed Jan 09 2002 Tim Powers <[EMAIL PROTECTED]> - automated rebuild * Tue Jan 1 2002 Bill Nottingham <[EMAIL PROTECTED]> - update to 1.2.5.1 * Mon Jul 23 2001 Bill Nottingham <[EMAIL PROTECTED]> - don't explictly require krb5-libs, etc.; that's what find-requires is for (#49780, sort of) * Sat Jul 21 2001 Tim Powers <[EMAIL PROTECTED]> - no more applnk entries, it's cluttering our menus * Fri Jul 20 2001 Bill Nottingham <[EMAIL PROTECTED]> - add slang-devel to buildprereqs (#49531) * Mon Jun 11 2001 Bill Nottingham <[EMAIL PROTECTED]> - add some sample color definitions (#19471) * Thu May 24 2001 Bill Nottingham <[EMAIL PROTECTED]> - fix typo in muttrc.man (#41610) * Mon May 14 2001 Bill Nottingham <[EMAIL PROTECTED]> - use mktemp in muttbug * Wed May 2 2001 Nalin Dahyabhai <[EMAIL PROTECTED]> - require webclient, not weclient * Wed May 2 2001 Bill Nottingham <[EMAIL PROTECTED]> - build urlview here * Fri Mar 2 2001 Nalin Dahyabhai <[EMAIL PROTECTED]> - rebuild in new environment * Tue Feb 13 2001 Bill Nottingham <[EMAIL PROTECTED]> - change buildprereq to /usr/sbin/sendmail (it's what it should have been originally) - %langify * Tue Feb 13 2001 Michael Stefaniuc <[EMAIL PROTECTED]> - changed buildprereq to smtpdaemon * Tue Dec 19 2000 Bill Nottingham <[EMAIL PROTECTED]> - rebuild; it's just broken - fix #13196 - buildprereq sendmail * Fri Dec 01 2000 Bill Nottingham <[EMAIL PROTECTED]> - rebuild because of broken fileutils * Fri Nov 10 2000 Nalin Dahyabhai <[EMAIL PROTECTED]> - include a sample LDAP query script as a doc file * Mon Nov 6 2000 Nalin Dahyabhai <[EMAIL PROTECTED]> - patch for imap servers that like to volunteer information after AUTHENTICATE * Thu Aug 24 2000 Nalin Dahyabhai <[EMAIL PROTECTED]> - rebuild in new environment - force flock() off and fcntl() on in case defaults change * Tue Aug 8 2000 Nalin Dahyabhai <[EMAIL PROTECTED]> - enable SSL support * Fri Aug 4 2000 Bill Nottingham <[EMAIL PROTECTED]> - add translation to desktop entry * Fri Jul 28 2000 Bill Nottingham <[EMAIL PROTECTED]> - update to 1.2.5i - fixes IMAP bugs * Wed Jul 12 2000 Prospector <[EMAIL PROTECTED]> - automatic rebuild * Fri Jul 7 2000 Bill Nottingham <[EMAIL PROTECTED]> - 1.2.4i * Tue Jun 27 2000 Nalin Dahyabhai <[EMAIL PROTECTED]> - rebuild in new environment (release 3) - adjust GSSAPI build logic * Thu Jun 22 2000 Bill Nottingham <[EMAIL PROTECTED]> - fix MD5 code * Wed Jun 21 2000 Bill Nottingham <[EMAIL PROTECTED]> - update to 1.2.2i * Mon Jun 19 2000 Trond Eivind Glomsr�d <[EMAIL PROTECTED]> - use aspell * Sat Jun 10 2000 Bill Nottingham <[EMAIL PROTECTED]> - FHS fixes * Wed May 10 2000 Bill Nottingham <[EMAIL PROTECTED]> - add some files * Tue May 9 2000 Bill Nottingham <[EMAIL PROTECTED]> - update to 1.2i * Tue Apr 4 2000 Bill Nottingham <[EMAIL PROTECTED]> - eliminate explicit krb5-configs dependency * Wed Mar 22 2000 Bill Nottingham <[EMAIL PROTECTED]> - auto<foo> is so much fun. * Wed Mar 01 2000 Nalin Dahyabhai <[EMAIL PROTECTED]> - make kerberos support conditional at compile-time * Mon Feb 07 2000 Preston Brown <[EMAIL PROTECTED]> - wmconfig -> desktop * Fri Feb 4 2000 Bill Nottingham <[EMAIL PROTECTED]> - keep the makefiles from re-running autoheader, automake, etc. * Thu Feb 3 2000 Nalin Dahyabhai <[EMAIL PROTECTED]> - add forward-ported sasl patch * Thu Feb 3 2000 Bill Nottingham <[EMAIL PROTECTED]> - handle compressed man pages, other cleanups * Wed Jan 19 2000 Bill Nottingham <[EMAIL PROTECTED]> - 1.0.1 * Mon Jan 3 2000 Bill Nottingham <[EMAIL PROTECTED]> - add the sample mime.types to /usr/doc * Sat Jan 1 2000 Bill Nottingham <[EMAIL PROTECTED]> - fix an odd y2k issue on receiving mail from ancient clients * Fri Oct 21 1999 Bill Nottingham <[EMAIL PROTECTED]> - one-point-oh. * Fri Sep 25 1999 Bill Nottingham <[EMAIL PROTECTED]> - add a buffer overflow patch * Tue Aug 31 1999 Bill Nottingham <[EMAIL PROTECTED]> - update to 1.0pre2 * Tue Aug 17 1999 Bill Nottingham <[EMAIL PROTECTED]> - update to 0.95.7 - require urlview since the default muttrc uses it * Mon Jun 21 1999 Bill Nottingham <[EMAIL PROTECTED]> - get correct manual path the Right Way(tm) - make it so it uses default colors even if COLORFGBG isn't set * Mon Jun 14 1999 Bill Nottingham <[EMAIL PROTECTED]> - update to 0.95.6 * Mon Apr 26 1999 Bill Nottingham <[EMAIL PROTECTED]> - try and make sure $RPM_OPT_FLAGS gets passed through * Fri Apr 23 1999 Bill Nottingham <[EMAIL PROTECTED]> - update to 0.95.5 * Mon Mar 29 1999 Bill Nottingham <[EMAIL PROTECTED]> - sed correct doc path into /etc/Muttrc for viewing manual * Sun Mar 21 1999 Cristian Gafton <[EMAIL PROTECTED]> - auto rebuild in the new build environment (release 3) * Thu Mar 18 1999 Bill Nottingham <[EMAIL PROTECTED]> - strip binary * Mon Mar 8 1999 Bill Nottingham <[EMAIL PROTECTED]> - update to 0.95.4 - fixes a /tmp race * Wed Feb 24 1999 Bill Nottingham <[EMAIL PROTECTED]> - the RETURN OF WMCONFIG! Aiyeee! * Fri Feb 12 1999 Bill Nottingham <[EMAIL PROTECTED]> - 0.95.3 - fixes mailcap handling * Mon Jan 4 1999 Bill Nottingham <[EMAIL PROTECTED]> - 0.95.1 * Sat Dec 12 1998 Bill Nottingham <[EMAIL PROTECTED]> - 0.95 * Fri Jul 31 1998 Bill Nottingham <[EMAIL PROTECTED]> - backport some 0.94.2 security fixes - fix un-setgid - update to 0.93.2 * Tue Jul 28 1998 Jeff Johnson <[EMAIL PROTECTED]> - security fix - update to 0.93.1. - turn off setgid mail. * Thu May 07 1998 Prospector System <[EMAIL PROTECTED]> - translations modified for de, fr, tr * Tue Apr 21 1998 Cristian Gafton <[EMAIL PROTECTED]> - updated to 0.91.1 * Fri Apr 10 1998 Cristian Gafton <[EMAIL PROTECTED]> - updated to mutt-0.89.1 * Thu Oct 16 1997 Otto Hammersmith <[EMAIL PROTECTED]> - Updated to mutt 0.85. - added wmconfig entries. - removed mime.types * Mon Sep 1 1997 Donnie Barnes <[EMAIL PROTECTED]> - Rebuilt to insure all sources were fresh and patches were clean. * Wed Aug 6 1997 Manoj Kasichainula <[EMAIL PROTECTED]> - Initial version for 0.81(e)