[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: non-standard location of glade header files?



On Tue, 11 Dec 2001, Patrick Dahiroc wrote:

> hi all,

Hi Patrick,

>...
> /usr/include/libglade-1.0/glade/glade.h.  how do i
> resolve this discrepancy?
>
> do i:
>    1) make a symbolic link from /usr/include/glade to
> the /usr/include/libglade-1.0/glade directory
>
>    2) change the source code include directives to
> #include <libglade-1.0/glade/glade.h>
>
>    3) change configure.in to check for
> libglade-1.0/glade/glade.h

the correct solution is:

4) use the output of
     gnome-config --cflags libglade
  in configure

> also why is the glade directory under libglade-1.0 -
> is this really how it's suppose to be?

Yes. The reason is AFAIR that it should be in the future possible to have
different versions of libglade installed and to choose with which of them
you want to compile (similar to libxml).


BTW: The right list for beginners questions about packaging is
     debian-mentors@lists.debian.org.

> thanks
>
> wannabe package maintainer
> patrick

cu
Adrian

-- 

Get my GPG key: finger bunk@debian.org | gpg --import

Fingerprint: B29C E71E FE19 6755 5C8A  84D4 99FC EA98 4F12 B400



Reply to: