www.delorie.com/archives/browse.cgi   search  
Mail Archives: geda-user/2015/12/25/07:31:03

X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f
X-Recipient: geda-user AT delorie DOT com
Message-ID: <567D36D0.4080204@tio.cz>
Date: Fri, 25 Dec 2015 13:30:08 +0100
From: Jan Damborsky <dambi AT tio DOT cz>
User-Agent: Mozilla/5.0 (X11; SunOS i86pc; rv:31.0) Gecko/20100101 Thunderbird/31.6.0
MIME-Version: 1.0
To: geda-user AT delorie DOT com
Subject: Re: [geda-user] Building pcb on Solaris
References: <567D1175 DOT 3030705 AT tio DOT cz> <20151225102357 DOT 16247 DOT qmail AT stuge DOT se>
In-Reply-To: <20151225102357.16247.qmail@stuge.se>
Reply-To: geda-user AT delorie DOT com

Hi Peter,

thank you for your response.

As a starting point, I have just filed

1529233 Building from source fails on Solaris due to missing locale.h
https://bugs.launchpad.net/pcb/+bug/1529233

Let metry to address points you raised in subsequent email (need to find
couple of cycles to evaluate them).

Best regards,
Jan


On 12/25/15 11:23 AM, Peter Stuge (peter AT stuge DOT se) [via geda-user AT delorie DOT com] wrote:
> Hi Jan,
>
> Jan Damborsky wrote:
>> Deploying those tools on Solaris is straightforward, I justneed to deal
>> with a small issue when building pcb - compilation fails due to following
>> files missing <locale.h> header:
>>
>> $ git status -s
>> M src/hid/gtk/gui-config.c
>> M src/hid/gtk/gui-misc.c
>> M src/hid/gtk/gui-netlist-window.c
>> M src/main.c
>> M src/print.c
>> M src/report.c
>>
>> Adding <locale.h> to those filessolves the problem.
>> Tried that on Linux as well (Ubuntu 14.04), but Linux doesn't complain
>> which is perhaps the reason why that issue has not been reported so far.
>> I am wondering if it would make sense to file bug for this and fix that.
> I think so, we still need to find the right way to fix it.
>
>> If desired, I am willing to do whatever is needed to integrate
>> those changes into the upstream, just would need some guidance
>> to go through the processes.
> Filing a bug is a good first step. Next steps would be:
>
> * find out why locale.h is required
> * find out whether that is correct
> + if no, find what to do instead and implement that
> + if yes, check for locale.h in configure.ac and add #include within
>    #if HAVE_LOCALE_H in the source files where locale.h is required
> * commit locally
> * either: git format-patch -1, then attach patch to the bug
>    or: git push to somewhere and ask here for review+possible merge
>
>
> //Peter

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019