Git Product home page Git Product logo

Comments (12)

funnelweb avatar funnelweb commented on May 27, 2024

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.

migueldeicaza avatar migueldeicaza commented on May 27, 2024

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.

codeofthewoosters avatar codeofthewoosters commented on May 27, 2024

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.

jaceklaskowski avatar jaceklaskowski commented on May 27, 2024

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.

codeofthewoosters avatar codeofthewoosters commented on May 27, 2024

@jaceklaskowski - Yes, but when I execute...

$ type mono

...I get...

/usr/bin/mono

Does the build need the path you mention?

from fsharp.

funnelweb avatar funnelweb commented on May 27, 2024

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.

jaceklaskowski avatar jaceklaskowski commented on May 27, 2024

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.

jaceklaskowski avatar jaceklaskowski commented on May 27, 2024

@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.

codeofthewoosters avatar codeofthewoosters commented on May 27, 2024

@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.

cartazio avatar cartazio commented on May 27, 2024

@codeofthewoosters sounds like you have the same config as I (brew etc, plus same mono version)

from fsharp.

jaceklaskowski avatar jaceklaskowski commented on May 27, 2024

Ah, I'm using http://www.macports.org/

from fsharp.

funnelweb avatar funnelweb commented on May 27, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.