[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    Re: libaps compilation
From:       David Faure <david () mandrakesoft ! com>
Date:       2000-06-15 10:46:27
[Download RAW message or body]

> Hmm, are you sure? It still doesn´t compile for me with srcdir != builddir. The
> compile cmdline looks like this:
> 
> gcc -DHAVE_CONFIG_H -I. -I../../../../kdesupport/libaps/src -I.. -I../include -
> O2 -Wall -Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations -Wpoin
> ter-arith -Wp,-MD,.deps/attrcommon.pp -c ../../../../kdesupport/libaps/src/attr
> common.c  -fPIC -DPIC -o .libs/attrcommon.o
> ../../../../kdesupport/libaps/src/attrcommon.c:29: aps.h: No such file or direc
> tory
> [and so on]
> 
> This probabaly compiles with srcdir==builddir. But not with srcdir!=builddir.
> What´s missing is something like -I../../../../kdesupport/libaps/include.

Hmm, are you sure ? ( ;-)) )
I fixed this yesterday.

libaps/src/Makefile.am says :

INCLUDES = -I$(srcdir)/.. -I$(srcdir)/../include

And this fixed it for me (and it's committed :-)

-- 
David FAURE
david@mandrakesoft.com, faure@kde.org
http://home.clara.net/faure/, http://www.konqueror.org/
KDE, Making The Future of Computing Available Today

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic