Okular building help request

Jonathan Schultz jonathan at imatix.com
Tue Mar 1 09:54:46 UTC 2016


Thanks again Hannah,

I do seem to be getting somewhere but have once again hit a bit of a 
wall. Among other things I turned up the short path drive substitution 
stuff just to be sure that the problem wasn't there. But now I get a 
repeated error:

> Q:\qtwebkit\Source\WTF/wtf/Platform.h:703:36: fatal error: WTF/WTFHeaderDetection.h: No such file or directory
> compilation terminated.

And indeed the file WTFHeaderDetection.h seems to be totally missing. 
But it is also missing from Thomas Friedrichsmeier's pre-built 
environment, which seems to work.

Prior to that I get a series of errors that look a bit like this:

> Q:/qtwebkit/WebKit.pro:21: 'use?' is not a recognized test function.

It's unclear to me whether the two errors are related or not. But either 
way I am stuck and once again appealing for help.

The most recent full log file is here: 
https://www.dropbox.com/s/88mlp3bm6wkcx9m/emerge.qt.log

Cheers,
Jonathan


On 28/02/16 23:18, Hannah von Reth wrote:
> Hi your build failed to fetch dbus.
> If emerge complains about checksum mismatch delete the downloaded file
> and try it again, the same if it fails to extract a file.
> emerge --make qtbase only works if --configure was successfully run
> before, which is included in "emerge qt".
>
> Cheers,
>
> Hannah
>
>  > Subject: Re: Okular building help request
>  > To: kde-windows at kde.org
>  > From: jonathan at imatix.com
>  > Date: Sun, 28 Feb 2016 10:13:19 +1100
>  >
>  > Dear Hannah,
>  >
>  > Thanks for your reply. Unfortunately I tend to be online somewhat
>  > sporadically and in a lonely timezone (UTC +11) so I prefer asynchronous
>  > communication. That said, I will try sitting on IRC when I can to see
>  > what happens.
>  >
>  > In regard to your suggestions, I found that any kind of 'emerge qtbase'
>  > fell over pretty much immediately with a complaint about a missing
>  > Makefile. So here is what I did (starting from a completely fresh
>  > installation), with links to the resulting log files. I hope someone can
>  > decode these messages - from what I can see everything looks normal
>  > enough until a line stating that the build has failed. As for the patch
>  > errors I was getting previously - I have no idea what happened to them.
>  >
>  > > emerge -vvv qt 2>&1 > emerge.qt.log
>  >
>  > https://www.dropbox.com/s/88mlp3bm6wkcx9m/emerge.qt.log
>  >
>  > > emerge -vvv qtbase --make 2>&1 > emerge.qtbase.log
>  >
>  > https://www.dropbox.com/s/gga4rh7mwes4kav/emerge.qtbase.log
>  >
>  > > emerge -vvv --make qtbase 2>&1 > emerge.qtbase.log
>  >
>  > https://www.dropbox.com/s/vnwqfrs4jwxo1nm/emerge.qt.1.log
>  >
>  > Cheers,
>  > Jonathan
>  >
>  > On 26/02/16 19:13, Hannah von Reth wrote:
>  > > Hi Jonathan,
>  > >
>  > > Emerge is the best way to build KDE applications on Windows.
>  > > But we are not active in the forums, even the mailing list isn't that
>  > > active.
>  > > The best way to get support is to join our irc channel #kde-windows
>  > > <http://webchat.freenode.net/?channels=kde-windows&uio=MTE9MTk117> stay
>  > > around and being patient.
>  > >
>  > > You are right the patch errors are only warnings and applying the same
>  > > patch again and a non essential fail of a patch .
>  > > The real error seems to be somewhere between the patch error and the
>  > > build failure.
>  > >
>  > > You can run the build step independent from the rest by running "emerge
>  > > -vvv --make qtbase".
>  > > You can pipe the output of the build to a file like this "emerge -vvv
>  > > --make qtbase 2>&1 > log.txt", we need a full log to help you to find
>  > > the issue.
>  > >
>  > > See you soon in our channel, I can't wait for an Okular installer :)
>  > >
>  > >
>  > > Cheers,
>  > >
>  > > Hannah
>  > >
>  > >
>  > >
>  > >
>  > > > To: kde-windows at kde.org
>  > > > From: jonathan at imatix.com
>  > > > Subject: Okular building help request
>  > > > Date: Fri, 26 Feb 2016 11:55:25 +1100
>  > > >
>  > > > Hello all,
>  > > >
>  > > > I've been trying to build a recent version of okular (and
> dependencies)
>  > > > for Windows using a variety of methods, with only moderate levels of
>  > > > success, and now putting out a cry for help. Here is a description of
>  > > > what I have achieved, and where I have failed:
>  > > >
>  > > > kde-installer using mingw works fine, although I can only find a
> stable
>  > > > release, ie version 0.16.2 of okular. I also managed to use
>  > > > kde-installer under wine then build using mingw
> cross-compilation. I'm
>  > > > pretty keen on cross-compilation as I want to produce regular
> builds of
>  > > > work I am doing based on okular, and the fewer boxes I need to do
> this
>  > > > the better. So if I could use get kde-installer to find an 'unstable'
>  > > > release I'd be happy.
>  > > >
>  > > > I then tried using kdesrc-build with cross-compilation on the
>  > > > kf5-minimum branch. I made quite a bit of progress here with just
> a few
>  > > > patches and managed to get 47 out of 61 packages to build. Those that
>  > > > wouldn't build all seemed to have problems with various QT5 cmake
>  > > > configuration files, and my knowledge of cmake and qmake was just not
>  > > > enough so I abandoned this path. I'd still love to make this
> work, so if
>  > > > anyone feels like lending a hand, I'd be happy to pick it up again.
>  > > >
>  > > > So finally I gave in and tried to build under windows using emerge.
>  > > > However my build fell apart with some kind of patch file problem
> that I
>  > > > described (in the wrong place I'm guessing - 130 views and no
> responses)
>  > > > here: https://forum.kde.org/viewtopic.php?f=107&t=131006 Once
> again I'm
>  > > > a bit lost on how to proceed, and given that others seem to be
> able to
>  > > > make emerge work, I'm hoping that someone can help with this problem.
>  > > >
>  > > > Many thanks,
>  > > >
>  > > > Jonathan
>  > > >
>  > > > _______________________________________________
>  > > > Kde-windows mailing list
>  > > > Kde-windows at kde.org
>  > > > https://mail.kde.org/mailman/listinfo/kde-windows
>  > >
>  > >
>  > > _______________________________________________
>  > > Kde-windows mailing list
>  > > Kde-windows at kde.org
>  > > https://mail.kde.org/mailman/listinfo/kde-windows
>  > >
>  >
>  > _______________________________________________
>  > Kde-windows mailing list
>  > Kde-windows at kde.org
>  > https://mail.kde.org/mailman/listinfo/kde-windows
>
>
> _______________________________________________
> Kde-windows mailing list
> Kde-windows at kde.org
> https://mail.kde.org/mailman/listinfo/kde-windows
>



More information about the Kde-windows mailing list