Site Index - Feedback - Impressum |
| |||||||||
|
|
( Archiv ) | ( Neues Thema ) |
19.06.2005 |
Re: BOINC-Client für OS/2 (seti@home)? (von: setiraz, 12:59:37) | « ^ |
Date: Sat, 18 Jun 2005 17:34:25 -0000
From: "kemyers91384" <keithmyers@comcast.net> To: seti-warp@yahoogroups.com Subject: [seti-warp] Compiling pitfalls explained - any programmers want another shot My plea for help on the BOINC developer boards has elicited this response from Walt Gribben who seems to know the reasons why Chris Graham and David Forrester failed to compile the BOINC source code. The BOINC platform is a client/server application and so is the client, UNLESS you compile with a switch turning OFF inclusion of server code in the client. This is why the previous attempts made mention of MySQL resources not being available. Any programmers want to take another shot at compiling the boinc client code for us OS2/eCS users? Here is the reply I got from Walt: Keith, Not being a programmer is definitely a handicap. However there are two pieces to this - getting the proper "environment" set up so it compiles and making changes to the source code so it runs. The environment - source code, libraries, utilities, compilers - is more of a system admin task which doesn't take programming skills. From reading a few messages on the SetiWarp forum, I don't think the people had the right setup. I had that problem on Windows, until I duplicated the developers setup _exactly_. Then it was a breeze. And much of the documentation on compiling BOINC is pretty recent and not all that easy to find. Does anyone working on the port have access to a Linux system? It would be much easier to get boinc and seti compiled first on Linux. Idea is to figure out how the whole thing is set up and what it takes to compile it. Then try duplicating that on an OS/2 system. A page on running OS/2 and Linux together is at <http://www.scoug.com/warpexpowest/presentations/linux.html>. One thing to remember, both the boinc and seti source branches contain code for the client (the piece that runs on users PC's) _and_ the server. So you have to tell the build process you don't want server code. And theres two branches - boinc and boinc_public. The boinc_public branch has the latest source, but the Seti app uses the boinc branch. The main page on compiling BOINC is <http://boinc.berkeley.edu/compile.php>, it has links to most of the info needed to build the programs. Useful info is "Software Prereqs": <http://boinc.berkeley.edu/build.php>. Nice matrix for what software is needed for the various programs that make up "boinc". Building BOINC on Unix: <http://boinc.berkeley.edu/build_system.php>. It shows the configure options. One of the more important ones is --disable-server. That says not to build any of the server code, which is what uses the mysql database. (Or it might look for the database anyways even though its not needed for the client). Unfortunately, that shows what the options are, but not how to use them. Read "Building BOINC and BOINC Applications on Linux": <http://noether.vassar.edu/~myers/help/boinc/boinc-on-linux.html> for requirements and instructions for a couple of Linux distributions. Thats for building both the client and server code, so keep the --disable-server configure option in mind. Back in March there were several good messages on setting up and compiling the code. The thread index for one such thread is <http://www.ssl.berkeley.edu/pipermail/boinc_dev/2 005-March/thread.html#1880 > (starting at message 1880). And theres useful info in some of the other essages also. Ned Slider did extensive work compiling optimized versions for various CPU's. He put together a FAQ on Linux, including a section on compiling it near the bottom. FAQ is at <http://forums.pcper.com/showthread.php?t=349185>, his seti forum is <http://forums.pcper.com/forumdisplay.php?f=17>. Theres a page with links to boinc/seti ports - <http://boinc.berkeley.edu/download_other.php>. Stefan Urbat has tPowerPC and HPUX listed, SOLARIS@x86 did one for Solaris. So there have been successful ports to non-supported platforms. The sites linked to for these two include source code and compile instructions, which might help in porting to OS/2. Just a few more things. Theres no longer any gui code in boinc (its in boincmgr), so porting it should be easier. Boincmgr isn't actually required, other command line programs/scripts can be run to control boinc. Not that easy to use but does lessen the effort needed to port. Has anyone looked at Odin? Does it work well enough to work "translate" boinc and the seti app? The page at <http://odin.netlabs.org/> doesn't say much and last update was around 6 months ago. Maybe it'll let you run the Windows version of BOINC. Have you seen "Linux Personality for OS/2" - <http://elfldr.netlabs.org/> -? Supposed to let you run Linux binaries on OS/2. Probably not, not much there and it hasn't been updated since 2002. Some areas that are different between OS/2 and Linux are shared libraries, threads, attaching new processes and shared memory. Thats pretty consistent with other platforms also, one reason to check out the other ports. IBM has a lot on porting OS/2 apps to Linux: <http://www-106.ibm.com/developerworks/eserver/art icles/linux_c.html?t=gr,p1 0=OS2toLinux> <http://www-106.ibm.com/developerworks/linux/library/l-osmig2.html> Mhttp://www.ibm.com/developerworks/library/l-osmig3.html> While these talk about porting to Linux, they can also be used to do the reverse. Last, when searching the boinc forums/message boards, its important to click the "search" button instead of pressing the enter key after typing the search argument. Just pressing the enter key ends up sending an empty search string, which won't get any results. A major PITA, but thats how it works. Walt [walt@dual walt]$ uptime 03:04:52 up 215 days, 5:53, 2 users, load average: 2.00, 2.01, 2.00 Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/seti-warp/ <*> To unsubscribe from this group, send an email to: seti-warp-unsubscribe@yahoogroups.com <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/ [ Leser: 26 ] |
|
Mit * markierte Felder müssen ausgefüllt werden ! |
( Zeige alle Einträge ) | ( Zur Startübersicht ) |
|
| Ingo | 105 | 06.06.2005 | 20:01 |
| Marc | 97 | 06.06.2005 | 21:37 |
| Ingo | 95 | 06.06.2005 | 21:47 |
| michael | 86 | 07.06.2005 | 08:56 |
| michael | 86 | 07.06.2005 | 09:07 |
| Marcus Wellmann | 74 | 07.06.2005 | 18:15 |
| Ingo | 69 | 07.06.2005 | 19:15 |
| Marcus | 69 | 07.06.2005 | 19:35 |
| Marcus | 70 | 07.06.2005 | 19:41 |
| SETIRaz | 57 | 09.06.2005 | 10:30 |
| Ingo | 49 | 11.06.2005 | 13:41 |
| setiraz | 26 | 19.06.2005 | 12:59 |
|