[sylpheed:36896] Re: Trouble compiling Sylpheed 3.7.0

Victor Ananjevsky <[email protected]>
Newsgroups gmane.mail.sylpheed.general
Message-ID <[email protected]>
Hi

gtk_widget_set_tooltip_text() appears only in gtk+ 2.12
so you must update gtk2 to 2.12.x or do in a root of sylpheed sources

find src -name "*.c" -exec sed -ri "s/^.*gtk_widget_set_tooltip_text.*$/#if
GTK_CHECK_VERSION(2,12,0))\n&\n#endif\n/" {} \;

and theb run make again


В Mon, 13 Apr 2020 13:39:32 -0600
Craig <[email protected]> пишет:

> I must have changed a setting in my Sylpheed, because I am now getting
> messages there is a new version when I start Sylpheed on my computer (I'm
> using 3.5.0).
> 
> So, I decided I would update it.
> 
> I downloaded the source code's .bz2 file from
> https://osdn.net/projects/sylpheed/downloads/68999/sylpheed-3.7.0.tar.bz2/
> extracted the files, and started to compile it.
> 
> It went fine through
> 	$ ./configure
> 
> but it had a problem after
>         $ make
> 
> The end of the make was:
> 
> 
>   CC       notificationwindow.o
>   CCLD     sylpheed
> compose.o: In function `compose_signature_menu_create':
> /home/software/Email/sylpheed-3.7.0/src/compose.c:6223: undefined
> reference to `gtk_widget_set_tooltip_text' collect2: ld returned 1 exit
> status make[4]: *** [sylpheed] Error 1
> make[4]: Leaving directory `/home/software/Email/sylpheed-3.7.0/src'
> make[3]: *** [all-recursive] Error 1
> make[3]: Leaving directory `/home/software/Email/sylpheed-3.7.0/src'
> make[2]: *** [all] Error 2
> make[2]: Leaving directory `/home/software/Email/sylpheed-3.7.0/src'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/software/Email/sylpheed-3.7.0'
> make: *** [all] Error 2
> 
> 
> Does anyone have an idea about what causes this?
> 
> Could this be related to my trying to compile on my CentOS 5.11 system
> with:
> 
> gtk+-1.2.10-57.el5
> gtk+-devel-1.2.10-57.el5
> gtk+extra-2.1.1-6.el5
> gtk+extra-devel-2.1.1-6.el5
> gtk2-2.10.4-30.el5
> gtk2-devel-2.10.4-30.el5
> gtk2-engines-2.8.0-3.el5
> gtkcdlabel-1.14-1.el5.rf
> gtkextra-0.99.17-1.2.el5.rf
> gtkextra-devel-0.99.17-1.2.el5.rf
> gtkhtml2-2.11.0-3
> gtkhtml3-3.16.3-1.el5
> gtkmm2-2.2.12-1.el5.rf
> gtkmm24-2.10.9-1.el5.rf
> usermode-gtk-1.88-3.el5.2
> 
> ?
> 
> Thank you,
> 
> 
> Craig



-- 
wbr
Victor Ananjevsky <[email protected]>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.