[AG-TECH] Mac OS X PackageMaker and AccessGrid problems

Eric Olson eolson at mcs.anl.gov
Wed Dec 14 10:46:51 CST 2005


Hi Ashnil,
Can you tell us why it needs to be repackaged for OSX Server?  Is there 
a reason why installing the package for OSX Tiger or Panther would not work?

Eric

Ashnil Kumar wrote:
> I was recently pointed to  
> http://fl-cvs.mcs.anl.gov/viewcvs/viewcvs.cgi/*checkout*/AccessGrid/ 
> doc/AG-Mac-Build-HOWTO.rtf?rev=1.2.2.4&only_with_tag=r_2_3_final to  
> build the AccessGrid for Mac OS X.
> 
> I have followed the instructions there, using the older versions of  
> fpconst and SOAPpy as required. I still run across a major problem when  
> running BuildSnapshot.py (the main build python script). Once  
> BuildPackage.py is called and executes PackageMaker the build seems to  
> take a very very long time to make the package. It is still taking up  
> CPU cycles according to 'top'. I let the packaging continue over a day  
> or two and it was still going.
> 
> The output at this point is given below, as well as some errors that  
> occurred before the packaging.
> 
> cmd =  /usr/bin/python BuildPackage.py --verbose -s  
> /Volumes/Data/mnt/agscratch -b /Volumes/Data/mnt/agscratch/AccessGrid  
> -d /Volumes/Data/mnt/agscratch/dist-20051214_102445 -p 2.3 -m  
> Snapshot_20051214_102445 -v 3.0
> SourceDir =  /Volumes/Data/mnt/agscratch
> BuildDir =  /Volumes/Data/mnt/agscratch/AccessGrid
> DestDir =  /Volumes/Data/mnt/agscratch/dist-20051214_102445
> metainfo =  Snapshot_20051214_102445
> version =  3.0
> TmpDir: /tmp/tmpmhTRvA
> Backing up old file: ../AGTk-3.0 to ../AGTk-3.0.old
>         Removing old backup (directory): ../AGTk-3.0.old
> Running packaging command:  
> /Developer/Applications/Utilities/PackageMaker.app/Contents/MacOS/ 
> PackageMaker -build -p ../AGTk-3.0/AGTk-3.0.pkg -f  
> /tmp/tmpmhTRvA/pkg_contents -ds -r /tmp/tmpmhTRvA/pkg_resources -i  
> /tmp/tmpmhTRvA/pkg_contents/AccessGridToolkit.app/Contents/Info.plist  
> -d /tmp/tmpmhTRvA/pkg_resources/Description.plist
> 
> Before this, there were a few errors that did not stop the build  process:
> 
> Calling build script:  VideoService.build.py
> ** Error: Unsupported platform: darwin
> Traceback (most recent call last):
>   File "VideoService.build.py", line 25, in ?
>     VIC_EXE_PATH = os.path.join(servicesDir,VIC_EXE)
> NameError: name 'VIC_EXE' is not defined
> Writing Package File:  
> /mnt/agbuild/dist-20051209_103015/NodeServices/VideoService.zip
> Calling build script:  AudioService.build.py
> ** Error: Unsupported platform: darwin
> Traceback (most recent call last):
>   File "AudioService.build.py", line 34, in ?
>     for f in ratFiles:
> NameError: name 'ratFiles' is not defined
> Writing Package File:  
> /mnt/agbuild/dist-20051209_103015/NodeServices/AudioService.zip
> Calling build script:  VideoProducerService.build.py
> ** Error: Unsupported platform: darwin
> Traceback (most recent call last):
>   File "VideoProducerService.build.py", line 25, in ?
>     VIC_EXE_PATH = os.path.join(servicesDir,VIC_EXE)
> NameError: name 'VIC_EXE' is not defined
> Writing Package File:  
> /mnt/agbuild/dist-20051209_103015/NodeServices/VideoProducerService.zip
> Calling build script:  VideoConsumerService.build.py
> ** Error: Unsupported platform: darwin
> Traceback (most recent call last):
>   File "VideoConsumerService.build.py", line 24, in ?
>     VIC_EXE_PATH = os.path.join(servicesDir,VIC_EXE)
> NameError: name 'VIC_EXE' is not defined
> 
> Examining the files in question, there is no sys.platform == 'darwin'  
> option.
> 
> Any help as to how to get the AccessGrid built and packaged for Mac OS  
> X Server 10.3 would be much appreciated.
> 
> Thanks,
> Ashnil
> 




More information about the ag-tech mailing list