mldonkey can't be installed because gtk1 can't be installed because of gettext 0.18.x (was: error gtk1)

Ryan Schmidt ryandesign at macports.org
Sat Aug 7 01:04:23 PDT 2010


On Aug 7, 2010, at 02:34, mieru mieru wrote:

> Hi i was installing mldonkey but and i got an error when it tryes to build gtk1:
> so i'v tryed to install only gtk1 and got the same error:

> :info:build /opt/local/include/libintl.h:440: error: expected '=',
> ',', ';', 'asm' or '__attribute__' before 'libintl_newlocale'

Yes, sorry, gtk1 doesn't build anymore, thanks to the latest gettext update.

http://trac.macports.org/ticket/24915

Fixes welcome.


> i already have installed the gtk2 why it doesn't use the 2 instead of 1?

mldonkey uses lablgtk which uses gtk1. Programs using gtk1 need to be rewritten to use gtk2. lablgtk was rewritten to use gtk2; that version is in the lablgtk2 port. Not sure if mldonkey can be updated to use the lablgtk2 port instead or if mldonkey needs to be rewritten to do that.



More information about the macports-users mailing list