climateprediction.net (CPDN) home page
Thread 'Can\'t get it to run'

Thread 'Can\'t get it to run'

Questions and Answers : Macintosh : Can\'t get it to run
Message board moderation

To post messages, you must log in.

AuthorMessage
Profileold_user274

Send message
Joined: 6 Aug 04
Posts: 5
Credit: 24,998
RAC: 0
Message 1091 - Posted: 17 Aug 2004, 10:25:39 UTC

I have followed the instructions, but end with a permission denied message. Here is what I get in Terminal:

Last login: Tue Aug 17 11:04:13 on console
Welcome to Darwin!
[Matthew-Buckleys-Computer:~] matthewbuckley% cd /Applications/BOINC:CPDN
[Matthew-Buckleys-Computer:/Applications/BOINC:CPDN] matthewbuckley% chmod +x/Applications/BOINC:CPDN/boinc_4.02_powerpc-apple-darwin
usage: chmod [-R [-H | -L | -P]] mode file ...
[Matthew-Buckleys-Computer:/Applications/BOINC:CPDN] matthewbuckley% ./boinc_4.02_powerpc-apple-darwin
./boinc_4.02_powerpc-apple-darwin: Permission denied.

I am running OSX 10.2.8 on a dual 1.25ghz G4

Do I need system 10.3?
ID: 1091 · Report as offensive     Reply Quote
Profileold_user849

Send message
Joined: 14 Aug 04
Posts: 37
Credit: 276,676
RAC: 0
Message 1115 - Posted: 17 Aug 2004, 16:02:54 UTC

Do I need system 10.3?


I run 10.3.5 and I have had this problem in the past.

What I did was to clear out any old BOINC stuff, run 'Repair Permissions' in the Disk Utilities, and reboot. Then tried again.

K.


ID: 1115 · Report as offensive     Reply Quote
Profileold_user274

Send message
Joined: 6 Aug 04
Posts: 5
Credit: 24,998
RAC: 0
Message 1152 - Posted: 17 Aug 2004, 21:37:48 UTC - in response to Message 1115.  

Tried repairing permissions and reboot. Nothing happened, and this is what I got in Terminal:

Last login: Tue Aug 17 22:33:29 on console
Welcome to Darwin!
[Matthew-Buckleys-Computer:~] matthewbuckley% cd /Applications/BOINC:CPDN
[Matthew-Buckleys-Computer:/Applications/BOINC:CPDN] matthewbuckley% chmod +x/Applications/BOINC:CPDN/boinc_4.02_powerpc-apple-darwin
usage: chmod [-R [-H | -L | -P]] mode file ...
[Matthew-Buckleys-Computer:/Applications/BOINC:CPDN] matthewbuckley% ./boinc_4.02_powerpc-apple-darwin
dyld: ./boinc_4.02_powerpc-apple-darwin Undefined symbols:
./boinc_4.02_powerpc-apple-darwin undefined reference to _btowc expected to be defined in /usr/lib/libSystem.B.dylib
./boinc_4.02_powerpc-apple-darwin undefined reference to _iswctype expected to be defined in /usr/lib/libSystem.B.dylib
./boinc_4.02_powerpc-apple-darwin undefined reference to _mbsrtowcs expected to be defined in /usr/lib/libSystem.B.dylib
./boinc_4.02_powerpc-apple-darwin undefined reference to _towlower expected to be defined in /usr/lib/libSystem.B.dylib
./boinc_4.02_powerpc-apple-darwin undefined reference to _towupper expected to be defined in /usr/lib/libSystem.B.dylib
./boinc_4.02_powerpc-apple-darwin undefined reference to _wcscoll expected to be defined in /usr/lib/libSystem.B.dylib
./boinc_4.02_powerpc-apple-darwin undefined reference to _wcsftime expected to be defined in /usr/lib/libSystem.B.dylib
./boinc_4.02_powerpc-apple-darwin undefined reference to _wcslen expected to be defined in /usr/lib/libTrace/BPT trap
[Matthew-Buckleys-Computer:/Applications/BOINC:CPDN] matthewbuckley%

Any ideas?
ID: 1152 · Report as offensive     Reply Quote
Christian Hoklas

Send message
Joined: 5 Aug 04
Posts: 11
Credit: 63,408
RAC: 0
Message 1164 - Posted: 18 Aug 2004, 7:12:23 UTC

Hello,

it seems that your chmod-command did not work correctly. You have to fill in a blank space right after the "+x". So the whole command will look like the following (without the quotes):

"chmod +x /Applications/BOINC:CPDN/boinc_4.02_powerpc-apple-darwin"

It worked correctly if you do NOT get ANY message after this command. You will only get your command prompt back. Then you should get the boinc-client working in the way you did:

