boinc3-seti won't compile in NetBSD 4.0


log in

Advanced search

Questions and Answers : Unix/Linux : boinc3-seti won't compile in NetBSD 4.0

Author Message
Comet
Send message
Joined: 27 Jul 08
Posts: 5
Credit: 116,157
RAC: 0
United States
Message 789868 - Posted: 30 Jul 2008, 14:32:47 UTC
Last modified: 30 Jul 2008, 14:34:20 UTC

Hey there guys. This might be an odd ball question but maybe someone can point me in the right direction.

I'm trying to get SETI@HOME to work on my NetBSD box. I got the boinc3-client working that I compiled through NetBSD's /usr/pkgsrc collection. (Similar to FreeBSD's ports) It runs without a problem. However it cannot connect properly to the SETI servers and I think it's because I need the boinc3-seti package which must install additional files necessary for the boinc3-client to work properly.

Here's the compilation error I get:

../db/db_table.h: In instantiation of 'db_table<spike>': ../db/schema_master.h:526: instantiated from here ../db/db_table.h:77: error: template-id 'operator<< <spike>' for 'std::basic_ostream<char, std::char_traits<char> >& operator<<(std::basic_ostream<char, std::char_traits<char> >&, const db_table<spike>&)' does not match any template declaration ../db/db_table.h:78: error: template-id 'operator>><spike>' for 'std::basic_istream<char, std::char_traits<char> >& operator>>(std::basic_istream<char, std::char_traits<char> >&, db_table<spike>&)' does not match any template declaration gmake[1]: *** [main.o] Error 1 gmake[1]: Leaving directory `/usr/pkgsrc/net/boinc3-seti/work/seti_boinc/client' gmake: *** [all] Error 2 *** Error code 2 Stop. make: stopped in /usr/pkgsrc/net/boinc3-seti *** Error code 1


Unfortunately NetBSD doesn't provide a binary package for boinc3-seti either, just the client and the libs.

It's not a huge deal to get this working, but if anyone might know what the compilation errors I'm getting mean, I'd appreciate any insight.

Thanks so much for your help!

Dotsch
Volunteer tester
Avatar
Send message
Joined: 9 Jun 99
Posts: 2422
Credit: 847,896
RAC: 11
Germany
Message 789902 - Posted: 30 Jul 2008, 16:05:06 UTC
Last modified: 30 Jul 2008, 16:06:20 UTC

The BOINC and SETI version included in the NetBSD port sources is very obsolated. BOINC 5 is actual and BOINC 6 is comming soon...

Please have a look for actual BOINC clients, SETI and Astropulse applications for NetBSD on several platforms on my homepage : www.dotsch.de
____________

Comet
Send message
Joined: 27 Jul 08
Posts: 5
Credit: 116,157
RAC: 0
United States
Message 790121 - Posted: 30 Jul 2008, 23:49:51 UTC - in response to Message 789902.

The BOINC and SETI version included in the NetBSD port sources is very obsolated. BOINC 5 is actual and BOINC 6 is comming soon...

Please have a look for actual BOINC clients, SETI and Astropulse applications for NetBSD on several platforms on my homepage : www.dotsch.de



wow! thanks so much for this! worked like a dream and your documentation was spot on!

i appreciate your work in creating something like this for NetBSD people to use. in case they ever create a new version of NetBSD, I'd hope they incorporate this in their pkgsrc. great work my friend!!

Dotsch
Volunteer tester
Avatar
Send message
Joined: 9 Jun 99
Posts: 2422
Credit: 847,896
RAC: 11
Germany
Message 790471 - Posted: 31 Jul 2008, 16:53:56 UTC

Thank you very much for your nice feedback ! - I am very happy that is was easy to install.

Have you installed the SETI and the Astropulse application ?
I have verfied your hosts, and seen that the NetBSD systems has not fetched any work. Have you installed the SETI and Astropulse applications ? - If yes, a restart of the BOINC client with "./boinc_client --update_prefs http://setiathome.berkeley.edu" would help.
____________

Comet
Send message
Joined: 27 Jul 08
Posts: 5
Credit: 116,157
RAC: 0
United States
Message 790579 - Posted: 31 Jul 2008, 22:57:18 UTC - in response to Message 790471.
Last modified: 31 Jul 2008, 22:59:21 UTC

ahh yes indeed you are correct. I installed the proper SETI application but it appears I'm still not downloading anything from seti. At first it was able to download the master file and the png files, but it won't fetch any work nor does it attempt to.

here's what happens:

bash-3.2$ ./boinc_client --update_prefs http://setiathome.berkeley.edu 31-Jul-2008 18:54:38 [---] Starting BOINC client version 5.10.45 for i386-pc-netbsd 31-Jul-2008 18:54:38 [---] log flags: task, file_xfer, sched_ops 31-Jul-2008 18:54:38 [---] Libraries: libcurl/7.17.0 OpenSSL/0.9.7d zlib/1.1.4 31-Jul-2008 18:54:38 [---] Data directory: /opt/boinc 31-Jul-2008 18:54:38 [---] Processor: 1 i386 AMD Athlon XP 2100+ (686-class) 31-Jul-2008 18:54:38 [---] Processor features: 31-Jul-2008 18:54:38 [---] OS: NetBSD: 4.0 31-Jul-2008 18:54:38 [---] Memory: 511.56 MB physical, 1.95 GB virtual 31-Jul-2008 18:54:38 [---] Disk: 622.98 MB total, 559.36 MB free 31-Jul-2008 18:54:38 [---] Local time is UTC -4 hours 31-Jul-2008 18:54:38 [SETI@home] URL: http://setiathome.berkeley.edu/; Computer ID: 4507360; location: (none); project prefs: default 31-Jul-2008 18:54:38 [---] No general preferences found - using BOINC defaults 31-Jul-2008 18:54:38 [---] Preferences limit memory usage when active to 255.78MB 31-Jul-2008 18:54:38 [---] Preferences limit memory usage when idle to 460.40MB 31-Jul-2008 18:54:38 [---] Preferences limit disk usage to 0.30GB


at this point, it just sits there. i must be missing something hehe

again, thanks for all your time and assistance with helping me.

Dotsch
Volunteer tester
Avatar
Send message
Joined: 9 Jun 99
Posts: 2422
Credit: 847,896
RAC: 11
Germany
Message 790771 - Posted: 1 Aug 2008, 5:02:47 UTC

The messages say, inidicates that the app_info.xml was not found.
Could you please verify, if in the $BOINC_DIRECTORY/projects/setiathome.berkeley.edu the files app_info.xml and setiathome-5* are installed. If not install the files from the package there. -> $BOINC_DIRECTORY is the direcory, where the BOINC client is installed.
If the files are exists, stop the BOINC client and start it again with "./boinc_client --update_prefs http://setiathome.berkeley.edu".

Btw. a detailed installation info is also included in the SETI and Astropulse packages in opt/boinc/doc/install.seti and install.astropulse.
____________

Comet
Send message
Joined: 27 Jul 08
Posts: 5
Credit: 116,157
RAC: 0
United States
Message 791203 - Posted: 2 Aug 2008, 2:43:45 UTC - in response to Message 790771.

i started from scratch and appear to have gotten everything correct :-D i think it appears to be working now???

bash-3.2$ ./boinc_client 01-Aug-2008 22:38:14 [---] Starting BOINC client version 5.10.45 for i386-pc-netbsd 01-Aug-2008 22:38:14 [---] log flags: task, file_xfer, sched_ops 01-Aug-2008 22:38:14 [---] Libraries: libcurl/7.17.0 OpenSSL/0.9.7d zlib/1.1.4 01-Aug-2008 22:38:14 [---] Data directory: /opt/boinc 01-Aug-2008 22:38:14 [SETI@home] Found app_info.xml; using anonymous platform 01-Aug-2008 22:38:14 [---] Processor: 1 i386 AMD Athlon XP 2100+ (686-class) 01-Aug-2008 22:38:14 [---] Processor features: 01-Aug-2008 22:38:14 [---] OS: NetBSD: 4.0 01-Aug-2008 22:38:14 [---] Memory: 511.56 MB physical, 1.95 GB virtual 01-Aug-2008 22:38:14 [---] Disk: 622.98 MB total, 553.97 MB free 01-Aug-2008 22:38:14 [---] Local time is UTC -4 hours 01-Aug-2008 22:38:14 [SETI@home] URL: http://setiathome.berkeley.edu/; Computer ID: 4509359; location: (none); project prefs: default 01-Aug-2008 22:38:14 [---] No general preferences found - using BOINC defaults 01-Aug-2008 22:38:14 [---] Preferences limit memory usage when active to 255.78MB 01-Aug-2008 22:38:14 [---] Preferences limit memory usage when idle to 460.40MB 01-Aug-2008 22:38:14 [---] Preferences limit disk usage to 0.30GB 01-Aug-2008 22:38:14 [SETI@home] Started download of 05jn08ac.29266.926274.8.8.148 01-Aug-2008 22:38:14 [SETI@home] Started download of arecibo_181.png 01-Aug-2008 22:38:14 [SETI@home] Sending scheduler request: To fetch work. Requesting 4793 seconds of work, reporting 0 completed tasks 01-Aug-2008 22:38:17 [SETI@home] Finished download of arecibo_181.png 01-Aug-2008 22:38:17 [SETI@home] Started download of sah_40.png 01-Aug-2008 22:38:18 [SETI@home] Finished download of sah_40.png 01-Aug-2008 22:38:18 [SETI@home] Started download of sah_banner_290.png 01-Aug-2008 22:38:19 [SETI@home] Finished download of sah_banner_290.png 01-Aug-2008 22:38:19 [SETI@home] Started download of sah_ss_290.png 01-Aug-2008 22:38:19 [SETI@home] Scheduler request succeeded: got 1 new tasks 01-Aug-2008 22:38:20 [SETI@home] Finished download of 05jn08ac.29266.926274.8.8.148 01-Aug-2008 22:38:20 [SETI@home] Finished download of sah_ss_290.png 01-Aug-2008 22:38:21 [SETI@home] Started download of 05jn08aa.29941.6207.5.8.44 01-Aug-2008 22:38:21 [SETI@home] Starting 05jn08ac.29266.926274.8.8.148_0 01-Aug-2008 22:38:21 [SETI@home] Starting task 05jn08ac.29266.926274.8.8.148_0 using setiathome_enhanced version 527 01-Aug-2008 22:38:27 [SETI@home] Finished download of 05jn08aa.29941.6207.5.8.44

Dotsch
Volunteer tester
Avatar
Send message
Joined: 9 Jun 99
Posts: 2422
Credit: 847,896
RAC: 11
Germany
Message 791319 - Posted: 2 Aug 2008, 10:52:37 UTC

Looks fine !
Your system has downloaded and already finished one SETI WU successfull !
____________

Comet
Send message
Joined: 27 Jul 08
Posts: 5
Credit: 116,157
RAC: 0
United States
Message 791379 - Posted: 2 Aug 2008, 13:33:09 UTC - in response to Message 791319.

EXCELLENT! Go Athlon 2100+ Go!!! She looks so lonely next to the Pentium 4, The Core 2 Duo, and the Xeon :~(

but she's crunchin' just fine ;-D

thanks SO much for your help Dotcsh. After starting from scratch and following all the directions carefully, i got it working no problem. this is great work! all hail netbsd!!!

Dotsch
Volunteer tester
Avatar
Send message
Joined: 9 Jun 99
Posts: 2422
Credit: 847,896
RAC: 11
Germany
Message 791524 - Posted: 2 Aug 2008, 19:26:43 UTC

:-)
Great that it work !

Btw. if you are interested in other projects, SIMAP has a native NetBSD i386 applications, too. It's also posible to crunch Rosetta and MalariaControl on NetBSD with the Linux Compat. A howto for the BSD Linux Compat and BOINC is available on my homepage, too.
____________

Questions and Answers : Unix/Linux : boinc3-seti won't compile in NetBSD 4.0

Copyright © 2014 University of California