port install zim fails, possibly on a perl error.
Derek Schutt
derek.schutt at colostate.edu
Thu Dec 30 08:31:09 PST 2010
Hi,
I'm trying to install zim, but am running into problems which I detail
below. I have just installed mac ports, and have the latest version of
Xcode. I am running Snow Leopard, and for what it's worth, I'm new to
Macs and mac port, coming from the linux world.
Here's what happens when I try to install zim.
$*sudo port install zim*
---> Computing dependencies for zim
---> Dependencies to be installed: p5-file-basedir
p5-file-desktopentry p5-file-mimeinfo p5-gtk2 p5-cairo
p5-extutils-depends p5-extutils-pkgconfig p5-glib p5-pango
p5-module-build p5-extutils-cbuilder p5-extutils-parsexs p5-yaml
---> Configuring p5-file-basedir
Error: Target org.macports.configure returned: configure failure:
shell command failed (see log for details)
Error: Failed to install p5-file-basedir
Log for p5-file-basedir is at:
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_perl_p5-file-basedir/main.log
Error: The following dependencies were not installed:
p5-file-basedir p5-file-desktopentry p5-file-mimeinfo p5-gtk2
p5-cairo p5-extutils-depends p5-extutils-pkgconfig p5-glib p5-pango
p5-module-build p5-extutils-cbuilder p5-extutils-parsexs p5-yaml
Error: Status 1 encountered during processing.
running *sudo port clean zim* and *sudo port upgrade outdated* doesn't
seem to help. Also, *sudo port upgrade outdated* has this error.
Error: Target org.macports.configure returned: configure failure: shell
command failed (see log for details)
Log for help2man is at:
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_help2man/main.log
Error: Unable to upgrade port: 1
When I look in the log for *sudo port install zim*, I see this:
:info:configure checking for library containing bindtextdomain... -lintl
:info:configure configure: error: perl module Locale::gettext required
:info:configure shell command " cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_help2man/work/help2man-1.38.2"
&& ./configure --prefix=/opt/local --enable-nls " returned error 1
If I run *./configure --prefix=/opt/local --enable-nls*, I run into this
problem:
*sudo ./configure --prefix=/opt/local --enable-nls*
Password:
checking for perl... perl
checking for module Locale::gettext... no
checking for msgfmt... /opt/local/bin/msgfmt
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for library containing dlsym... none required
checking for library containing bindtextdomain... no
configure: error: perl module Locale::gettext required
I've tried installing a couple of other things with mac ports, and they
also fail to install. So I'm guessing I'm missing something
fundamental, perhaps the gettext perl library? Can anyone help?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-users/attachments/20101230/027067eb/attachment.html>
More information about the macports-users
mailing list