Opened 16 years ago

Closed 16 years ago

Last modified 16 years ago

#17083 closed defect (fixed)

libcanberra built without GTK support

Reported by: pawel.matykiewicz@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.6.0
Keywords: gnome-control-center Cc: jmroot (Joshua Root)
Port: libcanberra

Description

I run this command

sudo port upgrade gnome-control-center

Here is the error:

Error: Target org.macports.configure returned: configure failure: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_gnome_gnome-control-center/work/gnome-control-center-2.24.0.1" && ./configure --prefix=/opt/local --mandir=/opt/local/share/man --disable-hal --enable-gstreamer --disable-scrollkeeper --disable-update-mimedb --disable-update-desktopdb --disable-schemas-install " returned error 1
Command output: checking X11/extensions/XKB.h usability... yes
checking X11/extensions/XKB.h presence... yes
checking for X11/extensions/XKB.h... yes
checking for LIBSLAB... yes
checking for CAPPLET... yes
checking for GNOMECC... yes
checking for GNOME... yes
checking for DBUS... yes
checking for GNOME_DESKTOP... yes
checking for DEFAULT_APPLICATIONS_CAPPLET... yes
checking for METACITY... yes
checking for TYPING... yes
checking for GSD_DBUS... yes
checking for GIO... yes
checking for FONT_CAPPLET... yes
checking for AT_CAPPLET... yes
checking for XRRUpdateConfiguration in -lXrandr... yes
checking for X11/extensions/Xrandr.h... yes
checking for DISPLAY_CAPPLET... yes
checking for XCURSOR... no
checking for LIBGNOMEKBD... yes
checking for LIBGNOMEKBDUI... yes
checking whether to enable About Me... no
checking for glib-genmarshal... /opt/local/bin/glib-genmarshal
checking for gconftool-2... /opt/local/bin/gconftool-2
Using config source xml:merged:/opt/local/etc/gconf/gconf.xml.defaults for schema installation
Using $(sysconfdir)/gconf/schemas as install directory for schema files
checking for GST... yes
checking for CANBERRA... no
configure: error: Sound capplet requested but libcanberra not found

Error: Unable to upgrade port: 1

I have libcanberra installed:

port installed libcanberra
The following ports are currently installed:
  libcanberra @0.10_0 (active)

Any ideas?

Attachments (1)

config.log (98.5 KB) - added by pawel.matykiewicz@… 16 years ago.
/opt/localvar/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_gnome_gnome-control-center/work/gnome-control-center-2.24.0.1/config.log

Download all attachments as: .zip

Change History (17)

comment:1 Changed 16 years ago by pawel.matykiewicz@…

Cc: pawel.matykiewicz@… added

Cc Me!

comment:2 Changed 16 years ago by pawel.matykiewicz@…

I'm not sure but could it be connected with some other error:

Failed to run gconf-sanity-check-2: Failed to execute child process "/opt/local/libexec/gconf-sanity-check-2" (No such file or directory)

I have gconf installed:

port installed gconf
The following ports are currently installed:
  gconf @2.22.0_0
  gconf @2.24.0_0 (active)

comment:3 Changed 16 years ago by blb@…

Does /opt/local/libexec/gconf-sanity-check-2 actually exist? It should be provided by gconf, at least it is here (2.24.0_0 as well).

comment:4 in reply to:  3 Changed 16 years ago by pawel.matykiewicz@…

No it does not!

Replying to blb@…:

Does /opt/local/libexec/gconf-sanity-check-2 actually exist? It should be provided by gconf, at least it is here (2.24.0_0 as well).

comment:5 Changed 16 years ago by pawel.matykiewicz@…

When I DEactivate @2.24.0_0 and ACtivate @2.22.0_0 then the file is back ?!?

comment:6 Changed 16 years ago by pawel.matykiewicz@…

With gconf @2.22.0_0 active I still get same error:

configure: error: Sound capplet requested but libcanberra not found

comment:7 Changed 16 years ago by jmroot (Joshua Root)

Cc: jmr@… added; pawel.matykiewicz@… removed

Do you have pkgconfig?

comment:8 Changed 16 years ago by pawel.matykiewicz@…

Yes I do:

port installed pkgconfig
The following ports are currently installed:
  pkgconfig @0.23_0 (active)

comment:9 Changed 16 years ago by jmroot (Joshua Root)

And do you have ${prefix}/lib/pkgconfig/libcanberra.pc? If so, please attach the config.log from gnome-control-center's work dir.

Changed 16 years ago by pawel.matykiewicz@…

Attachment: config.log added

/opt/localvar/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_gnome_gnome-control-center/work/gnome-control-center-2.24.0.1/config.log

comment:10 Changed 16 years ago by pawel.matykiewicz@…

I've got

${prefix}/lib/pkgconfig/libcanberra.pc

I've also attached config.log

comment:11 Changed 16 years ago by jmroot (Joshua Root)

OK, so it's actually failing to find libcanberra-gtk.pc. Do you have that?

comment:12 Changed 16 years ago by pawel.matykiewicz@…

No I don't have this file. How do I get it?

comment:13 in reply to:  12 Changed 16 years ago by blb@…

Replying to pawel.matykiewicz@…:

No I don't have this file. How do I get it?

That should be part of libcanberra; how do you have that and gtk2 installed (port installed gtk2 libcanberra)?

comment:14 Changed 16 years ago by pawel.matykiewicz@…

I have:

port installed gtk2 libcanberra

The following ports are currently installed:
  gtk2 @2.12.9_0+x11
  gtk2 @2.14.3_2+x11
  gtk2 @2.14.3_3+x11
  gtk2 @2.14.4_0+x11 (active)
  libcanberra @0.10_0 (active)

comment:15 Changed 16 years ago by jmroot (Joshua Root)

Keywords: gnome-control-center added; gnome libcanberra removed
Port: libcanberra added; gnome-control-center removed
Resolution: fixed
Status: newclosed
Summary: gnome-control-center 2.24.0.1_0 upgrade errorlibcanberra built without GTK support

Fixed in r41555.

comment:16 Changed 16 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.