Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#16018 closed defect (fixed)

pidgin: D-Bus development headers not found

Reported by: ryandesign (Ryan Schmidt) Owned by: simon@…
Priority: Normal Milestone:
Component: ports Version: 1.7.0
Keywords: Cc: myotheralterhypercube@…
Port:

Description

On a MacBook Pro running MacPorts trunk @38314, Mac OS X 10.5.4 and Xcode 3.1:

$ port install pidgin +no_x11 _quartz
--->  Fetching pidgin
--->  Verifying checksum(s) for pidgin
--->  Extracting pidgin
--->  Applying patches to pidgin
--->  Configuring pidgin
Error: Target org.macports.configure returned: configure failure: shell command " cd "/mp/var/macports/build/_Users_rschmidt_macports_dports_net_pidgin/work/pidgin-2.4.3" && ./configure --prefix=/mp --disable-avahi --disable-consoleui --disable-gstreamer --disable-gtkspell --disable-meanwhile --disable-nm --disable-perl --disable-screensaver --disable-sm --disable-startup-notification --enable-nss --mandir=/mp/share/man --with-nspr-includes=/mp/include/nspr --with-nspr-libs=/mp/lib --with-nss-includes=/mp/include/nss --with-nss-libs=/mp/lib --without-x " returned error 1
Command output: checking for SILC... no
checking for SILC... no
checking for SILC... no
checking for GADU... no
no
checking sys/utsname.h usability... yes
checking sys/utsname.h presence... yes
checking for sys/utsname.h... yes
checking for uname... yes
checking for -Waggregate-return option to gcc... no
checking for -Wcast-align option to gcc... no
checking for -Wdeclaration-after-statement option to gcc... no
checking for -Wendif-labels option to gcc... no
checking for -Werror-implicit-function-declaration option to gcc... no
checking for -Wextra -Wno-sign-compare -Wno-unused-parameter option to gcc... no
checking for -Winit-self option to gcc... no
checking for -Wmissing-declarations option to gcc... no
checking for -Wmissing-noreturn option to gcc... no
checking for -Wmissing-prototypes option to gcc... no
checking for -Wnested-externs option to gcc... no
checking for -Wpointer-arith option to gcc... no
checking for -Wundef option to gcc... no
checking for FORTIFY_SOURCE support... no
checking for pidgin... no
checking for dbus-binding-tool... yes
checking for DBUS... no
configure: error:
D-Bus development headers not found.
Use --disable-dbus if you do not need D-Bus support.


Error: Status 1 encountered during processing.
$

This was also brought up in an email to me by Mr. Bond.

Change History (3)

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

If I install the dbus-glib port first then the problem goes away.

Or if I add the --disable-dbus option to pidgin's configure.args the problem goes away.

I don't know which of those is the correct solution. But I'm leaning towards the first, given:

  1. The port does not currently build if dbus-glib is not installed. Therefore anyone who has the port installed must already have dbus-glib installed.
  2. The post-activate phase calls dbus-uuidgen which is provided by the dbus port.

So I added dependencies on dbus and dbus-glib and increased the port revision (so everyone who already has the port gets those dependencies recorded correctly) in r38377. I'm leaving this open and assigned to the maintainer of pidgin to ensure that this was the correct decision. Simon, please close as fixed if you think this is the right fix.

comment:2 Changed 12 years ago by simon@…

Resolution: fixed
Status: newclosed

Hi Ryan,

thanks for your quick fix. This looks to me like the better solution, too.

Simon

comment:3 Changed 12 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.