Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old 04-05-2020, 09:04 PM   #16
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 28,572
Karma: 204127028
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Quote:
Originally Posted by Banjo View Post
I have no idea what this means, but here is the output.
It shows me that your system is actually using the nvidia hardware/driver for opengl rendering.

Does running qtdiag also indicate similar info?

I've also seen info similar to what Kevin just mentioned.

Last edited by DiapDealer; 04-05-2020 at 09:07 PM.
DiapDealer is offline   Reply With Quote
Old 04-05-2020, 09:26 PM   #17
Banjo
Zealot
Banjo , Klaatu Barada Niktu!Banjo , Klaatu Barada Niktu!Banjo , Klaatu Barada Niktu!Banjo , Klaatu Barada Niktu!Banjo , Klaatu Barada Niktu!Banjo , Klaatu Barada Niktu!Banjo , Klaatu Barada Niktu!Banjo , Klaatu Barada Niktu!Banjo , Klaatu Barada Niktu!Banjo , Klaatu Barada Niktu!Banjo , Klaatu Barada Niktu!
 
Banjo's Avatar
 
Posts: 120
Karma: 5276
Join Date: Feb 2013
Device: Asus Zen Pad
I saw that post. In that one, the mesa driver showed up in the listing from ldconfig. When I listed out the cache on my system, the mesa driver wasn't in there so I figured that it wasn't relevant.

It might be worth a try to see if it has any effect. Too late tonight. I might try it tomorrow.

Maybe one day I will understand how all this stuff hangs together.
Banjo is offline   Reply With Quote
Advert
Old 04-06-2020, 03:55 PM   #18
Banjo
Zealot
Banjo , Klaatu Barada Niktu!Banjo , Klaatu Barada Niktu!Banjo , Klaatu Barada Niktu!Banjo , Klaatu Barada Niktu!Banjo , Klaatu Barada Niktu!Banjo , Klaatu Barada Niktu!Banjo , Klaatu Barada Niktu!Banjo , Klaatu Barada Niktu!Banjo , Klaatu Barada Niktu!Banjo , Klaatu Barada Niktu!Banjo , Klaatu Barada Niktu!
 
Banjo's Avatar
 
Posts: 120
Karma: 5276
Join Date: Feb 2013
Device: Asus Zen Pad
The file /usr/lib64/mesa/libGL.so.1 is a link to the executable, /usr/lib64/mesa/libGL.so.1.2.0

I renamed both of them to something else and it made no difference running sigil. I got the same error. Those two files are the only mesa files I have found on the system.

I think I will rename the files again, reboot, and see if that makes any difference. I am posting this now in case the computer does not come back up. Messing around with the graphics drivers on this computer has gotten me in trouble more than once. In one case, I broke it so bad that it wouldn't post the GRUB menu. It took me a while to figure out how to restore it, so if I don't come back.....
Banjo is offline   Reply With Quote
Old 04-06-2020, 04:04 PM   #19
Banjo
Zealot
Banjo , Klaatu Barada Niktu!Banjo , Klaatu Barada Niktu!Banjo , Klaatu Barada Niktu!Banjo , Klaatu Barada Niktu!Banjo , Klaatu Barada Niktu!Banjo , Klaatu Barada Niktu!Banjo , Klaatu Barada Niktu!Banjo , Klaatu Barada Niktu!Banjo , Klaatu Barada Niktu!Banjo , Klaatu Barada Niktu!Banjo , Klaatu Barada Niktu!
 
Banjo's Avatar
 
Posts: 120
Karma: 5276
Join Date: Feb 2013
Device: Asus Zen Pad
I am back. I renamed the two mesa files and rebooted.

The computer came back up, but I still get the same error out of both versions of sigil. I guess it isn't mesa that is getting in the way.

Back to the books.
Banjo is offline   Reply With Quote
Old 04-07-2020, 12:35 PM   #20
Banjo
Zealot
Banjo , Klaatu Barada Niktu!Banjo , Klaatu Barada Niktu!Banjo , Klaatu Barada Niktu!Banjo , Klaatu Barada Niktu!Banjo , Klaatu Barada Niktu!Banjo , Klaatu Barada Niktu!Banjo , Klaatu Barada Niktu!Banjo , Klaatu Barada Niktu!Banjo , Klaatu Barada Niktu!Banjo , Klaatu Barada Niktu!Banjo , Klaatu Barada Niktu!
 
Banjo's Avatar
 
Posts: 120
Karma: 5276
Join Date: Feb 2013
Device: Asus Zen Pad
I have tried a couple of ideas since last time I posted.

Since it looks like sigil may be looking for a software OpenGL, "libGL error: failed to load driver: swrast", and the mesa libraries do not show up in my listing from ldconfig, I thought it might help if I added /usr/lib64/mesa to my LD_LIBRARY_PATH,

Code:
[poobah@BSKMageia ~]$ export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/lib64/mesa/
[poobah@BSKMageia ~]$ echo $LD_LIBRARY_PATH
:/usr/lib64/mesa/
That did not help at all.

I ran qtdiag with the following results.

Code:
[poobah@BSKMageia ~]$ qtdiag
Qt 5.12.6 (x86_64-little_endian-lp64 shared (dynamic) release build; by GCC 8.3.1 20190524) on "xcb" 
OS: Mageia 7 [linux version 5.5.15-desktop-3.mga7]

Architecture: x86_64; features: SSE2 SSE3 SSSE3 SSE4.1

