Bug 360796 - Difficulties to compile with plugins and how to solve them
Summary: Difficulties to compile with plugins and how to solve them
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kphotoalbum
Classification: Applications
Component: general (show other bugs)
Version: 4.7.1
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: KPhotoAlbum Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-03-20 21:10 UTC by Andreas Schleth
Modified: 2016-12-06 23:22 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Schleth 2016-03-20 21:10:57 UTC
This is not strictly a bug report.  At best a suggestion to add to the compile docs.

I tried to compile 4.7.1 under openSuSE Leap42 and ran into lots of difficulties with the plugins (kipi, kface and marble).  The program itself compiled OK, but the plugins were missing, although I had all the *-devel-packages and libs installed.  Fiddling with the environment variables and of (beware!) the include paths in the source files only got me deeper and deeper into a mess.

The error messages of cmake or during make all hinted to "path/file" not found for some includes or config-files.  Nothing definite.

Finally I found the reason:  some plugins were already present on my system in the qt5-flavour.  And this breaks it.  It seems having qt4 and qt5 libs on the system makes building things unpleasant at least.

Solution: downgrade kipi, marble and kface to the qt4-versions.  

This is for openSuSE only:  In Yast delete/uninstall the corresponding qt5-libraries (for these plugins only).  Then the downgrade is provided as one of the solutions to the dependency mismatch.

Please fee free to point me to the proper place, if this is the wrong place to post/discuss.

Reproducible: Always
Comment 1 Johannes Zarl-Zierl 2016-03-22 23:03:44 UTC
Hi Andreas,

Discussion is usually done best on the mailing list, but the bugtracker is fine in this case.

Btw. I'm currently working on porting KPhotoAlbum to Qt5/KF5, so this annoyance should be over soon(ish).
Comment 2 Johannes Zarl-Zierl 2016-12-06 23:22:38 UTC
The specific problems you encountered should be history now (simply because KPhotoAlbum is now ported to Qt5/KDE Frameworks.

I'm marking this as resolved if you don't mind...