Open smiddy opened 2 years ago
Could you also post the info of the texlive package provided by flatpak info org.freedesktop.Sdk.Extension.texlive
?
TeX Live Sdk extension - LaTeX packages and tools
ID: org.freedesktop.Sdk.Extension.texlive
Ref: runtime/org.freedesktop.Sdk.Extension.texlive/x86_64/21.08
Arch: x86_64
Branch: 21.08
Version: 20210325
Origin: flathub
Collection: org.flathub.Stable
Installation: system
Installed: 7.7 GB
Commit: cc3f4d60a022b6010d8165df0c4e42ec7d308ba1d3d62e45793202a7f614b548
Parent: dfad34ff7d3351091c047f2c336c14cec4f49883b9b04a43fecc0685b7735183
Subject: Update dvisvgm-2.13.tar.gz to 2.13.1 (#71) (69083b83)
Date: 2022-01-27 21:23:04 +0000
I took a look into you problem:
The texlive extension on its own can compile your test file.
$ flatpak run --command=sh --filesystem=home --runtime=org.freedesktop.Sdk org.freedesktop.Sdk.Extension.texlive
$ PATH=/usr/lib/sdk/texlive/bin:/usr/lib/sdk/texlive/bin/x86_64-linux/:$PATH
So, it´s probably not directly related to texlive.
Texmaker When I install Texmaker it, pulls the texlive extension in its version 20.08.
KENNUNG Zweig Op Remote Download
1. org.freedesktop.Sdk.Extension.texlive 20.08 i flathub < 4,7 GB
2. net.xm1math.Texmaker stable i flathub < 80,3 MB
This branch however does not contain perl. This is probably the reason why it fails with texmaker.
Texstudio
points from my internet search to some filesystem problems.
Unfortunately, I can´t help you any further. Perhaps the texstudio maintainer can help out?
As I mentioned in another issue, there are issues with Perl in some situations.
I am getting the same issue when trying to use biber (together with TeXstudio). Using bibtex instead works OK.
I am getting the same issue when trying to use biber (together with TeXstudio). Using bibtex instead works OK.
@nrbeaton: Did you try run biber directly from the texlive extension?
$ flatpak run --command=sh --filesystem=home --runtime=org.freedesktop.Sdk org.freedesktop.Sdk.Extension.texlive
[org.freedesktop.Sdk org.freedesktop.Sdk.Extension.texlive]$ biber yourfile.bib
@jakobjakobson13 running
$ flatpak run --command=sh --filesystem=home --runtime=org.freedesktop.Sdk org.freedesktop.Sdk.Extension.texlive
changes the terminal to
[📦 org.freedesktop.Sdk.Extension.texlive ~]$
then if I try to run biber
I just get
sh: biber: command not found
@nrbeaton This is an Texstudio issue. Biber runs if you start it from the extension.
$ flatpak run --command=sh org.texstudio.TeXstudio
[📦 org.texstudio.TeXstudio ~]$ biber
perl: error while loading shared libraries: libperl.so: cannot open shared object file: No such file or directory
@jakobjakobson13 @hfiguiere I have the same problem. According to what you see, the problem is related to the change of route. I think a solution to avoid everyone having to compile perl is to make two compilations, one for the internal dependencies in the texlive build and another for a standard location in the packages that use texlive like (/app/texlive). The truth is I don't know if it works.
There is not need to build it twice. Perl IS in the Sdk (not runtime) so it's available at build time.
@bztd Could you try all three tex editors (org.texstudio.TeXstudio, org.tug.texworks, net.xm1math.Texmaker) to check if this issue is a issue of the texlive extension or the respective editor?
@jakobjakobson13 I had the problem with lyx. In the first instance I added libperl.so to LD_LIBRARY_PATH and got other errors.
Then I set all the mentioned environment variables and the problem persisted. invoked epstopdf from the terminal. Finally I recompile perl as in the request and overwrote the one found in the texlive package and the problem was solved.
I'll see what happens with other packages although they will be limited.
Texmaker: converted-to.pdf' not found: using draft setting. See the pdftex.def package documentation for explanation.
the other packages are very heavy
So as far as I understand epstopdf
is just a perl script and testing the perl
installation via the command
flatpak run --command=sh xxx.yyy.zzz
results in the following:
$ flatpak run --command=sh org.tug.texworks
[📦 org.tug.texworks ~]$ perl
sh: perl: command not found
$ flatpak run --command=sh net.xm1math.Texmaker
[📦 net.xm1math.Texmaker ~]$ perl
sh: perl: command not found.
$ flatpak run --command=sh org.texstudio.TeXstudio
[📦 org.texstudio.TeXstudio ~]$ perl
perl: error while loading shared libraries: libperl.so: cannot open shared object file: No such file or directory
So, apparently we are missing the perl executable in our $PATH. But I honestly don´t know if it is better placed in the texlive extension or the respective editors.
Hello,
Thanks for providing texlive as a flatpak
I try to use texlive with the flathub versions of both TexStudio and TexMaker. But in both cases I cannot get a converted pdf.
In TexStudio, I receive also the error
perl: error while loading shared libraries: libperl.so: cannot open shared object file: No such file or directory system returned with code 32512
Attached you find a MWE. testepstopdf.zip
My versions:
System: Xubuntu 20.04.3, no Texlive installed via repositories