You are not logged in.

#1 2012-10-28 17:28:32

weedfreak
Member
Registered: 2012-08-09
Posts: 49

[ SOLVED] QT4 packages

I am trying to build Sigil from source as the community version is broken for me and has been for 4 months, I can get no help from the maintainers or from the Sigil site as to what is wrong, so building from source might be the way to find out what I am missing.

The sigil source code notes are a bit vague but do contain this note.

You will need to install Qt4 including, any dependencies and development packages if your distro provides separate dev packages. Also, many distros split the Qt packages into multiple subpackages. XML, SVG, and WebKit support are required.

I already have QTwebkit but cannot find where QT xml or svg are, could someone please tell me where to find these packages? I have tried buiding sigil without and it fails, so I do not already have the xml or svg installed.

Last edited by weedfreak (2012-10-29 07:19:18)

Offline

#2 2012-10-28 17:43:32

progandy
Member
Registered: 2012-05-17
Posts: 5,322

Re: [ SOLVED] QT4 packages

You should get the official PKGBUILD, It contains the necessary dependencies and commands to build it.
It is available in the ABS
Edit: In fact, you should use the PKGBUILD, modify it in order to build the current version and then use makepkg and pacman -U to install.

Last edited by progandy (2012-10-28 17:50:51)


| alias CUTF='LANG=en_XX.UTF-8@POSIX ' | alias ENGLISH='LANG=C.UTF-8 ' |

Offline

#3 2012-10-28 17:44:40

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: [ SOLVED] QT4 packages

The package is broken - how exactly?

The build fails - how exactly?

Help people to help you by providing all relevant details.

Offline

#4 2012-10-28 18:42:20

weedfreak
Member
Registered: 2012-08-09
Posts: 49

Re: [ SOLVED] QT4 packages

I shall look into ABS, see what problems I can create for myself.

@tomk
All the details of the community version are in bug reports for sigil, did not see much point in repeating them again here, I tried that once and got no help, that is why I was looking at building it myself. The build fails due to missing dependencies which is logical as I seem not to have two dependencies that are not marked as dependencies by the community or AUR packages, but maybe they were only needed for building from source, but something is obviously wrong at runtime as I get "Could not load a transcoding service" as a runtime error with no further idea what that means.

Offline

#5 2012-10-29 00:19:40

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 7,198

Re: [ SOLVED] QT4 packages

You could at least link to the relevant bug reports. If you are so sure that nobody will help you, why bother posting at all? On the other hand, if you have enough hope to post, surely it makes sense to provide people with the information they would need if they were to wish to help.

EDIT: https://bugs.archlinux.org/task/31111 for bug report

Last edited by cfr (2012-10-29 00:24:01)


CLI Paste | How To Ask Questions

Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L

Offline

#6 2012-10-29 00:39:18

progandy
Member
Registered: 2012-05-17
Posts: 5,322

Re: [ SOLVED] QT4 packages

Maybe you could try to enable the locale en_US.utf8, then regenerate the locale db. Now run sigil with "LC_ALL=en_US.utf8 sigil"
I got the idea here: http://mail-archives.apache.org/mod_mbo … ble.com%3E
(It works for me without that, I have all de_DE and en_US enabled)

Last edited by progandy (2012-10-29 00:42:34)


| alias CUTF='LANG=en_XX.UTF-8@POSIX ' | alias ENGLISH='LANG=C.UTF-8 ' |

Offline

#7 2012-10-29 01:11:09

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 7,198

Re: [ SOLVED] QT4 packages

It works for me with locale set to cy_GB.UTF-8. (LANGUAGES is set up as "cy_GB:cy:en_GB:en" however.)

You might check that sigil is finding everything it is supposed to be linked to:

