Re: [boinc_dev] failed to compile 7.3.19 on fedora 20

2014-06-23 Thread Gianfranco Costamagna

 From: Stephen Maclagan stephen.macla...@hotmail.com
 To: boinc_dev@ssl.berkeley.edu boinc_dev@ssl.berkeley.edu
 Subject: Re: [boinc_dev] failed to compile 7.3.19 on fedora 20
 Message-ID: dub113-w126a0d95083084fbbd281a19a...@phx.gbl
 Content-Type: text/plain; charset=iso-8859-1

 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

 Obviously running make produces lot of entries about package gtk+-2.0 not 
 being
 found in the pkg-config search path,

 I know I can do some edits, and see if gtk+-3.0 works, but shouldn't this be
 automatic? (or is that a work in progress?)


Hi Stephen.
First: the problem in libgtk2.0-dev is *not* possible with a clean ubuntu 14.04 
installation.
Boinc is built and installed on it (and my 14.04 machine, BTW), with no 
problems of this kind.
Moreover pango and cairo have greater versions in trusty, so please check your 
installation, delete your ppas or use synaptic to sort out where and which is 
the broken package that doesn't allow you to install gtk2.0.
wx3.0 is built on top of gtk2 (IIRC), so you shouldn't really have this problem.

one problem you might face is the non possibility to build the manager, since 
the trusty wx version doesn't have webview support.
I (we, with the great Olly help) fixed it in debian, and synced on ubuntu 
utopic.

You can install my personal backport from here [1] or here [2]

the second ppa automatically build and publish from the boinc-v2 git master 
branch

[1] https://launchpad.net/~costamagnagianfranco/+archive/locutusofborg-ppa
[2] https://code.launchpad.net/~costamagnagianfranco/+archive/firefox


Let me know,

Gianfranco


 Claggy

 Date: Tue, 17 Jun 2014 19:45:25 +0300
 From: juha.sointus...@gmail.com
 To: ha...@linux.vnet.ibm.com
 CC: boinc_dev@ssl.berkeley.edu
 Subject: Re: [boinc_dev] failed to compile 7.3.19 on fedora 20

 On 17 June 2014 04:05, Han Pingtian ha...@linux.vnet.ibm.com wrote:

  On Mon, Jun 16, 2014 at 11:46:14PM +0300, Juha wrote:
   On 16 June 2014 07:45, Han Pingtian
 ha...@linux.vnet.ibm.com wrote:
  
On Thu, Jun 12, 2014 at 06:39:29PM +0300, Juha wrote:
 On 10 June 2014 16:20, Han Pingtian
 ha...@linux.vnet.ibm.com
  wrote:

  I have installed wxGTK3 on this system, the
  /usr/include/wx-3.0/wx/defs.h comes from
 wxGTK3-devel. And the
  /usr/include/gtk-2.0/gdk/gdktypes.h comes from
 gtk2-devel.  I'm
  using
  './configure --disable-server ' to
 configure it. Not sure what's
  wrong,
  please advise. Thanks!
 

 In Fedora 20 wxWidgets 3 is configured to use GTK+ 3
 backend and you
  are
 trying to compile Manager with GTK+ 2. That's not
 going to work, you
can't
 mix GTK+ versions like that.

   
I think this is what boinc wants to do on the Fedora 20
 system, not
me ... Boinc is going to use wx 3 and gtk+ 2 together here,
 not sure if
I was doing something wrong.
   
  
   Do you have gtk3-devel installed? If not, install it.
 
  I had gtk3-devel-3.10.9-1.fc20.x86_64 installed, looks like this
 isn't
  the reason of this problem ...


 I was going to tell you to uninstall gtk2-devel but that's not going to
 work.

 Open clientgui/Makefile.am and replace every gtk+-2.0 with
 gtk+-3.0.
 There should be three of them near the end of the file.

 This isn't a proper fix but should get you at least a bit further.

 -Juha
 ___
 boinc_dev mailing list
 boinc_dev@ssl.berkeley.edu
 http://lists.ssl.berkeley.edu/mailman/listinfo/boinc_dev
 To unsubscribe, visit the above URL and
 (near bottom of page) enter your email address.
    

 --

 Subject: Digest Footer

 ___
 boinc_dev mailing list
 boinc_dev@ssl.berkeley.edu
 http://lists.ssl.berkeley.edu/mailman/listinfo/boinc_dev


 --

 End of boinc_dev Digest, Vol 121, Issue 31
 **

___
boinc_dev mailing list
boinc_dev@ssl.berkeley.edu
http://lists.ssl.berkeley.edu/mailman/listinfo/boinc_dev
To unsubscribe, visit the above URL and
(near bottom of page) enter your email address.


Re: [boinc_dev] failed to compile 7.3.19 on fedora 20

2014-06-22 Thread Stephen Maclagan
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
 
Obviously running make produces lot of entries about package gtk+-2.0 not being 
found in the pkg-config search path,
 
I know I can do some edits, and see if gtk+-3.0 works, but shouldn't this be 
automatic? (or is that a work in progress?)
 
Claggy
 
 Date: Tue, 17 Jun 2014 19:45:25 +0300
 From: juha.sointus...@gmail.com
 To: ha...@linux.vnet.ibm.com
 CC: boinc_dev@ssl.berkeley.edu
 Subject: Re: [boinc_dev] failed to compile 7.3.19 on fedora 20
 
 On 17 June 2014 04:05, Han Pingtian ha...@linux.vnet.ibm.com wrote:
 
  On Mon, Jun 16, 2014 at 11:46:14PM +0300, Juha wrote:
   On 16 June 2014 07:45, Han Pingtian ha...@linux.vnet.ibm.com wrote:
  
On Thu, Jun 12, 2014 at 06:39:29PM +0300, Juha wrote:
 On 10 June 2014 16:20, Han Pingtian ha...@linux.vnet.ibm.com
  wrote:

  I have installed wxGTK3 on this system, the
  /usr/include/wx-3.0/wx/defs.h comes from wxGTK3-devel. And the
  /usr/include/gtk-2.0/gdk/gdktypes.h comes from gtk2-devel.  I'm
  using
  './configure --disable-server ' to configure it. Not sure what's
  wrong,
  please advise. Thanks!
 

 In Fedora 20 wxWidgets 3 is configured to use GTK+ 3 backend and you
  are
 trying to compile Manager with GTK+ 2. That's not going to work, you
can't
 mix GTK+ versions like that.

   
I think this is what boinc wants to do on the Fedora 20 system, not
me ... Boinc is going to use wx 3 and gtk+ 2 together here, not sure if
I was doing something wrong.
   
  
   Do you have gtk3-devel installed? If not, install it.
 
  I had gtk3-devel-3.10.9-1.fc20.x86_64 installed, looks like this isn't
  the reason of this problem ...
 
 
 I was going to tell you to uninstall gtk2-devel but that's not going to
 work.
 
 Open clientgui/Makefile.am and replace every gtk+-2.0 with gtk+-3.0.
 There should be three of them near the end of the file.
 
 This isn't a proper fix but should get you at least a bit further.
 
 -Juha
 ___
 boinc_dev mailing list
 boinc_dev@ssl.berkeley.edu
 http://lists.ssl.berkeley.edu/mailman/listinfo/boinc_dev
 To unsubscribe, visit the above URL and
 (near bottom of page) enter your email address.
  
___
boinc_dev mailing list
boinc_dev@ssl.berkeley.edu
http://lists.ssl.berkeley.edu/mailman/listinfo/boinc_dev
To unsubscribe, visit the above URL and
(near bottom of page) enter your email address.


Re: [boinc_dev] failed to compile 7.3.19 on fedora 20

2014-06-22 Thread Juha
On 22 June 2014 21:08, Stephen Maclagan stephen.macla...@hotmail.com
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
boinc_dev@ssl.berkeley.edu
http://lists.ssl.berkeley.edu/mailman/listinfo/boinc_dev
To unsubscribe, visit the above URL and
(near bottom of page) enter your email address.


Re: [boinc_dev] failed to compile 7.3.19 on fedora 20

2014-06-22 Thread Stephen Maclagan
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: juha.sointus...@gmail.com
To: stephen.macla...@hotmail.com
CC: boinc_dev@ssl.berkeley.edu

