compiling procedure in ubuntu 18.10 with xfree

Asked by Serafin Granados

Hi again,

I tried to compile this in ubuntu 18.10 replacing python-image with python-pil, but in the 'make' step it fails:

/opt/livewallpaper-0.5.0/ui/config/plugin-parser.vala:24.40-24.44: error: Expected initializer of type `GLib.MarkupParserStartElementFunc' but got `Lwc.PluginParser.start'
    const MarkupParser PluginParser = {start, end, text, null, null};

Followed by other errors

I have xfree and I cant install it by apt-get install livewallpaper because it doesn't exists.


Question information

English Edit question
LiveWallpaper Edit question
No assignee Edit question
Solved by:
Maximilian Schnarr
Last query:
Last reply:
Revision history for this message
Manfred Hampl (m-hampl) said :

Which version of the source are you using?
The error message that you get is similar to the one that Maximilian Schnarr got in a compliation attempt for 0.5.0-0~330~ubuntu18.04.1 but which has been solved in 0.5.0-0~331~ubuntu18.04.1

Meanwhile Maximilian Schnarr has worked on a version 0.5.0-0~333~ubuntu18.04.1 (for Ubuntu 18.04) which uses python3 (and python3-pil etc.).

It seems to me that you are not using the newest source.

By the way, are you aware that Ubuntu 18.10 is the development release of Ubuntu which is due only in October 2018? You cannot expect that everything is already error-free and working in that release.

Revision history for this message
Best Maximilian Schnarr (fyrmir) said :

I just triggered a daily build for ubuntu 18.10 and the build was successful. So I guess you tried to build livewallpaper using old source code like Manfred Hampl suggested.

Please try to install livewallpaper using the daily PPA or use bzr to get the latest source code.

Revision history for this message
Serafin Granados (amadeuscito) said :

Excuse me, the correct version was 18.04 as you correctly mentioned.

Today I update my package and magically works now.

Thank you

Revision history for this message
Serafin Granados (amadeuscito) said :

Thanks Maximilian Schnarr, that solved my question.