(1) Make a directory for this code and get its path name, for example mkdir /usr/myname/jabberperl In the following, use your own directory name. (2) set a Unix environment variable to this and a subdirectory, as follows (this is for csh): setenv JABBERPUBSUB /usr/myname/jabberperl setenv PERL5LIB /usr/myname/jabberperl/lib/perl5:/usr/myname/jabberperl/lib/perl5/site_perl It would be best to do this in the startup, the .cshrc file. (3) fetch the following files from the net, here we use curl: cd $JABBERPUBSUB curl -o Pubsubclient.pl.gz "http://www.cacr.caltech.edu/~ajd/Pubsubclient.pl.gz" curl -o Jabber-PubSub.tar.gz "http://www.cacr.caltech.edu/~ajd/Jabber-PubSub-JEAI-0.03mod.tar.gz" (4) Fetch these packages from CPAN. For each one, point a browser to the URL below, then click the Download button. http://search.cpan.org/dist/XML-Stream/ http://search.cpan.org/~reatmon/Net-Jabber-2.0/ http://search.cpan.org/!reatmon/Net-XMPP-1.0/ (5) You should have now five files, each ending in gz. Unpack as follows tar xvfz XML-Stream-1.22.tar.gz tar xvfz Net-XMPP-1.02.tar.gz tar xvfz Net-Jabber-2.0.tar.gz tar xvfz Jabber-PubSub.tar.gz gunzip Pubsubclient.pl.gz (6) For each of the four subdirectories, make: (cd XML-Stream-1.22; perl Makefile.PL PREFIX=$JABBERPUBSUB; make; make install) (cd Net-XMPP-1.02; perl Makefile.PL PREFIX=$JABBERPUBSUB; make; make install) (cd Net-Jabber-2.0; perl Makefile.PL PREFIX=$JABBERPUBSUB; make; make install) (cd Jabber-PubSub-JEAI-0.03; perl Makefile.PL PREFIX=$JABBERPUBSUB; make; make install) (7) You can create your own jabber account following the client instructions (steps 1 and 4). If you would like your events to appear SkyAlert.org email help_at_skyalert.org and we will set up your account for the username you request. The events will not appear on SkyAlert.org unless you do. (8) Try to inject an event (client step 5). Please make sure that your test event has the role set to "test" perl Pubsubclient.pl moriori.cacr.caltech.edu 5222 ppub -nodename -publish myevent.xml