The error getting libgtk2.0-dev is:
linaro-nano:~> sudo apt-get install libgtk2.0-devReading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
libgtk2.0-dev : Depends: libpango1.0-dev (>= 1.20) but it is not going to be
installed
Depends: libcairo2-dev (>= 1.6.4-6.1) but it is not going to
be installed
E: Unable to correct problems, you have held broken packages.
Trying to get libpango1.0-dev gives me:
The following packages have unmet dependencies:
libpango1.0-dev : Depends: libfreetype6-dev but it is not going to be installed
Depends: libxft-dev but it is not going to be installed
Depends: libfontconfig1-dev (>= 2.10.91) but it is not going
to be installed
Depends: libcairo2-dev (>= 1.12.10) but it is not going to
be installed
E: Unable to correct problems, you have held broken packages.
and trying to get libcairo2-dev gives me:
The following packages have unmet dependencies:
libcairo2-dev : Depends: libfontconfig1-dev (>= 2.2.95) but it is not going to
be installed
Depends: libfreetype6-dev (>= 2.1.10) but it is not going to
be installed
E: Unable to correct problems, you have held broken packages.
The 'make' error is when it gets to boincmgr-taskbarex.o:
CXX boincmgr-taskbarex.o
Package gtk+-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gtk+-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gtk+-2.0' found
Package gtk+-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gtk+-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gtk+-2.0' found
gtk/taskbarex.cpp:17:21: fatal error: gtk/gtk.h: No such file or directory
#include <gtk/gtk.h>
^
compilation terminated.
make[2]: *** [boincmgr-taskbarex.o] Error 1
make[2]: Leaving directory `/home/linaro/Seti/boinc/clientgui'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/linaro/Seti/boinc'
make: *** [all] Error 2
Claggy
Date: Sun, 22 Jun 2014 23:14:40 +0300
Subject: Re: [boinc_dev] failed to compile 7.3.19 on fedora 20
From: [email protected]
To: [email protected]
CC: [email protected]
On 22 June 2014 21:08, Stephen Maclagan <[email protected]> wrote:
I'm also having trouble building Boinc 7.3.19, this time on Ubuntu 14.04 for my
Parallellas,
my problem is libgtk2.0-dev can't be installed because of dependency problems,
the error message when I try and apt-get install libgtk2.0-dev is:
libgtk2.0-dev : Depends: libpango1.0-dev (>= 1.20) but it is not going to be
installed
Depends: libcairo2-dev (>= 1.6.4-6.1) but it is not
going to be installed
Does APT tell why it's not going to install those packages? What happens if you
try to install only those packages one by one?
I know I can do some edits, and see if gtk+-3.0 works, but shouldn't this be
automatic?
wxWidgets 3 in Debian and Ubuntu use GTK+ 2 backend so
GTK+ 3 isn't going to help. Also, wx 3 in Ubuntu 14.04 doesn't include
wxWebview. It will be included in 14.10 which leaves your options to
either build wx 3 yourself or try to make a "hybrid" setup with wx from 14.10.
I still haven't tried the hybrid setup myself.
(or is that a work in progress?)
The purpose of the stuff in clientgui/gtk/taskbar.* seems to be to provide an
icon in notification area and to let the user know when BOINC needs attention.
wxWidgets provides two classes for these purposes, wxTaskBarIcon and
wxNotificationMessage. I've been thinking that if those classes work properly
the gtk/libnotify code in clientgui/gtk/taskbar.* could be replaced with code
using wx classes. That would remove the need to 1) match used gtk version with
the one used in wx 2) keep up with changes made to gtk.
-Juha
_______________________________________________
boinc_dev mailing list
[email protected]
http://lists.ssl.berkeley.edu/mailman/listinfo/boinc_dev
To unsubscribe, visit the above URL and
(near bottom of page) enter your email address.