linux - Unable to find msbuild when compiling fsharp -


before attempting compiles of latest fsharp code, have compiled , installed mono-5.0.1 on redhat enterprise 7 linux distribution running on linux on z.

mono --version mono jit compiler version 5.0.1.1 (2017-02/5077205 fri jul 28 08:35:19 edt 2017) copyright (c) 2002-2014 novell, inc, xamarin inc , contributors. www.mono-project.com    tls:           __thread    sigsegv:       normal    notifications: epoll    architecture:  s390x    disabled:      none    misc:          softdebug     gc:            sgen (concurrent default) 

i have installed mono in /usr/local. before attempting run autogen.sh, had exported following envars:

export pkg_config_path=/usr/local/mono/lib/pkgconfig/ export ld_library_path=$ld_library_path:/usr/local/lib export pkg_config_libdir=/usr/local/lib/pkgconfig 

when attempt run autogen.sh, following errors:

./autogen.sh --prefix=/usr/local checking whether make sets $(make)... yes checking pkg-config... /bin/pkg-config configure: "pkg-config: /bin/pkg-config" configure: "pkg_config_libdir: /usr/local/lib/pkgconfig" checking msbuild... no configure: error: not find msbuild 

i checked extraction of mono-5.0.1 tarball got , see no reference msbuild. there anyway overcome lack of msbuild in mono can fsharp compile , work? got later version of mono ought there. thoughts or suggestions appreciated.

i tried following suggestion of getting branch of mono msbuild included in , got following errors:

#  ./cibuild.sh --target mono   ** using mono /usr/local/bin/mono   mono jit compiler version 5.0.1.1 (2017-02/5077205 fri jul 28 08:35:19 edt 2017)   copyright (c) 2002-2014 novell, inc, xamarin inc , contributors. www.mono-project.com       tls:           __thread       sigsegv:       normal       notifications: epoll       architecture:  s390x       disabled:      none       misc:          softdebug       gc:            sgen (concurrent default)   ** downloading msbuild https://github.com/microsoft/msbuild/releases/download/mono-hosted-msbuild-v0.03/mono_msbuild_d25dd923839404bd64cc63f420e75acf96fc75c4.zip   installing dotnet cli...   restoring buildtools version 1.0.27-prerelease-00927-05...   /home/xxx/downloads/msbuild-d15.3/init-tools.sh: line 116: /home/xxx/downloads/msbuild-d15.3/tools/dotnetcli/dotnet: cannot execute binary file   error: not restore build tools correctly. see '/home/xxx/downloads/msbuild-d15.3/init-tools.log' more details.   ============= /home/xxx/downloads/msbuild-d15.3/init-tools.log ===========   running: /home/xxx/downloads/msbuild-d15.3/init-tools.sh   installing 'https://dotnetcli.blob.core.windows.net/dotnet/sdk/1.0.0-preview3-003686/dotnet-dev-rhel-x64.1.0.0-preview3-003686.tar.gz' '/home/xxx/downloads/msbuild-d15.3/tools/dotnetcli/dotnet.tar'   running: /home/xxx/downloads/msbuild-d15.3/tools/dotnetcli/dotnet restore "/home/xxx/downloads/msbuild-d15.3/tools/1.0.27-prerelease-00927-05/project.json" --no-cache --packages /home/xxx/downloads/msbuild-d15.3/packages --source https://dotnet.myget.org/f/dotnet-buildtools/api/v3/index.json --legacy-packages-directory   ============= end of /home/xxx/downloads/msbuild-d15.3/init-tools.log ===========   initializing buildtools...   /home/xxx/downloads/msbuild-d15.3/init-tools.sh: line 127: /home/xxx/downloads/msbuild-d15.3/packages/microsoft.dotnet.buildtools/1.0.27-prerelease-00927-05/lib/init-tools.sh: no such file or directory   error: error occured when trying initialize tools. please check '/home/xxx/downloads/msbuild-d15.3/init-tools.log' more details.1   # ls -l /home/xxx/downloads/msbuild-d15.3/init-tools.log   -rw-r--r--. 1 root root 880 jul 31 08:16 /home/xxx/downloads/msbuild-d15.3/init-tools.log   # ls -l /home/xxx/downloads/msbuild-d15.3/tools/dotnetcli/dotnet -rwxr-xr-x. 1 root root 128766 jun 15  2016 /home/xxx/downloads/msbuild-d15.3/tools/dotnetcli/dotnet 

as suggested in comments, tried use mono-5.2 builds present in https://github.com/mono/mono/releases , fail following errors:

if test -w /home/xxx/downloads/mono-mono-5.2.0.213/mcs; :; else chmod -r +w /home/xxx/downloads/mono-mono-5.2.0.213/mcs; fi cd /home/xxx/downloads/mono-mono-5.2.0.213/mcs && make --no-print-directory -s no_dir_check=1 profiles='binary_reference_assemblies net_4_x xbuild_12 xbuild_14         ' cc='gcc' all-profiles mkdir -p -- build/deps /usr/local/bin/mcs: line 2: /usr/local/bin/mono: no such file or directory make[6]: *** [build/deps/basic-profile-check.exe] error 127 *** downloading bootstrap required 'monolite/1050200001' --2017-08-01 08:03:09--  https://download.mono-project.com/monolite/monolite-1050200001-latest.tar.gz resolving download.mono-project.com (download.mono-project.com)... 72.21.81.200, 2606:2800:11f:17a5:191a:18d5:537:22f9 connecting download.mono-project.com (download.mono-project.com)|72.21.81.200|:443... connected. http request sent, awaiting response... 200 ok length: 4740059 (4.5m) [application/x-gzip] saving to: ‘stdout’       0k .......... .......... .......... .......... ..........  1% 4.34m 1s ... <removed lines> ... <removed lines>   4600k .......... .......... ........                        100% 7.54m=0.6s  2017-08-01 08:03:10 (7.54 mb/s) - written stdout [4740059/4740059]  *** runtime 'mono' doesn't appear usable. *** trying 'monolite/1050200001' directory. creating .dep_dirs-basic... mkdir -p -- ../../class/lib/basic/ make[8]: *** no rule make target `../../../external/corefx/src/system.security.cryptography.x509certificates/src/system/security/cryptography/x509certificates/x509contenttype.cs', needed `../../class/lib/basic/mscorlib.dll'.  stop. make[7]: *** [do-all] error 2 make[6]: *** [all-recursive] error 1 make[5]: *** [all-recursive] error 1 make[4]: *** [profile-do--basic--all] error 2 make[3]: *** [profiles-do--all] error 2 make[2]: *** [all-local] error 2 make[2]: leaving directory `/home/xxx/downloads/mono-mono-5.2.0.213/runtime' make[1]: *** [all-recursive] error 1 make[1]: leaving directory `/home/xxx/downloads/mono-mono-5.2.0.213' make: *** [all] error 2 


Comments

Popular posts from this blog

javascript - Create a stacked percentage column -

Optimising Firebase database by automatically overwriting data -

javascript - Angular UI-Grid customTemplate directive causing rows to load slowly/? -