Comments (12)
Have you installed mono? It installs in
/Library/Frameworks/Mono.framework/Versions/
Look for 2.9.10 or 2.11.4. Install from http://go-mono.com
If you want to try F#, look at http://preview.tryfsharp.org
from fsharp.
What operating system and version are you using to compile F#?
The error means that you do not have autogen automake installed. That said, it is odd that aclocal woiuld be looking in /opt/local, is that a local configuration thing
As for not finding mono, what version do you have installed?
from fsharp.
I am also getting this error, and I already have autogen automake installed via homebrew on the mac (running Lion OSX).
I can confirm also that Mono is installed in the following directory on my machine:
/Library/Frameworks/Mono.framework/Versions/
I have Mono version 2.10.9 installed currently, which as I understand is sufficient to build the F# 3.0 compiler. Any ideas as to what I am missing?
from fsharp.
Have you added mono to the PATH so it's available on the command line, i.e.
$ type mono
mono is /Library/Frameworks/Mono.framework/Versions/Current/bin/mono
from fsharp.
@jaceklaskowski - Yes, but when I execute...
$ type mono
...I get...
/usr/bin/mono
Does the build need the path you mention?
from fsharp.
The first aclocal error can be ignored (it is only there to help
autoreconfig run on some Mac installs). It doesn't matter if that aclocal
path doesn't exist. If you want, remove the call to aclocal and proceed.
Will add a change to suppress the error/warning.
I don't know why the check for mono is failing when mono is obviously
installed. Perhaps just try to comment out the package check and proceed.
Would be great if you could stick with it to help us iron out these
glitches in the source build
-- ben
On Sat, Oct 13, 2012 at 7:09 AM, Carter Tazio Schonwald <
[email protected]> wrote:
i just did a fresh mono dev install , and autogen fails, and I also have
absolutely no clue where mono installs anything aside from the mono binary.
(and the docs on the mono site don't help me or perhaps i'm not looking in
the correct part of the site)Downloads/fsharp-fsharp-f3369c1 ยป ./autogen.sh
aclocal: error: couldn't open directory '/opt/local/share/aclocal': No
such file or directory
checking whether make sets $(MAKE)... yes
checking for pkg-config... /usr/local/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for MONO... no
configure: error: Package requirements (mono >= 2.9) were not met:No package 'mono' found
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.Alternatively, you may set the environment variables MONO_CFLAGS
and MONO_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.(point being, while i'm not a general newbie, i am a mono novice / noob
but I do want to try out F# for a change :) )โ
Reply to this email directly or view it on GitHubhttps://github.com//issues/30.
from fsharp.
I don't know, but it worked for me with the path given so it's worth to give it a try. It's also worth to check the version.
$ mono -V
Mono JIT compiler version 2.11.4 (master/417ec78 Thu Sep 6 15:30:12 EDT 2012)
Copyright (C) 2002-2012 Novell, Inc, Xamarin Inc and Contributors. www.mono-project.com
TLS: normal
SIGSEGV: altstack
Notification: kqueue
Architecture: x86
Disabled: none
Misc: softdebug
LLVM: yes(3.1svn-mono)
GC: Included Boehm (with typed GC)
$ uname -a
Darwin devmac.local 10.8.0 Darwin Kernel Version 10.8.0: Tue Jun 7 16:33:36 PDT 2011; root:xnu-1504.15.3~1/RELEASE_I386 i386
$ fsharpi
Microsoft (R) F# 3.0 Interactive version (Mono build)
Copyright (c) Microsoft Corporation. All Rights Reserved.
For help type #help;;
from fsharp.
@codeofthewoosters Would also be useful to know what /usr/bin/mono points to.
jacek:~
$ ls -l /usr/bin/mono
lrwxr-xr-x 1 root wheel 48 Dec 23 2009 /usr/bin/mono -> /Library/Frameworks/Mono.framework/Commands/mono
jacek:~
$ type mono
mono is hashed (/Library/Frameworks/Mono.framework/Versions/Current/bin/mono)
jacek:~
$ ls -l /Library/Frameworks/Mono.framework/Commands/mono
-rwxr-xr-x 1 root admin 4447756 Sep 6 21:41 /Library/Frameworks/Mono.framework/Commands/mono
jacek:~
$ ls -l /Library/Frameworks/Mono.framework/Versions/Current/bin/mono
-rwxr-xr-x 1 root admin 4447756 Sep 6 21:41 /Library/Frameworks/Mono.framework/Versions/Current/bin/mono
from fsharp.
@jaceklaskowski - Mine is slightly different. See the second command? But I also see you are running Mono
2.11.4. I'm running 2.10.9.
$ ls -l /usr/bin/mono
lrwxr-xr-x 1 root wheel 48 13 Sep 23:37 /usr/bin/mono -> /Library/Frameworks/Mono.framework/Commands/mono
$ type mono
mono is /usr/bin/mono
$ ls -l /Library/Frameworks/Mono.framework/Commands/mono
-rwxr-xr-x 1 root admin 3715940 8 May 18:10 /Library/Frameworks/Mono.framework/Commands/mono
$ ls -l /Library/Frameworks/Mono.framework/Versions/Current/bin/mono
-rwxr-xr-x 1 root admin 3715940 8 May 18:10 /Library/Frameworks/Mono.framework/Versions/Current/bin/mono
@funnelweb - I've commented out the call to the aclocal path.
from fsharp.
@codeofthewoosters sounds like you have the same config as I (brew etc, plus same mono version)
from fsharp.
Ah, I'm using http://www.macports.org/
from fsharp.
Just removed the PKG_CHECK_MODULES for now, see 5d92337
Please try to build again if you had problems with this.
from fsharp.
Related Issues (20)
- Compiler and interactive session crash instantly. HOT 2
- StackOverflow calling very large generated function HOT 3
- .Net Core FSI causes security exception when attempting to executing a PInvoke call HOT 11
- Does F# type inference works top-down (and left-right) only? HOT 2
- Why is Map.filter 10x slower than using a query to select the keys and remove those individually? HOT 2
- Can't build with mono 5.18 / msbuild 15.3 (also fails without msbuild) HOT 19
- FSI evaluates expressions incorrectly HOT 1
- Result builder throwing null reference exception HOT 5
- Fail to parse(?) decimals with FSharpValue.MakeRecord ONLY in iOS device with Region Spanish/Colombia HOT 8
- fsharpi error on matching union type HOT 1
- Missing code for version 4.5.4 and 4.6.0+ HOT 3
- Publish F# 4.6 FSharp.Compiler.Tools package HOT 16
- fsharpi crash when applying attribute to type parameter HOT 2
- IEvent.Publish "forgets" that it's an IObservable when used with an anonymous record argument HOT 2
- Publish F-Sharp 4.6 on Github HOT 4
- F#: [<StructuredFormatDisplay>] in composed records just print dots. (...) HOT 2
- is there any uwp or wpf template for f# in visual studio? HOT 1
- can't run fsi HOT 4
- The property of `Struct Record` should add [<IsReadOnly>] for the read operation HOT 2
- This repo can be retired HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fsharp.