On 22 June 2014 21:08, Stephen Maclagan stephen.macla...@hotmail.com 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
boinc_dev@ssl.berkeley.edu
http://lists.ssl.berkeley.edu/mailman/listinfo/boinc_dev
To unsubscribe, visit the above URL and
(near bottom of page) enter your email address.


Re: [boinc_dev] failed to compile 7.3.19 on fedora 20

2014-06-22 Thread Juha
On 22 June 2014 23:55, Stephen Maclagan stephen.macla...@hotmail.com
wrote:

 The error getting libgtk2.0-dev is:

 E: Unable to correct problems, you have held broken packages.


Quick googling for the error gives some suggestions.

Try to update package lists with apt-get update first.
dpkg --get-selections | grep hold to see if there are really held
packages.
aptitude install package might give better description of the problem
or offer choices to fix the situation.
aptitude why-not package might tell you why it won't install the
package.

You may need to go through the packages recursively until you find the root
of the problem.

-Juha
___
boinc_dev mailing list
boinc_dev@ssl.berkeley.edu
http://lists.ssl.berkeley.edu/mailman/listinfo/boinc_dev
To unsubscribe, visit the above URL and
(near bottom of page) enter your email address.


Re: [boinc_dev] failed to compile 7.3.19 on fedora 20

2014-06-18 Thread Han Pingtian
Thanks. But the compilation still failed after this modification and
re-run _autosetup and configure:

% make
cd .  sh generate_svn_version.sh
make  all-recursive
make[1]: Entering directory `/home/hpt/temp/boinc'
Making all in m4
make[2]: Entering directory `/home/hpt/temp/boinc/m4'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/hpt/temp/boinc/m4'
Making all in api
make[2]: Entering directory `/home/hpt/temp/boinc/api'
rm -f libboinc_api.a
/usr/bin/ln .libs/libboinc_api.a .
rm -f libboinc_graphics2.a
/usr/bin/ln .libs/libboinc_graphics2.a .
rm -f libboinc_opencl.a
/usr/bin/ln .libs/libboinc_opencl.a .
make[2]: Leaving directory `/home/hpt/temp/boinc/api'
Making all in lib
make[2]: Entering directory `/home/hpt/temp/boinc/lib'
rm -f libboinc.a
/usr/bin/ln .libs/libboinc.a .
make[2]: Leaving directory `/home/hpt/temp/boinc/lib'
Making all in client
make[2]: Entering directory `/home/hpt/temp/boinc/client'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/hpt/temp/boinc/client'
Making all in client/scripts
make[2]: Entering directory `/home/hpt/temp/boinc/client/scripts'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/hpt/temp/boinc/client/scripts'
Making all in clientgui
make[2]: Entering directory `/home/hpt/temp/boinc/clientgui'
  CXX  boincmgr-taskbarex.o
In file included from /usr/include/wx-3.0/wx/cursor.h:69:0,
 from /usr/include/wx-3.0/wx/event.h:21,
 from /usr/include/wx-3.0/wx/wx.h:24,
 from ./stdwx.h:49,
 from gtk/taskbarex.cpp:20:
/usr/include/wx-3.0/wx/utils.h:603:52: warning: redundant redeclaration of 
‘void wxQsort(void*, size_t, size_t, wxSortCallback, const void*)’ in same 
scope [-Wredundant-decls]
   const void* user_data);
^
In file included from /usr/include/wx-3.0/wx/list.h:34:0,
 from /usr/include/wx-3.0/wx/wx.h:17,
 from ./stdwx.h:49,
 from gtk/taskbarex.cpp:20:
/usr/include/wx-3.0/wx/vector.h:44:23: warning: previous declaration of ‘void 
wxQsort(void*, size_t, size_t, wxSortCallback, const void*)’ [-Wredundant-decls]
 WXDLLIMPEXP_BASE void wxQsort(void* pbase, size_t total_elems,
   ^
gtk/taskbarex.cpp:77:5: warning: unused parameter ‘notification’ 
[-Wunused-parameter]
 status_icon_notification_actions(NotifyNotification* notification, gchar 
*action, wxTaskBarIconEx* taskBarIcon)
 ^
gtk/taskbarex.cpp:85:5: warning: unused parameter ‘notification’ 
[-Wunused-parameter]
 status_icon_notification_closed(NotifyNotification* notification, 
wxTaskBarIconEx* taskBarIcon)
 ^
gtk/taskbarex.cpp: In member function ‘virtual bool 
wxTaskBarIconEx::SetIcon(const wxIcon, const wxString)’:
gtk/taskbarex.cpp:211:68: error: ‘gtk_status_icon_set_tooltip’ was not declared 
in this scope
 gtk_status_icon_set_tooltip(g_pStatusIcon, message.mb_str());
^
In file included from /usr/include/gtk-3.0/gtk/deprecated/gtkactiongroup.h:37:0,
 from /usr/include/gtk-3.0/gtk/gtk.h:227,
 from gtk/taskbarex.cpp:17:
gtk/taskbarex.cpp: In function ‘const char* SetBalloon__returnIcon(unsigned 
int)’:
/usr/include/gtk-3.0/gtk/deprecated/gtkstock.h:278:38: warning: ‘GtkStock’ is 
deprecated (declared at /usr/include/gtk-3.0/gtk/deprecated/gtkstock.h:97) 
[-Wdeprecated-declarations]
 #define GTK_STOCK_DIALOG_INFO  ((GtkStock)gtk-dialog-info)
  ^
gtk/taskbarex.cpp:222:20: note: in expansion of macro ‘GTK_STOCK_DIALOG_INFO’
 return(GTK_STOCK_DIALOG_INFO);
^
/usr/include/gtk-3.0/gtk/deprecated/gtkstock.h:288:38: warning: ‘GtkStock’ is 
deprecated (declared at /usr/include/gtk-3.0/gtk/deprecated/gtkstock.h:97) 
[-Wdeprecated-declarations]
 #define GTK_STOCK_DIALOG_WARNING   ((GtkStock)gtk-dialog-warning)
  ^
gtk/taskbarex.cpp:225:20: note: in expansion of macro ‘GTK_STOCK_DIALOG_WARNING’
 return(GTK_STOCK_DIALOG_WARNING);
^
/usr/include/gtk-3.0/gtk/deprecated/gtkstock.h:298:38: warning: ‘GtkStock’ is 
deprecated (declared at /usr/include/gtk-3.0/gtk/deprecated/gtkstock.h:97) 
[-Wdeprecated-declarations]
 #define GTK_STOCK_DIALOG_ERROR ((GtkStock)gtk-dialog-error)
  ^
gtk/taskbarex.cpp:229:20: note: in expansion of macro ‘GTK_STOCK_DIALOG_ERROR’
 return(GTK_STOCK_DIALOG_ERROR);
^
make[2]: *** [boincmgr-taskbarex.o] Error 1
make[2]: Leaving directory `/home/hpt/temp/boinc/clientgui'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/hpt/temp/boinc'
make: *** [all] Error 2

On Tue, Jun 17, 2014 at 07:49:44PM +0300, Juha wrote:
 On 17 June 2014 19:45, Juha juha.sointus...@gmail.com wrote:
 
  

Re: [boinc_dev] failed to compile 7.3.19 on fedora 20

2014-06-18 Thread Juha
On 18 June 2014 16:21, Han Pingtian ha...@linux.vnet.ibm.com wrote:

 Thanks. But the compilation still failed after this modification and
 re-run _autosetup and configure:

 gtk/taskbarex.cpp: In member function ‘virtual bool
 wxTaskBarIconEx::SetIcon(const wxIcon, const wxString)’:
 gtk/taskbarex.cpp:211:68: error: ‘gtk_status_icon_set_tooltip’ was not
 declared in this scope
  gtk_status_icon_set_tooltip(g_pStatusIcon, message.mb_str());


Replace gtk_status_icon_set_tooltip with gtk_status_icon_set_tooltip_text .

-Juha
___
boinc_dev mailing list
boinc_dev@ssl.berkeley.edu
http://lists.ssl.berkeley.edu/mailman/listinfo/boinc_dev
To unsubscribe, visit the above URL and
(near bottom of page) enter your email address.

