Summary: | No such file or directory while compiling | ||
---|---|---|---|
Product: | [Applications] digikam | Reporter: | Treeve Jelbert <treeve01> |
Component: | Portability-Compilation | Assignee: | Digikam Developers <digikam-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | caulier.gilles |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: | Patch file |
Description
Treeve Jelbert
2006-05-13 10:34:39 UTC
Created attachment 16078 [details]
Patch file
Can you test this patch please?
Hi Angelo, libkipiincludedir is path where headers are installed so $(prefix)/include/libkipi is right. INCLUDES needs to be extended for -I.. (or -I($build_dir)/..) in case builddir != srcdir. (e.g. libkipi_export.h.in is in srcdir but libkipi_export.h is in builddir) I'll commit a fix for this. Achim SVN commit 540613 by ach: libkipi: fix include path: Header files are accessed like #include <libkipi/file.h>. Therefore standard -I. -I$(srcdir) don't work. Adding -I.. -I$(srcdir)/.. fixes this. BUG: 127238 M +1 -1 Makefile.am --- trunk/extragear/libs/libkipi/libkipi/Makefile.am #540612:540613 @@ -1,5 +1,5 @@ METASOURCES = AUTO -INCLUDES= $(LIBKIPI_CFLAGS) $(all_includes) +INCLUDES = -I.. -I$(srcdir)/.. $(LIBKIPI_CFLAGS) $(all_includes) KDE_ICON = kipi > Hi Angelo,
> libkipiincludedir is path where headers are installed so
> $(prefix)/include/libkipi is right.
>
> INCLUDES needs to be extended for -I.. (or -I($build_dir)/..)
> in case builddir != srcdir. (e.g. libkipi_export.h.in is in srcdir
> but libkipi_export.h is in builddir)
That's right, but we should provide:
a) a patch to the current libkipi release for the packagers
b) new libkipi package
Angelo
a) The patch is in #3 (as commited to svn) b) it's already commited so you can create 0.1.3.1 (or 0.1.4) Achim |