[Scilab-users] Flatpak package

Clément David Clement.David at esi-group.com
Tue Apr 17 12:37:28 CEST 2018


Hello,

libumfpack (sometimes packed with suitesparse) is a Scilab dependency and is listed in the Octave
flatpak package. You have to add it and pass the global appdir/lib appdir/include directories to the
LDFLAGS and CXXFLAGS / CFLAGS variables.

Feel free to also patch the configure.ac and m4/ files to support this directory.

Thanks,

--
Clément

Le samedi 14 avril 2018 à 15:10 +0200, Martin Marmsoler a écrit :
> Hello,
> 
> while I'm trying to pack scilab into a flatpak package, I get the following error:
> configure: error: libumfpack : Library missing. (Cannot find umfpack_di_solve). Check if
> libumfpack is installed and if the version is correct (also called lib suitesparse)
> 
> If I'm locking for the file umfpack_di_solve, I don't find one. Do I need to download this file my
> self?
> 
> Best regards,
> 
> Martin
> 
> 2018-04-04 8:57 GMT+02:00 Clément David <Clement.David at esi-group.com>:
> > Hello Martin,
> > 
> > Good idea ! I also have a first template of a Flatpak manifest with strong inspiration from the
> > Octave one [1] as dependencies are very similar. The bash script used to compile our
> > thirdparties
> > [2] could also be a great source of inspiration.
> > 
> > For Eigen, the included files are prefixed like in `#include "Eigen/Eigen"`; you should probably
> > pass `--with-eigen-include=/app/include/` to make it work.
> > 
> > [1]: https://github.com/flathub/org.octave.Octave
> > [2]: https://github.com/scilab/scilab-prerequirements/blob/master/build-dependencies.sh
> > 
> > Regards,
> > 
> > --
> > Clément
> > 
> > Le mardi 03 avril 2018 à 21:37 +0200, Martin Marmsoler a écrit :
> > > Hello,
> > > 
> > > I'm trying to create a flatpak package of scilab. I try to compile scilab, but I have a
> > different
> > > folder where the Eigen files are stored. Because of this i get the following error:
> > > 
> > > checking if Eigen is version 3.3.2 or later... configure: error: Version 3.3.2 of Eigen
> > expected
> > > (at least)
> > > 
> > > I tried to add the path with the with-eigen-include argument, but it does not work:
> > > "./scilab/configure --prefix=/app --with-eigen-include=/app/include/Eigen",
> > > 
> > > is there anybody who know how I can add the path to the eigen .h files?
> > > 
> > > Here you can find the flatpak manifest. When it is finish I will put it on github and create a
> > > pullrequest
> > > https://www.dropbox.com/sh/ezxzm748xs4a4jj/AAATpX_LACHp81hDUdEIz6y4a?dl=0
> > > 
> > > 
> > > _______________________________________________
> > > 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