Re: [boinc_dev] failed to compile 7.3.19 on fedora 20

2014-06-18 Thread Han Pingtian
On Wed, Jun 18, 2014 at 11:37:06PM +0300, Juha wrote:
 On 18 June 2014 16:21, Han Pingtian ha...@linux.vnet.ibm.com wrote:
 
  Thanks. But the compilation still failed after this modification and
  re-run _autosetup and configure:
 
  gtk/taskbarex.cpp: In member function ‘virtual bool
  wxTaskBarIconEx::SetIcon(const wxIcon, const wxString)’:
  gtk/taskbarex.cpp:211:68: error: ‘gtk_status_icon_set_tooltip’ was not
  declared in this scope
   gtk_status_icon_set_tooltip(g_pStatusIcon, message.mb_str());
 
 
 Replace gtk_status_icon_set_tooltip with gtk_status_icon_set_tooltip_text .
 
 -Juha

Thanks! After this, boinc can be compiled successfully on my machine.
Cool!

___
boinc_dev mailing list
boinc_dev@ssl.berkeley.edu
http://lists.ssl.berkeley.edu/mailman/listinfo/boinc_dev
To unsubscribe, visit the above URL and
(near bottom of page) enter your email address.

Re: [boinc_dev] failed to compile 7.3.19 on fedora 20

2014-06-17 Thread Juha
On 17 June 2014 04:05, Han Pingtian ha...@linux.vnet.ibm.com wrote:

 On Mon, Jun 16, 2014 at 11:46:14PM +0300, Juha wrote:
  On 16 June 2014 07:45, Han Pingtian ha...@linux.vnet.ibm.com wrote:
 
   On Thu, Jun 12, 2014 at 06:39:29PM +0300, Juha wrote:
On 10 June 2014 16:20, Han Pingtian ha...@linux.vnet.ibm.com
 wrote:
   
 I have installed wxGTK3 on this system, the
 /usr/include/wx-3.0/wx/defs.h comes from wxGTK3-devel. And the
 /usr/include/gtk-2.0/gdk/gdktypes.h comes from gtk2-devel.  I'm
 using
 './configure --disable-server ' to configure it. Not sure what's
 wrong,
 please advise. Thanks!

   
In Fedora 20 wxWidgets 3 is configured to use GTK+ 3 backend and you
 are
trying to compile Manager with GTK+ 2. That's not going to work, you
   can't
mix GTK+ versions like that.
   
  
   I think this is what boinc wants to do on the Fedora 20 system, not
   me ... Boinc is going to use wx 3 and gtk+ 2 together here, not sure if
   I was doing something wrong.
  
 
  Do you have gtk3-devel installed? If not, install it.

 I had gtk3-devel-3.10.9-1.fc20.x86_64 installed, looks like this isn't
 the reason of this problem ...


I was going to tell you to uninstall gtk2-devel but that's not going to
work.

Open clientgui/Makefile.am and replace every gtk+-2.0 with gtk+-3.0.
There should be three of them near the end of the file.

This isn't a proper fix but should get you at least a bit further.

-Juha
___
boinc_dev mailing list
boinc_dev@ssl.berkeley.edu
http://lists.ssl.berkeley.edu/mailman/listinfo/boinc_dev
To unsubscribe, visit the above URL and
(near bottom of page) enter your email address.


Re: [boinc_dev] failed to compile 7.3.19 on fedora 20

2014-06-17 Thread Juha
On 17 June 2014 19:45, Juha juha.sointus...@gmail.com wrote:

 On 17 June 2014 04:05, Han Pingtian ha...@linux.vnet.ibm.com wrote:

 On Mon, Jun 16, 2014 at 11:46:14PM +0300, Juha wrote:
  On 16 June 2014 07:45, Han Pingtian ha...@linux.vnet.ibm.com wrote:
 
   On Thu, Jun 12, 2014 at 06:39:29PM +0300, Juha wrote:
On 10 June 2014 16:20, Han Pingtian ha...@linux.vnet.ibm.com
 wrote:
   
 I have installed wxGTK3 on this system, the
 /usr/include/wx-3.0/wx/defs.h comes from wxGTK3-devel. And the
 /usr/include/gtk-2.0/gdk/gdktypes.h comes from gtk2-devel.  I'm
 using
 './configure --disable-server ' to configure it. Not sure what's
 wrong,
 please advise. Thanks!

   
In Fedora 20 wxWidgets 3 is configured to use GTK+ 3 backend and
 you are
trying to compile Manager with GTK+ 2. That's not going to work, you
   can't
mix GTK+ versions like that.
   
  
   I think this is what boinc wants to do on the Fedora 20 system, not
   me ... Boinc is going to use wx 3 and gtk+ 2 together here, not sure
 if
   I was doing something wrong.
  
 
  Do you have gtk3-devel installed? If not, install it.

 I had gtk3-devel-3.10.9-1.fc20.x86_64 installed, looks like this isn't
 the reason of this problem ...


 I was going to tell you to uninstall gtk2-devel but that's not going to
 work.

 Open clientgui/Makefile.am and replace every gtk+-2.0 with gtk+-3.0.
 There should be three of them near the end of the file.

 This isn't a proper fix but should get you at least a bit further.


After editing Makefile.am run configure. You may need to run _autosetup
before configure, I never remember which files were input files for which
programs.

-Juha
___
boinc_dev mailing list
boinc_dev@ssl.berkeley.edu
http://lists.ssl.berkeley.edu/mailman/listinfo/boinc_dev
To unsubscribe, visit the above URL and
(near bottom of page) enter your email address.


Re: [boinc_dev] failed to compile 7.3.19 on fedora 20

2014-06-17 Thread Eric J Korpela
Who put pkg-config calls in the Makefiles?  That's awful, and is now on my
list of things to fix.


On Tue, Jun 17, 2014 at 9:49 AM, Juha juha.sointus...@gmail.com wrote:

 On 17 June 2014 19:45, Juha juha.sointus...@gmail.com wrote:

  On 17 June 2014 04:05, Han Pingtian ha...@linux.vnet.ibm.com wrote:
 
  On Mon, Jun 16, 2014 at 11:46:14PM +0300, Juha wrote:
   On 16 June 2014 07:45, Han Pingtian ha...@linux.vnet.ibm.com wrote:
  
On Thu, Jun 12, 2014 at 06:39:29PM +0300, Juha wrote:
 On 10 June 2014 16:20, Han Pingtian ha...@linux.vnet.ibm.com
  wrote:

  I have installed wxGTK3 on this system, the
  /usr/include/wx-3.0/wx/defs.h comes from wxGTK3-devel. And the
  /usr/include/gtk-2.0/gdk/gdktypes.h comes from gtk2-devel.  I'm
  using
  './configure --disable-server ' to configure it. Not sure what's
  wrong,
  please advise. Thanks!
 

 In Fedora 20 wxWidgets 3 is configured to use GTK+ 3 backend and
  you are
 trying to compile Manager with GTK+ 2. That's not going to work,
 you
can't
 mix GTK+ versions like that.

   
I think this is what boinc wants to do on the Fedora 20 system, not
me ... Boinc is going to use wx 3 and gtk+ 2 together here, not sure
  if
I was doing something wrong.
   
  
   Do you have gtk3-devel installed? If not, install it.
 
  I had gtk3-devel-3.10.9-1.fc20.x86_64 installed, looks like this isn't
  the reason of this problem ...
 
 
  I was going to tell you to uninstall gtk2-devel but that's not going to
  work.
 
  Open clientgui/Makefile.am and replace every gtk+-2.0 with gtk+-3.0.
  There should be three of them near the end of the file.
 
  This isn't a proper fix but should get you at least a bit further.
 

 After editing Makefile.am run configure. You may need to run _autosetup
 before configure, I never remember which files were input files for which
 programs.

 -Juha
 ___
 boinc_dev mailing list
 boinc_dev@ssl.berkeley.edu
 http://lists.ssl.berkeley.edu/mailman/listinfo/boinc_dev
 To unsubscribe, visit the above URL and
 (near bottom of page) enter your email address.

___
boinc_dev mailing list
boinc_dev@ssl.berkeley.edu
http://lists.ssl.berkeley.edu/mailman/listinfo/boinc_dev
To unsubscribe, visit the above URL and
(near bottom of page) enter your email address.


