Opened 18 years ago

Last modified 6 years ago

#9937 closed defect

glib-2.0.pc Cflags needs -I${includedir} — at Initial Version

Reported by: shochat@… Owned by: darwinports-bugs@…
Priority: Normal Milestone:
Component: ports Version: 1.2
Keywords: Cc:
Port: glib2

Description

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 (0)

Note: See TracTickets for help on using tickets.