Ceylon-sdk Build error

18 views
Skip to first unread message

Channa Gayan

unread,
Mar 20, 2015, 3:06:33 AM3/20/15
to ceylon-dev
Hi all,

When I try to build ceylon-sdk, got following error while compiling. Can anyone know what's wrong here? I'm new to ceylon.


[ceylon-compile-js] Note: Created module ceylon.promise/1.1.1
[ceylon-compile-js] error encountered [could not determine if parameter type is the same as the corresponding parameter
of refined member: 'that' of 'equals' declared by 'Array' refining 'equals' declared by 'Identifiable'] at 101:33-101:42
 of Array.ceylon
[ceylon-compile-js] error encountered [could not determine type of function or value reference: 'checkObject'] at 123:36
-123:46 of Array.ceylon
[ceylon-compile-js] error encountered [could not determine if parameter type is the same as the corresponding parameter
of refined member: 'that' of 'equals' declared by 'Array' refining 'equals' declared by 'Object'] at 101:33-101:42 of Ar
ray.ceylon
[ceylon-compile-js] error encountered [could not determine type of function or value reference: 'checkArray'] at 198:36-
198:45 of Array.ceylon
[ceylon-compile-js] error encountered [parameter type could not be determined: 'val' of 'checkInteger'] at 153:49-153:52
 of Array.ceylon
[ceylon-compile-js] error encountered [could not determine type of function or value reference: 'val'] at 172:22-172:24
of Array.ceylon
[ceylon-compile-js] error encountered [could not determine type of function or value reference: 'checkString'] at 138:36
-138:46 of Array.ceylon
[ceylon-compile-js] error encountered [could not determine type of function or value reference: 'checkBoolean'] at 183:3
6-183:47 of Array.ceylon
[ceylon-compile-js] error encountered [type declaration does not exist: 'LangObject'] at 126:23-126:32 of Array.ceylon
[ceylon-compile-js] error encountered [type declaration does not exist: 'LangObject'] at 156:21-156:30 of Array.ceylon
[ceylon-compile-js] error encountered [could not determine type of function or value reference: 'val'] at 116:41-116:43
of Array.ceylon
[ceylon-compile-js] error encountered [could not determine type of function or value reference: 'that'] at 102:20-102:23
 of Array.ceylon
[ceylon-compile-js] error encountered [could not determine type of function or value reference: 'val'] at 127:21-127:23
of Array.ceylon
[ceylon-compile-js] error encountered [could not determine type of function or value reference: 'val'] at 161:40-161:42
of Array.ceylon
[ceylon-compile-js] error encountered [type declaration does not exist: 'LangObject'] at 186:21-186:30 of Array.ceylon
[ceylon-compile-js] error encountered [could not determine type of function or value reference: 'checkFloat'] at 168:36-
168:45 of Array.ceylon
[ceylon-compile-js] error encountered [could not determine type of function or value reference: 'val'] at 146:42-146:44
of Array.ceylon
[ceylon-compile-js] error encountered [type declaration does not exist: 'LangObject'] at 171:25-171:34 of Array.ceylon
[ceylon-compile-js] error encountered [parameter type could not be determined: 'val' of 'checkFloat'] at 168:47-168:50 o
f Array.ceylon
[ceylon-compile-js] error encountered [TypeVisitor caused an exception visiting Import node: com.redhat.ceylon.compiler.
js.CompilerErrorException: Package ceylon.language not available in module Module[ceylon.json, 1.1.1] at com.redhat.ceyl
on.compiler.loader.JsonModule.getPackage(JsonModule.java:93)] at 4:0-6:0 of Array.ceylon
[ceylon-compile-js] error encountered [could not determine type of function or value reference: 'val'] at 176:42-176:44
of Array.ceylon
[ceylon-compile-js] error encountered [could not determine type of function or value reference: 'val'] at 131:41-131:43
of Array.ceylon
[ceylon-compile-js] error encountered [could not determine type of function or value reference: 'val'] at 191:40-191:42
of Array.ceylon
[ceylon-compile-js] error encountered [could not determine type of function or value reference: 'val'] at 112:21-112:23
of Array.ceylon
[ceylon-compile-js] error encountered [parameter type could not be determined: 'val' of 'checkBoolean'] at 183:49-183:52
 of Array.ceylon
