Sam doesn't install on linux

42 views
Skip to first unread message

Bruce Davidson

unread,
Feb 5, 2016, 3:45:12 PM2/5/16
to ooc-lang
I'm using elementary OS 0.3.2 Freya (64-bit), Built on Ubuntu 14.04
I'm following these instructions to install: https://ooc-lang.org/install/

I entter rock -vv, and there are no errors, it ends with
...

Generating C sources...

Compiling with 4 threads...

sdk, sam-assert, 

[ OK ]


But I am unable to run ./sam, it tells me that the file does not exist.

Message has been deleted

h3l1xc ​

unread,
Feb 12, 2016, 12:59:32 PM2/12/16
to ooc-lang
I had the same problem. Run rock -vv sam.use

Bruce Davidson

unread,
Jan 27, 2017, 11:23:30 AM1/27/17
to ooc-lang
Nope, that fails.

rock -vv sam.use
[lang/Backtrace] Falling back on execinfo.. (build extension if you want fancy backtraces)
[Exception in FileReader]: Couldn't open sam.use for reading: No such file or directory(SIGABRT) abort program
rock(lang_Backtrace__BacktraceHandler_backtrace_impl+0xe0) [0x581df0]
rock(lang_Exception__Exception_getCurrentBacktrace+0x13) [0x56c483]
rock(lang_Exception___signalHandler+0x134) [0x56c5e4]
/lib/x86_64-linux-gnu/libc.so.6(+0x354b0) [0x7fd13f8374b0]
/lib/x86_64-linux-gnu/libc.so.6(gsignal+0x38) [0x7fd13f837428]
/lib/x86_64-linux-gnu/libc.so.6(abort+0x16a) [0x7fd13f83902a]
rock(lang_Exception__Exception_throw_impl+0x50) [0x56d910]
rock(io_FileReader__FileReader_new_withFile+0x136) [0x585c86]
rock(rock_middle_UseDef__UseDef_read_impl+0x36) [0x526366]
rock(rock_frontend_CommandLine__CommandLine_prepareCompilationFromUse_impl+0x6d) [0x4a53bd]
rock(rock_frontend_CommandLine__CommandLine_init+0x567) [0x4a5c27]
rock(rock_frontend_CommandLine__CommandLine_new+0x5e) [0x4a7e0e]
rock(main+0xa2) [0x4a4142]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf0) [0x7fd13f822830]
rock(_start+0x29) [0x4a4179]

Bruce Davidson

unread,
Jan 27, 2017, 11:27:06 AM1/27/17
to ooc-lang
Well, when I  go ahead and try to use it normally it's working. Its just the 'post install verification' that fails.
I guess, just ignore that and use it anyway.... does't give me much confidence i the product, a year later and it still does this.

Bruce Davidson

unread,
Jan 27, 2017, 11:45:37 AM1/27/17
to ooc-lang
Oh, it's the install instructions are wrong. Later on, it has you set the OOC_LIBS environment value.  Once I set that, the verification worked.
Odd, I had to follow the Mac instructions to get this to work on Linux...
Reply all
Reply to author
Forward
0 new messages