Re: [boinc_dev] failed to compile 7.3.19 on fedora 20

2014-06-17 Thread Rom Walton
That was probably me.

- Rom

-Original Message-
From: boinc_dev [mailto:boinc_dev-boun...@ssl.berkeley.edu] On Behalf Of
Eric J Korpela
Sent: Tuesday, June 17, 2014 1:09 PM
To: Juha
Cc: BOINC Developers Mailing List
Subject: Re: [boinc_dev] failed to compile 7.3.19 on fedora 20

Who put pkg-config calls in the Makefiles?  That's awful, and is now on
my list of things to fix.


On Tue, Jun 17, 2014 at 9:49 AM, Juha juha.sointus...@gmail.com wrote:

 On 17 June 2014 19:45, Juha juha.sointus...@gmail.com wrote:

  On 17 June 2014 04:05, Han Pingtian ha...@linux.vnet.ibm.com
wrote:
 
  On Mon, Jun 16, 2014 at 11:46:14PM +0300, Juha wrote:
   On 16 June 2014 07:45, Han Pingtian ha...@linux.vnet.ibm.com
wrote:
  
On Thu, Jun 12, 2014 at 06:39:29PM +0300, Juha wrote:
 On 10 June 2014 16:20, Han Pingtian 
 ha...@linux.vnet.ibm.com
  wrote:

  I have installed wxGTK3 on this system, the 
  /usr/include/wx-3.0/wx/defs.h comes from wxGTK3-devel. And 
  the /usr/include/gtk-2.0/gdk/gdktypes.h comes from 
  gtk2-devel.  I'm
  using
  './configure --disable-server ' to configure it. Not sure 
  what's
  wrong,
  please advise. Thanks!
 

 In Fedora 20 wxWidgets 3 is configured to use GTK+ 3 backend 
 and
  you are
 trying to compile Manager with GTK+ 2. That's not going to 
 work,
 you
can't
 mix GTK+ versions like that.

   
I think this is what boinc wants to do on the Fedora 20 system,

not me ... Boinc is going to use wx 3 and gtk+ 2 together here,

not sure
  if
I was doing something wrong.
   
  
   Do you have gtk3-devel installed? If not, install it.
 
  I had gtk3-devel-3.10.9-1.fc20.x86_64 installed, looks like this 
  isn't the reason of this problem ...
 
 
  I was going to tell you to uninstall gtk2-devel but that's not going

  to work.
 
  Open clientgui/Makefile.am and replace every gtk+-2.0 with
gtk+-3.0.
  There should be three of them near the end of the file.
 
  This isn't a proper fix but should get you at least a bit further.
 

 After editing Makefile.am run configure. You may need to run 
 _autosetup before configure, I never remember which files were input 
 files for which programs.

 -Juha
 ___
 boinc_dev mailing list
 boinc_dev@ssl.berkeley.edu
 http://lists.ssl.berkeley.edu/mailman/listinfo/boinc_dev
 To unsubscribe, visit the above URL and (near bottom of page) enter 
 your email address.

___
boinc_dev mailing list
boinc_dev@ssl.berkeley.edu
http://lists.ssl.berkeley.edu/mailman/listinfo/boinc_dev
To unsubscribe, visit the above URL and
(near bottom of page) enter your email address.
___
boinc_dev mailing list
boinc_dev@ssl.berkeley.edu
http://lists.ssl.berkeley.edu/mailman/listinfo/boinc_dev
To unsubscribe, visit the above URL and
(near bottom of page) enter your email address.


Re: [boinc_dev] failed to compile 7.3.19 on fedora 20

2014-06-16 Thread Juha
On 16 June 2014 07:45, Han Pingtian ha...@linux.vnet.ibm.com wrote:

 On Thu, Jun 12, 2014 at 06:39:29PM +0300, Juha wrote:
  On 10 June 2014 16:20, Han Pingtian ha...@linux.vnet.ibm.com wrote:
 
   I have installed wxGTK3 on this system, the
   /usr/include/wx-3.0/wx/defs.h comes from wxGTK3-devel. And the
   /usr/include/gtk-2.0/gdk/gdktypes.h comes from gtk2-devel.  I'm using
   './configure --disable-server ' to configure it. Not sure what's wrong,
   please advise. Thanks!
  
 
  In Fedora 20 wxWidgets 3 is configured to use GTK+ 3 backend and you are
  trying to compile Manager with GTK+ 2. That's not going to work, you
 can't
  mix GTK+ versions like that.
 

 I think this is what boinc wants to do on the Fedora 20 system, not
 me ... Boinc is going to use wx 3 and gtk+ 2 together here, not sure if
 I was doing something wrong.


Do you have gtk3-devel installed? If not, install it.

Unless you need gtk2-devel for something else or it's pulled in by some
other package I think it would be easiest to remove it. Otherwise you may
need to tell BOINC configure script that you need it to use GTK+ 3.

I find it interesting that Debian has decided to use GTK+ 2 backend in
wxWidgets. I guess it would be nice if BOINC configure script checked that
the GTK+ version it has found matches the one used in wxWidgets.

-Juha
___
boinc_dev mailing list
boinc_dev@ssl.berkeley.edu
http://lists.ssl.berkeley.edu/mailman/listinfo/boinc_dev
To unsubscribe, visit the above URL and
(near bottom of page) enter your email address.


Re: [boinc_dev] failed to compile 7.3.19 on fedora 20

2014-06-16 Thread Eric J Korpela
I've been working on a modification to do that (in conjuction with the
cross compiling bits).   If we do it right, BOINC shouldn't only get its
graphics toolkit info from wx-config.


On Mon, Jun 16, 2014 at 1:46 PM, Juha juha.sointus...@gmail.com wrote:

 On 16 June 2014 07:45, Han Pingtian ha...@linux.vnet.ibm.com wrote:

  On Thu, Jun 12, 2014 at 06:39:29PM +0300, Juha wrote:
   On 10 June 2014 16:20, Han Pingtian ha...@linux.vnet.ibm.com wrote:
  
I have installed wxGTK3 on this system, the
/usr/include/wx-3.0/wx/defs.h comes from wxGTK3-devel. And the
/usr/include/gtk-2.0/gdk/gdktypes.h comes from gtk2-devel.  I'm using
'./configure --disable-server ' to configure it. Not sure what's
 wrong,
please advise. Thanks!
   
  
   In Fedora 20 wxWidgets 3 is configured to use GTK+ 3 backend and you
 are
   trying to compile Manager with GTK+ 2. That's not going to work, you
  can't
   mix GTK+ versions like that.
  
 
  I think this is what boinc wants to do on the Fedora 20 system, not
  me ... Boinc is going to use wx 3 and gtk+ 2 together here, not sure if
  I was doing something wrong.
 

 Do you have gtk3-devel installed? If not, install it.

 Unless you need gtk2-devel for something else or it's pulled in by some
 other package I think it would be easiest to remove it. Otherwise you may
 need to tell BOINC configure script that you need it to use GTK+ 3.

 I find it interesting that Debian has decided to use GTK+ 2 backend in
 wxWidgets. I guess it would be nice if BOINC configure script checked that
 the GTK+ version it has found matches the one used in wxWidgets.

 -Juha
 ___
 boinc_dev mailing list
 boinc_dev@ssl.berkeley.edu
 http://lists.ssl.berkeley.edu/mailman/listinfo/boinc_dev
 To unsubscribe, visit the above URL and
 (near bottom of page) enter your email address.

___
boinc_dev mailing list
boinc_dev@ssl.berkeley.edu
http://lists.ssl.berkeley.edu/mailman/listinfo/boinc_dev
To unsubscribe, visit the above URL and
(near bottom of page) enter your email address.


Re: [boinc_dev] failed to compile 7.3.19 on fedora 20

2014-06-16 Thread Han Pingtian
On Mon, Jun 16, 2014 at 11:46:14PM +0300, Juha wrote:
 On 16 June 2014 07:45, Han Pingtian ha...@linux.vnet.ibm.com wrote:
 
  On Thu, Jun 12, 2014 at 06:39:29PM +0300, Juha wrote:
   On 10 June 2014 16:20, Han Pingtian ha...@linux.vnet.ibm.com wrote:
  
