[Scilab-users] compiling scilab

Florian Blachère florian.blachere at uvsq.fr
Wed Mar 29 11:53:18 CEST 2017


I opened a bug report : http://bugzilla.scilab.org/show_bug.cgi?id=15107

I managed to rebase the patch by deleting the part about the .depend
file, as it is not present in the 6.0.0 archive. The builds of the
master branch and the 6.0.0 tag pass with the '-j1' option.

Many thanks for the work!

Florian

On 29/03/17 11:26, Clément David wrote:
> Hello,
>
> Could you open a bug report please [1] ? To enforce CHANGES.md completeness for 6.0.1 we require
> that a bug should be opened for each modification. The patch is easily rebase-able on 6.0.0 as there
> is no ML modification, you could generate it using the `git format-patch` command.
>
> [1]: http://bugzilla.scilab.org
>
> Thanks,
>
> --
> Clément
>
> Le mercredi 29 mars 2017 à 11:07 +0200, Florian Blachère a écrit :
>> Hello,
>>
>> The patch allows the build on the master branch but the '-j1' is still
>> needed.
>>
>> Would it be possible to also create a patch for the 6.0.0 tag or release
>> a new version with this bug fixed ?
>>
>> Florian
>>
>>
>> On 27/03/17 17:47, Clément David wrote:
>>> Hello,
>>>
>>> On my machine, with the patch [1] I am able to build scilab. Could you open a bug to track the
>>> issue
>>>  and confirm that this patch works in your distribution ?
>>>
>>> [1]: https://codereview.scilab.org/#/c/19232
>>>
>>> --
>>> Clément
>>>
>>> Le dimanche 26 mars 2017 à 21:15 +0200, Martin Marmsoler a écrit :
>>>> Hello,
>>>>
>>>> it worked for me to use the --without-modelica option for the config file and -j1 with make.
>>>>
>>>> Best regards,
>>>>
>>>> Martin
>>>>
>>>> 2017-03-24 11:17 GMT+01:00 Florian Blachère <florian.blachere at uvsq.fr>:
>>>>> Hello,
>>>>> I can confirm that with a recent Ocaml compiler (4.04.0) on Archlinux using the PKGBUILD
>>>>> from
>>>>> the AUR (https://aur.archlinux.org/packages/scilab/) and with modelica activated ('--with-
>>>>> modelica') the build fails even with the '-j1' option.
>>>>> Regards,
>>>>> Florian
>>>>> On 24/03/17 09:53, Clément David wrote:
>>>>>> Hello all,
>>>>>>
>>>>>> Sorry for answering that late, I can offer more :) .
>>>>>>
>>>>>> The error comes from the buggy parallel OCaml compilation of the Modelica compiler. This
>>>>>> is a
>>>>>> known
>>>>>> issue and I currently failed to resolve it : you should compile with `make -j1` to
>>>>>> succeed.
>>>>>>
>>>>>> I was only able to reproduce it on system using OCaml 4 and it seems to be related to a
>>>>>> wrong
>>>>>> ml/mli
>>>>>> dependency order. Could you confirm that you are using the latest OCaml version ?
>>>>>>
>>>>>> Thanks,
>>>>>>
>>>>>> --
>>>>>> Clément
>>>>>>
>>>>>> Le jeudi 23 mars 2017 à 12:21 +0300, Nikolay Strelkov a écrit :
>>>>>>> Dear Martin!
>>>>>>>
>>>>>>> First of all can't understand why you are trying to compile Scilab. 
>>>>>>> You can get binary version, extract and use it.
>>>>>>>
>>>>>>> At second you can get Scilab from AUR. If you still willing to compile Scilab from
>>>>>>> sources
>>>>>>> you
>>>>>>> should install its build dependencies. 
>>>>>>> I think you can start building Scilab 6.0.0 (commit
>>>>>>> 22bd3a5c93489bce74fbaf25d19fe55aefca853c).
>>>>>>> After successful build of 6.0.0 you can try newer revisions.
>>>>>>>
>>>>>>> I'm on Ubuntu 12.04.5 LTS. Here we use "apt-get build-dep scilab", "checkinstall" and so
>>>>>>> on.
>>>>>>> So I
>>>>>>> can't offer more.
>>>>>>>
>>>>>>> --
>>>>>>> With best regards,
>>>>>>> Ph.D., assistant professor at MPEI,
>>>>>>> IEEE member,
>>>>>>> maintainer of Mathieu functions toolbox for Scilab,
>>>>>>> Nikolay Strelkov.
>>>>>>>
>>>>>>> 2017-03-23 1:02 GMT+03:00 Martin Marmsoler <martin.marmsoler at gmail.com>:
>>>>>>>> I'm using antergos and cloned the code from scilab website.
>>>>>>>> GNU Make 4.2.1
>>>>>>>> 4.10.3-1-ARCH
>>>>>>>>
>>>>>>>>
>>>>>>>> 2017-03-22 22:29 GMT+01:00 Tim Wescott <tim at wescottdesign.com>:
>>>>>>>>> On Wed, 2017-03-22 at 22:19 +0100, Martin Marmsoler wrote:
>>>>>>>>>> Hello,
>>>>>>>>>>
>>>>>>>>>> I tried to compile scilab, but I get every the the following error:
>>>>>>>>>>
>>>>>>>>>> File "_none_", line 1:
>>>>>>>>>> Error: Files ./src/xml2modelica/xMLParser.cmx
>>>>>>>>>>        and ./src/xml2modelica/linenum.cmx
>>>>>>>>>>        make inconsistent assumptions over implementation Linenum
>>>>>>>>>>
>>>>>>>>>> It's revision: 8e22c1833d5be739f39ca4008582952f2d76cfdc
>>>>>>>>>> Tried also revision 37f503cc29e63e42902b4de384e9f7c064b76b92
>>>>>>>>> I do _not_ know the answer, but someone is going to ask you for
>>>>>>>>> platform, operating system, and the version of the tools that you're
>>>>>>>>> using.  Then they're going to want to know where you got your source
>>>>>>>>> code (unless it's obvious from the revision numbers).
>>>>>>>>>
>>>>>>>>> Sorry I can't offer more...
>>>>>>>>>
>>>>>>>>> --
>>>>>>>>>
>>>>>>>>> Tim Wescott
>>>>>>>>> www.wescottdesign.com
>>>>>>>>> Control & Communications systems, circuit & software design.
>>>>>>>>> Phone: 503.631.7815
>>>>>>>>> Cell:  503.349.8432
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> _______________________________________________
>>>>>>>>> users mailing list
>>>>>>>>> users at lists.scilab.org
>>>>>>>>> http://lists.scilab.org/mailman/listinfo/users
>>>>>>>>>
>>>>>>>> _______________________________________________
>>>>>>>> users mailing list
>>>>>>>> users at lists.scilab.org
>>>>>>>> http://lists.scilab.org/mailman/listinfo/users
>>>>>>>>
>>>>>>> _______________________________________________
>>>>>>> users mailing list
>>>>>>> users at lists.scilab.org
>>>>>>> http://lists.scilab.org/mailman/listinfo/users
>>>>>> _______________________________________________
>>>>>> users mailing list
>>>>>> users at lists.scilab.org
>>>>>> http://lists.scilab.org/mailman/listinfo/users
>>>>>>
>>>>>  
>>>>>
>>>>> _______________________________________________
>>>>> users mailing list
>>>>> users at lists.scilab.org
>>>>> http://lists.scilab.org/mailman/listinfo/users
>>>>>
>>>> _______________________________________________
>>>> users mailing list
>>>> users at lists.scilab.org
>>>> http://lists.scilab.org/mailman/listinfo/users
>>> _______________________________________________
>>> users mailing list
>>> users at lists.scilab.org
>>> http://lists.scilab.org/mailman/listinfo/users
>>>
>> _______________________________________________
>> users mailing list
>> users at lists.scilab.org
>> http://lists.scilab.org/mailman/listinfo/users
> _______________________________________________
> users mailing list
> users at lists.scilab.org
> http://lists.scilab.org/mailman/listinfo/users
>




More information about the users mailing list