Open MPI logo

Open MPI User's Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Open MPI User's mailing list

From: Ken Mighell (mighell_at_[hidden])
Date: 2005-10-12 18:13:01


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

On Oct 12, 2005, at 3:34 PM, Ken Mighell wrote:

> Dear Brian,
>
> It must be something else because cc *is* gcc
>
> mighell% which cc
> /usr/bin/cc
>
> mighell% ls -l /usr/bin/cc
> lrwxr-xr-x 1 root wheel 7 May 25 11:45 /usr/bin/cc -> gcc-4.0
>
> mighell% cc --version
> powerpc-apple-darwin8-gcc-4.0.0 (GCC) 4.0.0 20041026 (Apple
> Computer, Inc. build 4061)
> Copyright (C) 2004 Free Software Foundation, Inc.
> This is free software; see the source for copying conditions.
> There is NO
> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
> PURPOSE.
>
> On Oct 12, 2005, at 5:15 PM, Ken Mighell wrote:
>
> > Making all in xgrid
> > depbase=`echo src/pls_xgrid_component.lo | sed 's|[^/]*$|.deps/&|;s|
> > \.lo$||'`; \
> > if /bin/sh ../../../../libtool --mode=compile gcc -DHAVE_CONFIG_H -
> > I. -I. -I../../../../include -I../../../../include -I/tmp/
> > buildpackage-6060/openmpi-1.0rc3/include -I../../../../include -
> > I../../../.. -I../../../.. -I../../../../include -I../../../../opal
> > -I../../../../orte -I../../../../ompi -D_REENTRANT -F
> > XGridFoundation -MT src/pls_xgrid_component.lo -MD -MP -MF
> > "$depbase.Tpo" -c -o src/pls_xgrid_component.lo src/
> > pls_xgrid_component.m; \
> > then mv -f "$depbase.Tpo" "$depbase.Plo"; else rm -f
> > "$depbase.Tpo"; exit 1; fi
> > libtool: compile: unable to infer tagged configuration
> > libtool: compile: specify a tag with `--tag'
> > make[4]: *** [src/pls_xgrid_component.lo] Error 1
> > make[3]: *** [all-recursive] Error 1
> > make[2]: *** [all-recursive] Error 1
> > make[1]: *** [all-recursive] Error 1
> > make: *** [all-recursive] Error 1
>
> It looks like for some reason you set your C compiler to cc instead
> of gcc. This causes some problems with libtool if your Objective C
> compiler is found as gcc. Can you try making sure $CC isn't set to
> cc in your environment or in the build script and see if that helps?
>
> Thanks,
>
> Brian
>
> --
> Brian Barrett
> Open MPI developer
> http://www.open-mpi.org/
>
>
>