Environment:
  QT4DOCDIR="/usr/share/doc/qt4"
  QT5DOCDIR="/usr/share/doc/qt5"
  QTDIR="/usr/lib64/qt4"
  QTDIR5="/usr/lib64/qt5"
  QTINC="/usr/lib/qt3/include"
  QTLIB="/usr/lib64"
  QT_AUTO_SCREEN_SCALE_FACTOR="0"
  QT_PLUGIN_PATH="/usr/lib64/qt5/plugins:/usr/lib64/qt5/plugins/kcms:"
  QT_XFT="0"

Features: QT_NO_EXCEPTIONS

Library info:
  PrefixPath: /usr/lib64/qt5
  DocumentationPath: /usr/share/doc/qt5
  HeadersPath: /usr/lib64/qt5/include
  LibrariesPath: /usr/lib64
  LibraryExecutablesPath: /usr/lib64/qt5/libexec
  BinariesPath: /usr/lib64/qt5/bin
  PluginsPath: /usr/lib64/qt5/plugins
  ImportsPath: /usr/lib64/qt5/imports
  Qml2ImportsPath: /usr/lib64/qt5/qml
  ArchDataPath: /usr/lib64/qt5
  DataPath: /usr/lib64/qt5
  TranslationsPath: /usr/share/qt5/translations
  ExamplesPath: /usr/lib64/qt5/examples
  TestsPath: /usr/lib64/qt5/tests
  SettingsPath: /etc/xdg

Standard paths [*...* denote writable entry]:
  DesktopLocation: "Desktop" */home/poobah/Desktop*
  DocumentsLocation: "Documents" */home/poobah/Documents*
  FontsLocation: "Fonts" */home/poobah/.local/share/fonts* /home/poobah/.fonts
  ApplicationsLocation: "Applications" */home/poobah/.local/share/applications* /var/lib/plasma5-profiles/common/share/applications /usr/local/share/applications /usr/share/applications
  MusicLocation: "Music" */home/poobah/Music*
  MoviesLocation: "Movies" */home/poobah/Videos*
  PicturesLocation: "Pictures" */home/poobah/Pictures*
  TempLocation: "Temporary Directory" */tmp*
  HomeLocation: "Home" */home/poobah*
  AppLocalDataLocation: "Application Data" */home/poobah/.local/share/QtProject/qtdiag* /var/lib/plasma5-profiles/common/share/QtProject/qtdiag /usr/local/share/QtProject/qtdiag /usr/share/QtProject/qtdiag
  CacheLocation: "Cache" */home/poobah/.cache/QtProject/qtdiag*
  GenericDataLocation: "Shared Data" */home/poobah/.local/share* /var/lib/plasma5-profiles/common/share /usr/local/share /usr/share
  RuntimeLocation: "Runtime" */run/user/1000*
  ConfigLocation: "Configuration" */home/poobah/.config* /etc/xdg /etc/xdg/kf5 /var/lib/plasma5-profiles/common/xdg
  DownloadLocation: "Download" */home/poobah/Downloads*
  GenericCacheLocation: "Shared Cache" */home/poobah/.cache*
  GenericConfigLocation: "Shared Configuration" */home/poobah/.config* /etc/xdg /etc/xdg/kf5 /var/lib/plasma5-profiles/common/xdg
  AppDataLocation: "Application Data" */home/poobah/.local/share/QtProject/qtdiag* /var/lib/plasma5-profiles/common/share/QtProject/qtdiag /usr/local/share/QtProject/qtdiag /usr/share/QtProject/qtdiag
  AppConfigLocation: "Application Configuration" */home/poobah/.config/QtProject/qtdiag* /etc/xdg/QtProject/qtdiag /etc/xdg/kf5/QtProject/qtdiag /var/lib/plasma5-profiles/common/xdg/QtProject/qtdiag

File selectors (increasing order of precedence):
  en_US unix linux mageia

Network:
  Using "OpenSSL 1.1.0l  10 Sep 2019", version: 0x101000cf

Platform capabilities: ThreadedPixmaps OpenGL ThreadedOpenGL WindowMasks MultipleWindows ForeignWindows NonFullScreenWindows NativeWidgets WindowManagement SyncState RasterGLSurface SwitchableWidgetComposition

Style hints:
  mouseDoubleClickInterval: 400
  mousePressAndHoldInterval: 800
  startDragDistance: 10
  startDragTime: 500
  startDragVelocity: 0
  keyboardInputInterval: 400
  keyboardAutoRepeatRate: 30
  cursorFlashTime: 1000
  showIsFullScreen: 0
  showIsMaximized: 0
  passwordMaskDelay: 0
  passwordMaskCharacter: U+25CF
  fontSmoothingGamma: 1.7
  useRtlExtensions: 0
  setFocusOnTouchRelease: 0
  tabFocusBehavior: Qt::TabFocusAllControls 
  singleClickActivation: 0

Additional style hints (QPlatformIntegration):
  ReplayMousePressOutsidePopup: 0

Theme:
  Platforms requested : kde,generic
            available : kde,gtk3,snap,flatpak,xdgdesktopportal
  Styles requested    : oxygen,breeze,fusion,windows
         available    : Breeze,Oxygen,Windows,Fusion
  Icon theme          : oxygen, hicolor from /home/poobah/.local/share/icons,/usr/local/share/icons,/usr/share/icons
  System font         : "Liberation Serif" 10

Fonts:
  General font : "Liberation Serif" 10
  Fixed font   : "Liberation Mono" 10
  Title font   : "Liberation Serif" 10
  Smallest font: "Liberation Serif" 8

