Changing PATH and downloading mpich-default
ryandesign at macports.org
Sun Apr 5 02:07:36 PDT 2015
On Apr 4, 2015, at 20:51, Evan Phillips wrote:
> After installing the Macports package, I appended /opt/local/bin:/opt/local/sbin:/ to the PATH variable using the EXPORT command. Probably a mistake:
That looks like a reasonable value for PATH.
> How might I reset or change this? I realized this when I was trying to download mpich-default:
> sudo port -v install mpich-default
> ---> Computing dependencies for mpich-default....................
> ---> Dependencies to be installed: gcc49 cctools llvm-3.5 cloog gmp isl gcc_select ld64 ld64-latest libgcc libiconv libmpc mpfr libxml2 xz gettext expat mpi-doc mpi_select
> ---> Extracting llvm-3.5
> Error: org.macports.extract for port llvm-3.5 returned: Failed to locate 'xz' in path: '/opt/local/bin:/opt/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin' or at its MacPorts configuration time location, did you move it?
> Warning: targets not executed for llvm-3.5: org.macports.activate org.macports.extract org.macports.patch org.macports.configure org.macports.build org.macports.destroot org.macports.install
> Error: Failed to install llvm-3.5
Note that MacPorts does not use the value of the PATH environment variable; it uses its own value based on the binpath setting in macports.conf.
The error message says xz was not found. Is it installed and working?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the macports-users