***UNCHECKED*** Re: Trả lời: About : install judgehost with kotlin compiler support

Nicky Gerritsen nickygerritsen at me.com
Tue Oct 27 10:46:26 CET 2020


Please always send the messages to the list.

I think still kotlinc is not found in the path by the judgehost. Make sure it is.

Nicky
On 27 Oct 2020, 10:44 +0100, Tran Binh Duong (FE FPTU HN) <DuongTB at fe.edu.vn>, wrote:
> Hi Nicky,
>
> I install sucessfully kotlin both inside and outside /chroot/domjudge, but when the judgehost judging submission, this message is still reported:
> Compiling failed with exitcode 127, compiler output:
> /opt/domjudgeicpc2020/judgehost/judgings/judgehost03-0/endpoint-default/executable/kt/run: 46: /opt/domjudgeicpc2020/judgehost/judgings/judgehost03-0/endpoint-default/executable/kt/run: kotlinc: not found
>
> I think the problem is because of lacking permission, but how to solve it?
>
> Regards,
> Trần Bình Dương (Mr)
> IT Lecturer
> Software Engineering Department , FPT University
> 29th Kilometer Thang Long Boulevard, Thach Hoa commune, Thach That Province, Education and Training Area, Hoa Lac High Tech Park, Ha Noi
> Mobile:(+84) 936168165
> Skype: avn_duong.tb
> E-mail: duongtb at fe.edu.vn
> Website: ....
>
> Từ: Nicky Gerritsen <nickygerritsen at me.com>
> Đã gửi: 27 Tháng Mười 2020 2:46 CH
> Đến: Tran Binh Duong (FE FPTU HN) <DuongTB at fe.edu.vn>
> Chủ đề: Re: About : install judgehost with kotlin compiler support
>
> Hi Trần,
>
> For the currently released version of DOMjudge, you need to install Kotlin installed both inside and outside the chroot.
> Also note that it needs to be in the $PATH to be accessible. An option would be to create a symlink to kotlinc in /usr/bin or similar…….
>
> Nicky
> On 27 Oct 2020, 04:26 +0100, Tran Binh Duong (FE FPTU HN) <DuongTB at fe.edu.vn>, wrote:
> > Hi all,
> >
> > I'm trying to install kotlin into our contest environment to open for contestants who will use kotlin as a language to solve their problem.
> > But, it is still not success.
> >
> > I tried install kotlin by using snap, but there is a bug related to permission so I uninstalled it.
> > Then, I installed in another way by using sdk script and Kotlinc is actually worked properly by using command lines in terminals.
> >
> > But when it was executing in judgehost, I got this message:
> > =========
> > Compiling failed with exitcode 127, compiler output: /opt/domjudgeicpc2020/judgehost/judgings/judgehost03-0/endpoint-default/executable/kt/run: 46: /opt/domjudgeicpc2020/judgehost/judgings/judgehost03-0/endpoint-default/executable/kt/run: kotlinc: not found
> > =========
> >
> > My installed kotlin compiler version is:
> > =======
> > /opt/domjudgeicpc2020/judgehost/bin$ kotlinc -version
> > info: kotlinc-jvm 1.4.10 (JRE 1.8.0_144-b01)
> > /opt/domjudgeicpc2020/judgehost/bin$ kotlin -version
> > Kotlin version 1.4.10-release-411 (JRE 1.8.0_144-b01)
> > =======
> >
> > Please give me a guide to solve the problem.
> >
> > Regards,
> >
> > Trần Bình Dương (Mr)
> > IT Lecturer
> > Software Engineering Department , FPT University
> > 29th Kilometer Thang Long Boulevard, Thach Hoa commune, Thach That Province, Education and Training Area, Hoa Lac High Tech Park, Ha Noi
> > Mobile:(+84) 936168165
> > Skype: avn_duong.tb
> > E-mail: duongtb at fe.edu.vn
> > Website: ....
> >
> > _______________________________________________
> > DOMjudge-devel mailing list
> > DOMjudge-devel at domjudge.org
> > https://www.domjudge.org/mailman/listinfo/domjudge-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.domjudge.org/pipermail/domjudge-devel/attachments/20201027/b55038ed/attachment.htm>


More information about the DOMjudge-devel mailing list