[ceylon-compile-js] error encountered [parameter type could not be determined: 'val' of 'checkString'] at 138:48-138:51
of Array.ceylon
[ceylon-compile-js] error encountered [type declaration does not exist: 'LangObject'] at 141:25-141:34 of Array.ceylon
[ceylon-compile-js] error encountered [parameter type could not be determined: 'val' of 'checkObject'] at 123:48-123:51
of Array.ceylon
[ceylon-compile-js] error encountered [parameter type could not be determined: 'val' of 'checkArray'] at 198:47-198:50 o
f Array.ceylon
[ceylon-compile-js] error encountered [could not determine type of function or value reference: 'checkInteger'] at 153:3
6-153:47 of Array.ceylon
[ceylon-compile-js] error encountered [could not determine type of function or value reference: 'val'] at 157:20-157:22
of Array.ceylon
[ceylon-compile-js] error encountered [could not determine if parameter type is the same as the corresponding parameter
of refined member: 'that' of 'equals' declared by 'Array' refining 'equals' declared by 'List'] at 101:33-101:42 of Arra
y.ceylon
[ceylon-compile-js] error encountered [type declaration does not exist: 'LangObject'] at 111:23-111:32 of Array.ceylon
[ceylon-compile-js] error encountered [type declaration does not exist: 'LangObject'] at 101:33-101:42 of Array.ceylon
[ceylon-compile-js] error encountered [could not determine type of function or value reference: 'val'] at 142:22-142:24
of Array.ceylon
[ceylon-compile-js] error encountered [could not determine type of function or value reference: 'val'] at 187:20-187:22
of Array.ceylon
[ceylon-compile-js] 36 errors.


Regards,
Channa Somathilaka
Faculty of Engineering
Dpt. of Computer Science and Engineering
University of Moratuwa.

Gavin King

unread,
Mar 20, 2015, 5:34:21 AM3/20/15
to ceylo...@googlegroups.com
What Ceylon compiler are you using to build? Ceylon 1.1? Ceylon from git?
> --
> You received this message because you are subscribed to the Google Groups
> "ceylon-dev" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to ceylon-dev+...@googlegroups.com.
> To post to this group, send email to ceylo...@googlegroups.com.
> Visit this group at http://groups.google.com/group/ceylon-dev.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/ceylon-dev/CAPuiZKc_r3D%2BYOCgGHhPcLvxSTahmYPqwpQjLYBSd8Fb1JSvEw%40mail.gmail.com.
> For more options, visit https://groups.google.com/d/optout.



--
Gavin King
ga...@ceylon-lang.org
http://profiles.google.com/gavin.king
http://ceylon-lang.org
http://hibernate.org
http://seamframework.org

Channa Gayan

unread,
Mar 20, 2015, 6:12:23 AM3/20/15
to ceylon-dev
I'm trying Ceylon from git

Regards,
Channa Somathilaka
Faculty of Engineering
Dpt. of Computer Science and Engineering
University of Moratuwa.

Gavin King

unread,
Mar 20, 2015, 6:30:42 AM3/20/15
to ceylo...@googlegroups.com

Channa Gayan

unread,
Mar 20, 2015, 9:18:32 AM3/20/15
to ceylon-dev
Still the same error, Is there any other method other than getting source from git?

Regards,
Channa Somathilaka
Faculty of Engineering
Dpt. of Computer Science and Engineering
University of Moratuwa.

Tako Schotanus

unread,
Mar 20, 2015, 9:28:31 AM3/20/15
to ceylon-dev
Channa, are you sure you are following the instructions found on the website to the letter?


You are sure you have an up-to-date compiler, etc, when compiling the SDK?

Checking for Ceylon's version should give you this:

$ ceylon --version
ceylon version 1.1.1 (Pif Gadget)



-Tako

Channa Gayan

unread,
Mar 20, 2015, 1:00:55 PM3/20/15
to ceylon-dev
Thanks all, I started again from the beginning and it works fine now.

Regards,
Channa Somathilaka
Faculty of Engineering
Dpt. of Computer Science and Engineering
University of Moratuwa.

Reply all
Reply to author
Forward
0 new messages