Opened 13 years ago

Last modified 12 years ago

#28421 closed defect

xmedcon requires pkgconfig — at Version 1

Reported by: jost@… Owned by: jameskyle@…
Priority: Normal Milestone:
Component: ports Version: 1.9.2
Keywords: Cc:
Port: xmedcon

Description (last modified by ryandesign (Ryan Carsten Schmidt))

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

Change History (2)

Changed 13 years ago by jost@…

Attachment: main.log added

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:1 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: jost@… removed
Description: modified (diff)
Keywords: pkg-config problem removed
Owner: changed from macports-tickets@… to jameskyle@…
Summary: xmedcon cannot be install due to pkg-config problemxmedcon requires pkgconfig

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".

Note: See TracTickets for help on using tickets.