Bug 277898

Summary: Does not compile, presumably because of missing directory in include path.
Product: [Applications] digikam Reporter: Jan Gosmann <jan>
Component: Portability-CompilationAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: caulier.gilles
Priority: NOR    
Version: 1.9.0   
Target Milestone: ---   
Platform: MacPorts   
OS: macOS   
Latest Commit: Version Fixed In: 4.12.0
Attachments: Build log.

Description Jan Gosmann 2011-07-16 16:28:52 UTC
Version:           1.9.0 (using Devel) 
OS:                OS X

Compiling kipi-plugins with a MacPorts environment fails. It seems that the include path is missing a directory. The individual Qt include directories (for example in my case /opt/local/include/QtCore) get added, but the directory above these Qt directories (/opt/local/include) does not get added.
This is a problem as the Qt headers use include statements like "#include <QtCore/qatomic.h>".

I would fix this myself, but unfortunately I am unfamiliar with the cmake build system.

Reproducible: Always

Steps to Reproduce:
Compile kipi-plugins using a MacPorts environment.


Expected Results:  
Library does compile cleanly.

I am using Mac OS X Snow Leopard (10.6.8).
A complete build log is attached.
Comment 1 Jan Gosmann 2011-07-16 16:29:15 UTC
Created attachment 61925 [details]
Build log.
Comment 2 caulier.gilles 2011-07-16 19:36:21 UTC
jan,

forget to package 1.9.0  for macport, and work directly to 2.0.0,
which will be released in 2 weeks. all code comile fine on my macbook.

i'm iin holidays for 2 weeks without computer to compile and test

gilles caulier

2011/7/16, Jan Gosmann <jan@hyper-world.de>:
> https://bugs.kde.org/show_bug.cgi?id=277898
>
>
>
>
>
> --- Comment #1 from Jan Gosmann <jan hyper-world de>  2011-07-16 16:29:15
> ---
> Created an attachment (id=61925)
>  --> (http://bugs.kde.org/attachment.cgi?id=61925)
> Build log.
>
> --
> Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
> ------- You are receiving this mail because: -------
> You are the assignee for the bug.
> _______________________________________________
> Kde-imaging mailing list
> Kde-imaging@kde.org
> https://mail.kde.org/mailman/listinfo/kde-imaging
>
Comment 3 Jan Gosmann 2011-08-11 18:48:06 UTC
There was probably something wrong with my system and with Digikam 2.0.0 it works again.
Comment 4 caulier.gilles 2015-06-22 19:31:14 UTC
New digiKam 4.11.0 is available with official PKG installer for OSX.

https://www.digikam.org/node/740

Gilles Caulier