Visit the LQ Articles and Editorials section
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


LinkBack Search this Thread
Old 07-22-2012, 06:23 AM   #1
Registered: Jun 2009
Distribution: Slackware
Posts: 104

Rep: Reputation: 7
mutt with sidebar in current


Is anyone using mutt with sidebar? I've never had a problem patching it, but on current it just don't work.

The way I do it:

1. I copy sidebar patch next to mutt.gpgme.diff.gz
2. edit mutt.SlackBuild and add
cat $CWD/sidebar | patch -p1 --verbose || exit 1

zcat $CWD/mutt.gpgme.diff.gz | patch -p1 --verbose || exit 1
but all I get is:

curs_main.o: In function `mutt_index_menu':
curs_main.c:(.text+0x9e6): undefined reference to `draw_sidebar'
curs_main.c:(.text+0xcf1): undefined reference to `set_buffystats'
curs_main.c:(.text+0xf81): undefined reference to `set_curbuffy'
curs_main.c:(.text+0x2619): undefined reference to `scroll_sidebar'
flags.o: In function `_mutt_set_flag':
flags.c:(.text+0xcb): undefined reference to `draw_sidebar'
menu.o: In function `menu_redraw_index':
menu.c:(.text+0x95a): undefined reference to `draw_sidebar'
pager.o: In function `mutt_pager':
pager.c:(.text+0x3629): undefined reference to `draw_sidebar'
pager.c:(.text+0x3dc6): undefined reference to `draw_sidebar'
pager.c:(.text+0x498d): undefined reference to `scroll_sidebar'
collect2: error: ld returned 1 exit status
make[2]: *** [mutt] Error 1
make[2]: Leaving directory `/tmp/mutt-1.5.21'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/mutt-1.5.21'
make: *** [all] Error 2
Any ideas?
Old 07-23-2012, 03:47 AM   #2
Registered: Jul 2001
Location: Skien, Norway
Distribution: Slackware 14.0 64-bit
Posts: 228

Rep: Reputation: 41
What is the output of "mutt -version"? Also see this post to the mutt mailing list:
Old 07-23-2012, 04:27 AM   #3
Registered: Jun 2009
Distribution: Slackware
Posts: 104

Original Poster
Rep: Reputation: 7
This is output of mutt -version:

Mutt 1.5.21 (2010-09-15)
Copyright (C) 1996-2009 Michael R. Elkins and others.
Mutt comes with ABSOLUTELY NO WARRANTY; for details type `mutt -vv'.
Mutt is free software, and you are welcome to redistribute it
under certain conditions; type `mutt -vv' for details.

System: Linux 3.2.23 (x86_64)
ncurses: ncurses 5.9.20110404 (compiled with 5.9)
libidn: 1.25 (compiled with 1.25)
hcache backend: GDBM version 1.8.3. 10/15/2002 (built Sep 29 2008 00:46:22)
Compile options:
I think that is what I already have. Do I have to patch that with How do I do that? If I include it in mutt.Slackbuld the way I did it before I get:
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
|--- mutt-1.5.20/init.c.orig    2009-07-21 17:54:59 +0200
|+++ mutt-1.5.20/init.c 2009-07-21 17:59:47 +0200
Patching file init.c using Plan A...
Hunk #1 succeeded at 38 (offset 1 line).
Hunk #2 succeeded at 51 with fuzz 2 (offset 2 lines).
Hunk #3 succeeded at 3146 (offset -119 lines).
Hmm...  Ignoring the trailing garbage.
Hmm...  Looks like a unified diff to me...
can't find file to patch at input line 3
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
|+++        2010-11-04 13:51:48.432426391 +0000
File to patch:

Last edited by diwljina; 07-23-2012 at 04:28 AM. Reason: typo


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
mutt does not honour mutt.rc 'use_from' entry when accepting piped input davidchall Linux - Software 0 05-28-2012 02:13 AM
Mutt - Slackware-Current tpreitzel Slackware 10 11-11-2010 08:54 PM
Mutt experts - Mutt won't use the Maildir I specify in .muttrc moistTowelette Debian 2 08-24-2009 08:04 AM
Mutt question: "How can I configure mutt for not automarking as read??" xowl Linux - Software 0 09-25-2007 09:09 AM
Netscape 6.2.1 My Sidebar reed Linux - General 5 03-20-2002 02:38 PM

All times are GMT -5. The time now is 09:32 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration