[AG-TECH] problems building VIC and RAT on AG 2.2.6 source

Douglas Kosovic douglask at itee.uq.edu.au
Mon Jul 26 07:07:28 CDT 2004


Hi Benjamin,

> i ran into many errors when compiling RAT and VIC.
> for RAT, some of the build files refer to a "ag-rat" directory which
> caused build failures of "no file found" i hacked around the ag-media
> directory and managed to get RAT compiled.
> 
> however, now i found a similar problem with VIC. the directories being
> created doesn't seem to be what the RPM Spec file is looking for. after
> i hacked the script to get it to start compiling, i get the error below.
> is anyone able to help?

The vic and rat RPM spec files are now obsolete with AGTk 2.2. The vic
and rat applications are now found in the following zip files located in
/etc/AccessGrid/NodeServices:
    AudioService.zip
    VideoConsumerService.zip
    VideoProducerService.zip
    VideoService.zip
Which in turn are part of the AccessGrid RPM.

> thanks lots in advance
> 
> ../tcl-8.0/unix/libtcl8.0.a(tclUnixPipe.o)(.text+0xb3): In function
> `TclpCreateTempFile':
> : warning: the use of `tmpnam' is dangerous, better use `mkstemp'
> codec/tmndec/libh263.a(tmndec.o)(.text+0x781): In function `getval':
> /disks/space0/turam/build/BUILD/ag-media/vic/codec/tmndec/tmndec.c:657:
> undefined reference to `__ctype_b'
> collect2: ld returned 1 exit status

>From memory, with AccessGrid-2.2.src.tar.gz, the
ag-media/vic/codec/tmndec directory was contaminated with Redhat 7.3
object files that weren't deleted before being packaged up. Whatever, it
definitely isn't a problem when built from CVS.

If you want to build the AccessGrid RPM on Fedora, you can download and
install gpt-3.0.1-1.noarch.rpm, globus-accessgrid-2.4-2.i386.rpm and
wxPythonGTK-py2.3-2.5.1.5-1.i386.rpm from:

   http://www.itee.uq.edu.au/~agn/ag_fedora/FC2/unstable/RPMS/

Download AccessGrid-2.2-Snapshot_20040723.src.tar.bz2 from:
   http://www.itee.uq.edu.au/~agn/ag_fedora/FC2/unstable/src/

Then issue something like the following:
mkdir -p /sandbox/agtk/packages/
cd /sandbox/agtk/packages/
bunzip -dc ~/AccessGrid-2.2-Snapshot_20040723.src.tar.bz2 | tar xvf -
export AGBUILDROOT=/sandbox/agtk/packages
cd AccessGrid/packaging/
./BuildSnapshot.py --no-checkout

If it builds to completion, you should find an AccessGrid RPM and a
globus-accessgrid RPM in /usr/src/redhat/RPMS/i386.


Cheers,
Doug







More information about the ag-tech mailing list