boincmgr not built with SVN tag boinc_core_release_6_12_34

Message boards : Questions and problems : boincmgr not built with SVN tag boinc_core_release_6_12_34
Message board moderation

To post messages, you must log in.

AuthorMessage
RelativePrime

Send message
Joined: 27 Nov 11
Posts: 5
United States
Message 41338 - Posted: 27 Nov 2011, 17:18:12 UTC

I am having trouble understanding how boincmgr gets built, and why it is built when using code from trunk, but not from a tag release version. Specifically:

Following directions at: http://boinc.berkeley.edu/trac/wiki/SourceCode

Compiled boinc from source, SVN trunk (Currently Version 6.13.12)
 svn co http://boinc.berkeley.edu/svn/trunk/boinc boinc-svn
 cd boinc-svn/
 ./_autosetup 
 ./configure --disable-server --enable-client CXXFLAGS="-O3 "
cd /package/generic/sea
make


Compiles fine, boinc and boinc manager run, but GPUGrid tasks never start displaying only "Ready to Start (scheduler wait)"

I believe this is due to changes in how the 6.13 branch scheduler works with some projects(?) - okay no problem, I figured I would just build the recommended version from SVN and it would work, since building the above was relatively painless, so onward . . .

Let's try building the 6_12_34 tag, the recommended version.
svn co http://boinc.berkeley.edu/svn/tags/boinc_core_release_6_12_34 BOINC-6_12_34
cd BOINC-6_12_34
./_autosetup
./configure --disable-server --enable-client CXXFLAGS="-O3 "
cd /package/generic/sea
make

cp ../../../stage//usr/local/bin/boincmgr BOINC/boincmgr
cp: cannot stat `../../../stage//usr/local/bin/boincmgr': No such file or directory
make: *** [BOINC/boincmgr] Error 1


Nope - this runs amok too. It does not build boincmgr - I tried make stage after make, but that does not build boincmgr either.

It is unclear how you are supposed to build boincmgr in a tag version, and there is no information why the build process for this is different than that for the latest svn version above, which does build boincmgr? What am I missing here?

Thanks for any suggestions, I appreciate it.
ID: 41338 · Report as offensive
Rom Walton
Project developer
Avatar

Send message
Joined: 26 Aug 05
Posts: 164
Message 41363 - Posted: 28 Nov 2011, 19:32:12 UTC - in response to Message 41338.  

There was a bug in the build system that was fixed in trunk. to build the manager, just cd into the clientgui directory and run make from there.

----- Rom
BOINC Development Team, U.C. Berkeley
My Blog
ID: 41363 · Report as offensive
RelativePrime

Send message
Joined: 27 Nov 11
Posts: 5
United States
Message 41373 - Posted: 29 Nov 2011, 2:08:45 UTC - in response to Message 41363.  

Hi Rom,

Thanks for the hint - I swear I had tried that, apparently not.

Might you have a suggestion for resolving the build error I get when I try to run make in clientgui (6_13_12 tag)?

g++ -DHAVE_CONFIG_H -I. -I..  -I../lib -I../api -I../db -I../client -I../tools -I../sched -I../lib/mac -pthread -I/usr/lib64/wx-2.8-wxcontainer/wx/include/gtk2-unicode-release-2.8 -I/usr/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__  -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include      -I/usr/lib64/wx-2.8-wxcontainer/wx/include/gtk2-unicode-release-2.8 -I/usr/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__ -pthread  -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include    -g -O2 -Wall -MT boincmgr-taskbarex.o -MD -MP -MF .deps/boincmgr-taskbarex.Tpo -c -o boincmgr-taskbarex.o `test -f 'gtk/taskbarex.cpp' || echo './'`gtk/taskbarex.cpp
gtk/taskbarex.cpp:20:21: error: gtk/gtk.h: No such file or directory
In file included from /usr/include/libnotify/notify.h:28,
                 from gtk/taskbarex.cpp:25:
/usr/include/libnotify/notification.h:87: error: ‘GtkStatusIcon’ has not been declared
/usr/include/libnotify/notification.h:98: error: ‘GtkStatusIcon’ has not been declared
/usr/include/libnotify/notification.h:101: error: ‘GdkScreen’ has not been declared


configure reported:

checking gtk/gtk.h usability... no
checking gtk/gtk.h presence... no
checking for gtk/gtk.h... no


Is it that m4/gtk-2.0.m4 is not finding /usr/include/gtk-2.0/gtk/gtk.h or some such? Do I need to specify something with pkg-config for the GTK+-2 libs or some magic?

Any pointers on how I might get this to build are appreciated.

(Google shows this issue is not uncommon, but I've not been able to locate a fix, nor figure out what is off in the build environment to fix it.)

Cheers,


ID: 41373 · Report as offensive
Profile Trog Dog
Avatar

Send message
Joined: 6 May 06
Posts: 287
Australia
Message 41380 - Posted: 29 Nov 2011, 11:02:01 UTC

I'd say that looks like the build is looking for libnotify thats been compiled with gtk support, have a look at the libnotify packages available and see if there are any with gtk/gdk options. (not a programmer so happy to be corrected by Rom or anybody else)
CIC1=CC=C(C2=N[C@@H](CC(OC(C)(C)C)=O)C3=NN=C(C)N3C4=C2C(C)=C(C)S4)C=C1
ID: 41380 · Report as offensive
RelativePrime

Send message
Joined: 27 Nov 11
Posts: 5
United States
Message 41399 - Posted: 29 Nov 2011, 23:24:08 UTC - in response to Message 41380.  

Hey there,

The thing is though that it compiles fine with trunk, but not 6_12_34, which just seems a bit odd, and makes me think it is really more a question of an environmental or pkg-config deal.

Pete
ID: 41399 · Report as offensive
Cane Kostovski

Send message
Joined: 10 Mar 08
Posts: 2
United States
Message 45820 - Posted: 27 Sep 2012, 11:56:59 UTC

I have OpenSUSE 12.2 and Boinc 7.0.28 for Linux x64.

I kept getting messages of missing wxWidgets (eg: libwx_* files). I used YAST to install all the wxWidgets that did not have the word "compatible" in the package name.

After that, I got this error message:
./boincmgr 
./boincmgr: relocation error: ./boincmgr: symbol _ZTV16wxWindowListNode, version WXU_2.8 not defined in file libwx_gtk2u_core-2.8.so.0 with link time reference


I used this command and it worked!!!
for file in /usr/lib64/wx-2.8-wxcontainer/*.so.0; do ln -s $file /usr/lib64; done;

ID: 45820 · Report as offensive

Message boards : Questions and problems : boincmgr not built with SVN tag boinc_core_release_6_12_34

Copyright © 2024 University of California.
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.