"./boinc_4.02_powerpc-apple-darwin"

I hope this will solve your problem and we will get another Mac to this nice project. I am not sure whether repair permissions will also help you. If the description above does not cure the problem, could you please do the following command in your boinc directory and tell us what you get.

"ls -l ./boinc_4.02_powerpc-apple-darwin"

It should be something like this (at least this is what I get and the client works for me):

BigMac:~/boinc choklas$ ls -l ./boinc_4.02_powerpc-apple-darwin
-rwxr-xr-x 1 choklas choklas 5832096 5 Aug 11:20 ./boinc_4.02_powerpc-apple-darwin

Hope to hear how it will work out! If it again does not work, I have another idea, but we will see that later. ;-)
ID: 1164 · Report as offensive     Reply Quote
old_user1
Avatar

Send message
Joined: 5 Aug 04
Posts: 907
Credit: 299,864
RAC: 0
Message 1166 - Posted: 18 Aug 2004, 9:04:40 UTC - in response to Message 1164.  

You could try compiling the BOINC client on your mac, just unzip the latest copy, run "./configure --disable-server" and hopefully in the "client" subdir you will get a boinc_client. Although I think it may be that Mac requires version 10.3 Darwin as there are missing functions in the library it looks like?

ID: 1166 · Report as offensive     Reply Quote
Profileold_user274

Send message
Joined: 6 Aug 04
Posts: 5
Credit: 24,998
RAC: 0
Message 1186 - Posted: 18 Aug 2004, 15:56:20 UTC - in response to Message 1164.  

Thanks for the advice.

I tried again following your instructions, but no dice.

Tried the "ls -l ./boinc_4.02_powerpc-apple-darwin" command, and this is what I got.

Last login: Wed Aug 18 16:52:21 on ttyp1
Welcome to Darwin!
[Matthew-Buckleys-Computer:~] matthewbuckley% cd /Applications/BOINC:CPDN
[Matthew-Buckleys-Computer:/Applications/BOINC:CPDN] matthewbuckley% ls -l ./boinc_4.02_powerpc-apple-darwin
-rwxr-xr-x 1 matthewb staff 5832096 Aug 5 10:20 ./boinc_4.02_powerpc-apple-darwin
[Matthew-Buckleys-Computer:/Applications/BOINC:CPDN] matthewbuckley%
ID: 1186 · Report as offensive     Reply Quote
Christian Hoklas

Send message
Joined: 5 Aug 04
Posts: 11
Credit: 63,408
RAC: 0
Message 1209 - Posted: 18 Aug 2004, 19:43:19 UTC - in response to Message 1186.  

> Tried the "ls -l ./boinc_4.02_powerpc-apple-darwin" command, and this is what
> I got.

Mmhh, I thought it might be a problem with the permissions, but everything seems to be correct. It really seems to be a problem with 10.2.x. At first glance, I also did not find anyone with OSX 10.2.x currently running the client in the participants lists. Sadly, Carls cpu/timestep table does not provide detailed information about the version of the Darwin being used. Problems discussed in other threads also seem to be linked with problems under 10.2.x. And AFAIK, Carl just has "his" iBook in the "dungeon" and so he does not have the chance to compile for 10.2.x.

Is there anybody running boinc 4.02 on OSX 10.2.x sucessfully??
ID: 1209 · Report as offensive     Reply Quote
old_user475
Avatar

Send message
Joined: 7 Aug 04
Posts: 14
Credit: 284,832
RAC: 0
Message 1269 - Posted: 19 Aug 2004, 20:20:48 UTC

Yes, you need 10.3.x or later.

BOINC Dev has not been able to create a Mac Client that runs reliable under 10.2.x. I suspect a Jaguar compatible client will probably require some recoding, and that is pretty low on the to do list, from what I understand.

If you can get the 4.02 source code, you can try to re-compile under Jaguar but it is still a bit flakey.

The Jaguar compiles being used on Predictor and SETI are still hit and miss.
<a href="http://team.macnn.com"><img src="http://www4.macnn.com/team/sigs/TeamSig3.gif"></a>
Join the best Macintosh team ever assembled.
(It's okay to bring along your other computers)
ID: 1269 · Report as offensive     Reply Quote
Profileold_user274

Send message
Joined: 6 Aug 04
Posts: 5
Credit: 24,998
RAC: 0
Message 1565 - Posted: 24 Aug 2004, 16:28:43 UTC - in response to Message 1269.  

Installed 10.3, and it's now running fine.
ID: 1565 · Report as offensive     Reply Quote

Questions and Answers : Macintosh : Can\'t get it to run

©2024 cpdn.org