[MacPorts] #28421: xmedcon requires pkgconfig (was: xmedcon cannot be install due to pkg-config problem)

MacPorts noreply at macports.org
Tue Feb 15 13:33:49 PST 2011


#28421: xmedcon requires pkgconfig
--------------------------+-------------------------------------------------
 Reporter:  jost@…        |       Owner:  jameskyle@…           
     Type:  defect        |      Status:  new                   
 Priority:  Normal        |   Milestone:                        
Component:  ports         |     Version:  1.9.2                 
 Keywords:                |        Port:  xmedcon               
--------------------------+-------------------------------------------------
Changes (by ryandesign@…):

 * cc: jost@… (removed)
  * owner:  macports-tickets@… => jameskyle@…
  * keywords:  pkg-config problem =>


Old description:

> Dear all,
>
> I tried to install Xmedcon on a newly updated Mac OS Snow Leopard. I
> therefore first completely removed macports (2.5 in the macports guide)
> and then re-installed it before trying to install xmedcon. Dependencies
> installed fine:
> The following ports are currently installed:
>   gcc44 @4.4.5_0 (active)
>   gmp @5.0.1_0 (active)
>   gperf @3.0.4_0 (active)
>   libiconv @1.13.1_0 (active)
>   libpng @1.4.5_0 (active)
>   mpfr @3.0.0-p8_0 (active)
>   zlib @1.2.5_0 (active)
> But when it comes to xmedcon I get an error message
> Error: Target org.macports.configure returned: configure failure: shell
> command failed (see log for details)
> Log for xmedcon is at:
> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_science_xmedcon/main.log
> Error: Status 1 encountered during processing.
>  (see also the last 20 lines of the log file below or the attached log-
> file).
>
> Any help would be welcome (and, please, explain patiently: I am not very
> at ease with Linux, though not afraid of the command line ;-)
>
> Thanks in advance, Christian.
>
> ps: in fact, I only need medcon, but it seems to be unavailable nowadays
> without the GUI in xmedcon?
>
> :info:configure checking for XMEDCON_GLIB... configure: error: The pkg-
> config script could not be found or is too old.  Make sure it
> :info:configure is in your PATH or set the PKG_CONFIG environment
> variable to the full
> :info:configure path to pkg-config.
> :info:configure
> :info:configure Alternatively, you may set the environment variables
> XMEDCON_GLIB_CFLAGS
> :info:configure and XMEDCON_GLIB_LIBS to avoid the need to call pkg-
> config.
> :info:configure See the pkg-config man page for more details.
> :info:configure
> :info:configure To get pkg-config, see <http://pkg-
> config.freedesktop.org/>.
> :info:configure See `config.log' for more details.
> :info:configure shell command " cd
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_science_xmedcon/work/xmedcon-0.10.4"
> && ./configure --prefix=/opt/local --disable-gui --with-png-
> prefix=/opt/local " returned error 1
> :error:configure Target org.macports.configure returned: configure
> failure: shell command failed (see log for details)
> :debug:configure Backtrace: configure failure: shell command failed (see
> log for details)
>     while executing
> "$procedure $targetname"
> :info:configure Warning: the following items did not execute (for
> xmedcon): org.macports.activate org.macports.configure org.macports.build
> org.macports.destroot org.macports.install
> :notice:configure Log for xmedcon is at:
> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_science_xmedcon/main.log

New description:

 Dear all,

 I tried to install Xmedcon on a newly updated Mac OS Snow Leopard. I
 therefore first completely removed macports (2.5 in the macports guide)
 and then re-installed it before trying to install xmedcon. Dependencies
 installed fine:
 {{{
 The following ports are currently installed:
   gcc44 @4.4.5_0 (active)
   gmp @5.0.1_0 (active)
   gperf @3.0.4_0 (active)
   libiconv @1.13.1_0 (active)
   libpng @1.4.5_0 (active)
   mpfr @3.0.0-p8_0 (active)
   zlib @1.2.5_0 (active)
 }}}
 But when it comes to xmedcon I get an error message
 {{{
 Error: Target org.macports.configure returned: configure failure: shell
 command failed (see log for details)
 Log for xmedcon is at:
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_science_xmedcon/main.log
 Error: Status 1 encountered during processing.
 }}}
  (see also the last 20 lines of the log file below or the attached log-
 file).

 Any help would be welcome (and, please, explain patiently: I am not very
 at ease with Linux, though not afraid of the command line ;-)

 Thanks in advance, Christian.

 ps: in fact, I only need medcon, but it seems to be unavailable nowadays
 without the GUI in xmedcon?

 {{{
 :info:configure checking for XMEDCON_GLIB... configure: error: The pkg-
 config script could not be found or is too old.  Make sure it
 :info:configure is in your PATH or set the PKG_CONFIG environment variable
 to the full
 :info:configure path to pkg-config.
 :info:configure
 :info:configure Alternatively, you may set the environment variables
 XMEDCON_GLIB_CFLAGS
 :info:configure and XMEDCON_GLIB_LIBS to avoid the need to call pkg-
 config.
 :info:configure See the pkg-config man page for more details.
 :info:configure
 :info:configure To get pkg-config, see <http://pkg-
 config.freedesktop.org/>.
 :info:configure See `config.log' for more details.
 :info:configure shell command " cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_science_xmedcon/work/xmedcon-0.10.4"
 && ./configure --prefix=/opt/local --disable-gui --with-png-
 prefix=/opt/local " returned error 1
 :error:configure Target org.macports.configure returned: configure
 failure: shell command failed (see log for details)
 :debug:configure Backtrace: configure failure: shell command failed (see
 log for details)
     while executing
 "$procedure $targetname"
 :info:configure Warning: the following items did not execute (for
 xmedcon): org.macports.activate org.macports.configure org.macports.build
 org.macports.destroot org.macports.install
 :notice:configure Log for xmedcon is at:
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_science_xmedcon/main.log
 }}}

--

Comment:

 Please use WikiFormatting so your posts are legible.

 As reporter, you do not need to Cc yourself. You should, however, Cc the
 port's maintainer so he sees your ticket.

 Issue confirmed; xmedcon clearly needs a build dependency on pkgconfig. To
 work around this problem until the maintainer fixes that, "sudo port
 install pkgconfig".

-- 
Ticket URL: <https://trac.macports.org/ticket/28421#comment:1>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list