Palette:
  QPalette::WindowText: #ff221f1e
  QPalette::Button: #ffdfdcd9
  QPalette::Light: #fffdfdfd
  QPalette::Midlight: #ffe2dfdd
  QPalette::Dark: #ff6a6663
  QPalette::Mid: #ffb3aba7
  QPalette::Text: #ff1f1c1b
  QPalette::BrightText: #ffffffff
  QPalette::ButtonText: #ff221f1e
  QPalette::Base: #ffffffff
  QPalette::Window: #ffd6d2d0
  QPalette::Shadow: #ff3d3b39
  QPalette::Highlight: #ff43ace8
  QPalette::HighlightedText: #ffffffff
  QPalette::Link: #ff0057ae
  QPalette::LinkVisited: #ff644a9b
  QPalette::AlternateBase: #fff8f7f6
  QPalette::NoRole: #ff000000
  QPalette::ToolTipBase: #ff181513
  QPalette::ToolTipText: #ffe7fdff
  QPalette::PlaceholderText: #801f1c1b

Screens: 1, High DPI scaling: inactive
# 0 "DVI-I-2" Depth: 24 Primary: yes
  Manufacturer: Acer Technologies
  Model: R221Q-
  Serial number: T6KAA0022421-
  Geometry: 1920x1080+0+0 Available: 1920x1050+0+0
  Physical size: 476x268 mm  Refresh: 60 Hz Power state: 0
  Physical DPI: 102.454,102.358 Logical DPI: 98.1247,98.3226 Subpixel_None
  DevicePixelRatio: 1 Pixel density: 1
  Primary orientation: 2 Orientation: 2 Native orientation: 0 OrientationUpdateMask: 0

LibGL Vendor: NVIDIA Corporation
Renderer: GeForce 9600 GT/PCIe/SSE2
Version: 3.3.0 NVIDIA 340.108
Shading language: 3.30 NVIDIA via Cg compiler
Format: Version: 3.3 Profile: 2 Swap behavior: 0 Buffer size (RGB): 8,8,8 Depth buffer: 24
Profile: None (QOpenGLFunctions_3_3), Core (QOpenGLFunctions_3_3_Core), Compatibility (QOpenGLFunctions_3_3_Compatibility)


[poobah@BSKMageia ~]$
At the bottom of that copious output it shows that the Nvidia drivers are being used.

So, no joy yet.

Still looking.

One of the suggestions has been to re-install the graphics drivers to see if that fixes it. I am reluctant to do that because it is a shotgun approach to fixing problems, and even if it works it does not advance my knowledge of how this hangs together.

However, I might try it to see if it does fix things. I am about out of other ideas, and sometimes things get so messed up that starting over is about the only way to clean it up.
Banjo is offline   Reply With Quote
Advert
Old 04-07-2020, 01:53 PM   #21
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 8,764
Karma: 6000000
Join Date: Nov 2009
Device: many
If you get a chance you might want to edit the sigil launch script and have it run ptrace on Sigil during launch. That way you can see the exact location it attempts to load libGL and its components from.

Also your qtdiag out put showed both qt4 and qt5 and even a qt3/include path in the environment.. That is very strange.

You can compare a ptrace output log from launching Sigil with a ptrace output from launching qtdiag to see if they differ in some way.

This may be worth a shot.
KevinH is online now   Reply With Quote
Old 04-07-2020, 02:01 PM   #22
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 28,572
Karma: 204127028
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Try the glxinfo command again. But with a different grep filter:

Code:
LIBGL_DEBUG=verbose glxinfo | grep -iE "opengl|^direct|^libgl|^glx|^client"
client

I'm looking specifically for the glx vendor/version info.

Also: does Mageia have a "video" group? Typing "groups" at a command prompt should list available groups. If you DO have video group, be sure to add your user to it.
DiapDealer is offline   Reply With Quote
Old 04-07-2020, 03:02 PM   #23
Banjo
Zealot
Banjo , Klaatu Barada Niktu!Banjo , Klaatu Barada Niktu!Banjo , Klaatu Barada Niktu!Banjo , Klaatu Barada Niktu!Banjo , Klaatu Barada Niktu!Banjo , Klaatu Barada Niktu!Banjo , Klaatu Barada Niktu!Banjo , Klaatu Barada Niktu!Banjo , Klaatu Barada Niktu!Banjo , Klaatu Barada Niktu!Banjo , Klaatu Barada Niktu!
 
Banjo's Avatar
 
Posts: 120
Karma: 5276
Join Date: Feb 2013
Device: Asus Zen Pad
There is a video group.

Code:
[poobah@BSKMageia ~]$ getent group | grep video
video:x:82:
[root@BSKMageia poobah]# usermod -a -G video poobah
[poobah@BSKMageia ~]$ groups poobah
poobah : poobah video
That didn't help.

Here is the output from the glxinfo command

Code:
[poobah@BSKMageia ~]$ LIBGL_DEBUG=verbose glxinfo | grep -iE "opengl|^direct|^libgl|^glx|^client"
direct rendering: Yes
client glx vendor string: NVIDIA Corporation
client glx version string: 1.4
client glx extensions:
GLX version: 1.4
GLX extensions:
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: GeForce 9600 GT/PCIe/SSE2
OpenGL core profile version string: 3.3.0 NVIDIA 340.108
OpenGL core profile shading language version string: 3.30 NVIDIA via Cg compiler
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
OpenGL version string: 3.3.0 NVIDIA 340.108
OpenGL shading language version string: 3.30 NVIDIA via Cg compiler
OpenGL context flags: (none)
OpenGL profile mask: (none)
OpenGL extensions:
OpenGL ES profile version string: OpenGL ES 2.0 NVIDIA 340.108 340.108
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 1.00
OpenGL ES profile extensions:
I ran strace against sigil, and it made a huge output file. Not sure where to start looking.

