Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I keep getting this message #185

Closed
Yuna-She-They opened this issue Jan 24, 2018 · 11 comments
Closed

I keep getting this message #185

Yuna-She-They opened this issue Jan 24, 2018 · 11 comments

Comments

@Yuna-She-They
Copy link

mkdir -p bootstrap
cp -R lib/ bootstrap/lib

Mono loads log4net before privatebinpath is set-up, so we need this in the same directory

as NAnt.exe

cp lib/common/neutral/log4net.dll bootstrap
cp src/NAnt.Console/App.config bootstrap/NAnt.exe.config
/Library/Frameworks/Mono.framework/Versions/Current/bin/mcs -target:exe -define:MONO,NET_1_0,NET_1_1,NET_2_0,ONLY_2_0 -out:bootstrap/NAnt.exe -r:bootstrap/log4net.dll
-r:System.Configuration.dll -recurse:src/NAnt.Console/*.cs src/CommonAssemblyInfo.cs
/bin/sh: 1: /Library/Frameworks/Mono.framework/Versions/Current/bin/mcs: not found
Makefile:98: recipe for target 'bootstrap/NAnt.exe' failed
make: *** [bootstrap/NAnt.exe] Error 127

@masonwheeler
Copy link
Contributor

This is saying you don't have MCS (the Mono C# compiler) available. Can you double-check your Mono install?

@Yuna-She-They
Copy link
Author

I just did an auto-remove and reinstall and it is still giveing me the same error? the output of mono --version is:

Mono JIT compiler version 4.2.1 (Debian 4.2.1.102+dfsg2-7ubuntu4)
Copyright (C) 2002-2014 Novell, Inc, Xamarin Inc and Contributors. www.mono-project.com
TLS: __thread
SIGSEGV: altstack
Notifications: epoll
Architecture: amd64
Disabled: none
Misc: softdebug
LLVM: supported, not enabled.
GC: sgen

@masonwheeler
Copy link
Contributor

Not sure.

@eatdrinksleepcode Any idea what's going on here? You set up the bootstrap script.

@rmboggs
Copy link
Collaborator

rmboggs commented Jan 24, 2018 via email

@eatdrinksleepcode
Copy link
Contributor

@Braber01 are you running on a Mac? can you post the output of the following commands?

which mono
ls -al /Library/Frameworks/Mono.framework/Versions/Current
ls -al /Library/Frameworks/Mono.framework/Versions/Current/bin/mcs
ls -al /Library/Frameworks/Mono.framework/Versions/4.2.1/bin/mcs

@Yuna-She-They
Copy link
Author

which mono: /usr/bin mono

the last three give me no such file or directory

@Yuna-She-They
Copy link
Author

I'm a dummy I didnt install mono correctly .....

@masonwheeler
Copy link
Contributor

Did you get it working then? :)

@Yuna-She-They
Copy link
Author

Nope I didn't apprently there isn't a Libary directory under my root folder :(

@Yuna-She-They Yuna-She-They reopened this Jan 26, 2018
@eatdrinksleepcode
Copy link
Contributor

@Braber01 can you confirm my previous question:

are you running on a Mac?

If you don't have a /Library folder then I'm guessing not. The bootstrap script works on the Travis build, which is Linux, but I haven't tested it generally on any non-Mac environments.

@Yuna-She-They
Copy link
Author

ah the probmem would be Iḿ running Linux Mint Sylvia, Please update me if you guys can figure out how to get it to work there

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants