[AG-TECH] AG on Debian
Derek Piper
dcpiper at indiana.edu
Mon Nov 29 07:41:18 CST 2004
Hi,
In compiling from source for Debian, I found I had to write this script
in order to create the zip files. AGTK_SOURCE_DIR is whereever you
unpacked the AG source. AGTK_LOCATION is wherever you installed it to.
Hope it helps.
Derek
#!/bin/bash
AGTK_LOCATION=${AGTK_LOCATION:-/usr/local/ag/}
AGTK_SOURCE_DIR=${AGTK_SOURCE_DIR:-/usr/src/ag-linux/AccessGrid/}
SVCS='AudioService VideoService VideoProducerService VideoConsumerService'
if [ "$AGTK_LOCATION" != "" ] && [ -d "$AGTK_LOCATION" ]; then
if [ "$AGTK_SOURCE_DIR" != "" ] && [ -d "$AGTK_SOURCE_DIR" ]; then
cd $AGTK_SOURCE_DIR/services/node
for SVCS in $SVCS
do
if [ "${SVCS:0:5}" = "Audio" ]; then
SVTYPE='rat*'
elif [ "${SVCS:0:5}" = "Video" ]; then
SVTYPE='vic'
fi
TARGET=$AGTK_LOCATION/NodeServices/${SVCS}.zip
rm -f $TARGET
zip $TARGET $SVTYPE $SVCS.py $SVCS.svc
done
else
echo "AGTK_SOURCE_DIR -> $AGTK_SOURCE_DIR"
fi
else
echo "AGTK_LOCATION -> $AGTK_LOCATION"
fi
Richard Lawley wrote:
> I have the same files - they just don't contain vic and rat!
>
> Richard
>
>
>>-----Original Message-----
>>From: Julian Yu-Chung Chen [mailto:ycc at nchc.org.tw]
>>Sent: 24 November 2004 16:53
>>To: Richard Lawley
>>Cc: 'Access Grid Technical mailing list'
>>Subject: Re: [AG-TECH] AG on Debian
>>
>>
>>I have the following files in /etc/AccessGrid/NodeServices
>>
>>-rw-r--r-- 1 root root 11K Nov 10 10:48
>>AudioService.zip
>>-rw-r--r-- 1 root root 7.8K Nov 10 10:48
>>VideoConsumerService.zip
>>-rw-r--r-- 1 root root 15K Nov 10 10:48
>>VideoProducerService.zip
>>-rw-r--r-- 1 root root 16K Nov 10 10:48
>>VideoService.zip
>>
>>
>>On Nov 24, 2004, at 10:10 PM, Richard Lawley wrote:
>>
>>
>>>I've just reinstalled one of the machines in our node with
>>
>>Debian, and
>>
>>>I noticed that it didn't seem to install vic or rat. They were not
>>>present in the VideoProducerService.zip etc files, but they
>>
>>are on my
>>
>>>FC2 installation.
>>>
>>>Am I meant to get vic/rat from somewhere else with the
>>
>>debian install?
>>
>>>Richard
>>>
>>>
>>
>>-------------------------- Codito, ergo sum
>>----------------------------
>>Julian Yu-Chung Chen ycc at nchc.org.tw
>>julian9@[acm.org|mac.com]
>>National Center for Work Phone:
>>+886-3-5776085 ext 354
>>High-performance Computing Mobile Phone:
>>+886-(0)932-XXX-XXX
>>
>>
>
>
>
>
--
Derek Piper - dcpiper at indiana.edu - (812) 856 0111
IRI 323, School of Informatics
Indiana University, Bloomington, Indiana
More information about the ag-tech
mailing list