Bash can't find ptrace. Don't know where to get it.

I am suspicious of having multiple versions of Qt on this system. I have been using this computer for a number of months to help wring out the Mageia pre-release software, called the Cauldron. It is very unstable software generally, but now that Mageia 7 has been released it should be functionally equivalent to the released version.

However, that said, who knows what kind of detritus got left behind.

I listed all of the packages on the system with 'qt' in the name. It is almost all qt5. Here are some errant packages that did show up.

Code:
qt4-common-4.8.7-26.mga7
qt3-common-3.3.8b-47.mga7
lib64qt3-3.3.8b-47.mga7
lib64qt4-database-plugin-sqlite-4.8.7-26.mga7
Still looking.
Banjo is offline   Reply With Quote
Old 04-07-2020, 04:05 PM   #24
Banjo
Zealot
Banjo , Klaatu Barada Niktu!Banjo , Klaatu Barada Niktu!Banjo , Klaatu Barada Niktu!Banjo , Klaatu Barada Niktu!Banjo , Klaatu Barada Niktu!Banjo , Klaatu Barada Niktu!Banjo , Klaatu Barada Niktu!Banjo , Klaatu Barada Niktu!Banjo , Klaatu Barada Niktu!Banjo , Klaatu Barada Niktu!Banjo , Klaatu Barada Niktu!
 
Banjo's Avatar
 
Posts: 120
Karma: 5276
Join Date: Feb 2013
Device: Asus Zen Pad
OK. Here is something that is really strange.

On a wild guess I ran sigil inside of gdb.

Code:
gdb /usr/local/bin/sigil
It wouldn't run, and it said that the file was not an executable file. That's when I found out that it is a startup script at that location. I didn't know that. So I ran the executable at /usr/local/lib64/sigil/sigil

Code:
[poobah@BSKMageia ~]$ gdb /usr/local/lib64/sigil/sigil
It runs.

It does not crash when run inside of gdb bypassing the startup script.

That is very interesting.

I took a look at the script /usr/local/bin/sigil.

It sets QTLIB_DIR="/usr/lib64"

So I listed all of /usr/lib64 with anything that has 'qt' in it (a very long listing) and at the very bottom I found

Code:
--- snip lots of stuff ---

libQtXml.so.4.8.7*
libsignon-qt5.so.1@
libsignon-qt5.so.1.0@
libsignon-qt5.so.1.0.0*
libtelepathy-logger-qt.so.0.9.80.0*
libtelepathy-logger-qt.so.5@
libtelepathy-qt5-service.so.0@
libtelepathy-qt5-service.so.0.0.9.7*
libtelepathy-qt5.so.0@
libtelepathy-qt5.so.0.0.9.7*
qca-qt5/
qt3/
qt4/
qt5/
qtcreator/
The different Qt versions are in subfolders on this system.

So I edited /usr/local/bin/sigil and changed to

Code:
QTLIB_DIR="/usr/lib64/qt5"
And it runs.

The same trick worked on the old version of sigil as well.

So, the answer is that this Mageia system does not comply with a clean installlation of Qt. It does indeed have qt3, qt4, and qt5 installed in subfolders of /usr/lib64. Sigil was not able to find Qt at all, hence the error.

Now I can go put PageEdit in and see how I can use that for editing books.

Thanks for all the help you guys gave me on this one. It made my noggin hurt for a while, but glad to have my sigil back.



Banjo
Banjo is offline   Reply With Quote
Old 04-07-2020, 04:15 PM   #25
Banjo
Zealot
Banjo , Klaatu Barada Niktu!Banjo , Klaatu Barada Niktu!Banjo , Klaatu Barada Niktu!Banjo , Klaatu Barada Niktu!Banjo , Klaatu Barada Niktu!Banjo , Klaatu Barada Niktu!Banjo , Klaatu Barada Niktu!Banjo , Klaatu Barada Niktu!Banjo , Klaatu Barada Niktu!Banjo , Klaatu Barada Niktu!Banjo , Klaatu Barada Niktu!
 
Banjo's Avatar
 
Posts: 120
Karma: 5276
Join Date: Feb 2013
Device: Asus Zen Pad
On my Mint system sigil sets QTLIB_DIR="/usr/lib/x86_64-linux-gnu"

Is this a cmake issue?

I'm not sure how all that gets figured out.

Last edited by Banjo; 04-07-2020 at 04:20 PM.
Banjo is offline   Reply With Quote
Old 04-07-2020, 04:19 PM   #26
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 28,572
Karma: 204127028
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Interesting! Thanks for hammering away at it. The QT_LIB directory in the the /usr/local/bin/ sigil launch script is determined by CMake when building Sigil. CMake has to be able to find the correct qt libs to be able to build Sigil against them. So why that same programmatically determined directory wouldn't work when running Sigil has me puzzled to say the least. I'll have to do some looking around.

As far as the multiple Qts go, that's fairly common on Linux, actually. Some sort of "alternative" program takes care of changing to different Qts (as well as defining a default Qt version). You may want to check which one is currently set as active on your system, though.

Last edited by DiapDealer; 04-07-2020 at 04:23 PM.
DiapDealer is offline   Reply With Quote
Old 04-07-2020, 04:25 PM   #27
Banjo
Zealot
Banjo , Klaatu Barada Niktu!Banjo , Klaatu Barada Niktu!Banjo , Klaatu Barada Niktu!Banjo , Klaatu Barada Niktu!Banjo , Klaatu Barada Niktu!Banjo , Klaatu Barada Niktu!Banjo , Klaatu Barada Niktu!Banjo , Klaatu Barada Niktu!Banjo , Klaatu Barada Niktu!Banjo , Klaatu Barada Niktu!Banjo , Klaatu Barada Niktu!
 
