Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 31 Jul 2010 23:54:57 +0200
From:      Jeremie Le Hen <jeremie@le-hen.org>
To:        freebsd-ports@FreeBSD.org
Cc:        jeremie@le-hen.org
Subject:   [p5-gettext] gettext function not found. Please install libintl at ./Makefile.PL line 18
Message-ID:  <20100731215456.GE14016@felucia.tataz.chchile.org>

next in thread | raw e-mail | index | archive | help
Hi,

Please Cc: me when replying.

I'm trying to upgrade my ports with portmaster and I invariably stumble
on the following error:

  ===>>> Re-installation of perl-5.8.9_3 succeeded
  
  ===>>> Returning to dependency check for devel/p5-Locale-gettext
  ===>>> Dependency check complete for devel/p5-Locale-gettext
  ===>  Cleaning for p5-gettext-1.05_3
  
  ===>  License check disabled, port has not defined LICENSE
  ===>  Extracting for p5-gettext-1.05_3
  => MD5 Checksum OK for gettext-1.05.tar.gz.
  => SHA256 Checksum OK for gettext-1.05.tar.gz.
  ===>   p5-gettext-1.05_3 depends on file: /usr/local/bin/perl5.8.9 - found
  ===>  Patching for p5-gettext-1.05_3
  ===>   p5-gettext-1.05_3 depends on file: /usr/local/bin/perl5.8.9 - found
  ===>  Applying FreeBSD patches for p5-gettext-1.05_3
  ===>   p5-gettext-1.05_3 depends on file: /usr/local/bin/perl5.8.9 - found
  ===>   p5-gettext-1.05_3 depends on shared library: intl - found
  ===>  Configuring for p5-gettext-1.05_3
  checking for gettext... no
  checking for gettext in -L/usr/local/lib -lintl -I/usr/local/include...  no
  gettext function not found. Please install libintl at ./Makefile.PL line 18.
  *** Error code 2
  
  Stop in /usr/ports/devel/p5-Locale-gettext.
  
  ===>>> make failed for devel/p5-Locale-gettext
  ===>>> Aborting update

gettext is installed correctly:
  mygeeto# ls -l /usr/local/lib/libintl.* /usr/local/include/libintl.h 
  -r--r--r--  1 root  wheel  16282 Jul 31 21:10 /usr/local/include/libintl.h
  -rw-r--r--  1 root  wheel  56362 Jul 31 21:10 /usr/local/lib/libintl.a
  -r--r--r--  1 root  wheel    975 Jul 31 21:10 /usr/local/lib/libintl.la
  lrwxr-xr-x  1 root  wheel     12 Jul 31 21:10 /usr/local/lib/libintl.so -> libintl.so.9
  -r--r--r--  1 root  wheel  41152 Jul 31 21:10
  /usr/local/lib/libintl.so.9
  mygeeto# pkg_info | grep gettext
  gettext-0.18_1      GNU gettext package
  p5-gettext-1.05_2   Message handling functions


I lean toward thinking that it's a bug in p5-gettext's Makefile.PL.  Any
clue?

Thanks.
Regards,
-- 
Jeremie Le Hen

Humans are born free and equal.  But some are more equal than others.
					    Coluche



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100731215456.GE14016>