Wednesday, May 03, 2017

Re: lang/erlang : erlc17 not working

Le 2017-05-03 10:51, Paul Fariello a écrit :
> On 2016-04-06 12:35:58, Solène Rapenne wrote:
>> Le 2016-03-29 17:23, Solène Rapenne a écrit :
>> > Hello,
>> >
>> > My system : (current, amd64)
>> > OpenBSD 5.9-current (GENERIC.MP) #1970: Mon Mar 28 17:02:06 MDT 2016
>> >
>> > deraadt@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
>> >
>> >
>> > I installed lang/erlang17 (erlang-17.5p5v0) and the command are
>> > suffixed by 17 (erl17 for erl, erlc17 for erlc). Problem, erlc17 tries
>> > to call "erl" binary, which doesn't exist.
>> >
>> > ~~~ Terminal ~~~
>> > # erlc17
>> > erlc: Error 2 executing 'erl'.
>> > ~~~~~~~~
>> >
>>
>> Hello,
>>
>> With this patch, lang/erlang/17 gives erlc17 which works. No
>> regression
>> found.
>>
>> I think the same work should be done for 16 and 18 too. While the
>> pre-configure is common for the 3 versions, the substitution isn't
>> done
>> for every file for the 3 versions but they still compile fine and
>> there
>> is no error issued.
>
> Hi all,
>
> I'm exhuming this quite old mail from Solène.
> I'm having the exact same issue on both erlang17 and erlang18.
>
>> OpenBSD 5.9 (GENERIC.MP) #1616: Fri Feb 26 01:28:13 MST 2016
>> deraadt@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC.MP
>
> I'm not currently running 6.1 (shame on me !) but erlang{17,18} ports
> doesn't
> seems to have changes concerning this issue.
>
> Is there any plan of merging Solène's patches ?
> If not, how can we help fixing the issue ?
>
>
> Regards,

Hello
A workaround is to create a symbolic link erl in $PATH to the installed
erl.

No comments:

Post a Comment