Opened 14 years ago

Closed 14 years ago

#25818 closed defect (fixed)

gconf build failure: glib.h: No such file or directory

Reported by: thabangh@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.9.1
Keywords: Cc: raphael-st (Raphael Straub), robert.munteanu@…, miken32 (Michael Newton), mkb-prime@…
Port: gconf

Description

I am getting the following errors when I try to install gconf:

bash-3.2$ sudo port install gconf
--->  Computing dependencies for gconf
--->  Building gconf
Error: Target org.macports.build returned: shell command failed
Log for gconf is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_gnome_gconf/main.log
Error: Status 1 encountered during processing.
To report a bug, see <http://guide.macports.org/#project.tickets>

This i

Attachments (3)

main.log (7.4 KB) - added by thabangh@… 14 years ago.
patch-defaults-Makefile.am.diff (294 bytes) - added by mkb-prime@… 14 years ago.
patch to automake file
Portfile-gconf.diff (325 bytes) - added by mkb-prime@… 14 years ago.
portfile diff

Download all attachments as: .zip

Change History (10)

Changed 14 years ago by thabangh@…

Attachment: main.log added

comment:1 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

Port: gconf added
Summary: gconf build failuregconf build failure: glib.h: No such file or directory

The file you attached is not the right one, but the right one is already attached to ticket 25800 so we'll just refer to that one. The actual relevant error message in that log is:

:info:build libtool: compile:  /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I.. -I.. -I.. -DG_LOG_DOMAIN=\"GConf\" -DPREFIX=\"/opt/local\" -DGCONF_LOCALE_DIR=\"/opt/local/share/locale\" -DGCONF_SRCDIR=\"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_gnome_gconf/work/GConf-2.26.2\" -DGCONF_CONFDIR=\"/opt/local/etc/gconf/2\" -DGCONF_ETCDIR=\"/opt/local/etc/gconf\" -DGCONF_BINDIR=\"/opt/local/bin\" -DGCONF_SERVERDIR=\"/opt/local/libexec\" -DGCONF_BUILDDIR=\"..\" -DGCONF_BACKEND_DIR=\"/opt/local/lib/GConf/2\" -DVERSION=\"2.26.2\" -DGCONF_ENABLE_INTERNALS=1 -DGCONFD=\"gconfd-2\" -I/opt/local/include -L/opt/local/lib -O2 -arch x86_64 -Wall -MT gconf-backend.lo -MD -MP -MF .deps/gconf-backend.Tpo -c gconf-backend.c  -fno-common -DPIC -o .libs/gconf-backend.o
:info:build In file included from gconf-error.c:21:
:info:build gconf-error.h:23:18: error: glib.h: No such file or directory

P.S.: Don't forget to fill in the Port field.

comment:2 Changed 14 years ago by raphael-st (Raphael Straub)

Cc: raphael@… added

Cc Me!

comment:3 Changed 14 years ago by robert.munteanu@…

Cc: robert.munteanu@… added

Cc Me!

comment:4 Changed 14 years ago by miken32 (Michael Newton)

Cc: miken32@… added

Cc Me!

comment:5 Changed 14 years ago by mkb-prime@…

Cc: mkb-prime@… added

Cc Me!

Changed 14 years ago by mkb-prime@…

patch to automake file

Changed 14 years ago by mkb-prime@…

Attachment: Portfile-gconf.diff added

portfile diff

comment:6 Changed 14 years ago by mkb-prime@…

Half of this issue upstream is related: https://bugzilla.gnome.org/show_bug.cgi?id=596137

The fix is in the attached patches.

comment:7 in reply to:  6 Changed 14 years ago by raphael-st (Raphael Straub)

Resolution: fixed
Status: newclosed

Replying to mkb-prime@…:

The fix is in the attached patches.

Thanks! I committed your patches in r71064.

Note: See TracTickets for help on using tickets.