This repository has been archived by the owner on Jan 3, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 322
Error building on Mono 2.8.1 #1
Comments
pokoing around it looks like you needed --prefix=/opt/mono-2.8.1 |
This was referenced Nov 29, 2013
7sharp9
referenced
this issue
in 7sharp9/fsharp
May 23, 2014
Corrected .NETCore path and reference assemblies for Profile78
dsyme
added a commit
that referenced
this issue
Sep 26, 2016
Closed
This issue was closed.
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I installed mono using Nathan Bridgewater's script. I then attempted to install F# using the configure option
--prefix=/opt
. The output was the following:ryan@ryan-laptop:
/src/fsharp$ which mono/src/fsharp$ ./configure --prefix=/opt/opt/mono-2.8.1/bin/mono
ryan@ryan-laptop:
checking whether make sets $(MAKE)... yes
configure: creating ./config.status
config.status: creating launcher
config.status: creating Makefile
config.status: creating config.make
config.status: creating src/fsharp/Makefile
config.status: creating src/fsharp/FSharp.Build-proto/Makefile
config.status: creating src/fsharp/FSharp.Compiler-proto/Makefile
config.status: creating src/fsharp/Fsc-proto/Makefile
config.status: creating src/fsharp/FSharp.Core/Makefile
config.status: creating src/fsharp/FSharp.Build/Makefile
config.status: creating src/fsharp/FSharp.Compiler/Makefile
config.status: creating src/fsharp/Fsc/Makefile
ryan@ryan-laptop:~/src/fsharp$ make
make -C src/fsharp all
make[1]: Entering directory
/home/ryan/src/fsharp/src/fsharp' make -C FSharp.Build-proto all make[2]: Entering directory
/home/ryan/src/fsharp/src/fsharp/FSharp.Build-proto'mkdir -p .libs
mkdir -p .libs//2.0
mkdir -p .libs//4.0
mono --debug /home/ryan/src/fsharp/lib/bootstrap/2.0/fssrgen.exe /home/ryan/src/fsharp/src/fsharp/FSharp.Build-proto/../FSharp.Build/FSBuild.txt .libs/FSBuild.fs .libs/FSBuild.resx
resgen .libs/FSBuild.resx .libs/FSBuild.resources
Read in 1 resources from '/home/ryan/src/fsharp/src/fsharp/FSharp.Build-proto/.libs/FSBuild.resx'
Writing resource file... Done.
MONO_PATH=/home/ryan/src/fsharp/lib/bootstrap/4.0/ mono --debug /home/ryan/src/fsharp/lib/bootstrap/4.0/fsc.exe -o:.libs/4.0/FSharp.Build-proto.dll -r:/home/ryan/src/fsharp/lib/bootstrap/4.0/FSharp.Core.dll -r:/opt/lib/mono/4.0/Microsoft.Build.Engine.dll -r:/opt/lib/mono/4.0/Microsoft.Build.Framework.dll -r:/opt/lib/mono/3.5/Microsoft.Build.Tasks.v3.5.dll -r:/opt/lib/mono/3.5/Microsoft.Build.Utilities.v3.5.dll -r:/opt/lib/mono/4.0/mscorlib.dll -r:/opt/lib/mono/4.0/System.Core.dll -r:/opt/lib/mono/4.0/System.dll -r:/opt/lib/mono/4.0/System.Numerics.dll --define:BUILDING_WITH_LKG --define:NO_STRONG_NAMES --define:TRACE --define:FX_ATLEAST_35 --define:MONO --define:CODE_ANALYSIS --define:DEBUG --define:FX_ATLEAST_40 --doc:.libs/4.0/FSharp.Build-proto.xml --version:4.0.0.0 -g --mlcompatibility --noframework --fullpaths --times --nowarn:9 --target:library --resource:.libs/FSBuild.resources .libs//FSBuild.fs /home/ryan/src/fsharp/src/fsharp/FSharp.Build-proto/../../utils/CompilerLocationUtils.fs /home/ryan/src/fsharp/src/fsharp/FSharp.Build-proto/../FSharp.Build/CreateFSharpManifestResourceName.fsi /home/ryan/src/fsharp/src/fsharp/FSharp.Build-proto/../FSharp.Build/CreateFSharpManifestResourceName.fs /home/ryan/src/fsharp/src/fsharp/FSharp.Build-proto/../FSharp.Build/Fsc.fsi /home/ryan/src/fsharp/src/fsharp/FSharp.Build-proto/../FSharp.Build/Fsc.fs
warning FS0075: The command-line option '--version' has been deprecated
warning FS0075: The command-line option 'times' is for internal use only
error FS0218: Unable to read assembly '/opt/lib/mono/4.0/mscorlib.dll'
make[2]: *** [.libs//4.0/FSharp.Build-proto.dll] Error 1
make[2]: Leaving directory
/home/ryan/src/fsharp/src/fsharp/FSharp.Build-proto' make[1]: *** [all] Error 2 make[1]: Leaving directory
/home/ryan/src/fsharp/src/fsharp'make: *** [all] Error 2
The text was updated successfully, but these errors were encountered: