-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
install from sources failed #2624
Comments
Your |
Here are the complete steps I followed. Please let me know if something needs to be fixed. [rjammalamadaka@localhost ~]$ git clone -b master git://github.com/Araq/Nim.git Thanks, |
Why don't you try using the |
devel branch works. Thanks. |
Oh yeah we need to update the csources master branch. Thanks for reporting! |
Works for me now. Please reopen if still a problem. |
Thanks for fixing it @Araq |
I hit this problem too, and ended up working around it by deleting my Nim clone and creating a new one. The problem is that ./build.sh doesn't update the csources clone if it already exists, and for that matter doesn't make sure Nim and csources are both on the same branch. |
I made sure that I was on the master branch and still hit this error.
[rjammalamadaka@localhost Nim]$ bin/nim c koch
config/nim.cfg(53, 2) Hint: added path: '/home/rjammalamadaka/.babel/pkgs/' [Path]
config/nim.cfg(54, 2) Hint: added path: '/home/rjammalamadaka/.nimble/pkgs/' [Path]
Hint: used config file '/home/rjammalamadaka/Nim/config/nim.cfg' [Conf]
Hint: used config file 'koch.nim.cfg' [Conf]
Hint: system [Processing]
lib/system.nim(147, 40) Warning: unknown magic 'Addr' might crash the compiler [UnknownMagic]
lib/system.nim(152, 39) Warning: unknown magic 'TypeOf' might crash the compiler [UnknownMagic]
lib/system.nim(229, 62) Warning: unknown magic 'DotDot' might crash the compiler [UnknownMagic]
lib/system.nim(237, 59) Warning: unknown magic 'DotDot' might crash the compiler [UnknownMagic]
lib/system.nim(3210, 31) Warning: unknown magic 'Plugin' might crash the compiler [UnknownMagic]
lib/system.nim(3242, 31) Warning: unknown magic 'ProcCall' might crash the compiler [UnknownMagic]
lib/system.nim(3251, 44) Warning: unknown magic 'Roof' might crash the compiler [UnknownMagic]
lib/system.nim(3269, 34) Warning: unknown magic 'XLenStr' might crash the compiler [UnknownMagic]
lib/system.nim(3270, 37) Warning: unknown magic 'XLenSeq' might crash the compiler [UnknownMagic]
Hint: koch [Processing]
Hint: os [Processing]
Hint: strutils [Processing]
Hint: parseutils [Processing]
Hint: times [Processing]
lib/pure/times.nim(585, 30) Info: instantiation from here
lib/system.nim(229, 62) Warning: unknown magic 'DotDot' might crash the compiler [UnknownMagic]
Hint: posix [Processing]
Hint: parseopt [Processing]
lib/pure/parseopt.nim(59, 34) Warning: quoteIfContainsWhite is deprecated [Deprecated]
Hint: osproc [Processing]
Hint: strtabs [Processing]
Hint: hashes [Processing]
Hint: streams [Processing]
Hint: cpuinfo [Processing]
Hint: linux [Processing]
lib/pure/osproc.nim(647, 4) Error: undeclared identifier: 'defer'
[rjammalamadaka@localhost Nim]$ uname -a
Linux localhost.localdomain 2.6.32-504.12.2.el6.x86_64 #1 SMP Wed Mar 11 22:03:14 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
[rjammalamadaka@localhost Nim]$ gcc --version
gcc (GCC) 4.4.7 20120313 (Red Hat 4.4.7-11)
Copyright (C) 2010 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
The text was updated successfully, but these errors were encountered: