* [Comm] .NET Core на Альте (инструкция) @ 2017-03-22 7:24 Andrey Cherepanov 2017-03-22 8:02 ` Evgeny Sinelnikov 2017-03-22 14:00 ` Sergey V Turchin 0 siblings, 2 replies; 5+ messages in thread From: Andrey Cherepanov @ 2017-03-22 7:24 UTC (permalink / raw) To: ALT Linux Community general discussions Установка .NET Core на Альт (версии 8) https://www.altlinux.org/.NET_Core Установите дополнительные пакеты: apt-get install libunwind libicu54 Скачайте саму .NET для Fedora 23 cо страницы https://www.microsoft.com/net/core#linuxfedora curl -SL -o dotnet.tar.gz https://go.microsoft.com/fwlink/?linkid=843457 от root: mkdir /opt/dotnet tar xzf dotnet.tar.gz -C /opt/dotnet ln -s /opt/dotnet/dotnet /usr/local/bin Проверка (не от root) (Желательно иметь в /tmp >2 ГБ свободного места) dotnet new console -o hwapp cd hwapp dotnet restore dotnet run -- Andrey Cherepanov cas@altlinux.org ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Comm] .NET Core на Альте (инструкция) 2017-03-22 7:24 [Comm] .NET Core на Альте (инструкция) Andrey Cherepanov @ 2017-03-22 8:02 ` Evgeny Sinelnikov 2017-03-22 8:07 ` Andrey Cherepanov 2017-03-22 14:00 ` Sergey V Turchin 1 sibling, 1 reply; 5+ messages in thread From: Evgeny Sinelnikov @ 2017-03-22 8:02 UTC (permalink / raw) To: ALT Linux Community general discussions 2017-03-22 11:24 GMT+04:00 Andrey Cherepanov <cas@altlinux.org>: > Установка .NET Core на Альт (версии 8) > > https://www.altlinux.org/.NET_Core > > Установите дополнительные пакеты: > apt-get install libunwind libicu54 > > Скачайте саму .NET для Fedora 23 cо страницы > https://www.microsoft.com/net/core#linuxfedora > curl -SL -o dotnet.tar.gz https://go.microsoft.com/fwlink/?linkid=843457 > > от root: > mkdir /opt/dotnet > tar xzf dotnet.tar.gz -C /opt/dotnet > ln -s /opt/dotnet/dotnet /usr/local/bin > > Проверка (не от root) > > (Желательно иметь в /tmp >2 ГБ свободного места) > dotnet new console -o hwapp > cd hwapp > dotnet restore > dotnet run Сразу два момента. Это какой-то старый p8. В новом уже libicu56 [sin@tor Microsoft]$ sudo apt-get install libunwind libicu54 -y [sudo] password for sin: Чтение списков пакетов... Завершено Построение дерева зависимостей... Завершено Последняя версия libunwind уже установлена. E: Невозможно найти пакет libicu54 [sin@tor Microsoft]$ sudo apt-get install libicu56 -y Чтение списков пакетов... Завершено Построение дерева зависимостей... Завершено Последняя версия libicu56 уже установлена. И вторая тут же проблема: [sin@tor ~]$ dotnet new console -o hwapp Failed to initialize CoreCLR, HRESULT: 0x80131500 [sin@tor ~]$ dotnet --help Failed to initialize CoreCLR, HRESULT: 0x80131500 [sin@tor ~]$ which dotnet /usr/local/bin/dotnet [sin@tor ~]$ cd /opt/dotnet/ [sin@tor dotnet]$ ./dotnet --version Failed to initialize CoreCLR, HRESULT: 0x80131500 [sin@tor dotnet]$ dotnet --help Failed to initialize CoreCLR, HRESULT: 0x80131500 [sin@tor dotnet]$ ./dotnet --help Failed to initialize CoreCLR, HRESULT: 0x80131500 [sin@tor dotnet]$ ./dotnet Microsoft .NET Core Shared Framework Host Version : 1.1.0 Build : 928f77c4bc3f49d892459992fb6e1d5542cb5e86 Usage: dotnet [common-options] [[options] path-to-application] Common Options: --help Display .NET Core Shared Framework Host help. --version Display .NET Core Shared Framework Host version. Options: --fx-version <version> Version of the installed Shared Framework to use to run the application. --additionalprobingpath <path> Path containing probing policy and assemblies to probe for. Path to Application: The path to a .NET Core managed application, dll or exe file to execute. If you are debugging the Shared Framework Host, set 'COREHOST_TRACE' to '1' in your environment. To get started on developing applications for .NET Core, install the SDK from: http://go.microsoft.com/fwlink/?LinkID=798306&clcid=0x409 А вот и баги: - Failed to initialize CoreCLR, HRESULT: 0x80131500 https://github.com/dotnet/cli/issues/2018 Для FC24 получаем вот такую картину: [sin@tor dotnet]$ dotnet --version Failed to load /opt/dotnet/shared/Microsoft.NETCore.App/1.1.1/libhostpolicy.so, error: /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.22' not found (required by /opt/dotnet/shared/Microsoft.NETCore.App/1.1.1/libhostpolicy.so) An error occurred while loading required library libhostpolicy.so from [/opt/dotnet/shared/Microsoft.NETCore.App/1.1.1] -- Sin (Sinelnikov Evgeny) ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Comm] .NET Core на Альте (инструкция) 2017-03-22 8:02 ` Evgeny Sinelnikov @ 2017-03-22 8:07 ` Andrey Cherepanov 2017-03-22 9:00 ` Evgeny Sinelnikov 0 siblings, 1 reply; 5+ messages in thread From: Andrey Cherepanov @ 2017-03-22 8:07 UTC (permalink / raw) To: community 22.03.2017 11:02, Evgeny Sinelnikov пишет: > 2017-03-22 11:24 GMT+04:00 Andrey Cherepanov <cas@altlinux.org>: >> Установка .NET Core на Альт (версии 8) >> >> https://www.altlinux.org/.NET_Core >> >> Установите дополнительные пакеты: >> apt-get install libunwind libicu54 >> >> Скачайте саму .NET для Fedora 23 cо страницы >> https://www.microsoft.com/net/core#linuxfedora >> curl -SL -o dotnet.tar.gz https://go.microsoft.com/fwlink/?linkid=843457 >> >> от root: >> mkdir /opt/dotnet >> tar xzf dotnet.tar.gz -C /opt/dotnet >> ln -s /opt/dotnet/dotnet /usr/local/bin >> >> Проверка (не от root) >> >> (Желательно иметь в /tmp >2 ГБ свободного места) >> dotnet new console -o hwapp >> cd hwapp >> dotnet restore >> dotnet run > > Сразу два момента. Это какой-то старый p8. В новом уже libicu56 Имея libicu50 и ibicu56, ты не запустишь .NET Core, так как он явно пытается открыть /usr/lib/libicuuc.so.54 Поэтому я и собрал libicu54 > [sin@tor Microsoft]$ sudo apt-get install libunwind libicu54 -y > [sudo] password for sin: > Чтение списков пакетов... Завершено > Построение дерева зависимостей... Завершено > Последняя версия libunwind уже установлена. > E: Невозможно найти пакет libicu54 > [sin@tor Microsoft]$ sudo apt-get install libicu56 -y > Чтение списков пакетов... Завершено > Построение дерева зависимостей... Завершено > Последняя версия libicu56 уже установлена. > > > И вторая тут же проблема: > > [sin@tor ~]$ dotnet new console -o hwapp > Failed to initialize CoreCLR, HRESULT: 0x80131500 > [sin@tor ~]$ dotnet --help > Failed to initialize CoreCLR, HRESULT: 0x80131500 > [sin@tor ~]$ which dotnet > /usr/local/bin/dotnet > [sin@tor ~]$ cd /opt/dotnet/ > [sin@tor dotnet]$ ./dotnet --version > Failed to initialize CoreCLR, HRESULT: 0x80131500 > [sin@tor dotnet]$ dotnet --help > Failed to initialize CoreCLR, HRESULT: 0x80131500 > [sin@tor dotnet]$ ./dotnet --help > Failed to initialize CoreCLR, HRESULT: 0x80131500 > [sin@tor dotnet]$ ./dotnet Это следствие отсутствия libicu54, который в p8 в репозиторий попал сегодня утром. > Microsoft .NET Core Shared Framework Host > > Version : 1.1.0 > Build : 928f77c4bc3f49d892459992fb6e1d5542cb5e86 > > Usage: dotnet [common-options] [[options] path-to-application] > > Common Options: > --help Display .NET Core Shared Framework Host help. > --version Display .NET Core Shared Framework > Host version. > > Options: > --fx-version <version> Version of the installed Shared > Framework to use to run the application. > --additionalprobingpath <path> Path containing probing policy and > assemblies to probe for. > > Path to Application: > The path to a .NET Core managed application, dll or exe file to execute. > > If you are debugging the Shared Framework Host, set 'COREHOST_TRACE' > to '1' in your environment. > > To get started on developing applications for .NET Core, install the SDK from: > http://go.microsoft.com/fwlink/?LinkID=798306&clcid=0x409 > > > А вот и баги: > > - Failed to initialize CoreCLR, HRESULT: 0x80131500 > https://github.com/dotnet/cli/issues/2018 > > Для FC24 получаем вот такую картину: > > [sin@tor dotnet]$ dotnet --version > Failed to load /opt/dotnet/shared/Microsoft.NETCore.App/1.1.1/libhostpolicy.so, > error: /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.22' not found > (required by /opt/dotnet/shared/Microsoft.NETCore.App/1.1.1/libhostpolicy.so) > An error occurred while loading required library libhostpolicy.so from > [/opt/dotnet/shared/Microsoft.NETCore.App/1.1.1] Потому что работает только на Sisyphus в связи со сборкой более новым gcc, чем есть в p8. -- Andrey Cherepanov cas@altlinux.org ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Comm] .NET Core на Альте (инструкция) 2017-03-22 8:07 ` Andrey Cherepanov @ 2017-03-22 9:00 ` Evgeny Sinelnikov 0 siblings, 0 replies; 5+ messages in thread From: Evgeny Sinelnikov @ 2017-03-22 9:00 UTC (permalink / raw) To: ALT Linux Community general discussions 22 марта 2017 г., 12:07 пользователь Andrey Cherepanov <cas@altlinux.org> написал: > 22.03.2017 11:02, Evgeny Sinelnikov пишет: >> 2017-03-22 11:24 GMT+04:00 Andrey Cherepanov <cas@altlinux.org>: >>> Установка .NET Core на Альт (версии 8) >>> >>> https://www.altlinux.org/.NET_Core >>> >>> Установите дополнительные пакеты: >>> apt-get install libunwind libicu54 >>> >>> Скачайте саму .NET для Fedora 23 cо страницы >>> https://www.microsoft.com/net/core#linuxfedora >>> curl -SL -o dotnet.tar.gz https://go.microsoft.com/fwlink/?linkid=843457 >>> >>> от root: >>> mkdir /opt/dotnet >>> tar xzf dotnet.tar.gz -C /opt/dotnet >>> ln -s /opt/dotnet/dotnet /usr/local/bin >>> >>> Проверка (не от root) >>> >>> (Желательно иметь в /tmp >2 ГБ свободного места) >>> dotnet new console -o hwapp >>> cd hwapp >>> dotnet restore >>> dotnet run >> >> Сразу два момента. Это какой-то старый p8. В новом уже libicu56 > Имея libicu50 и ibicu56, ты не запустишь .NET Core, так как он явно > пытается открыть /usr/lib/libicuuc.so.54 > Поэтому я и собрал libicu54 > А... ну, всё понятно. Тогда ты забыл упомянуть про apt-get update. Ну, и зеркало моё локальное через прокси отстает. Словил ещё один косяк: [sin@tor ~]$ ls -ld $HOME drwxr-xr-x 43 1002 wheel 4096 мар 22 12:16 /home/sin [sin@tor ~]$ ls -l ~ | grep 1002 -rwxr-xr-x 1 1002 wheel 159984 июн 16 2016 dotnet drwxr-xr-x 3 1002 wheel 4096 фев 28 04:36 host -rw-r--r-- 1 1002 wheel 9410 фев 24 21:37 LICENSE.txt drwxr-xr-x 3 1002 wheel 4096 фев 28 04:36 sdk drwxr-xr-x 3 1002 wheel 4096 фев 28 04:36 shared -rw-r--r-- 1 1002 wheel 8103 фев 24 21:37 ThirdPartyNotices.txt В какого момента??? >> [sin@tor Microsoft]$ sudo apt-get install libunwind libicu54 -y >> [sudo] password for sin: >> Чтение списков пакетов... Завершено >> Построение дерева зависимостей... Завершено >> Последняя версия libunwind уже установлена. >> E: Невозможно найти пакет libicu54 >> [sin@tor Microsoft]$ sudo apt-get install libicu56 -y >> Чтение списков пакетов... Завершено >> Построение дерева зависимостей... Завершено >> Последняя версия libicu56 уже установлена. >> >> >> И вторая тут же проблема: >> >> [sin@tor ~]$ dotnet new console -o hwapp >> Failed to initialize CoreCLR, HRESULT: 0x80131500 >> [sin@tor ~]$ dotnet --help >> Failed to initialize CoreCLR, HRESULT: 0x80131500 >> [sin@tor ~]$ which dotnet >> /usr/local/bin/dotnet >> [sin@tor ~]$ cd /opt/dotnet/ >> [sin@tor dotnet]$ ./dotnet --version >> Failed to initialize CoreCLR, HRESULT: 0x80131500 >> [sin@tor dotnet]$ dotnet --help >> Failed to initialize CoreCLR, HRESULT: 0x80131500 >> [sin@tor dotnet]$ ./dotnet --help >> Failed to initialize CoreCLR, HRESULT: 0x80131500 >> [sin@tor dotnet]$ ./dotnet > Это следствие отсутствия libicu54, который в p8 в репозиторий попал > сегодня утром. > >> Microsoft .NET Core Shared Framework Host >> >> Version : 1.1.0 >> Build : 928f77c4bc3f49d892459992fb6e1d5542cb5e86 >> >> Usage: dotnet [common-options] [[options] path-to-application] >> >> Common Options: >> --help Display .NET Core Shared Framework Host help. >> --version Display .NET Core Shared Framework >> Host version. >> >> Options: >> --fx-version <version> Version of the installed Shared >> Framework to use to run the application. >> --additionalprobingpath <path> Path containing probing policy and >> assemblies to probe for. >> >> Path to Application: >> The path to a .NET Core managed application, dll or exe file to execute. >> >> If you are debugging the Shared Framework Host, set 'COREHOST_TRACE' >> to '1' in your environment. >> >> To get started on developing applications for .NET Core, install the SDK from: >> http://go.microsoft.com/fwlink/?LinkID=798306&clcid=0x409 >> >> >> А вот и баги: >> >> - Failed to initialize CoreCLR, HRESULT: 0x80131500 >> https://github.com/dotnet/cli/issues/2018 >> >> Для FC24 получаем вот такую картину: >> >> [sin@tor dotnet]$ dotnet --version >> Failed to load /opt/dotnet/shared/Microsoft.NETCore.App/1.1.1/libhostpolicy.so, >> error: /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.22' not found >> (required by /opt/dotnet/shared/Microsoft.NETCore.App/1.1.1/libhostpolicy.so) >> An error occurred while loading required library libhostpolicy.so from >> [/opt/dotnet/shared/Microsoft.NETCore.App/1.1.1] > Потому что работает только на Sisyphus в связи со сборкой более новым > gcc, чем есть в p8. > -- Sin (Sinelnikov Evgeny) ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Comm] .NET Core на Альте (инструкция) 2017-03-22 7:24 [Comm] .NET Core на Альте (инструкция) Andrey Cherepanov 2017-03-22 8:02 ` Evgeny Sinelnikov @ 2017-03-22 14:00 ` Sergey V Turchin 1 sibling, 0 replies; 5+ messages in thread From: Sergey V Turchin @ 2017-03-22 14:00 UTC (permalink / raw) To: ALT Linux Community general discussions On Wednesday, 22 March 2017 10:24:03 MSK Andrey Cherepanov wrote: > Установка .NET Core на Альт (версии 8) https://github.com/dotnet/core планируется? [...] -- Regards, Sergey. ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2017-03-22 14:00 UTC | newest] Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2017-03-22 7:24 [Comm] .NET Core на Альте (инструкция) Andrey Cherepanov 2017-03-22 8:02 ` Evgeny Sinelnikov 2017-03-22 8:07 ` Andrey Cherepanov 2017-03-22 9:00 ` Evgeny Sinelnikov 2017-03-22 14:00 ` Sergey V Turchin
ALT Linux Community general discussions This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 community community/ http://lore.altlinux.org/community \ mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com public-inbox-index community Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.community AGPL code for this site: git clone https://public-inbox.org/public-inbox.git