Opened 14 years ago

Closed 13 years ago

#27111 closed defect (worksforme)

building gdk-pixbuf2 fails: "glib.h not found" but only in contrib/gdk-pixbuf-lib

Reported by: list-ener@… Owned by: dbevans (David B. Evans)
Priority: Normal Milestone:
Component: ports Version: 1.9.1
Keywords: Cc:
Port: gdk-pixbuf2

Description

I solved it by manually changing one line in::

./contrib/gdk-pixbuf-lib/Makefile

to actually include the glib2 dependency (diff-like)::

-GDK_PIXBUF_XLIB_DEP_CFLAGS = +GDK_PIXBUF_XLIB_DEP_CFLAGS = ${GDK_PIXBUF_DEP_CFLAGS}

I also changed the following include line in the Portfile which probably was not necessary but seems cleaner::

# depends_lib path:lib/pkgconfig/glib-2.0.pc:glib \ depends_lib port:glib2 \

Change History (3)

comment:1 Changed 14 years ago by jmroot (Joshua Root)

Owner: changed from macports-tickets@… to devans@…

Please remember to cc the maintainer.

comment:2 Changed 14 years ago by list-ener@…

Still the case for version 2.22.1_0

comment:3 Changed 13 years ago by jmroot (Joshua Root)

Resolution: worksforme
Status: newclosed

This clearly worked on the build server: http://packages.macports.org/gdk-pixbuf2/

If you reopen, provide info about your system and attach the build log.

Note: See TracTickets for help on using tickets.