public inbox for cygwin-apps@cygwin.com
 help / color / mirror / Atom feed
From: Marco Atzeri <marco.atzeri@gmail.com>
To: cygwin-apps@cygwin.com
Subject: Re: [ITP] python36-wx 4.0.7.post2
Date: Thu, 11 Jun 2020 18:41:56 +0200	[thread overview]
Message-ID: <3a29f449-5dc8-e476-1df3-116621410c82@gmail.com> (raw)
In-Reply-To: <AM0PR05MB4898018426DCBCFD07D7E80AE7800@AM0PR05MB4898.eurprd05.prod.outlook.com>

[-- Attachment #1: Type: text/plain, Size: 2169 bytes --]

On 11.06.2020 18:03, Hamish McIntyre-Bhatty via Cygwin-apps wrote:
> On 11/06/2020 16:19, Marco Atzeri via Cygwin-apps wrote:
>> On 10.06.2020 11:34, Hamish McIntyre-Bhatty via Cygwin-apps wrote:
>>> Yeah. There's also a problem with the dev package I think, because
>>> -lpython3.8m can't find the library, and python3.8m doesn't seem to
>>> exist as a command. I might just be being a doofus though so I'll double
>>> check that I installed the right packages.
>>
>> on python 3.8 they should be
>>   -lpython3.8 and  python3.8
>>
>> You can use pkconfig to recover it
>>
>> $ pkg-config --libs python-3.8
>> -lpython3.8
>>
>> $ pkg-config --libs python-3.7
>> -lpython3.7m
>>
> Ah, thank you, that makes sense.
> 
> I have now built the packages for python 3.7 as well, from the same
> source package. Your idea worked great :)
> 
> The new ones are available at the same place as before:
> https://www.hamishmb.com/files/cygwin-temp/
> 
> All seems to be working okay for me, but there are some notes/questions
> I have:
> 
> - I get errors from python3.cygclass at the start of every build saying
> it can't find "python3-config" - looks to be a missing
> symlink/misconfigured cygclass script?
> 
> - On 32-bit Cygwin, stripping the debug symbols with objdump.exe from
> the libraries takes an extremely long time - I reckon 3-4 times slower
> than on 64-bit, at least. It's kind of prohibitively slow, does anyone
> know why?

the 32bit has less memory space so it take a bit of file swapping when 
the data are large


> - On 32-bit Cygwin, I tend to get fork errors when running the wxPython
> demo, but not on 64-bit (identical build options). Is this likely the
> 32-bit fork bug mentioned on Cygwin's home page, or a problem with my
> installation/setup?

run demo in build dir ?

1) remove any excessive libraries from your cygwin 32 bit install.
Recently for a similar reason I removed all libboost except the
last one, a good of previous version like libicuXX and similar
that accumulated in the years.

2) rebase the built dll's without storing permanently the addresses.
   Attached the script I am using for the scope


> 
> Hamish
> 
Regards
Marco

[-- Attachment #2: rebase-build.sh --]
[-- Type: text/plain, Size: 303 bytes --]

#!/bin/bash
if [ $# -ne 1 ]
then
    echo "rebase the dll under PN-PV/build"
    echo "Usage : " $0 "PN-PV"
    exit 1
fi

if [ ! -d $1/build ]
then
	echo $1"/build  missing, so quitting" 
	exit  1 
fi

echo "rebasing " $1"/dist" 

find $1/build/ -name "*.dll" > dll-list.txt
rebase -O -T dll-list.txt


  reply	other threads:[~2020-06-11 16:41 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-06-09 16:52 Hamish McIntyre-Bhatty
2020-06-09 19:53 ` Marco Atzeri
2020-06-10  9:34   ` Hamish McIntyre-Bhatty
2020-06-11 15:19     ` Marco Atzeri
2020-06-11 16:03       ` Hamish McIntyre-Bhatty
2020-06-11 16:41         ` Marco Atzeri [this message]
2020-06-15 10:20           ` Hamish McIntyre-Bhatty
2020-06-15 18:26             ` Achim Gratz
2020-06-17  8:41               ` Hamish McIntyre-Bhatty
2020-06-17 19:24                 ` Marco Atzeri
2020-06-17 21:23                   ` Hamish McIntyre-Bhatty
2020-06-18  8:20                     ` Hamish McIntyre-Bhatty
2020-06-18  9:24                       ` Marco Atzeri
2020-06-18 11:31                         ` Hamish McIntyre-Bhatty
2020-06-18 14:08                           ` Jon Turney
2020-06-18 15:05                             ` Hamish McIntyre-Bhatty

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3a29f449-5dc8-e476-1df3-116621410c82@gmail.com \
    --to=marco.atzeri@gmail.com \
    --cc=cygwin-apps@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).