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

List:       kde-core-devel
Subject:    Re: libaps compilation
From:       Michael Reiher <michael.reiher () gmx ! de>
Date:       2000-06-15 12:33:16
[Download RAW message or body]

David Faure wrote:
> 
> > 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 :-)
Hrm!! I shouldn´t only make extremly-clean but also update kdesupport!
Of course, this way it works now. Thanks.

Michael

-- 
Michael Reiher                                    :  michael.reiher@gmx.de
Student of Computer Science at TU Dresden/Germany : mr23@inf.tu-dresden.de
KDE Developer                                     :         reiher@kde.org

"Beware the woods at night, beware the lunar light!"

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

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