Thread 'Building BOINC on a G5 (PPC)'

Message boards : BOINC Manager : Building BOINC on a G5 (PPC)
Message board moderation

To post messages, you must log in.

AuthorMessage
[BMF]KRaPuuL

Send message
Joined: 8 Mar 07
Posts: 1
Belgium
Message 8623 - Posted: 8 Mar 2007, 12:43:10 UTC

Hello,

I'm having troubles building the boinc manager on my Mac.
I have followed the instructions on http://boinc.berkeley.edu/mac_build.php

But when i perform the command source setupForBoinc.sh -clean I get the following error:
url.c:82:18: error: idna.h: No such file or directory
url.c:83:17: error: tld.h: No such file or directory
url.c:84:24: error: stringprep.h: No such file or directory
url.c:86:22: error: idn-free.h: No such file or directory
url.c: In function 'tld_check_name':
url.c:2517: error: 'IDNA_SUCCESS' undeclared (first use in this function)
url.c:2517: error: (Each undeclared identifier is reported only once
url.c:2517: error: for each function it appears in.)
url.c:2521: error: 'TLD_INVALID' undeclared (first use in this function)
url.c:2524: error: 'Tld_rc' undeclared (first use in this function)
url.c:2524: error: parse error before 'rc'
url.c:2541: error: 'TLD_SUCCESS' undeclared (first use in this function)
url.c: In function 'fix_hostname':
url.c:2561: error: 'IDNA_SUCCESS' undeclared (first use in this function)
make[2]: *** [url.lo] Error 1
make[1]: *** [all] Error 2
make: *** [all-recursive] Error 1


What am I doing wrong? If you need more info, just ask away :-).

Thanks already for the help offered
BOINC.BE: For Belgians who love the smell of glowing red cpu's in the morning
ID: 8623 · Report as offensive
Charlie Fenton
Project developer

Send message
Joined: 17 Jul 06
Posts: 287
United States
Message 8654 - Posted: 10 Mar 2007, 9:59:03 UTC - in response to Message 8623.  
Last modified: 10 Mar 2007, 10:00:11 UTC

I'm having troubles building the boinc manager on my Mac.
I have followed the instructions on http://boinc.berkeley.edu/mac_build.php

The errors you are seeing indicate that the configure step in building cURL determined you have something called the 'idn' library installed on your system, and so the build of cURL is trying to use it. This library is normally not present on the Mac. If you do want to use it, you need to make sure your search paths are set up to find it.

My first question is: why do you need to build the BOINC Manager yourself instead of using the pre-built installers on the download page? Building the BOINC Manager generally requires a high level of expertise in UNIX, XCode, etc.

The instructions on that web page are for the source files from the current HEAD branch of CVS. How did you get the source files you are building from? Which branch of the BOINC CVS tree are you using?

Be sure you are following the build instructions included with the version of BOINC source files you are using, which may be different from the ones on the web page. As it says in the build instructions:
Note: the information in this document changes from time to time for different versions of BOINC. For any version of BOINC source files, the corresponding version of this document can be found in the source tree at:
boinc/mac_build/HowToBuildBOINC_XCode.rtf

That said, there was an error in the build instructions which I fixed very recently: they refererred to curl-7.5.15 when they should have said curl-7.15.5. The CVS HEAD branch has just been upgraded to use curl-7.16.1.

Charlie Fenton
BOINC / SETI@home Macintosh & Windows Programmer
ID: 8654 · Report as offensive

Message boards : BOINC Manager : Building BOINC on a G5 (PPC)

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.