libintl missing on FreeBSD 10.1 system

Matthew Seaman m.seaman at infracaninophile.co.uk
Sat Dec 27 10:59:08 UTC 2014


On 27/12/2014 10:06, Marc Balmer wrote:
> I am trying to compile a piece of software on FreeBSD 10.1 that includes a PostgreSQL server header file, which tries to include libintl.h.  I have the gettext package installed, but this libintl.h header file is missing:
> 
> In file included from /usr/local/include/postgresql/server/postgres.h:47:
> /usr/local/include/postgresql/server/c.h:101:10: fatal error: 'libintl.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

Hmmm.... although neither postgresql client nor server have any
dependency on gettext-runtime themselves (at least, not on my systems,
but then I do have 'OPTIONS_UNSET= NLS X11' in my poudriere instance.)

	Cheers,

	Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.

PGP: http://www.infracaninophile.co.uk/pgpkey
JID: matthew at infracaninophile.co.uk

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 971 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-pkg/attachments/20141227/7895ecf4/attachment.sig>


More information about the freebsd-pkg mailing list