Menu

#41 Fix pkg-config include dir

open
nobody
5
2003-09-28
2003-09-28
No

Currently pkg-config --cflags libgift doesn't return
anything,
this is because libgift.pc has defined /usr/include (the
stantard include system) but not /usr/include/libgift.

Regards,

Germán Poó C.

Discussion

  • Germán Poo-Caamaño

    Patch for lib/libgift.pc.in

     
  • Nobody/Anonymous

    Logged In: NO

    How i patched? i newbie :(

     
  • Josh Guilfoyle

    Josh Guilfoyle - 2003-10-14

    Logged In: YES
    user_id=2525

    This was intentional behaviour. The API requests that you
    add the libgift/ path element on the #include line in order
    to prevent namespace confusion.

     
  • Germán Poo-Caamaño

    Logged In: YES
    user_id=642734

    I know that prevents namespaces problems. But, if you don't
    apply the patch you can't compile anything that require libgift.
    Because pkg-configu --cflags libgift doesn't return anything.

    It's the same as don't have libgfit.pc.

    Just take a look to any other package, as libglade.pc, or
    gtk+-2.0.

     
  • Josh Guilfoyle

    Josh Guilfoyle - 2003-10-15

    Logged In: YES
    user_id=2525

    I certainly am not seeing this behaviour, is this perhaps a
    local pkg-config bug? Could you provide relevant
    documentation so that I can evaluate the validity of this patch?

     

Log in to post a comment.

MongoDB Logo MongoDB