Ticket #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@…, robert.munteanu@…, miken32@…, 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
Change History
comment:1 Changed 3 years ago by ryandesign@…
- Port set to gconf
- Summary changed from gconf build failure to gconf 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.
Changed 3 years ago by mkb-prime@…
- Attachment patch-defaults-Makefile.am.diff added
patch to automake file
comment:6 follow-up: ↓ 7 Changed 3 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 3 years ago by raphael@…
- Status changed from new to closed
- Resolution set to fixed
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.