Banjo's Avatar
 
Posts: 120
Karma: 5276
Join Date: Feb 2013
Device: Asus Zen Pad
I had to edit my previous post because I was remotely logged in on the other computer when I looked, and I got some wrong info.

The edited version is correct. Mint has QTLIB_DIR="/usr/lib/x86_64-linux-gnu"

I will poke around some more to see if I can figure out what the setup is doing to confuse cmake. I am pretty certain that the system is using Qt5 at this point.
Banjo is offline   Reply With Quote
Old 04-07-2020, 04:46 PM   #28
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 28,572
Karma: 204127028
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Once cmake finds the proper Qt, it uses that Qt's qmake to query for the qtlib directory. It would be interesting to know what the output of the following command is on your problematic system:

Code:
qmake -query QT_INSTALL_LIBS
The path it returns is what QTLIB_DIR in the /usr/local/bin/sigil launch script should be populated with (if Sigil was built using the default system Qt5 and not a different version downloaded specifically for building Sigil).
DiapDealer is offline   Reply With Quote
Old 04-07-2020, 04:51 PM   #29
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 28,572
Karma: 204127028
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Also make sure there's not some sort of confusion going on between a repository installed version of Sigil in the /usr prefix and a custom compiled version installed in the /usr/local prefix.
DiapDealer is offline   Reply With Quote
Old 04-07-2020, 06:14 PM   #30
Banjo
Zealot
Banjo , Klaatu Barada Niktu!Banjo , Klaatu Barada Niktu!Banjo , Klaatu Barada Niktu!Banjo , Klaatu Barada Niktu!Banjo , Klaatu Barada Niktu!Banjo , Klaatu Barada Niktu!Banjo , Klaatu Barada Niktu!Banjo , Klaatu Barada Niktu!Banjo , Klaatu Barada Niktu!Banjo , Klaatu Barada Niktu!Banjo , Klaatu Barada Niktu!
 
Banjo's Avatar
 
Posts: 120
Karma: 5276
Join Date: Feb 2013
Device: Asus Zen Pad
Code:
[poobah@BSKMageia ~]$ qmake -query QT_INSTALL_LIBS
/usr/lib64
That is what ended up in the sigil script.

/usr/bin/sigil is the version that I installed from the repositories. It suffered from the same problem as the one that I built locally here. Here is the information from the repository version.

Code:
Version: 0.9.16
Loaded Qt: 5.12.6
Build time: 2019.08.19 11:16:02 UTC
I did not run any build tools for that version, I just installed the RPM. So the packager suffered from the same fault on his computer as I did on mine. I think that the problem is bigger than just my system.

/usr/local/bin/sigil is the version that I compiled. Here is the version information.

Code:
Version: 1.2.1
Loaded Qt: 5.12.6
Build time: 2020.04.05 16.19.04 UTC
I did not install a special version of Qt to build sigil. I just installed the dev packages for what is here.

I have my cmake log from when I built sigil, but I don't see any reference to Qt in it.

