need help because build doesn't like mug.c

10 views
Skip to first unread message

thirdsh...@gmail.com

unread,
Nov 26, 2016, 7:35:06 PM11/26/16
to mu-discuss
Hi -
my ./configure looks like this

mu configuration is complete.
------------------------------------------------
mu version                           : 0.9.9.5

Xapian version                       : 1.2.23
GLib version                         : 2.48.2
GMime version                        : 2.6.20
GTK+ version                         : 3.20.9
Webkit version                       : 2.4.11
Emacs version                        : GNU Emacs 25.1.1

Have wordexp                         : yes
Build mu4e emacs frontend            : yes
Build crypto support (gmime >= 2.6)  : yes
Build 'mug' toy-ui (gtk+/webkit)     : yes
McCabe's Cyclomatic Complexity tool  : yes

Have direntry->d_ino                 : yes
Have direntry->d_type                : yes
------------------------------------------------

* You do not seem to have the makeinfo program; if you are building from git
  you need that to create documentation for guile and emacs. It is in the
  texinfo package in debian/ubuntu (ie., apt-get install texinfo)


Now, type 'make' to build mu (or 'make check' to run the unit tests, too)

my make gives errors in mug.c
mug.c: In function ‘mug_toolbar’:
mug.c:128:4: error: ‘GTK_STOCK_GO_UP’ undeclared (first use in this function)
   {GTK_STOCK_GO_UP, ACTION_PREV_MSG},
    ^~~~~~~~~~~~~~~
mug.c:128:4: note: each undeclared identifier is reported only once for each function it appears in
mug.c:129:4: error: ‘GTK_STOCK_GO_DOWN’ undeclared (first use in this function)
   {GTK_STOCK_GO_DOWN, ACTION_NEXT_MSG},
    ^~~~~~~~~~~~~~~~~
mug.c:131:4: error: ‘GTK_STOCK_REFRESH’ undeclared (first use in this function)
   {GTK_STOCK_REFRESH, ACTION_REINDEX},
    ^~~~~~~~~~~~~~~~~
mug.c:133:4: error: ‘GTK_STOCK_ABOUT’ undeclared (first use in this function)
   {GTK_STOCK_ABOUT, ACTION_ABOUT},
    ^~~~~~~~~~~~~~~
mug.c:135:4: error: ‘GTK_STOCK_QUIT’ undeclared (first use in this function)
   {GTK_STOCK_QUIT, ACTION_DO_QUIT}};

Could i be missing a required dependency?

Do I need mug?

I use gtk with fedora 24 xfce.

thx. for any assistance- jim

thirdsh...@gmail.com

unread,
Nov 26, 2016, 7:43:21 PM11/26/16
to mu-discuss


I tried to remove -DGTK_DISABLE_DEPRECATE from Makefile.am

I did a make clean and then ran config and make again.

It didn't work.

thx. - jim

thirdsh...@gmail.com

unread,
Nov 26, 2016, 7:49:34 PM11/26/16
to mu-discuss


In addition to taking out the aforementioned I added this to ./configure --with-gui=none

I can't seem to make it not use mug. From what I read I may not need it.

thx. - jim

Charles-H. Schulz

unread,
Nov 27, 2016, 3:33:29 PM11/27/16
to mu-di...@googlegroups.com

Hello,

Any reason why you are using an obsolete release  (0.9.9.5)?

Best,

Charles.


--
You received this message because you are subscribed to the Google Groups "mu-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mu-discuss+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Dirk-Jan C. Binnema

unread,
Nov 27, 2016, 4:23:13 PM11/27/16
to mu-di...@googlegroups.com
It's fine to ask for help here, but there's really no need to ask the
same thing three times in 15 minutes.

There's an option "--disable-gtk" (see ./configure --help); anyway, as
Charles already said, I'd strongly recommend using a more recent mu
version; the latest release is 0.9.16.

Kind regards,
Dirk.

--
Dirk-Jan C. Binnema Helsinki, Finland
e:dj...@djcbsoftware.nl w:www.djcbsoftware.nl
pgp: D09C E664 897D 7D39 5047 A178 E96A C7A1 017D DA3C
Reply all
Reply to author
Forward
0 new messages