git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] Undefine strlcpy if needed.

From
Ramsay Jones <ramsay@ramsay1.demon.co.uk>
Date
Aug 25, 2014, 11:16 UTC
Message-ID
<53FB1AF4.1000201@ramsay1.demon.co.uk>
In-Reply-To
<CAFKYj4cDJhiVfdmzZ5KnNASBEp9bkj0asxANPv43QcMQP06z9A@mail.gmail.com>
On 25/08/14 02:54, tsuna wrote:
Show 32 quoted lines
> On Sun, Aug 24, 2014 at 5:32 PM, Ramsay Jones
> <ramsay@ramsay1.demon.co.uk> wrote:
>> Again, I don't have access to an OS X system, so I don't know
>> which package provides libintl/gettext, but it seems to be missing
>> on your system.
> 
> Probably yeah, those libraries don’t seem to be provided in standard
> with OS X or OS X’s development tools, so maybe the Makefile should
> also default to having NO_GETTEXT=YesPlease when on OS X.
> 
>> You can avoid the build failure, without running configure, by
>> setting NO_GETTEXT=YesPlease in your config.mak file.
>>
>>>
>>>
>>> I need to run configure first:
>>>
>>> $ make configure
>>>     GEN configure
>>> $ ./configure
>>> configure: Setting lib to 'lib' (the default)
>>> […]
>>
>> So, presumably, configure has set NO_GETEXT=YesPlease in your
>> config.mak.autogen file.
> 
> Yes it did.
> 
> I don’t mind running configure, but so far Git has compiled fine
> without doing it.  Should we fix the default values of NO_STRLCPY /
> NO_GETEXT on OS X?
> 

Is NO_STRLCPY still a problem with a fresh clone (and putting NO_GETEXT=YesPlease in your config.mak)? I still do not understand why you were getting those warnings; AFAICT it should not be happening! Also, Torsten could not reproduce.

As far as NO_GETTEXT is concerned, I have to defer to someone who has experience on that platform (I have _zero_ experience on OS X).

ATB, Ramsay Jones

Previous: tsuna
Message 10 of 10 in “Undefine strlcpy if needed.”
  1. Undefine strlcpy if needed.Benoit Sigoure, Aug 24, 2014
  2. Undefine strlcpy if needed.Benoit Sigoure, Aug 24, 2014
  3. Ramsay JonesAug 24, 2014
  4. tsunaAug 24, 2014
  5. Ramsay JonesAug 24, 2014
  6. Torsten BögershausenAug 24, 2014
  7. tsunaAug 24, 2014
  8. Ramsay JonesAug 25, 2014
  9. tsunaAug 25, 2014
  10. Ramsay JonesAug 25, 2014

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.