I have installed wxGTK3 on this system, the
/usr/include/wx-3.0/wx/defs.h comes from wxGTK3-devel. And the
/usr/include/gtk-2.0/gdk/gdktypes.h comes from gtk2-devel.  I'm using
'./configure --disable-server ' to configure it. Not sure what's wrong,
please advise. Thanks!
   
  
   In Fedora 20 wxWidgets 3 is configured to use GTK+ 3 backend and you are
   trying to compile Manager with GTK+ 2. That's not going to work, you
  can't
   mix GTK+ versions like that.
  
 
  I think this is what boinc wants to do on the Fedora 20 system, not
  me ... Boinc is going to use wx 3 and gtk+ 2 together here, not sure if
  I was doing something wrong.
 
 
 Do you have gtk3-devel installed? If not, install it.

I had gtk3-devel-3.10.9-1.fc20.x86_64 installed, looks like this isn't
the reason of this problem ...
 
 Unless you need gtk2-devel for something else or it's pulled in by some
 other package I think it would be easiest to remove it. Otherwise you may
 need to tell BOINC configure script that you need it to use GTK+ 3.
 
 I find it interesting that Debian has decided to use GTK+ 2 backend in
 wxWidgets. I guess it would be nice if BOINC configure script checked that
 the GTK+ version it has found matches the one used in wxWidgets.
 
 -Juha

___
boinc_dev mailing list
boinc_dev@ssl.berkeley.edu
http://lists.ssl.berkeley.edu/mailman/listinfo/boinc_dev
To unsubscribe, visit the above URL and
(near bottom of page) enter your email address.


Re: [boinc_dev] failed to compile 7.3.19 on fedora 20

2014-06-15 Thread Han Pingtian
On Thu, Jun 12, 2014 at 06:39:29PM +0300, Juha wrote:
 On 10 June 2014 16:20, Han Pingtian ha...@linux.vnet.ibm.com wrote:
 
  I have installed wxGTK3 on this system, the
  /usr/include/wx-3.0/wx/defs.h comes from wxGTK3-devel. And the
  /usr/include/gtk-2.0/gdk/gdktypes.h comes from gtk2-devel.  I'm using
  './configure --disable-server ' to configure it. Not sure what's wrong,
  please advise. Thanks!
 
 
 In Fedora 20 wxWidgets 3 is configured to use GTK+ 3 backend and you are
 trying to compile Manager with GTK+ 2. That's not going to work, you can't
 mix GTK+ versions like that.
 
 -Juha
I think this is what boinc wants to do on the Fedora 20 system, not
me ... Boinc is going to use wx 3 and gtk+ 2 together here, not sure if
I was doing something wrong.


___
boinc_dev mailing list
boinc_dev@ssl.berkeley.edu
http://lists.ssl.berkeley.edu/mailman/listinfo/boinc_dev
To unsubscribe, visit the above URL and
(near bottom of page) enter your email address.


Re: [boinc_dev] failed to compile 7.3.19 on fedora 20

2014-06-12 Thread Juha
On 10 June 2014 16:20, Han Pingtian ha...@linux.vnet.ibm.com wrote:

 I have installed wxGTK3 on this system, the
 /usr/include/wx-3.0/wx/defs.h comes from wxGTK3-devel. And the
 /usr/include/gtk-2.0/gdk/gdktypes.h comes from gtk2-devel.  I'm using
 './configure --disable-server ' to configure it. Not sure what's wrong,
 please advise. Thanks!


In Fedora 20 wxWidgets 3 is configured to use GTK+ 3 backend and you are
trying to compile Manager with GTK+ 2. That's not going to work, you can't
mix GTK+ versions like that.

-Juha
___
boinc_dev mailing list
boinc_dev@ssl.berkeley.edu
http://lists.ssl.berkeley.edu/mailman/listinfo/boinc_dev
To unsubscribe, visit the above URL and
(near bottom of page) enter your email address.


Re: [boinc_dev] failed to compile 7.3.19 on fedora 20

2014-06-11 Thread Eric J Korpela
wxWidgets can be really picky in compiles.  You might want to check which
#defines control those definitions and where they are set.

Which options are used to compile wx vary from linux distribution to
distribution.  They can affect whether BOINC can be compiled or will
function.  It would be nice if a developer fixed these problems, but I'm
not sure who that developer would be.



On Tue, Jun 10, 2014 at 10:44 PM, Han Pingtian ha...@linux.vnet.ibm.com
wrote:

 On Tue, Jun 10, 2014 at 10:28:25PM -0400, Rom Walton wrote:
  There are a few optional packages:
  xcb-atom
  xcb-util
 
  I'm not really sure what the package name is these days.  The X
 screensaver and X keyboard/mouse stuff has been re-factored over the years
 and the package names change.
 

 I checked the output of configure, and looks like xcb is OK:

 checking for XCB... yes
 checking for XCBATOM... yes


  - Rom
 
  -Original Message-
  From: Han Pingtian [mailto:ha...@linux.vnet.ibm.com]
  Sent: Tuesday, June 10, 2014 9:11 PM
  To: Rom Walton; boinc_dev@ssl.berkeley.edu
  Subject: Re: [boinc_dev] failed to compile 7.3.19 on fedora 20
 
  On Tue, Jun 10, 2014 at 12:14:43PM -0400, Rom Walton wrote:
   It looks like the libnotify/gtk dev packages is missing.
  
  It looks like I had installed gtk2-devel-2.24.22-2.fc20.x86_64 and
 libnotify-devel-0.7.6-1.fc20.x86_64. Any other packages I should also
 install?
 
  Thanks.
   - Rom
  
   -Original Message-
   From: boinc_dev [mailto:boinc_dev-boun...@ssl.berkeley.edu] On Behalf
   Of Han Pingtian
   Sent: Tuesday, June 10, 2014 9:21 AM
   To: boinc_dev@ssl.berkeley.edu
   Subject: [boinc_dev] failed to compile 7.3.19 on fedora 20
  
   Hey there,
  
   I'm trying to compile boinc from source git on a fedora 20 system, but
 it failed with some error messages:
  
   ... ...
 CXX  boincmgr-taskbarex.o
   In file included from /usr/include/wx-3.0/wx/wx.h:14:0,
from ./stdwx.h:49,
from gtk/taskbarex.cpp:20:
   /usr/include/wx-3.0/wx/defs.h:3394:31: error: conflicting declaration
 ‘typedef struct _GdkWindow GdkWindow’
typedef struct _GdkWindow GdkWindow;
  ^
   In file included from /usr/include/gtk-2.0/gdk/gdkscreen.h:32:0,
from
 /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:31,
from /usr/include/gtk-2.0/gdk/gdk.h:32,
from /usr/include/gtk-2.0/gtk/gtk.h:32,
from gtk/taskbarex.cpp:17:
   /usr/include/gtk-2.0/gdk/gdktypes.h:114:39: error: ‘GdkWindow’ has a
 previous declaration as ‘typedef struct _GdkDrawable GdkWindow’
typedef struct _GdkDrawable   GdkWindow;
  ^ In file included from
 /usr/include/wx-3.0/wx/cursor.h:69:0,
from /usr/include/wx-3.0/wx/event.h:21,
from /usr/include/wx-3.0/wx/wx.h:24,
from ./stdwx.h:49,
from gtk/taskbarex.cpp:20:
   /usr/include/wx-3.0/wx/utils.h:603:52: warning: redundant
 redeclaration of ‘void wxQsort(void*, size_t, size_t, wxSortCallback, const
 void*)’ in same scope [-Wredundant-decls]
  const void* user_data);
   ^ In file included
 from /usr/include/wx-3.0/wx/list.h:34:0,
