Opened 18 years ago

Closed 18 years ago

Last modified 6 years ago

#9937 closed defect (fixed)

glib2: glib-2.0.pc Cflags needs -I${includedir} — at Version 3

Reported by: shochat@… Owned by: mij@…
Priority: Normal Milestone:
Component: ports Version: 1.2
Keywords: Cc: ryandesign@…
Port: glib2

Description (last modified by ryandesign (Ryan Carsten Schmidt))

This problem was encountered doing a manual build of pan-0.103 against the glib-2.0 brought in by DarwinPorts. The error was:

In file included from e-util.cc:32:
/opt/local/include/glib-2.0/glib/gi18n.h:23:21: error: libintl.h: No such file or directory

The problem was that in the compile command that led to this error, there was no -I/opt/local/include (which is where libintl.h is), causing the include in gi18n.h to fail. This is apparently because the Cflags line in glib-2.0.pc does not have -I${includedir}.

Change History (3)

comment:1 Changed 18 years ago by rhwood@…

Owner: changed from darwinports-bugs@… to mij@…

Assigning to maintainer.

comment:2 Changed 18 years ago by mij@…

Resolution: fixed
Status: newclosed

Committed, thanks!

comment:3 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign@… added
Description: modified (diff)
Port: glib2 added
Summary: glib-2.0.pc Cflags needs -I${includedir}glib2: glib-2.0.pc Cflags needs -I${includedir}

The developers of Qt have declared that it is broken for us to be making this change to glib2's pkg-config file, so I plan to revert it; see #44395.

Note: See TracTickets for help on using tickets.