[csw-maintainers] GAR: adding /opt/csw/gnu to PATH and gettext issues

Ben Walton bwalton at opencsw.org
Tue Jun 12 13:24:56 CEST 2012


Hi Peter,

Personally I'd be ok with changing that default but it may have consequences I haven't considered.

To fix it for a specific recipe, add the following line after thee include statement that pulls in gar:

PATH := /opt/csw/gnu:$(PATH)

Thanks
-Ben

pfelecan at opencsw.org wrote:

When configuring a project which uses gettext I have the following:

	checking for xgettext... /usr/bin/xgettext
	checking for msgmerge... no
	checking for msgfmt... /usr/bin/msgfmt
	checking for gmsgfmt... /opt/csw/bin/gmsgfmt

which raises the following issues:

	1. some utilities are taken from the base Solaris supply
	2. other utilities are taken from Open CSW supply
	3. and some utilities are not found...

quite a mess; it is very probable that the gettext package has some
incoherent transforms of the binaries names, some with the 'g' prefix,
some without.

All these issues are solved by adding the /opt/csw/gnu path to the
PATH environment variable:

	checking for xgettext... /opt/csw/gnu/xgettext
	checking for msgmerge... /opt/csw/gnu/msgmerge
	checking for msgfmt... /opt/csw/gnu/msgfmt
	checking for gmsgfmt... /opt/csw/bin/gmsgfmt

This is not the first time that I encounter issues that are solved by
this addition. Moreover, I think that in many cases, such as the one
described above, we have a higher coherency.

Unfortunately, in the configure step of mGAR it is not clear how can
we enrich the PATH. The only way to do it, from my point of view, is
to modify its definition in gar.conf.mk

I remember that there was such a suggestion in the near past but with
no consequence.

What do you think?

_____________________________________________

maintainers mailing list
maintainers at lists.opencsw.org
https://lists.opencsw.org/mailman/listinfo/maintainers
.:: This mailing list's archive is public. ::.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opencsw.org/pipermail/maintainers/attachments/20120612/36883585/attachment-0001.html>


More information about the maintainers mailing list