Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 28 Dec 2014 16:09:57 +0000
From:      Matthew Seaman <matthew@FreeBSD.org>
To:        Marc Balmer <marc@msys.ch>
Cc:        freebsd-pkg@freebsd.org
Subject:   Re: libintl missing on FreeBSD 10.1 system
Message-ID:  <54A02B55.1060501@FreeBSD.org>
In-Reply-To: <6344B703-51EE-42D3-A720-68FC77F3D909@msys.ch>
References:  <46D06ACB-6726-46A2-9CED-98437B72BC6A@msys.ch> <549E90DB.3000501@infracaninophile.co.uk> <6344B703-51EE-42D3-A720-68FC77F3D909@msys.ch>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--V7AmVpqhXdWtWX0jArHdqsoDWEwFV5f60
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

On 28/12/2014 10:54, Marc Balmer wrote:
>=20
>> Am 27.12.2014 um 11:58 schrieb Matthew Seaman <m.seaman@infracaninophi=
le.co.uk>:
>>
>> On 27/12/2014 10:06, Marc Balmer wrote:
>>> I am trying to compile a piece of software on FreeBSD 10.1 that inclu=
des a PostgreSQL server header file, which tries to include libintl.h.  I=
 have the gettext package installed, but this libintl.h header file is mi=
ssing:
>>>
>>> In file included from /usr/local/include/postgresql/server/postgres.h=
:47:
>>> /usr/local/include/postgresql/server/c.h:101:10: fatal error: 'libint=
l.h' file
>>>      not found
>>> #include <libintl.h>
>>>         ^
>>> 1 error generated.
>>> *** Error code 1
>>>
>>> Which package doese provide this file?
>>
>> This is more a question for freebsd-ports@ rather than this mailing
>> list, but wotthehell, wotthehell.
>>
>> lucid-nonsense:~:% pkg which /usr/local/include/libintl.h
>> /usr/local/include/libintl.h was installed by package gettext-runtime-=
0.19.3
>=20
> It says the same on my machine, too, *BUT*, there is no file /usr/local=
/include/libintl.h =E2=80=A6

What does

   pkg check -vs gettext-runtime

say?  It's one of the symptoms of the problem with the switch from a
single gettext package to gettext-tools and gettext-runtime that many
files went missing.  If you were using pkg-1.3.8 (which was current at
the time) and didn't follow the instructions in UPDATING then you'ld
experience this effect.

The cure is to force a re-install of gettext-runtime:

   pkg install -f gettext-runtime

	Cheers,

	Matthew

--=20
Dr Matthew J Seaman MA, D.Phil.
PGP: http://www.infracaninophile.co.uk/pgpkey



--V7AmVpqhXdWtWX0jArHdqsoDWEwFV5f60
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.20 (Darwin)

iQJ8BAEBCgBmBQJUoCtmXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ2NTNBNjhCOTEzQTRFNkNGM0UxRTEzMjZC
QjIzQUY1MThFMUE0MDEzAAoJELsjr1GOGkATjF0QAK2wHfnsjTo1+n9Sj3kD0HN0
l/yMzV1Ue8Uu+06i2UuSHnphyAB7aMEO4sKiOlsZ1+0r1AyMn3ywCuEr3WNRb/UH
uhy7D+861dUOBgyJrFv0Ym/od5F0dHDTi7RAOKXYzyCsymNaVxsZkZ5qFw3pmvQs
PwbH3nFonpv2Diema/4R4g9WktLk12Rfmhq9/yytuINzhgmAWaOyBHKQ5lSZU3q7
+CRCgxWgImTqNbUhhrfD2kCVH8+nkuywuJnvlf2nDGP0HSmjbh8pBcAr4rSvYxxB
+Dqil6V0kikkl69OFzfPPaCTmwXxU7OXVD2t0VM0aOAciywlrHBR1eO7/WqJGEfS
eTdU8BannoBx9/MIFF5DBX5Hwp8bk6vkKp5HZKJQV5dVkO7vFf7CXmBy9si0ekol
gUTnZNOb5roJglBsW2EDuS4OOfWLpx7otZjKV/D0/2UeumEeGaES8LenVP7wPrQc
XVpit7EW88l/f9bpo4NcTK6ZCSVZVEqhss+Tfdt+p//18Wu7RlAaDF7uiaPK1TKk
87sIBDPGi+q/glxAGfQPCzwQFqNTCMzfF2hNk2zQdeW3uoH2ihi+lnEx5fGtYo5S
1qtsYFHRtS3ugv0SnLkCOKkc0LlM/EeAifGgF1yYxlmujP0BHwmCsa/tuXOyg5AH
YWK4VzMifFuF31iizSBa
=F9YC
-----END PGP SIGNATURE-----

--V7AmVpqhXdWtWX0jArHdqsoDWEwFV5f60--



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