Skip to content
This repository has been archived by the owner on Dec 18, 2017. It is now read-only.

DNVM doesn't create .dnx folder when installing CoreCLR on mac #485

Closed
alexsorokoletov opened this issue Nov 5, 2015 · 8 comments
Closed
Milestone

Comments

@alexsorokoletov
Copy link

DNVM doesn't create .dnx folder when installing CoreCLR on mac

Minimal repro steps

  1. Open http://dotnet.github.io/core/getting-started/
  2. Follow the steps on clear macbook with OS X El Capitan
  3. When running source dnvm.sh from section 2 see error message mkdir: /Users/username/.dnx: No such file or directory

Expected result

Installation should complete with no errors (probably folder .dnx should be created)

Actual result

The folder .dnx is not being created. You can create it manually and it resolves the problem.

Further technical details

Marias-MacBook-Pro:~ marie$ brew install icu4c
==> Downloading https://homebrew.bintray.com/bottles/icu4c-55.1.el_capitan.bottl
######################################################################## 100.0%
==> Pouring icu4c-55.1.el_capitan.bottle.tar.gz
==> Caveats
This formula is keg-only, which means it was not symlinked into /usr/local.

OS X provides libicucore.dylib (but nothing else).

Generally there are no consequences of this for you. If you build your
own software and it requires this formula, you'll need to add to your
build variables:

    LDFLAGS:  -L/usr/local/opt/icu4c/lib
    CPPFLAGS: -I/usr/local/opt/icu4c/include

==> Summary
🍺  /usr/local/Cellar/icu4c/55.1: 244 files, 65M
Marias-MacBook-Pro:~ marie$ brew tap aspnet/dnx
==> Tapping aspnet/dnx
Cloning into '/usr/local/Library/Taps/aspnet/homebrew-dnx'...
remote: Counting objects: 7, done.
remote: Compressing objects: 100% (7/7), done.
remote: Total 7 (delta 1), reused 2 (delta 0), pack-reused 0
Unpacking objects: 100% (7/7), done.
Checking connectivity... done.
Tapped 2 formulae (33 files, 136K)
Marias-MacBook-Pro:~ marie$ brew update


Updated Homebrew from 483274be to ad21eb12.
==> New Formulae
librest             node-build          unicorn             ykneomgr          
mdds                tailor              whatmp3           
==> Updated Formulae
agda                docker-compose      jenkins             redpen            
archey              docker-swarm        jpeg-turbo          reop              
bitrise             dspdfviewer         jvgrep              rust              
boost               elasticsearch       kotlin-compiler     sonar             
boost-bcp           entr                libressl            sourcekitten      
boost-python        epubcheck           libsodium           sqlite            
boot-clj            freeling            minisign            swiftlint         
caf                 fzf                 monetdb             thefuck           
cairo               getdns              mu                  tinc              
carina              gitbucket           nodenv              uhd               
cjdns               glide               notmuch             varnish           
concurrencykit      gst-python          nss                 vim               
confuse             gtk+3               openvdb             vowpal-wabbit     
cvc4                gwenhywfar          osmosis             ykpers            
czmq                imagemagick         pcap_dnsproxy       youtube-dl        
dmd                 influxdb            pdal                yubico-piv-tool   
dnscrypt-proxy      innoextract         points2grid       
dnscrypt-wrapper    ipfs                potrace           
docker              jemalloc            pyenv             
==> Renamed Formulae
cyassl -> wolfssl                        nimrod -> nim                          
==> Deleted Formulae
whereami
Marias-MacBook-Pro:~ marie$ 
Marias-MacBook-Pro:~ marie$ 
Marias-MacBook-Pro:~ marie$ brew install dnvm
==> Installing dnvm from aspnet/homebrew-dnx
==> Installing dependencies for aspnet/dnx/dnvm: mono
==> Installing aspnet/dnx/dnvm dependency: mono
==> Downloading https://homebrew.bintray.com/bottles/mono-4.2.0.179.el_capitan.b
######################################################################## 100.0%
==> Pouring mono-4.2.0.179.el_capitan.bottle.1.tar.gz
==> Caveats
To use the assemblies from other formulae you need to set:
  export MONO_GAC_PREFIX="/usr/local"
Note that the 'mono' formula now includes F#. If you have
the 'fsharp' formula installed, remove it with 'brew uninstall fsharp'.
==> Summary
🍺  /usr/local/Cellar/mono/4.2.0.179: 1062 files, 205M
==> Installing aspnet/dnx/dnvm
==> Cloning https://github.com/aspnet/Home.git
Cloning into '/Library/Caches/Homebrew/dnvm--git'...
remote: Counting objects: 93, done.
remote: Compressing objects: 100% (73/73), done.
remote: Total 93 (delta 35), reused 50 (delta 12), pack-reused 0
Unpacking objects: 100% (93/93), done.
Checking connectivity... done.
==> Checking out branch dev
==> bash -c 'source /usr/local/Cellar/dnvm/1.0.0-dev/libexec/dnvm.sh; dnvm upgra
==> Caveats
Add the following to the ~/.bash_profile, ~/.bashrc or ~/.zshrc file:

  source dnvm.sh

==> Summary
🍺  /usr/local/Cellar/dnvm/1.0.0-dev: 4 files, 68K, built in 7 seconds
Marias-MacBook-Pro:~ marie$ source dnvm.sh
mkdir: /Users/marie/.dnx: No such file or directory

This computer has OS X El Capitan

@BrennanConroy
Copy link
Member

Those aren't our installation instructions. Take a look at https://docs.asp.net/en/latest/getting-started/installing-on-mac.html

@BrennanConroy
Copy link
Member

Also, maybe log an issue on dotnet to update the installation instructions?

@alexsorokoletov
Copy link
Author

I'm not sure about right place for the issue, @stephentoub suggested to file it on DNVM.

@BrennanConroy
Copy link
Member

The homebrew dnvm is located at https://github.com/aspnet/homebrew-dnx
But it is a project we are no longer working on. It is not recommended to use brew to install dnvm.

@alexsorokoletov
Copy link
Author

Ok, so I will ask him again where is now the best place to ask guys to update the instructions (or submit pull request for these changes if it's in github). Thank you.

@ellismg
Copy link
Contributor

ellismg commented Nov 5, 2015

@blackdwarf I think the instructions on the dotnet core site need to be updated, since brew is no longer the correct way to get dnvm on OSX?

@blackdwarf
Copy link

Seems like it. Will update the getting started guide. dotnet/dotnet.github.io#44 tracks this, will be done presently.

@alexsorokoletov
Copy link
Author

@blackdwarf @ellismg should we close the issue as the tracking issue is already closed? dotnet/dotnet.github.io#44

@muratg muratg modified the milestone: Backlog Dec 11, 2015
@Eilon Eilon closed this as completed Dec 17, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants