[yt-users] Matplotlib installation failure on OS X

Chris Malone chris.m.malone at gmail.com
Tue May 21 09:57:23 PDT 2013


Just a comment:

Using the full path to the compilers (e.g. using /usr/bin/gcc instead of
gcc) will fail because of a sed command (line 329 in install_script.sh)
using the forward slash as a separator.  If the compilers are in your bath,
you might want to specify them directly by name, rather than the full
pathname.

The install script should probably be changed to use something other than
forward slash as the delimiter, at least in this case where it might get
mangled with pathnames.  Something like changing

... -e "s/CC=gcc/CC=${CC}/ ...

to

... -e "s|CC=gcc|CC=${CC}| ...

Chris


On Tue, May 21, 2013 at 7:58 AM, Britton Smith <brittonsmith at gmail.com>wrote:

> Hi Paul,
>
> Welcome to yt!
>
> We have had a number of problems in the past using gnu compilers that are
> not the ones installed with xcode.  I recommend you try again with those
> compilers.  To do that, you should be able to just do:
> export CC=/usr/bin/gcc
> export CXX=/usr/bin/g++
>
> Please, let us know if that doesn't work.  Also, if it doesn't, please
> just send us the last 10 or 20 lines of the output log from the install
> script.  That should be enough to diagnose the problem.
>
> Britton
>
>
> On Tue, May 21, 2013 at 10:19 AM, Paul La Plante <plaplant at andrew.cmu.edu>wrote:
>
>> Hi,
>>
>> I am having trouble installing yt on my personal machine using the
>> install script. I downloaded the script from the suggested website (
>> http://hg.yt-project.org/yt/raw/stable/doc/install_script.sh) and
>> attempted to execute it with `bash install_script.sh.' I have tried a few
>> different combinations of install options, but it always seems to fail
>> while building matplotlib. My system is OS X 10.8.3, and gcc version 4.8.0
>> (installed from MacPorts). I have attached my yt_install.log.
>>
>> Thanks in advance for any help!
>>
>> Best regards,
>> Paul
>>
>>
>> _______________________________________________
>> 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/20130521/f6db98b5/attachment.html>


More information about the yt-users mailing list