Failure to build gettext

David J. Weller-Fahy dave-lists-freebsd-ports at weller-fahy.com
Fri Feb 22 02:04:18 UTC 2013


I'm currently unable to build gettext from ports (tried both `portmaster
devel/gettext` and `cd /usr/ports/devel/gettext ; make install`).  I've
searched around the forums, mailing list archives, and google to
determine what I'm doing wrong, but have had no luck so far in finding a
solution.

I use portsnap to update the ports, so they are updated.

I use freebsd-update to update the installation, the version is 9.1p1:

#v+
dave at nastie:~$ egrep '^(T|B|REV)' /usr/src/sys/conf/newvers.sh
TYPE="FreeBSD"
REVISION="9.1"
BRANCH="RELEASE-p1"
#v-

The failure I get is as follows (from `portmaster devel/gettext`):

#v+
libtool: compile:  cc -c -DLOCALEDIR=\"/usr/local/share/locale\" -DLOCALE_ALIAS_PATH=\"/usr/local/share/locale\" -DLIBDIR=\"/usr/local/lib\" -DBUILDING_LIBINTL -DBUILDING_DLL -DIN_LIBINTL -DENABLE_RELOCATABLE=1 -DIN_LIBRARY -DINSTALLDIR=\"/usr/local/lib\" -DNO_XMALLOC -Dset_relocation_prefix=libintl_set_relocation_prefix -Drelocate=libintl_relocate -DDEPENDS_ON_LIBICONV=1 -DHAVE_CONFIG_H -I.  -I. -I.. -I/usr/local/include -O2 -pipe -mssse3 -march=nocona -fno-strict-aliasing -fvisibility=hidden ./localename.c  -fPIC -DPIC -o .libs/localename.o
./localename.c: In function '_nl_locale_name_thread_unsafe':
./localename.c:2607: error: 'locale_t' undeclared (first use in this
function)
./localename.c:2607: error: (Each undeclared identifier is reported only
once
./localename.c:2607: error: for each function it appears in.)
./localename.c:2607: error: expected ';' before 'thread_locale'
./localename.c:2608: error: 'thread_locale' undeclared (first use in
this function)
./localename.c:2608: error: 'LC_GLOBAL_LOCALE' undeclared (first use in
this function)
*** Error code 1

Stop in
/usr/ports/devel/gettext/work/gettext-0.18.1.1/gettext-runtime/intl.
*** Error code 1

Stop in /usr/ports/devel/gettext/work/gettext-0.18.1.1/gettext-runtime.
*** Error code 1

Stop in /usr/ports/devel/gettext/work/gettext-0.18.1.1/gettext-runtime.
*** Error code 1

Stop in /usr/ports/devel/gettext/work/gettext-0.18.1.1.
*** Error code 1

Stop in /usr/ports/devel/gettext.

===>>> make failed for devel/gettext
===>>> Aborting update

Terminated

===>>> You can restart from the point of failure with this command line:
       portmaster <flags> devel/gettext
#v-

I'm lost at this point, so can anyone point me in the proper direction?

Oh, and please let me know if you need more information, and I'll
gleefully provide anything needed to solve this problem.

Regards,
-- 
dave [ please don't CC me ]
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 188 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20130221/7062808a/attachment.sig>


More information about the freebsd-ports mailing list