$ ldd /usr/bin/sigil 
        linux-vdso.so.1 (0x00007fff5e5ff000)
        libpcre16.so.0 => /usr/lib/libpcre16.so.0 (0x00007f9b41ea7000)
        libQtWebKit.so.4 => /usr/lib/libQtWebKit.so.4 (0x00007f9b400c1000)
        libQtGui.so.4 => /usr/lib/libQtGui.so.4 (0x00007f9b3f41f000)
        libQtNetwork.so.4 => /usr/lib/libQtNetwork.so.4 (0x00007f9b3f0e6000)
        libQtCore.so.4 => /usr/lib/libQtCore.so.4 (0x00007f9b3ec16000)
        libz.so.1 => /usr/lib/libz.so.1 (0x00007f9b3ea00000)
        libboost_filesystem.so.1.50.0 => /usr/lib/libboost_filesystem.so.1.50.0 (0x00007f9b3e7eb000)
        libboost_regex.so.1.50.0 => /usr/lib/libboost_regex.so.1.50.0 (0x00007f9b3e4cf000)
        libboost_system.so.1.50.0 => /usr/lib/libboost_system.so.1.50.0 (0x00007f9b3e2cc000)
        libpthread.so.0 => /usr/lib/libpthread.so.0 (0x00007f9b3e0b0000)
        libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x00007f9b3ddad000)
        libm.so.6 => /usr/lib/libm.so.6 (0x00007f9b3dab3000)
        libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0x00007f9b3d89e000)
        libc.so.6 => /usr/lib/libc.so.6 (0x00007f9b3d4f7000)
        libsqlite3.so.0 => /usr/lib/libsqlite3.so.0 (0x00007f9b3d24c000)
        libXrender.so.1 => /usr/lib/libXrender.so.1 (0x00007f9b3d041000)
        libgstapp-0.10.so.0 => /usr/lib/libgstapp-0.10.so.0 (0x00007f9b3ce35000)
        libgstinterfaces-0.10.so.0 => /usr/lib/libgstinterfaces-0.10.so.0 (0x00007f9b3cc23000)
        libgstpbutils-0.10.so.0 => /usr/lib/libgstpbutils-0.10.so.0 (0x00007f9b3c9ff000)
        libgstvideo-0.10.so.0 => /usr/lib/libgstvideo-0.10.so.0 (0x00007f9b3c7e3000)
        libgstbase-0.10.so.0 => /usr/lib/libgstbase-0.10.so.0 (0x00007f9b3c58f000)
        libgstreamer-0.10.so.0 => /usr/lib/libgstreamer-0.10.so.0 (0x00007f9b3c2a6000)
        libgobject-2.0.so.0 => /usr/lib/libgobject-2.0.so.0 (0x00007f9b3c058000)
        libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0x00007f9b3bd64000)
        libX11.so.6 => /usr/lib/libX11.so.6 (0x00007f9b3ba2b000)
        libpng15.so.15 => /usr/lib/libpng15.so.15 (0x00007f9b3b7fe000)
        libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x00007f9b3b547000)
        libSM.so.6 => /usr/lib/libSM.so.6 (0x00007f9b3b33f000)
        libICE.so.6 => /usr/lib/libICE.so.6 (0x00007f9b3b123000)
        libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0x00007f9b3aee9000)
        libXext.so.6 => /usr/lib/libXext.so.6 (0x00007f9b3acd6000)
        libssl.so.1.0.0 => /usr/lib/libssl.so.1.0.0 (0x00007f9b3aa6c000)
        libcrypto.so.1.0.0 => /usr/lib/libcrypto.so.1.0.0 (0x00007f9b3a663000)
        libdl.so.2 => /usr/lib/libdl.so.2 (0x00007f9b3a45f000)
        librt.so.1 => /usr/lib/librt.so.1 (0x00007f9b3a257000)
        /lib/ld-linux-x86-64.so.2 (0x00007f9b420fd000)
        libicuuc.so.49 => /usr/lib/libicuuc.so.49 (0x00007f9b39ee0000)
        libicui18n.so.49 => /usr/lib/libicui18n.so.49 (0x00007f9b39ae6000)
        libicudata.so.49 => /usr/lib/libicudata.so.49 (0x00007f9b387c6000)
        libgmodule-2.0.so.0 => /usr/lib/libgmodule-2.0.so.0 (0x00007f9b385c2000)
        libxml2.so.2 => /usr/lib/libxml2.so.2 (0x00007f9b38266000)
        libgthread-2.0.so.0 => /usr/lib/libgthread-2.0.so.0 (0x00007f9b38064000)
        liborc-0.4.so.0 => /usr/lib/liborc-0.4.so.0 (0x00007f9b37de9000)
        libpcre.so.1 => /usr/lib/libpcre.so.1 (0x00007f9b37b8b000)
        libffi.so.6 => /usr/lib/libffi.so.6 (0x00007f9b37982000)
        libxcb.so.1 => /usr/lib/libxcb.so.1 (0x00007f9b37763000)
        libbz2.so.1.0 => /usr/lib/libbz2.so.1.0 (0x00007f9b37553000)
        libuuid.so.1 => /usr/lib/libuuid.so.1 (0x00007f9b3734e000)
        libexpat.so.1 => /usr/lib/libexpat.so.1 (0x00007f9b37124000)
        liblzma.so.5 => /usr/lib/liblzma.so.5 (0x00007f9b36f01000)
        libXau.so.6 => /usr/lib/libXau.so.6 (0x00007f9b36cfd000)
        libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0x00007f9b36af7000)

CLI Paste | How To Ask Questions

Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L

Offline

#8 2012-10-29 07:18:24

weedfreak
Member
Registered: 2012-08-09
Posts: 49

Re: [ SOLVED] QT4 packages

Many thanks for all the suggestions.

I tried installing with ABS and that installed boost and gendesk as dependencies, the build failed as the source files failed the validity test, the PKGBUILD seemed to be for an obsolete version and the checksum did not match the new version, I left it there as I needed some sleep.

The tips from progandy and cfr gave me somewhere else to look, all the linked files were OK . I tried starting with  "  LC_ALL=en_GB.utf8 sigil " and it worked, no need for the en_US locale setting.

Diolch yn fawr i chi.

Offline

#9 2012-10-29 12:26:18

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 7,198

Re: [ SOLVED] QT4 packages

Croeso!


CLI Paste | How To Ask Questions

Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L

Offline

Board footer

Powered by FluxBB