Committed back to SVN -- thanks for catching that!
On Oct 12, 2005, at 8:15 PM, Ken Mighell wrote:
Dear Brian,
The file
/openmpi-1.0rc3/contrib/dist/macosx-pkg/buildpackage.sh
has a symbol TMP_DIR which is undefined. Replacing TMP_DIR with
BUILD_TMP lead to a dmg file
which installed without a problem on my Apple dual G5 tower:
mighell% ./buildpackage.sh ~/pkg/openmpi/src/openmpi-1.0rc3.tar.gz
~/pkg/openmpi/
--> Configuration options:
Package Name: openmpi
Prefix: /Users/mighell/pkg/openmpi/
Boot: ssh
Config Options: --disable-f77 --without-cs-fs
--> Found tarball: /Users/mighell/pkg/openmpi/src/openmpi-1.0rc3.tar.gz
--> Found OMPI version: 1.0rc3
--> Cleaning environment
--> Making play space: /tmp/buildpackage-6446
--> Copying tarball
--> Untarring source: tar xzf openmpi-1.0rc3.tar.gz
--> Running configure: ./configure
--prefix=/Users/mighell/pkg/openmpi/ --with-rsh=ssh --disable-f77
--without-cs-fs
--> Building: make all
--> Installing:
--> Copying in special files: README
/Users/mighell/pkg/openmpi/src/openmpi-1.0rc3/contrib/dist/macosx-pkg/
ReadMe.rtf LICENSE
--> Creating Package Info:
--> Copying OS X-specific ReadMe into package
--> Creating pax file
--> Compressing pax file
--> Creating bom file
--> Generating sizes file:
NumFiles 207
InstalledSize 7504
CompressedSize 7504
--> Creating Disc Image
--> Copying Package to Disc Image
--> Ejecting R/W disk: hdiutil eject /dev/disk2s2
--> Resizing: hdiutil resize
"/tmp/buildpackage-6446/openmpi-1.0rc3RW.dmg" -sectors min
--> Converting to R-O: hdiutil convert
"/tmp/buildpackage-6446/openmpi-1.0rc3RW.dmg" -format UDRO -o
"/tmp/openmpi-1.0rc3.dmg"
--> Compressing disk image
--> Cleaning up the staging directory
--> Done. Package is at: /tmp/openmpi-1.0rc3.dmg.gz
Thanks,
-Ken
-----------------------------------------------------------------------
----------------------------------
Kenneth Mighell, Associate Scientist E-mail: .............
migh...@noao.edu
Kitt Peak National Observatory Phone:
.................. 520-318-8391
National Optical Astronomy Observatory Fax: ....................
520-318-8360
P.O. Box 26732, Tucson, AZ 85726-6732 URL:
http://www.noao.edu/staff/mighell
On Oct 12, 2005, at 4:13 PM, Ken Mighell wrote:
Dear Brian,
Previously my CC environment variable was set to cc:
mighell% printenv CC
cc
I then set the CC environment variable to gcc:
mighell% setenv CC gcc
mighell% printenv CC
gcc
and then tried to build the package
mighell% ./buildpackage.sh ~/pkg/openmpi/src/openmpi-1.0rc3.tar.gz
~/pkg/openmpi/
--> Configuration options:
Package Name: openmpi
Prefix: /Users/mighell/pkg/openmpi/
Boot: ssh
Config Options: --disable-f77 --without-cs-fs
--> Found tarball:
/Users/mighell/pkg/openmpi/src/openmpi-1.0rc3.tar.gz
--> Found OMPI version: 1.0rc3
--> Cleaning environment
--> Making play space: /tmp/buildpackage-1930
--> Copying tarball
--> Untarring source: tar xzf openmpi-1.0rc3.tar.gz
--> Running configure: ./configure
--prefix=/Users/mighell/pkg/openmpi/ --with-rsh=ssh --disable-f77
--without-cs-fs
--> Building: make all
--> Installing:
--> Copying in special files: README
/Users/mighell/pkg/openmpi/src/openmpi-1.0rc3/contrib/dist/macosx-
pkg/ReadMe.rtf LICENSE
touch: /disk.out: Permission denied
--> Creating Package Info:
--> Copying OS X-specific ReadMe into package
--> Creating pax file
./buildpackage.sh: line 259: /disk.out: Permission denied
*** Failed building pax file. Aborting!
*** Check /disk.out for information
The output file disk.out apparently does not exist; I could not find
any file called disk.out on my machine.
-Ken_______________________________________________
users mailing list
us...@open-mpi.org
http://www.open-mpi.org/mailman/listinfo.cgi/users
--
{+} Jeff Squyres
{+} The Open MPI Project
{+} http://www.open-mpi.org/