[yt-users] Installing yt-dev on OS X 10.8.3

Britton Smith brittonsmith at gmail.com
Tue Apr 9 11:56:36 PDT 2013


I can't find anyone else who has the compilers named with "apple" in the
middle like me.  For the last few versions of OS X, I haven't needed to set
those and, like Nathan, just use gcc and g++.  I agree that there seems to
be shifting sands and I'm not really sure what to do about it.  It almost
seems simpler to remove the comment and deal with people here.

Britton


On Tue, Apr 9, 2013 at 2:51 PM, Matthew Turk <matthewturk at gmail.com> wrote:

> On Tue, Apr 9, 2013 at 2:43 PM, Nathan Goldbaum <nathan12343 at gmail.com>
> wrote:
> > Brian, I generally set CC=gcc and CXX=g++.  These were renamed during the
> > transition from OS X 10.6 to 10.7.
> >
> > I don't have gcc-apple-4.2 or g++-appled-4.2 on my system.
> >
>
> Should we make a note of the version-specific names in the install script?
>
> Also, don't either or both of you Britton and Nathan hand download
> your own GCC ecosystem?  Should we have a link to that?  XCode seems
> to have a lot of shifting sands, and it's not clear to me how many
> more layers of monkey-patching is appropriate.  But I will leave this
> up to your (collective) discretion.
>
> -Matt
>
> >
> > On Tue, Apr 9, 2013 at 11:41 AM, Britton Smith <brittonsmith at gmail.com>
> > wrote:
> >>
> >> Hi Brian,
> >>
> >> I have had luck installing without setting the compiler variables the
> way
> >> the script currently tells you.  This may actually get changed quite
> soon.
> >> However, if that doesn't work, it seems that gcc-4.2 and g++-4.2 have
> been
> >> renamed gcc-apple-4.2, g++-appled-4.2.
> >>
> >> Britton
> >>
> >>
> >> On Tue, Apr 9, 2013 at 2:38 PM, Brian Crosby <crosby.bd at gmail.com>
> wrote:
> >>>
> >>> Hi everyone,
> >>>
> >>> I've run into a problem installing yt-dev.  It appears to be having
> >>> problems while installing matplotlib, and is failing as follows:
> >>>
> >>> Installing matplotlib-1.2.0 (arguments: 'matplotlib-1.2.0')
> >>> ********************************************
> >>>         FAILURE REPORT:
> >>> ********************************************
> >>>
> >>> building 'matplotlib.ft2font' extension
> >>> gcc-4.2 -DNDEBUG -g -fwrapv -O3 -Wall -mmacosx-version-min=10.7
> >>> -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API -DPYCXX_ISO_CPP_LIB=1
> >>> -I/Users/crosby/yt-dev-x86_64/include
> >>>
> -I/Users/crosby/yt-dev-x86_64/lib/python2.7/site-packages/numpy/core/include
> >>> -I/Users/crosby/yt-dev-x86_64/include/freetype2
> >>> -I/Users/crosby/yt-dev-x86_64/include -I.
> >>> -I/Users/crosby/yt-dev-x86_64/include/python2.7 -c src/ft2font.cpp -o
> >>> build/temp.macosx-10.4-x86_64-2.7/src/ft2font.o
> >>> gcc-4.2 -DNDEBUG -g -fwrapv -O3 -Wall -mmacosx-version-min=10.7
> >>> -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API -DPYCXX_ISO_CPP_LIB=1
> >>> -I/Users/crosby/yt-dev-x86_64/include
> >>>
> -I/Users/crosby/yt-dev-x86_64/lib/python2.7/site-packages/numpy/core/include
> >>> -I/Users/crosby/yt-dev-x86_64/include/freetype2
> >>> -I/Users/crosby/yt-dev-x86_64/include -I.
> >>> -I/Users/crosby/yt-dev-x86_64/include/python2.7 -c src/mplutils.cpp -o
> >>> build/temp.macosx-10.4-x86_64-2.7/src/mplutils.o
> >>> gcc-4.2 -DNDEBUG -g -fwrapv -O3 -Wall -mmacosx-version-min=10.7
> >>> -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API -DPYCXX_ISO_CPP_LIB=1
> >>> -I/Users/crosby/yt-dev-x86_64/include
> >>>
> -I/Users/crosby/yt-dev-x86_64/lib/python2.7/site-packages/numpy/core/include
> >>> -I/Users/crosby/yt-dev-x86_64/include/freetype2
> >>> -I/Users/crosby/yt-dev-x86_64/include -I.
> >>> -I/Users/crosby/yt-dev-x86_64/include/python2.7 -c
> CXX/cxx_extensions.cxx -o
> >>> build/temp.macosx-10.4-x86_64-2.7/CXX/cxx_extensions.o
> >>> gcc-4.2 -DNDEBUG -g -fwrapv -O3 -Wall -mmacosx-version-min=10.7
> >>> -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API -DPYCXX_ISO_CPP_LIB=1
> >>> -I/Users/crosby/yt-dev-x86_64/include
> >>>
> -I/Users/crosby/yt-dev-x86_64/lib/python2.7/site-packages/numpy/core/include
> >>> -I/Users/crosby/yt-dev-x86_64/include/freetype2
> >>> -I/Users/crosby/yt-dev-x86_64/include -I.
> >>> -I/Users/crosby/yt-dev-x86_64/include/python2.7 -c CXX/cxxsupport.cxx
> -o
> >>> build/temp.macosx-10.4-x86_64-2.7/CXX/cxxsupport.o
> >>> gcc-4.2 -DNDEBUG -g -fwrapv -O3 -Wall -mmacosx-version-min=10.7
> >>> -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API -DPYCXX_ISO_CPP_LIB=1
> >>> -I/Users/crosby/yt-dev-x86_64/include
> >>>
> -I/Users/crosby/yt-dev-x86_64/lib/python2.7/site-packages/numpy/core/include
> >>> -I/Users/crosby/yt-dev-x86_64/include/freetype2
> >>> -I/Users/crosby/yt-dev-x86_64/include -I.
> >>> -I/Users/crosby/yt-dev-x86_64/include/python2.7 -c
> >>> CXX/IndirectPythonInterface.cxx -o
> >>> build/temp.macosx-10.4-x86_64-2.7/CXX/IndirectPythonInterface.o
> >>> gcc-4.2 -DNDEBUG -g -fwrapv -O3 -Wall -mmacosx-version-min=10.7
> >>> -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API -DPYCXX_ISO_CPP_LIB=1
> >>> -I/Users/crosby/yt-dev-x86_64/include
> >>>
> -I/Users/crosby/yt-dev-x86_64/lib/python2.7/site-packages/numpy/core/include
> >>> -I/Users/crosby/yt-dev-x86_64/include/freetype2
> >>> -I/Users/crosby/yt-dev-x86_64/include -I.
> >>> -I/Users/crosby/yt-dev-x86_64/include/python2.7 -c CXX/cxxextensions.c
> -o
> >>> build/temp.macosx-10.4-x86_64-2.7/CXX/cxxextensions.o
> >>> g++-4.2 -bundle -undefined dynamic_lookup
> >>> -L/Users/crosby/yt-dev-x86_64/lib/ -L/Users/crosby/yt-dev-x86_64/lib64/
> >>> -L/Users/crosby/yt-dev-x86_64/lib/ -L/Users/crosby/yt-dev-x86_64/lib64/
> >>> -L/Users/crosby/yt-dev-x86_64/lib/ -L/Users/crosby/yt-dev-x86_64/lib64/
> >>> -L/Users/crosby/yt-dev-x86_64/lib/ -L/Users/crosby/yt-dev-x86_64/lib64/
> >>> -mmacosx-version-min=10.7
> build/temp.macosx-10.4-x86_64-2.7/src/ft2font.o
> >>> build/temp.macosx-10.4-x86_64-2.7/src/mplutils.o
> >>> build/temp.macosx-10.4-x86_64-2.7/CXX/cxx_extensions.o
> >>> build/temp.macosx-10.4-x86_64-2.7/CXX/cxxsupport.o
> >>> build/temp.macosx-10.4-x86_64-2.7/CXX/IndirectPythonInterface.o
> >>> build/temp.macosx-10.4-x86_64-2.7/CXX/cxxextensions.o
> >>> -L/Users/crosby/yt-dev-x86_64/lib -L/Users/crosby/yt-dev-x86_64/lib
> >>> -lfreetype -lz -lstdc++ -lm -o
> >>> build/lib.macosx-10.4-x86_64-2.7/matplotlib/ft2font.so
> >>> unable to execute g++-4.2: No such file or directory
> >>> error: command 'g++-4.2' failed with exit status 1
> >>>
> >>>
> >>> I'm installing on OS X 10.8.3, and am now using a fresh install of
> Xcode
> >>> tools in an earlier attempt to solve this.  I have also set the
> environment
> >>> variables CC=gcc-4.2 and CXX=g++-4.2, as suggested by the install
> script.
> >>> Has anyone encountered this before, or have any suggestions for
> solving it?
> >>>
> >>> Thanks,
> >>> Brian
> >>> _______________________________________________
> >>> yt-users mailing list
> >>> yt-users at lists.spacepope.org
> >>> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
> >>
> >>
> >>
> >> _______________________________________________
> >> yt-users mailing list
> >> yt-users at lists.spacepope.org
> >> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
> >>
> >
> >
> > _______________________________________________
> > yt-users mailing list
> > yt-users at lists.spacepope.org
> > http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
> >
> _______________________________________________
> yt-users mailing list
> yt-users at lists.spacepope.org
> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.spacepope.org/pipermail/yt-users-spacepope.org/attachments/20130409/57e8f2a8/attachment.htm>


More information about the yt-users mailing list