from /usr/include/wx-3.0/wx/wx.h:17,
from ./stdwx.h:49,
from gtk/taskbarex.cpp:20:
   /usr/include/wx-3.0/wx/vector.h:44:23: warning: previous declaration
 of ‘void wxQsort(void*, size_t, size_t, wxSortCallback, const void*)’
 [-Wredundant-decls]  WXDLLIMPEXP_BASE void wxQsort(void* pbase, size_t
 total_elems,
  ^
   gtk/taskbarex.cpp:77:5: warning: unused parameter ‘notification’
 [-Wunused-parameter]
status_icon_notification_actions(NotifyNotification*
 notification, gchar *action, wxTaskBarIconEx* taskBarIcon)
^
   gtk/taskbarex.cpp:85:5: warning: unused parameter ‘notification’
 [-Wunused-parameter]
status_icon_notification_closed(NotifyNotification* notification,
 wxTaskBarIconEx* taskBarIcon)
^
   make[2]: *** [boincmgr-taskbarex.o] Error 1
   make[2]: Leaving directory `/home/hpt/temp/boinc/clientgui'
   make[1]: *** [all-recursive] Error 1
   make[1]: Leaving directory `/home/hpt/temp/boinc'
   make: *** [all] Error 2
  
   I have installed wxGTK3 on this system, the
 /usr/include/wx-3.0/wx/defs.h comes from wxGTK3-devel. And the
 /usr/include/gtk-2.0/gdk/gdktypes.h comes from gtk2-devel.  I'm using
 './configure --disable-server ' to configure it. Not sure what's wrong,
 please advise. Thanks!
  
   ___
   boinc_dev mailing list
   boinc_dev@ssl.berkeley.edu
   http://lists.ssl.berkeley.edu/mailman/listinfo/boinc_dev
   To unsubscribe, visit the above URL and (near bottom of page) enter
   your email address

[boinc_dev] failed to compile 7.3.19 on fedora 20

2014-06-10 Thread Han Pingtian
Hey there,

I'm trying to compile boinc from source git on a fedora 20 system, but
it failed with some error messages:

... ...
  CXX  boincmgr-taskbarex.o
In file included from /usr/include/wx-3.0/wx/wx.h:14:0,
 from ./stdwx.h:49,
 from gtk/taskbarex.cpp:20:
/usr/include/wx-3.0/wx/defs.h:3394:31: error: conflicting declaration ‘typedef 
struct _GdkWindow GdkWindow’
 typedef struct _GdkWindow GdkWindow;
   ^
In file included from /usr/include/gtk-2.0/gdk/gdkscreen.h:32:0,
 from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:31,
 from /usr/include/gtk-2.0/gdk/gdk.h:32,
 from /usr/include/gtk-2.0/gtk/gtk.h:32,
 from gtk/taskbarex.cpp:17:
/usr/include/gtk-2.0/gdk/gdktypes.h:114:39: error: ‘GdkWindow’ has a previous 
declaration as ‘typedef struct _GdkDrawable GdkWindow’
 typedef struct _GdkDrawable   GdkWindow;
   ^
In file included from /usr/include/wx-3.0/wx/cursor.h:69:0,
 from /usr/include/wx-3.0/wx/event.h:21,
 from /usr/include/wx-3.0/wx/wx.h:24,
 from ./stdwx.h:49,
 from gtk/taskbarex.cpp:20:
/usr/include/wx-3.0/wx/utils.h:603:52: warning: redundant redeclaration of 
‘void wxQsort(void*, size_t, size_t, wxSortCallback, const void*)’ in same 
scope [-Wredundant-decls]
   const void* user_data);
^
In file included from /usr/include/wx-3.0/wx/list.h:34:0,
 from /usr/include/wx-3.0/wx/wx.h:17,
 from ./stdwx.h:49,
 from gtk/taskbarex.cpp:20:
