Page 4 of 6
texstudio
Posted: 25 Nov 2021, 04:41
by rych
Rava, great! So even a simple QtFM doesn't work for you. I only use his QtFM and other modules and they work for me. If you like we can continue in that thread because until you fix your Qt5 (maybe you've polluted your system `changes` folder a bit with all the trials?) there is no use trying tex editors and pdf viewers in my stack. Come back to this thread then. Besides, @ncmprhnsbl himself might help you there.
texstudio
Posted: 25 Nov 2021, 04:45
by Rava
rych wrote: ↑25 Nov 2021, 04:41
So even a simple QtFM doesn't work for you. I only use his QtFM and other modules and they work for me. If you like we can continue in that thread because until you fix your Qt5 (maybe you've polluted your system `changes` folder a bit with all the trials?)
You are correct, pulluting my system changes folder cannot happen since I do not use the changes folder… but still some stuff could be messed up.
For now I made a new thread:
QtFM for XFCE 5.0rc3
I try getting QtFM to run in my XFCE system and only then report back here.
Rava out. (for now)
texstudio
Posted: 25 Nov 2021, 16:35
by Rava
Now that QTFm runs (see
QtFM for XFCE 5.0rc3 ) back to texstudio.
I now again activated hunspell-1.7.0-x86_64-1.xzm + quazip-1.1-x86_64-3.xzm + texstudio-4.0.4-1-x86_64.xzm + libpoppler-qt5.so.1.30.0.xzm to have these extra module in 5.0rc3:
Code: Select all
hunspell-1.7.0-x86_64-1.xzm
libpoppler-qt5.so.1.30.0.xzm
qt5-base-5.15.2-x86_64_10-xfce-cinnamon-openbox-lxde-mate.xzm
qtfm-6.2.0-x86_64-1_ncm.xzm
quazip-1.1-x86_64-3.xzm
texstudio-4.0.4-1-x86_64.xzm
xcb-util-image-0.4.0-x86_64-3.xzm
xcb-util-keysyms-0.4.0-x86_64-3.xzm
xcb-util-renderutil-0.3.9-x86_64-3.xzm
xcb-util-wm-0.4.1-x86_64-5.xzm
(for now I just keep qtfm activated as the QT test you suggested) but I still get this:
Code: Select all
guest@porteus:~$ texstudio
texstudio: error while loading shared libraries: libQt5Qml.so.5: cannot open shared object file: No such file or directory
I thought that was included in qt5-base-5.15.2 ?
So many modules, and at times only minor version differences that break it all, activate, deactivate…
I start getting confused.
texstudio
Posted: 25 Nov 2021, 21:29
by ncmprhnsbl
qt5-dev-5.15.2-x86_64_10-extralib.xzm
by your previous posts, you already have this..
texstudio
Posted: 25 Nov 2021, 22:33
by Rava
ncmprhnsbl wrote: ↑25 Nov 2021, 21:29
qt5-dev-5.15.2-x86_64_10-extralib.xzm
Indeed, silly me forgot about that. Time to dig a hole an jump into it.
Anyhow, it gives these messages
Code: Select all
QObject::connect: Cannot queue arguments of type 'std::set<QString>'
(Make sure 'std::set<QString>' is registered using qRegisterMetaType().)
"4.1.1" ""
lastSession filename: "/home/guest/.config/texstudio/lastSession.txss"
current file: ""
But I not plan on " register 'std::set<QString>' using qRegisterMetaType()" I do not even understand what that really means.
Anyhow it works:
And this is sure the reason why rych also has other Tex related modules in his above linked folder:
Yahooo! Finally, after years again a LaTex system running in my Linux.
Thanks so much, rych & ncmprhnsbl !
Added in 3 minutes 15 seconds:
So, for the record (and for the lurkers), to get it running in XFCE 5.0rc3 these extra modules are needed:
Code: Select all
hunspell-1.7.0-x86_64-1.xzm
libpoppler-qt5.so.1.30.0.xzm
qt5-base-5.15.2-x86_64_10-xfce-cinnamon-openbox-lxde-mate.xzm
qt5-dev-5.15.2-x86_64_10-extralib.xzm
quazip-1.1-x86_64-3.xzm
texstudio-4.0.4-1-x86_64.xzm
xcb-util-image-0.4.0-x86_64-3.xzm
xcb-util-keysyms-0.4.0-x86_64-3.xzm
xcb-util-renderutil-0.3.9-x86_64-3.xzm
xcb-util-wm-0.4.1-x86_64-5.xzm
That is the minimum to get it running.
If you want to avoid this issue
you need more modules loaded.
Rava out for now. I go celebrate LaTex now.
texstudio
Posted: 26 Nov 2021, 05:11
by rych
Rava, congratulations! I've updated texstudio to the latest version at the same link
https://mega.nz/folder/2oFFySLa#3YQMn9Xp105B7Y8PuZ1e7w. And just to reiterate,
poppler and
xcb libs are also bundled in the
qpdfview module. (I've also updated the wine module and uploaded an evince module in my "repository" at the link)
texstudio
Posted: 26 Nov 2021, 09:09
by Rava
Thanks for that. (downloading it this minute
)
A question about the
issue.
I do not find a LaTex module in your mega.nz folder. (Or did silly me just miss it?)
Did you find an alternative solution for solving that issue? I would like to create texts with texstudio (now newest version thanks to you) and compile them e.g. into pdf.
Since you have the qpdfview as dependency, I presume you manage to start your local texstudio without the above warning message?
Added in 11 minutes 45 seconds:
Update
rych - what's with TexLive/perl-tk-804.036-x86_64-1_ncm.xz_
Why the "deactivated file extension" on that module?
texstudio
Posted: 26 Nov 2021, 09:35
by ncmprhnsbl
Rava wrote: ↑26 Nov 2021, 09:21
Did you find an alternative solution for solving that issue?
there's a couple? of LaTex implementations to choose from.. one is
texlive , which can be got from slackware current, a 75 MB package..
texstudio
Posted: 26 Nov 2021, 15:01
by rych
I'm going to modify slightly my own quote from Page2 of this thread:
In the meantime you could start installing TexLive, if you haven't already, and I recommend a portable installation onto a Linux partition because it can grow large above 1GB and it tends to update frequently, so doesn't suit for a module+changes paradigm (just as python for example) -- but that's just my opinion, many porteus users don't even have a Linux partition
So while TeXLive is available as a module, the latex packages inside are updated frequently when you use e.g.
tlmgr -gui (and that's when I need to activate the perl-tk-804.036-x86_64-1_ncm.xzm). So your TexLive will consist of a (rarely updated) module and a frequently updated duplicate overlay living in changes, and it's typically very large. That's why I juist download and install TeXLive distribution in a portable ext4 folder.
This won't apply to you maybe,
Rava, as you don't use changes, meaning you run always fresh, and that slackware 75 MB package ncmprhnsbl mentioned will suffice I guess. But then what if you want to install/update individual latex packages inside TexLive, where would they live?
texstudio
Posted: 26 Nov 2021, 16:00
by Rava
rych wrote: ↑26 Nov 2021, 15:01
This won't apply to you maybe, Rava, as you don't use changes, meaning you run always fresh, and that slackware 75 MB package ncmprhnsbl mentioned will suffice I guess. But then what if you want to install/update individual latex packages inside TexLive, where would they live?
I think either I have to update manually my TexLive module, or I put extras I want into extra modules.
Is there really no slim solution for it?
There must be more than one approach in installing a full LaTex environment, or is there not?
texstudio
Posted: 18 Feb 2022, 06:56
by rych
texstudio-4.2.1-2-x86_64 from
https://archlinux.pkgs.org/rolling/arch ... r.zst.html now uses Qt6 so we can't use those for updates any more as we're still on Qt5. The last working Qt5 module from Arch is
texstudio-4.2.0-1-x86_64
A binary package from OpenSuse texstudio-4.2.1-1.1.x86_64.rpm
https://opensuse.pkgs.org/tumbleweed/op ... 4.rpm.html although built against Qt5, mismatches our GLIBC:
Code: Select all
root@porteus:~# texstudio
texstudio: /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.29' not found (required by texstudio)
texstudio: /lib64/libc.so.6: version `GLIBC_2.34' not found (required by texstudio)
Packages from some other distributions require
texstudio
Posted: 19 Feb 2022, 09:21
by beny
hi rich if you use Aporteus the package can be downloaded via SPM tool with the deps check enabled in my Aporteus i have to add only porteus/modules/hunspell-1.7.0-x86_64-3.xzm
and porteus/modules/glibc-2.35-x86_64-2.xzm to run porteus/modules/texstudio-4.2.1-2-x86_64.xzm.
well i have forgot to tell you the texstudio version have the qt6 bundle inside with poppler and poppler-qt6.
texstudio
Posted: 21 Feb 2022, 08:10
by rych
Actually just getting a different rpm from
https://www.texstudio.org/ luckily works, and there is also an AppImage
texstudio
Posted: 12 Oct 2023, 11:00
by rych
I'm trying to upgrade my texstudio to the latest 4.6.3.Unfortunately
https://www.texstudio.org/ doesn't provide a compatible binary anymore, so I'm looking for a pre-built binary on pkgs.org. That's not trivial because not only we need a Qt5 version rather than Qt6, but also need to match our GLIBC etc.:
Code: Select all
root@porteus:~# ldd --version
ldd (GNU libc) 2.35
For example, I took a texstudio rpm from ALT Linux Sisyphus, and made it past a couple of missing dependencies with: qtermwidget-1.3.0-x86_64-1ponce.xzm and libhunspell-1.7.2-alt1.x86_64.xzm only to get the infamous iGLIBC runtime mismatch:
Code: Select all
root@porteus:~# texstudio
texstudio: /lib64/libm.so.6: version `GLIBC_2.38' not found (required by texstudio)
texstudio: /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.32' not found (required by texstudio)
texstudio: /lib64/libc.so.6: version `GLIBC_2.38' not found (required by texstudio)
texstudio: /lib64/libc.so.6: version `GLIBC_2.38' not found (required by /usr/lib64/libhunspell.so.2)
It's unlikely I can find a binary for a platform that still uses GLIBC_2.35, is it? So I might have to start learning how to build texstudio 4.6.3 from source. At this point, I'd like to ask for help though, before I try to do it myself. Or an advice on how to build, please?
UPDATE:
Have found an rpm from Fedora, got past GLIBC, got another missing dependency as quazip-qt5-1.3-7.fc38.x86_64.xzm, however it turns out that now our GLIBCXX is a bit too old:
Code: Select all
root@porteus:~# strings /usr/lib/libstdc++.so.6 | grep GLIBCXX_3
GLIBCXX_3.4
GLIBCXX_3.4.1
GLIBCXX_3.4.2
GLIBCXX_3.4.3
GLIBCXX_3.4.4
GLIBCXX_3.4.5
GLIBCXX_3.4.6
GLIBCXX_3.4.7
GLIBCXX_3.4.8
GLIBCXX_3.4.9
GLIBCXX_3.4.10
GLIBCXX_3.4.11
GLIBCXX_3.4.12
GLIBCXX_3.4.13
GLIBCXX_3.4.14
GLIBCXX_3.4.15
GLIBCXX_3.4.16
GLIBCXX_3.4.17
GLIBCXX_3.4.18
GLIBCXX_3.4.19
GLIBCXX_3.4.20
GLIBCXX_3.4.21
GLIBCXX_3.4.22
GLIBCXX_3.4.23
GLIBCXX_3.4.24
GLIBCXX_3.4.25
GLIBCXX_3.4.26
GLIBCXX_3.4.27
GLIBCXX_3.4.28
GLIBCXX_3.4.29
and Fedora's rpm (texstudio-4.6.3-1.fc37.x86_64.xzm) requires just the next update of that library:
Code: Select all
root@porteus:~# texstudio
texstudio: /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.30' not found (required by texstudio)
texstudio
Posted: 12 Oct 2023, 11:20
by Rava
^
Is there a .SlackBuild for texstudio?