Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

yojitani

macrumors 68000
Original poster
Apr 28, 2005
1,858
10
An octopus's garden
This looks like a pretty useful tool to me if only I could translate the installation instructions into a language I understand! Please help!

Here are the instructions:

Install GCALDaemon into the '/usr/local/sbin' directory

1) GCALDaemon supporting a Java Virtual Machine (VM) such as found in Sun's JDK or JRE, version 1.5 or higher. This can be obtained for free from java.sun.com. You can verify your existing Java version with the following console command:

java -version

java version "1.6.0"
Java(TM) SE Runtime Environment (build 1.6.0-b105)
Java HotSpot(TM) Client VM (build 1.6.0-b105, mixed mode, sharing)

2) Download the latest Linux-compatible ZIP file from SourceForge.net into your '/downloads' directory (or into your accustomed download directory).

3) Unzip this archive under the '/usr/local/sbin' directory. If the '/usr/local/sbin' directory does not exists, create it manually with 'mkdir'. Then change the group ownership and set the rights.

cd /usr/local/sbin
sudo unzip /downloads/gcaldaemon-linux-1.x.zip

sudo chgrp -R admin /usr/local/sbin/GCALDaemon
sudo chmod -R g+w /usr/local/sbin/GCALDaemon
sudo chmod 755 /usr/local/sbin/GCALDaemon/bin/*.sh

4) Test your configuration with the 'standalone-start.sh' script.

cd /usr/local/sbin/GCALDaemon/bin
./standalone-start.sh

5) If you see something similar to the messages above, your installation has succeeded.

INFO | GCALDaemon V1.0 beta 8 starting...
INFO | Local time zone is Pacific Standard Time.
INFO | HTTP server starting on port 9090...
INFO | RSS/ATOM feed converter enabled.
INFO | HTTP server started successfully.
INFO | File listener disabled.
INFO | LDAP server disabled.
INFO | Gmail notifier disabled.
INFO | Sendmail service disabled.

From step 3, I'm lost. If I try the sudo command in terminal it tells me it can't find the file, even though I have changed 'downloads' to 'desktop' (I downloaded the file there) and changed the name of the file to match the one I downloaded. I have no idea about what the cd/usr/ etc etc means. How do I 'unzip under this directory'? If I don't have it, how do make it?? Help!!

Thanks!
 
cd = change directory. On a standard Mac the directory (or folder in Mac terms) /usr/local/bin does not exist. It appears you are trying to install Linux software. Unless this has been recompiled for Mac OSX this will not work.

If you want to continue trying this you will need to create /usr/local/bin

You can do this via sudo mkdir -p /usr/local/bin

Note that sudo will only work if you try this as an Administrator.

Also you say you downloaded the file to your desktop. This is not /desktop or anything like it. You need to specify the correct full Unix path. This is case sensitive and would normally be something like /Users/<your user short name/Desktop (obviously put your user short name in the correct place).
 
*Looks at stack of UNIX books*


ahhhhhhh UNIX:mad:

There is a lot of helpful resources on the web dealing with UNIX commands and a lot of these sites deal with UNIX on a Mac.There are also a lot of books dealing with running UNIX on a Mac. This is my fav book here at work

0131863339.01._SCLZZZZZZZ_V24594685_AA240_.jpg
 
Also you say you downloaded the file to your desktop. This is not /desktop or anything like it. You need to specify the correct full Unix path. This is case sensitive and would normally be something like /Users/<your user short name/Desktop (obviously put your user short name in the correct place).

Although you are correct, there is a simpler way:

~/Desktop

For example, typing:

cd ~

will change directory to your home folder (i.e. Users/you/ )
 
Although you are correct, there is a simpler way:

~/Desktop

For example, typing:

cd ~

will change directory to your home folder (i.e. Users/you/ )

I'm well aware of that: I write Unix based server software for a living :D I was trying to keep things as simple and straight forward for the OP as possible. In my experience the whole ~ can be a bit :eek: for people the first time they try and use a Unix shell :)
 
Thanks all for your help so far. You are talking to a complete unix dummy, I appreciate the simplicity you've explained things thus far. Here's where I'm stuck though:
sudo unzip /downloads/gcaldaemon-linux-1.x.zip

do I need to change this command? I think robbie is telling me to change this to Users/myshortusername/Desktop/gcaldaemon-linux-1.x.zip

But this doesn't work.

Thanks!
 
Saying "it doesn't work" is absolutely no help to anyone. To work out what you are doing wrong we need the exact output of the command. And I ask again: is this Linux software? Because if it is it won't work[/url]. If you have an OSX version then it should. Also have you created the directory via the cd command I suggested above?
 
Saying "it doesn't work" is absolutely no help to anyone. To work out what you are doing wrong we need the exact output of the command. And I ask again: is this Linux software? Because if it is it won't work[/url]. If you have an OSX version then it should. Also have you created the directory via the cd command I suggested above?


ok. good question. I am following directions from here: http://gcaldaemon.sourceforge.net/usage12.html

here it says to download the latest linux compatible module.:confused: so i have no idea. i found this through macosxhints so I'm guessing that it works?

So, first I do: mkdir -p /usr/local/bin
this seems to work fine.

Then I do:

sudo unzip /Users/<myusername>/Desktop/gcaldaemon-linux-1.0-beta8.zip

now, this runs! OK. progress.
However, when I go to the next command:
sudo chgrp -R admin /usr/local/sbin/GCALDaemon

I get this message: No such file or directory

So I guess this means that I did not unzip in the right place? if so, how do I unzip 'under' usr/local/bin which I guess I created in the first step?

Sorry if this is confusing or just plain stupid on my part... this is most I can tell you though.

YT
 
You need to use cd to change d directory as stated in the step before unzip.

You can use the pwd command to confirm your current directory and ls to check the files have been unzipped correctly.
 
You need to use cd to change d directory as stated in the step before unzip.

You can use the pwd command to confirm your current directory and ls to check the files have been unzipped correctly.


I'm sorry, this may be perfectly clear to you, but I don't understand what I'm supposed to do.

If I try:
cd /usr/local/sbin

I get this message:
-bash: cd: /usr/local/sbin: No such file or directory

I really appreciate the help. I know it must be very frustrating.

YT
 
The error is telling you what's wrong: that directory does not exist. So you have not created it via a mkdir (make directory command).

Can you please copy and paste the exact output of this (each on one line with return after it)

sudo mkdir /usr/bin/local
ls -ld /usr/bin/local
 
The error is telling you what's wrong: that directory does not exist. So you have not created it via a mkdir (make directory command).

Can you please copy and paste the exact output of this (each on one line with return after it)

sudo mkdir /usr/bin/local
ls -ld /usr/bin/local

mkdir: /usr/bin/local: File exists
mkdir: ls: File exists
mkdir: -ld: File exists
mkdir: /usr/bin/local: File exists
 
Sorry: my previous instructions were open to misinterpretation. I meant each line on a seperate line in the Terminal and then type return. Lets try again:

Type: sudo mkdir -p /usr/bin/local <return>
Copy & paste any output (might be none)
Type: ls -ld /usr/bin/local <return>
Copy & paste output
Type: cd /usr/bin/local <return>
Copy & paste any output (might be none)
Type: pwd
Copy & paste output

If the output to pwd is "/usr/bin/local" execute the unzip command and copy & paste the output

Sorry if this sounds like I'm speaking (or typing) down to you, but everything has to be exact in the Terminal...


EEEEK! Stop! All of those /usr/bin/local bits about should, of course, be /usr/local/sbin
 
Sorry: my previous instructions were open to misinterpretation. I meant each line on a seperate line in the Terminal and then type return. Lets try again:

Type: sudo mkdir -p /usr/bin/local <return>
Password:
(after I enter my password, it goes back to the terminal promt)
Type: ls -ld /usr/bin/local <return>
drwxr-xr-x 2 root wheel 68 Apr 17 13:41 /usr/bin/local
Type: cd /usr/bin/local <return>
nothing (returns to prompt)
Type: pwd
/usr/bin/local

If the output to pwd is "/usr/bin/local" execute the unzip command and copy & paste the output


Sorry if this sounds like I'm speaking (or typing) down to you, but everything has to be exact in the Terminal...

no, it doesn't seem like you're talking down at all. sorry about the long output. If it's unnecessary, I can clip it (it doesn't seem to be necessary).

Thanks robbie!

YT
 
OK, that seems to have worked, but as noted in my edit above I ballsed it up. Please do it again with the correct path. You should be able to delete to copy you have just extracted to the wrong location if you want...
 
Sorry: my previous instructions were open to misinterpretation. I meant each line on a seperate line in the Terminal and then type return. Lets try again:

Type: sudo mkdir -p/usr/local/sbin <return>
none (back to promt)
Type: ls -ld /usr/local/sbin <return>
drwxr-xr-x 2 root wheel 68 Apr 17 14:19 /usr/local/sbin
Type: cd /usr/local/sbin<return>
none (back to prompt)
Type: pwd
/usr/local/sbin

If the output to pwd is "/usr/bin/local" execute the unzip command and copy & paste the output:
-bash: /usr/local/sbin: is a directory

Sorry if this sounds like I'm speaking (or typing) down to you, but everything has to be exact in the Terminal...


EEEEK! Stop! All of those /usr/bin/local bits about should, of course, be /usr/local/sbin

damn. this far seems to work. I but then with the next step, I get: chgrp: /usr/local/sbin/GCALDaemon: No such file or directory:confused:

Robbie, next time in london, I'll buy you a couple of beers!
 
OK. So you've created the correct directory (sorry!) used cd to change into and unzipped there. Now we are trying to change the group ownership of that file (chgrp). But the system is saying the file does not exist.

We can check in the file via

ls -l <filename> so in this case ls -l /usr/local/sbin/GCALDaemon

We could also list the contents of the whole directory as a sanity check

ls -l /usr/local/sbin

What do those return?
 
OK. So you've created the correct directory (sorry!) used cd to change into and unzipped there. Now we are trying to change the group ownership of that file (chgrp). But the system is saying the file does not exist.

What do those return?

We can check in the file via

ls -l <filename> so in this case ls -l /usr/local/sbin/GCALDaemon

response:
ls: /usr/local/sbin/GCALDaemon: No such file or directory

We could also list the contents of the whole directory as a sanity check

ls -l /usr/local/sbin

no response. back to prompt

Should I start again with creating the directory?
 
Great to see a detailed instruction on GCALDaemon. I have installed GCALDaemon successfully. As I can see the correct response after start the 'standalone-start.sh' script.

But I have difficulty for Open the 'gcal-daemon.cfg' configuration file.

cd /usr/local/sbin/GCALDaemon/conf
open -a subethaedit gcal-daemon.cfg
error shown below:-


pcd624132:/RL/local/sbin/GCALDaemon/conf RL$ open -a subethaedit gcal-daemon.cfg2007-04-19 20:12:01.190 open[369] Couldn't open file: /RL/local/sbin/GCALDaemon/conf/gcal-daemon.cfg
pcd624132:/RL/local/sbin/GCALDaemon/conf RL$

can anyone give me a help.

Thanks a lot.
 
Well the obvious question is: do you have subethaedit installed? The -a switch is forcing that as the editor, if it's not installed that won't work. You should be able to TextMate (it it's installed) or TextEdit instead...
 
Well the obvious question is: do you have subethaedit installed? The -a switch is forcing that as the editor, if it's not installed that won't work. You should be able to TextMate (it it's installed) or TextEdit instead...

Thank to Robbie. So the Linux idiot get the GCALDaemon work.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.