Code:
[poobah@BSKMageia ~]$ cd sigil-build
[poobah@BSKMageia ~/sigil-build]$ cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Release ../sigil-src
-- The C compiler identification is GNU 8.4.0
-- The CXX compiler identification is GNU 8.4.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found PythonInterp: /usr/bin/python3 (found suitable version "3.7.6", minimum required is "3.4") 
-- Found PythonLibs: /usr/lib64/libpython3.7m.so (found suitable version "3.7.6", minimum required is "3.4") 
-- Using Bundled ZLIB
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of off64_t
-- Check size of off64_t - failed
-- Looking for fseeko
-- Looking for fseeko - found
-- Looking for unistd.h
-- Looking for unistd.h - found
-- Using Bundled MiniZip
-- Using Bundled Hunspell
-- Using Bundled PCRE
-- Looking for dirent.h
-- Looking for dirent.h - found
-- Looking for inttypes.h
-- Looking for inttypes.h - found
-- Looking for sys/stat.h
-- Looking for sys/stat.h - found
-- Looking for unistd.h
-- Looking for unistd.h - found
-- Looking for windows.h
-- Looking for windows.h - not found
-- Looking for C++ include type_traits.h
-- Looking for C++ include type_traits.h - not found
-- Looking for C++ include bits/type_traits.h
-- Looking for C++ include bits/type_traits.h - not found
-- Looking for bcopy
-- Looking for bcopy - found
-- Looking for memmove
-- Looking for memmove - found
-- Looking for strerror
-- Looking for strerror - found
-- Looking for strtoll
-- Looking for strtoll - found
-- Looking for strtoq
-- Looking for strtoq - found
-- Looking for _strtoi64
-- Looking for _strtoi64 - not found
-- Check size of long long
-- Check size of long long - done
-- Check size of unsigned long long
-- Check size of unsigned long long - done
-- Performing Test COMPILER_SUPPORTS_CXX11
-- Performing Test COMPILER_SUPPORTS_CXX11 - Success
-- Performing Test COMPILER_SUPPORTS_CXX0X
-- Performing Test COMPILER_SUPPORTS_CXX0X - Success
x MJ/
x MJ/config/
x MJ/config/local/
x MJ/config/local/SIGIL_EBOOK_MML_SVG.js
x MJ/MathJax.js
x MJ/extensions/
x MJ/extensions/MathML/
x MJ/extensions/MathML/mml3.js
x MJ/extensions/AssistiveMML.js
x MJ/extensions/fast-preview.js
x MJ/extensions/toMathML.js
x MJ/extensions/mml2jax.js
x MJ/extensions/MathEvents.js
x MJ/extensions/jsMath2jax.js
x MJ/jax/
x MJ/jax/input/
x MJ/jax/input/MathML/
x MJ/jax/input/MathML/jax.js
x MJ/jax/input/MathML/config.js
x MJ/jax/input/MathML/entities/
x MJ/jax/input/MathML/entities/e.js
x MJ/jax/input/MathML/entities/a.js
x MJ/jax/input/MathML/entities/y.js
x MJ/jax/input/MathML/entities/x.js
x MJ/jax/input/MathML/entities/d.js
x MJ/jax/input/MathML/entities/o.js
x MJ/jax/input/MathML/entities/w.js
x MJ/jax/input/MathML/entities/k.js
x MJ/jax/input/MathML/entities/s.js
x MJ/jax/input/MathML/entities/scr.js
x MJ/jax/input/MathML/entities/j.js
x MJ/jax/input/MathML/entities/r.js
x MJ/jax/input/MathML/entities/opf.js
x MJ/jax/input/MathML/entities/n.js
x MJ/jax/input/MathML/entities/v.js
x MJ/jax/input/MathML/entities/i.js
x MJ/jax/input/MathML/entities/q.js
x MJ/jax/input/MathML/entities/m.js
x MJ/jax/input/MathML/entities/u.js
x MJ/jax/input/MathML/entities/l.js
x MJ/jax/input/MathML/entities/t.js
x MJ/jax/input/MathML/entities/h.js
x MJ/jax/input/MathML/entities/p.js
x MJ/jax/input/MathML/entities/c.js
x MJ/jax/input/MathML/entities/fr.js
x MJ/jax/input/MathML/entities/g.js
x MJ/jax/input/MathML/entities/f.js
x MJ/jax/input/MathML/entities/b.js
x MJ/jax/input/MathML/entities/z.js
x MJ/jax/element/
x MJ/jax/element/mml/
x MJ/jax/element/mml/jax.js
x MJ/jax/element/mml/optable/
x MJ/jax/element/mml/optable/SuppMathOperators.js
x MJ/jax/element/mml/optable/Latin1Supplement.js
x MJ/jax/element/mml/optable/MathOperators.js
x MJ/jax/element/mml/optable/GeometricShapes.js
x MJ/jax/element/mml/optable/LetterlikeSymbols.js
x MJ/jax/element/mml/optable/Dingbats.js
x MJ/jax/element/mml/optable/BasicLatin.js
x MJ/jax/element/mml/optable/MiscMathSymbolsB.js
x MJ/jax/element/mml/optable/SupplementalArrowsA.js
x MJ/jax/element/mml/optable/Arrows.js
x MJ/jax/element/mml/optable/SupplementalArrowsB.js
x MJ/jax/element/mml/optable/CombDiactForSymbols.js
x MJ/jax/element/mml/optable/GreekAndCoptic.js
x MJ/jax/element/mml/optable/CombDiacritMarks.js
x MJ/jax/element/mml/optable/MiscMathSymbolsA.js
x MJ/jax/element/mml/optable/SpacingModLetters.js
x MJ/jax/element/mml/optable/MiscTechnical.js
x MJ/jax/element/mml/optable/GeneralPunctuation.js
x MJ/jax/element/mml/optable/MiscSymbolsAndArrows.js
x MJ/jax/output/
x MJ/jax/output/SVG/
x MJ/jax/output/SVG/jax.js
x MJ/jax/output/SVG/config.js
x MJ/jax/output/SVG/autoload/
x MJ/jax/output/SVG/autoload/annotation-xml.js
x MJ/jax/output/SVG/autoload/ms.js
x MJ/jax/output/SVG/autoload/mglyph.js
x MJ/jax/output/SVG/autoload/mtable.js
x MJ/jax/output/SVG/autoload/mmultiscripts.js
x MJ/jax/output/SVG/autoload/menclose.js
x MJ/jax/output/SVG/autoload/multiline.js
x MJ/jax/output/SVG/autoload/maction.js
x MJ/jax/output/SVG/fonts/
x MJ/jax/output/SVG/fonts/TeX/
x MJ/jax/output/SVG/fonts/TeX/Size4/
x MJ/jax/output/SVG/fonts/TeX/Size4/Regular/
x MJ/jax/output/SVG/fonts/TeX/Size4/Regular/Main.js
x MJ/jax/output/SVG/fonts/TeX/Size3/
x MJ/jax/output/SVG/fonts/TeX/Size3/Regular/
x MJ/jax/output/SVG/fonts/TeX/Size3/Regular/Main.js
x MJ/jax/output/SVG/fonts/TeX/AMS/
x MJ/jax/output/SVG/fonts/TeX/AMS/Regular/
x MJ/jax/output/SVG/fonts/TeX/AMS/Regular/SuppMathOperators.js
x MJ/jax/output/SVG/fonts/TeX/AMS/Regular/BoxDrawing.js
x MJ/jax/output/SVG/fonts/TeX/AMS/Regular/Latin1Supplement.js
x MJ/jax/output/SVG/fonts/TeX/AMS/Regular/LatinExtendedA.js
x MJ/jax/output/SVG/fonts/TeX/AMS/Regular/MathOperators.js
x MJ/jax/output/SVG/fonts/TeX/AMS/Regular/MiscSymbols.js
x MJ/jax/output/SVG/fonts/TeX/AMS/Regular/GeometricShapes.js
x MJ/jax/output/SVG/fonts/TeX/AMS/Regular/LetterlikeSymbols.js
x MJ/jax/output/SVG/fonts/TeX/AMS/Regular/Dingbats.js
x MJ/jax/output/SVG/fonts/TeX/AMS/Regular/EnclosedAlphanum.js
x MJ/jax/output/SVG/fonts/TeX/AMS/Regular/MiscMathSymbolsB.js
x MJ/jax/output/SVG/fonts/TeX/AMS/Regular/Arrows.js
x MJ/jax/output/SVG/fonts/TeX/AMS/Regular/Main.js
x MJ/jax/output/SVG/fonts/TeX/AMS/Regular/GreekAndCoptic.js
x MJ/jax/output/SVG/fonts/TeX/AMS/Regular/CombDiacritMarks.js
x MJ/jax/output/SVG/fonts/TeX/AMS/Regular/SpacingModLetters.js
x MJ/jax/output/SVG/fonts/TeX/AMS/Regular/MiscTechnical.js
x MJ/jax/output/SVG/fonts/TeX/AMS/Regular/GeneralPunctuation.js
x MJ/jax/output/SVG/fonts/TeX/AMS/Regular/PUA.js
x MJ/jax/output/SVG/fonts/TeX/Size2/
x MJ/jax/output/SVG/fonts/TeX/Size2/Regular/
x MJ/jax/output/SVG/fonts/TeX/Size2/Regular/Main.js
x MJ/jax/output/SVG/fonts/TeX/SansSerif/
x MJ/jax/output/SVG/fonts/TeX/SansSerif/Italic/
x MJ/jax/output/SVG/fonts/TeX/SansSerif/Italic/Other.js
x MJ/jax/output/SVG/fonts/TeX/SansSerif/Italic/BasicLatin.js
x MJ/jax/output/SVG/fonts/TeX/SansSerif/Italic/Main.js
x MJ/jax/output/SVG/fonts/TeX/SansSerif/Italic/CombDiacritMarks.js
x MJ/jax/output/SVG/fonts/TeX/SansSerif/Bold/
x MJ/jax/output/SVG/fonts/TeX/SansSerif/Bold/Other.js
x MJ/jax/output/SVG/fonts/TeX/SansSerif/Bold/BasicLatin.js
x MJ/jax/output/SVG/fonts/TeX/SansSerif/Bold/Main.js
x MJ/jax/output/SVG/fonts/TeX/SansSerif/Bold/CombDiacritMarks.js
x MJ/jax/output/SVG/fonts/TeX/SansSerif/Regular/
x MJ/jax/output/SVG/fonts/TeX/SansSerif/Regular/Other.js
x MJ/jax/output/SVG/fonts/TeX/SansSerif/Regular/BasicLatin.js
x MJ/jax/output/SVG/fonts/TeX/SansSerif/Regular/Main.js
x MJ/jax/output/SVG/fonts/TeX/SansSerif/Regular/CombDiacritMarks.js
x MJ/jax/output/SVG/fonts/TeX/fontdata.js
x MJ/jax/output/SVG/fonts/TeX/Math/
x MJ/jax/output/SVG/fonts/TeX/Math/Italic/
x MJ/jax/output/SVG/fonts/TeX/Math/Italic/Main.js
x MJ/jax/output/SVG/fonts/TeX/Math/BoldItalic/
x MJ/jax/output/SVG/fonts/TeX/Math/BoldItalic/Main.js
x MJ/jax/output/SVG/fonts/TeX/Script/
x MJ/jax/output/SVG/fonts/TeX/Script/Regular/
x MJ/jax/output/SVG/fonts/TeX/Script/Regular/BasicLatin.js
x MJ/jax/output/SVG/fonts/TeX/Script/Regular/Main.js
x MJ/jax/output/SVG/fonts/TeX/Size1/
x MJ/jax/output/SVG/fonts/TeX/Size1/Regular/
x MJ/jax/output/SVG/fonts/TeX/Size1/Regular/Main.js
x MJ/jax/output/SVG/fonts/TeX/Typewriter/
x MJ/jax/output/SVG/fonts/TeX/Typewriter/Regular/
x MJ/jax/output/SVG/fonts/TeX/Typewriter/Regular/Other.js
x MJ/jax/output/SVG/fonts/TeX/Typewriter/Regular/BasicLatin.js
x MJ/jax/output/SVG/fonts/TeX/Typewriter/Regular/Main.js
x MJ/jax/output/SVG/fonts/TeX/Typewriter/Regular/CombDiacritMarks.js
x MJ/jax/output/SVG/fonts/TeX/Fraktur/
x MJ/jax/output/SVG/fonts/TeX/Fraktur/Bold/
x MJ/jax/output/SVG/fonts/TeX/Fraktur/Bold/Other.js
x MJ/jax/output/SVG/fonts/TeX/Fraktur/Bold/BasicLatin.js
x MJ/jax/output/SVG/fonts/TeX/Fraktur/Bold/Main.js
x MJ/jax/output/SVG/fonts/TeX/Fraktur/Bold/PUA.js
x MJ/jax/output/SVG/fonts/TeX/Fraktur/Regular/
x MJ/jax/output/SVG/fonts/TeX/Fraktur/Regular/Other.js
x MJ/jax/output/SVG/fonts/TeX/Fraktur/Regular/BasicLatin.js
x MJ/jax/output/SVG/fonts/TeX/Fraktur/Regular/Main.js
x MJ/jax/output/SVG/fonts/TeX/Fraktur/Regular/PUA.js
x MJ/jax/output/SVG/fonts/TeX/Main/
x MJ/jax/output/SVG/fonts/TeX/Main/Italic/
x MJ/jax/output/SVG/fonts/TeX/Main/Italic/LatinExtendedA.js
x MJ/jax/output/SVG/fonts/TeX/Main/Italic/MathOperators.js
x MJ/jax/output/SVG/fonts/TeX/Main/Italic/LetterlikeSymbols.js
x MJ/jax/output/SVG/fonts/TeX/Main/Italic/BasicLatin.js
x MJ/jax/output/SVG/fonts/TeX/Main/Italic/Main.js
x MJ/jax/output/SVG/fonts/TeX/Main/Italic/GreekAndCoptic.js
x MJ/jax/output/SVG/fonts/TeX/Main/Italic/CombDiacritMarks.js
x MJ/jax/output/SVG/fonts/TeX/Main/Italic/GeneralPunctuation.js
x MJ/jax/output/SVG/fonts/TeX/Main/Italic/LatinExtendedB.js
x MJ/jax/output/SVG/fonts/TeX/Main/Bold/
x MJ/jax/output/SVG/fonts/TeX/Main/Bold/SuppMathOperators.js
x MJ/jax/output/SVG/fonts/TeX/Main/Bold/Latin1Supplement.js
x MJ/jax/output/SVG/fonts/TeX/Main/Bold/LatinExtendedA.js
x MJ/jax/output/SVG/fonts/TeX/Main/Bold/MathOperators.js
x MJ/jax/output/SVG/fonts/TeX/Main/Bold/MiscSymbols.js
x MJ/jax/output/SVG/fonts/TeX/Main/Bold/GeometricShapes.js
x MJ/jax/output/SVG/fonts/TeX/Main/Bold/LetterlikeSymbols.js
x MJ/jax/output/SVG/fonts/TeX/Main/Bold/BasicLatin.js
x MJ/jax/output/SVG/fonts/TeX/Main/Bold/SupplementalArrowsA.js
x MJ/jax/output/SVG/fonts/TeX/Main/Bold/Arrows.js
x MJ/jax/output/SVG/fonts/TeX/Main/Bold/Main.js
x MJ/jax/output/SVG/fonts/TeX/Main/Bold/CombDiactForSymbols.js
x MJ/jax/output/SVG/fonts/TeX/Main/Bold/GreekAndCoptic.js
x MJ/jax/output/SVG/fonts/TeX/Main/Bold/CombDiacritMarks.js
x MJ/jax/output/SVG/fonts/TeX/Main/Bold/MiscMathSymbolsA.js
x MJ/jax/output/SVG/fonts/TeX/Main/Bold/SpacingModLetters.js
x MJ/jax/output/SVG/fonts/TeX/Main/Bold/MiscTechnical.js
x MJ/jax/output/SVG/fonts/TeX/Main/Bold/GeneralPunctuation.js
x MJ/jax/output/SVG/fonts/TeX/Main/Bold/LatinExtendedB.js
x MJ/jax/output/SVG/fonts/TeX/Main/Regular/
x MJ/jax/output/SVG/fonts/TeX/Main/Regular/SuppMathOperators.js
x MJ/jax/output/SVG/fonts/TeX/Main/Regular/LatinExtendedA.js
x MJ/jax/output/SVG/fonts/TeX/Main/Regular/MathOperators.js
x MJ/jax/output/SVG/fonts/TeX/Main/Regular/MiscSymbols.js
x MJ/jax/output/SVG/fonts/TeX/Main/Regular/GeometricShapes.js
x MJ/jax/output/SVG/fonts/TeX/Main/Regular/LetterlikeSymbols.js
x MJ/jax/output/SVG/fonts/TeX/Main/Regular/BasicLatin.js
x MJ/jax/output/SVG/fonts/TeX/Main/Regular/Main.js
x MJ/jax/output/SVG/fonts/TeX/Main/Regular/GreekAndCoptic.js
x MJ/jax/output/SVG/fonts/TeX/Main/Regular/CombDiacritMarks.js
x MJ/jax/output/SVG/fonts/TeX/Main/Regular/SpacingModLetters.js
x MJ/jax/output/SVG/fonts/TeX/Main/Regular/LatinExtendedB.js
x MJ/jax/output/SVG/fonts/TeX/fontdata-extra.js
x MJ/jax/output/SVG/fonts/TeX/Caligraphic/
x MJ/jax/output/SVG/fonts/TeX/Caligraphic/Bold/
x MJ/jax/output/SVG/fonts/TeX/Caligraphic/Bold/Main.js
x MJ/jax/output/SVG/fonts/TeX/Caligraphic/Regular/
x MJ/jax/output/SVG/fonts/TeX/Caligraphic/Regular/Main.js
x MJ/jax/output/PreviewHTML/
x MJ/jax/output/PreviewHTML/jax.js
x MJ/jax/output/PreviewHTML/config.js
-- Configuring done
-- Generating done
-- Build files have been written to: /home/poobah/sigil-build
[poobah@BSKMageia ~/sigil-build]$
Perhaps this is a Qt build problem.
Banjo is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Fatal Error when adding metadata and covers. jgforbes Library Management 1 02-19-2020 09:37 PM
Sigil crashes on error in metadata, content.opf st_albert Sigil 4 07-19-2017 08:31 PM
Sigil 0.7.4 crashes jiarevalo Sigil 3 12-06-2013 06:44 AM
Epub crashes on Sigil for Mac, OK on Sigil for PC crystamichelle Sigil 6 08-14-2013 02:52 PM
sigil crashes? bobcdy Sigil 7 03-05-2011 05:36 AM


All times are GMT -4. The time now is 07:08 PM.


MobileRead.com is a privately owned, operated and funded community.