/usr/include/wx-3.0/wx/vector.h:44:23: warning: previous declaration of ‘void 
wxQsort(void*, size_t, size_t, wxSortCallback, const void*)’ [-Wredundant-decls]
 WXDLLIMPEXP_BASE void wxQsort(void* pbase, size_t total_elems,
   ^
gtk/taskbarex.cpp:77:5: warning: unused parameter ‘notification’ 
[-Wunused-parameter]
 status_icon_notification_actions(NotifyNotification* notification, gchar 
*action, wxTaskBarIconEx* taskBarIcon)
 ^
gtk/taskbarex.cpp:85:5: warning: unused parameter ‘notification’ 
[-Wunused-parameter]
 status_icon_notification_closed(NotifyNotification* notification, 
wxTaskBarIconEx* taskBarIcon)
 ^
make[2]: *** [boincmgr-taskbarex.o] Error 1
make[2]: Leaving directory `/home/hpt/temp/boinc/clientgui'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/hpt/temp/boinc'
make: *** [all] Error 2

I have installed wxGTK3 on this system, the
/usr/include/wx-3.0/wx/defs.h comes from wxGTK3-devel. And the
/usr/include/gtk-2.0/gdk/gdktypes.h comes from gtk2-devel.  I'm using
'./configure --disable-server ' to configure it. Not sure what's wrong,
please advise. Thanks!

___
boinc_dev mailing list
boinc_dev@ssl.berkeley.edu
http://lists.ssl.berkeley.edu/mailman/listinfo/boinc_dev
To unsubscribe, visit the above URL and
(near bottom of page) enter your email address.

Re: [boinc_dev] failed to compile 7.3.19 on fedora 20

2014-06-10 Thread Rom Walton
It looks like the libnotify/gtk dev packages is missing.

- Rom

-Original Message-
From: boinc_dev [mailto:boinc_dev-boun...@ssl.berkeley.edu] On Behalf Of Han 
Pingtian
Sent: Tuesday, June 10, 2014 9:21 AM
To: boinc_dev@ssl.berkeley.edu
Subject: [boinc_dev] failed to compile 7.3.19 on fedora 20

Hey there,

I'm trying to compile boinc from source git on a fedora 20 system, but it 
failed with some error messages:

... ...
  CXX  boincmgr-taskbarex.o
In file included from /usr/include/wx-3.0/wx/wx.h:14:0,
 from ./stdwx.h:49,
 from gtk/taskbarex.cpp:20:
/usr/include/wx-3.0/wx/defs.h:3394:31: error: conflicting declaration ‘typedef 
struct _GdkWindow GdkWindow’
 typedef struct _GdkWindow GdkWindow;
   ^
In file included from /usr/include/gtk-2.0/gdk/gdkscreen.h:32:0,
 from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:31,
 from /usr/include/gtk-2.0/gdk/gdk.h:32,
 from /usr/include/gtk-2.0/gtk/gtk.h:32,
 from gtk/taskbarex.cpp:17:
/usr/include/gtk-2.0/gdk/gdktypes.h:114:39: error: ‘GdkWindow’ has a previous 
declaration as ‘typedef struct _GdkDrawable GdkWindow’
 typedef struct _GdkDrawable   GdkWindow;
   ^ In file included from 
/usr/include/wx-3.0/wx/cursor.h:69:0,
 from /usr/include/wx-3.0/wx/event.h:21,
 from /usr/include/wx-3.0/wx/wx.h:24,
 from ./stdwx.h:49,
 from gtk/taskbarex.cpp:20:
/usr/include/wx-3.0/wx/utils.h:603:52: warning: redundant redeclaration of 
‘void wxQsort(void*, size_t, size_t, wxSortCallback, const void*)’ in same 
scope [-Wredundant-decls]
   const void* user_data);
^ In file included from 
/usr/include/wx-3.0/wx/list.h:34:0,
 from /usr/include/wx-3.0/wx/wx.h:17,
 from ./stdwx.h:49,
 from gtk/taskbarex.cpp:20:
/usr/include/wx-3.0/wx/vector.h:44:23: warning: previous declaration of ‘void 
wxQsort(void*, size_t, size_t, wxSortCallback, const void*)’ 
[-Wredundant-decls]  WXDLLIMPEXP_BASE void wxQsort(void* pbase, size_t 
total_elems,
   ^
gtk/taskbarex.cpp:77:5: warning: unused parameter ‘notification’ 
[-Wunused-parameter]
 status_icon_notification_actions(NotifyNotification* notification, gchar 
*action, wxTaskBarIconEx* taskBarIcon)
 ^
gtk/taskbarex.cpp:85:5: warning: unused parameter ‘notification’ 
[-Wunused-parameter]
 status_icon_notification_closed(NotifyNotification* notification, 
wxTaskBarIconEx* taskBarIcon)
 ^
make[2]: *** [boincmgr-taskbarex.o] Error 1
make[2]: Leaving directory `/home/hpt/temp/boinc/clientgui'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/hpt/temp/boinc'
make: *** [all] Error 2

I have installed wxGTK3 on this system, the /usr/include/wx-3.0/wx/defs.h comes 
from wxGTK3-devel. And the /usr/include/gtk-2.0/gdk/gdktypes.h comes from 
gtk2-devel.  I'm using './configure --disable-server ' to configure it. Not 
sure what's wrong, please advise. Thanks!

___
boinc_dev mailing list
boinc_dev@ssl.berkeley.edu
http://lists.ssl.berkeley.edu/mailman/listinfo/boinc_dev
To unsubscribe, visit the above URL and
(near bottom of page) enter your email address.
___
boinc_dev mailing list
boinc_dev@ssl.berkeley.edu
http://lists.ssl.berkeley.edu/mailman/listinfo/boinc_dev
To unsubscribe, visit the above URL and
(near bottom of page) enter your email address.

Re: [boinc_dev] failed to compile 7.3.19 on fedora 20

2014-06-10 Thread Han Pingtian
On Tue, Jun 10, 2014 at 12:14:43PM -0400, Rom Walton wrote:
 It looks like the libnotify/gtk dev packages is missing.
 
It looks like I had installed gtk2-devel-2.24.22-2.fc20.x86_64 and
libnotify-devel-0.7.6-1.fc20.x86_64. Any other packages I should also
install?

Thanks.
 - Rom
 
 -Original Message-
 From: boinc_dev [mailto:boinc_dev-boun...@ssl.berkeley.edu] On Behalf Of Han 
 Pingtian
 Sent: Tuesday, June 10, 2014 9:21 AM
 To: boinc_dev@ssl.berkeley.edu
 Subject: [boinc_dev] failed to compile 7.3.19 on fedora 20
 
 Hey there,
 
 I'm trying to compile boinc from source git on a fedora 20 system, but it 
 failed with some error messages:
 
 ... ...
   CXX  boincmgr-taskbarex.o
 In file included from /usr/include/wx-3.0/wx/wx.h:14:0,
  from ./stdwx.h:49,
  from gtk/taskbarex.cpp:20:
 /usr/include/wx-3.0/wx/defs.h:3394:31: error: conflicting declaration 
 ‘typedef struct _GdkWindow GdkWindow’
  typedef struct _GdkWindow GdkWindow;
^
 In file included from /usr/include/gtk-2.0/gdk/gdkscreen.h:32:0,
  from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:31,
  from /usr/include/gtk-2.0/gdk/gdk.h:32,
  from /usr/include/gtk-2.0/gtk/gtk.h:32,
  from gtk/taskbarex.cpp:17:
 /usr/include/gtk-2.0/gdk/gdktypes.h:114:39: error: ‘GdkWindow’ has a previous 
 declaration as ‘typedef struct _GdkDrawable GdkWindow’
  typedef struct _GdkDrawable   GdkWindow;
^ In file included from 
 /usr/include/wx-3.0/wx/cursor.h:69:0,
  from /usr/include/wx-3.0/wx/event.h:21,
  from /usr/include/wx-3.0/wx/wx.h:24,
  from ./stdwx.h:49,
  from gtk/taskbarex.cpp:20:
 /usr/include/wx-3.0/wx/utils.h:603:52: warning: redundant redeclaration of 
 ‘void wxQsort(void*, size_t, size_t, wxSortCallback, const void*)’ in same 
 scope [-Wredundant-decls]
const void* user_data);
 ^ In file included from 
 /usr/include/wx-3.0/wx/list.h:34:0,
  from /usr/include/wx-3.0/wx/wx.h:17,
  from ./stdwx.h:49,
  from gtk/taskbarex.cpp:20:
 /usr/include/wx-3.0/wx/vector.h:44:23: warning: previous declaration of ‘void 
 wxQsort(void*, size_t, size_t, wxSortCallback, const void*)’ 
 [-Wredundant-decls]  WXDLLIMPEXP_BASE void wxQsort(void* pbase, size_t 
 total_elems,
^
 gtk/taskbarex.cpp:77:5: warning: unused parameter ‘notification’ 
 [-Wunused-parameter]
  status_icon_notification_actions(NotifyNotification* notification, gchar 
 *action, wxTaskBarIconEx* taskBarIcon)
  ^
 gtk/taskbarex.cpp:85:5: warning: unused parameter ‘notification’ 
 [-Wunused-parameter]
  status_icon_notification_closed(NotifyNotification* notification, 
 wxTaskBarIconEx* taskBarIcon)
  ^
 make[2]: *** [boincmgr-taskbarex.o] Error 1
 make[2]: Leaving directory `/home/hpt/temp/boinc/clientgui'
 make[1]: *** [all-recursive] Error 1
 make[1]: Leaving directory `/home/hpt/temp/boinc'
 make: *** [all] Error 2
 
 I have installed wxGTK3 on this system, the /usr/include/wx-3.0/wx/defs.h 
 comes from wxGTK3-devel. And the /usr/include/gtk-2.0/gdk/gdktypes.h comes 
 from gtk2-devel.  I'm using './configure --disable-server ' to configure it. 
 Not sure what's wrong, please advise. Thanks!
 
 ___
 boinc_dev mailing list
 boinc_dev@ssl.berkeley.edu
 http://lists.ssl.berkeley.edu/mailman/listinfo/boinc_dev
 To unsubscribe, visit the above URL and
 (near bottom of page) enter your email address.

___
boinc_dev mailing list
boinc_dev@ssl.berkeley.edu
http://lists.ssl.berkeley.edu/mailman/listinfo/boinc_dev
To unsubscribe, visit the above URL and
(near bottom of page) enter your email address.

Re: [boinc_dev] failed to compile 7.3.19 on fedora 20

2014-06-10 Thread Rom Walton
There are a few optional packages:
xcb-atom
xcb-util

I'm not really sure what the package name is these days.  The X screensaver and 
X keyboard/mouse stuff has been re-factored over the years and the package 
names change.

- Rom

-Original Message-
From: Han Pingtian [mailto:ha...@linux.vnet.ibm.com] 
Sent: Tuesday, June 10, 2014 9:11 PM
To: Rom Walton; boinc_dev@ssl.berkeley.edu
Subject: Re: [boinc_dev] failed to compile 7.3.19 on fedora 20

On Tue, Jun 10, 2014 at 12:14:43PM -0400, Rom Walton wrote:
 It looks like the libnotify/gtk dev packages is missing.
 
It looks like I had installed gtk2-devel-2.24.22-2.fc20.x86_64 and 
libnotify-devel-0.7.6-1.fc20.x86_64. Any other packages I should also install?

Thanks.
 - Rom
 
 -Original Message-
 From: boinc_dev [mailto:boinc_dev-boun...@ssl.berkeley.edu] On Behalf 
 Of Han Pingtian
 Sent: Tuesday, June 10, 2014 9:21 AM
 To: boinc_dev@ssl.berkeley.edu
 Subject: [boinc_dev] failed to compile 7.3.19 on fedora 20
 
 Hey there,
 
 I'm trying to compile boinc from source git on a fedora 20 system, but it 
 failed with some error messages:
 
 ... ...
   CXX  boincmgr-taskbarex.o
 In file included from /usr/include/wx-3.0/wx/wx.h:14:0,
  from ./stdwx.h:49,
  from gtk/taskbarex.cpp:20:
 /usr/include/wx-3.0/wx/defs.h:3394:31: error: conflicting declaration 
 ‘typedef struct _GdkWindow GdkWindow’
  typedef struct _GdkWindow GdkWindow;
^
 In file included from /usr/include/gtk-2.0/gdk/gdkscreen.h:32:0,
  from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:31,
  from /usr/include/gtk-2.0/gdk/gdk.h:32,
  from /usr/include/gtk-2.0/gtk/gtk.h:32,
  from gtk/taskbarex.cpp:17:
 /usr/include/gtk-2.0/gdk/gdktypes.h:114:39: error: ‘GdkWindow’ has a previous 
 declaration as ‘typedef struct _GdkDrawable GdkWindow’
  typedef struct _GdkDrawable   GdkWindow;
^ In file included from 
 /usr/include/wx-3.0/wx/cursor.h:69:0,
  from /usr/include/wx-3.0/wx/event.h:21,
  from /usr/include/wx-3.0/wx/wx.h:24,
  from ./stdwx.h:49,
  from gtk/taskbarex.cpp:20:
 /usr/include/wx-3.0/wx/utils.h:603:52: warning: redundant redeclaration of 
 ‘void wxQsort(void*, size_t, size_t, wxSortCallback, const void*)’ in same 
 scope [-Wredundant-decls]
const void* user_data);
 ^ In file included from 
 /usr/include/wx-3.0/wx/list.h:34:0,
  from /usr/include/wx-3.0/wx/wx.h:17,
  from ./stdwx.h:49,
  from gtk/taskbarex.cpp:20:
 /usr/include/wx-3.0/wx/vector.h:44:23: warning: previous declaration of ‘void 
 wxQsort(void*, size_t, size_t, wxSortCallback, const void*)’ 
 [-Wredundant-decls]  WXDLLIMPEXP_BASE void wxQsort(void* pbase, size_t 
 total_elems,
^
 gtk/taskbarex.cpp:77:5: warning: unused parameter ‘notification’ 
 [-Wunused-parameter]
  status_icon_notification_actions(NotifyNotification* notification, gchar 
 *action, wxTaskBarIconEx* taskBarIcon)
  ^
 gtk/taskbarex.cpp:85:5: warning: unused parameter ‘notification’ 
 [-Wunused-parameter]
  status_icon_notification_closed(NotifyNotification* notification, 
 wxTaskBarIconEx* taskBarIcon)
  ^
 make[2]: *** [boincmgr-taskbarex.o] Error 1
 make[2]: Leaving directory `/home/hpt/temp/boinc/clientgui'
 make[1]: *** [all-recursive] Error 1
 make[1]: Leaving directory `/home/hpt/temp/boinc'
 make: *** [all] Error 2
 
 I have installed wxGTK3 on this system, the /usr/include/wx-3.0/wx/defs.h 
 comes from wxGTK3-devel. And the /usr/include/gtk-2.0/gdk/gdktypes.h comes 
 from gtk2-devel.  I'm using './configure --disable-server ' to configure it. 
 Not sure what's wrong, please advise. Thanks!
 
 ___
 boinc_dev mailing list
 boinc_dev@ssl.berkeley.edu
 http://lists.ssl.berkeley.edu/mailman/listinfo/boinc_dev
 To unsubscribe, visit the above URL and (near bottom of page) enter 
 your email address.

___
boinc_dev mailing list
boinc_dev@ssl.berkeley.edu
http://lists.ssl.berkeley.edu/mailman/listinfo/boinc_dev
To unsubscribe, visit the above URL and
(near bottom of page) enter your email address.

Re: [boinc_dev] failed to compile 7.3.19 on fedora 20

2014-06-10 Thread Han Pingtian
On Tue, Jun 10, 2014 at 10:28:25PM -0400, Rom Walton wrote:
 There are a few optional packages:
 xcb-atom
 xcb-util
 
 I'm not really sure what the package name is these days.  The X screensaver 
 and X keyboard/mouse stuff has been re-factored over the years and the 
 package names change.
 

I checked the output of configure, and looks like xcb is OK:

checking for XCB... yes
checking for XCBATOM... yes


 - Rom
 
 -Original Message-
 From: Han Pingtian [mailto:ha...@linux.vnet.ibm.com] 
 Sent: Tuesday, June 10, 2014 9:11 PM
 To: Rom Walton; boinc_dev@ssl.berkeley.edu
 Subject: Re: [boinc_dev] failed to compile 7.3.19 on fedora 20
 
 On Tue, Jun 10, 2014 at 12:14:43PM -0400, Rom Walton wrote:
  It looks like the libnotify/gtk dev packages is missing.
  
 It looks like I had installed gtk2-devel-2.24.22-2.fc20.x86_64 and 
 libnotify-devel-0.7.6-1.fc20.x86_64. Any other packages I should also install?
 
 Thanks.
  - Rom
  
  -Original Message-
  From: boinc_dev [mailto:boinc_dev-boun...@ssl.berkeley.edu] On Behalf 
  Of Han Pingtian
  Sent: Tuesday, June 10, 2014 9:21 AM
  To: boinc_dev@ssl.berkeley.edu
  Subject: [boinc_dev] failed to compile 7.3.19 on fedora 20
  
  Hey there,
  
  I'm trying to compile boinc from source git on a fedora 20 system, but it 
  failed with some error messages:
  
  ... ...
CXX  boincmgr-taskbarex.o
  In file included from /usr/include/wx-3.0/wx/wx.h:14:0,
   from ./stdwx.h:49,
   from gtk/taskbarex.cpp:20:
  /usr/include/wx-3.0/wx/defs.h:3394:31: error: conflicting declaration 
  ‘typedef struct _GdkWindow GdkWindow’
   typedef struct _GdkWindow GdkWindow;
 ^
  In file included from /usr/include/gtk-2.0/gdk/gdkscreen.h:32:0,
   from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:31,
   from /usr/include/gtk-2.0/gdk/gdk.h:32,
   from /usr/include/gtk-2.0/gtk/gtk.h:32,
   from gtk/taskbarex.cpp:17:
  /usr/include/gtk-2.0/gdk/gdktypes.h:114:39: error: ‘GdkWindow’ has a 
  previous declaration as ‘typedef struct _GdkDrawable GdkWindow’
   typedef struct _GdkDrawable   GdkWindow;
 ^ In file included from 
  /usr/include/wx-3.0/wx/cursor.h:69:0,
   from /usr/include/wx-3.0/wx/event.h:21,
   from /usr/include/wx-3.0/wx/wx.h:24,
   from ./stdwx.h:49,
   from gtk/taskbarex.cpp:20:
  /usr/include/wx-3.0/wx/utils.h:603:52: warning: redundant redeclaration of 
  ‘void wxQsort(void*, size_t, size_t, wxSortCallback, const void*)’ in same 
  scope [-Wredundant-decls]
 const void* user_data);
  ^ In file included from 
  /usr/include/wx-3.0/wx/list.h:34:0,
   from /usr/include/wx-3.0/wx/wx.h:17,
   from ./stdwx.h:49,
   from gtk/taskbarex.cpp:20:
  /usr/include/wx-3.0/wx/vector.h:44:23: warning: previous declaration of 
  ‘void wxQsort(void*, size_t, size_t, wxSortCallback, const void*)’ 
  [-Wredundant-decls]  WXDLLIMPEXP_BASE void wxQsort(void* pbase, size_t 
  total_elems,
 ^
  gtk/taskbarex.cpp:77:5: warning: unused parameter ‘notification’ 
  [-Wunused-parameter]
   status_icon_notification_actions(NotifyNotification* notification, 
  gchar *action, wxTaskBarIconEx* taskBarIcon)
   ^
  gtk/taskbarex.cpp:85:5: warning: unused parameter ‘notification’ 
  [-Wunused-parameter]
   status_icon_notification_closed(NotifyNotification* notification, 
  wxTaskBarIconEx* taskBarIcon)
   ^
  make[2]: *** [boincmgr-taskbarex.o] Error 1
  make[2]: Leaving directory `/home/hpt/temp/boinc/clientgui'
  make[1]: *** [all-recursive] Error 1
  make[1]: Leaving directory `/home/hpt/temp/boinc'
  make: *** [all] Error 2
  
  I have installed wxGTK3 on this system, the /usr/include/wx-3.0/wx/defs.h 
  comes from wxGTK3-devel. And the /usr/include/gtk-2.0/gdk/gdktypes.h comes 
  from gtk2-devel.  I'm using './configure --disable-server ' to configure 
  it. Not sure what's wrong, please advise. Thanks!
  
  ___
  boinc_dev mailing list
  boinc_dev@ssl.berkeley.edu
  http://lists.ssl.berkeley.edu/mailman/listinfo/boinc_dev
  To unsubscribe, visit the above URL and (near bottom of page) enter 
  your email address.
 

___
boinc_dev mailing list
boinc_dev@ssl.berkeley.edu
http://lists.ssl.berkeley.edu/mailman/listinfo/boinc_dev
To unsubscribe, visit the above URL and
(near bottom of page) enter your email address.