[MacPorts] #9937: glib2: glib-2.0.pc Cflags needs -I${includedir} (was: glib-2.0.pc Cflags needs -I${includedir})

MacPorts noreply at macports.org
Mon Jul 21 19:28:56 PDT 2014


#9937: glib2: glib-2.0.pc Cflags needs -I${includedir}
------------------------+--------------------
  Reporter:  shochat@…  |      Owner:  mij@…
      Type:  defect     |     Status:  closed
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:  1.2
Resolution:  fixed      |   Keywords:
      Port:  glib2      |
------------------------+--------------------
Changes (by ryandesign@…):

 * cc: ryandesign@… (added)
 * port:   => glib2


Old 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}.

New 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}.

--

Comment:

 The developers of [http://qt-project.org/ Qt] have declared that it is
 [https://bugreports.qt-
 project.org/browse/QTBUG-34902?focusedCommentId=222519&page=com.atlassian.jira.plugin.system.issuetabpanels
 :comment-tabpanel#comment-222519 broken] for us to be making this change
 to glib2's pkg-config file, so I plan to revert it; see #44395.

-- 
Ticket URL: <https://trac.macports.org/ticket/9937#comment:3>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list