[Sep 2020 ed.] PCem MSYS2 build guide (with wxWidgets)

Discussion of development and patch submission.
User avatar
dns2kv2
Posts: 67
Joined: Sun 19 Feb, 2017 3:30 am

Re: [Feb 2018 ed.] PCem MSYS2 build guide (with wxWidgets)

Post by dns2kv2 »

Just share an update from my previous test, might save the day for others.

got this hick cup while updating pcem:

Code: Select all

mingw32-make clean
CDPATH="${ZSH_VERSION+.}:" && cd . && C:/msys32/usr/bin/sh.exe /home/{your username}/pcem/missing aclocal-1.15
aclocal-1.15: error: aclocal: file '/msys32/usr/share/aclocal/xsize.m4' does not exist
mingw32-make: *** [Makefile:354: aclocal.m4] Error 1

The cure is easy, add another "autoreconf -i" command before "mingw32-make clean" command:

Code: Select all

#clean previous build, redownload & update pcem sources then recompile pcem
#open MSYS2 MinGW 32-bit shell (C:\msys32\mingw32.exe) and run below command:
cd ~/pcem
autoreconf -i
mingw32-make clean
hg pull && hg update default
autoreconf -i
./configure --enable-networking --enable-release-build
mingw32-make -j
Zilog
Posts: 51
Joined: Wed 13 May, 2015 8:01 pm

Re: [Feb 2018 ed.] PCem MSYS2 build guide (with wxWidgets)

Post by Zilog »

Hi To,
i have this problem when compile pcem on Windows:

collect2.exe: error: ld returned 1 exit status
mingw32-make[1]: *** [Makefile:908: pcem.exe] Error 1
mingw32-make[1]: Leaving directory 'D:/_msys64/home/user/pcem/src'
mingw32-make: *** [Makefile:364: all-recursive] Error 1

Very Thanks a lot for all help.
shermanp
Posts: 138
Joined: Sat 18 Feb, 2017 2:09 am

Re: Sep 2020 ed.] PCem MSYS2 build guide (with wxWidgets)

Post by shermanp »

Just made a few updates to the OP. No major changes, but I went through it again on the latest version of MSYS2 (still slow, sigh...).

Main changes are using an updated version of the npcap SDK, and using git to clone the github pcem repository.
A. Naim
Posts: 118
Joined: Thu 09 Jul, 2015 5:06 pm

Re: [Sep 2020 ed.] PCem MSYS2 build guide (with wxWidgets)

Post by A. Naim »

"error: perl: signature from "David Macek <david.macek.0@gmail.com>" is invalid
:: File /var/cache/pacman/pkg/perl-5.32.0-2-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature))."
shermanp
Posts: 138
Joined: Sat 18 Feb, 2017 2:09 am

Re: [Sep 2020 ed.] PCem MSYS2 build guide (with wxWidgets)

Post by shermanp »

Note, if you haven't updated MSYS2 in a while, there's been some package maintainer changes and corresponding signing key changes. I found it easier to restart from scratch with a fresh MSYS2 reinstall.
JosepMa
Posts: 175
Joined: Tue 20 Jun, 2017 6:25 pm

Re: [Sep 2020 ed.] PCem MSYS2 build guide (with wxWidgets)

Post by JosepMa »

I saw that there are some instructions in the news sections. But indeed, it can need multiple steps depending on when it was last updated
https://www.msys2.org/news/

I had to do this:
Follow instructions in the 2020-06-29 news.
Then follow instructions in the 2020-05-22 news.
In your case (problems with .zst), you might probably need to do 2020-05-31 news.
Then a package -Syu,
Then Follow 2020-06-15 news.

That got my msys2 up to date.
A. Naim
Posts: 118
Joined: Thu 09 Jul, 2015 5:06 pm

Re: [Sep 2020 ed.] PCem MSYS2 build guide (with wxWidgets)

Post by A. Naim »

shermanp wrote:
Sun 27 Sep, 2020 9:39 pm
Note, if you haven't updated MSYS2 in a while, there's been some package maintainer changes and corresponding signing key changes. I found it easier to restart from scratch with a fresh MSYS2 reinstall.
Thanks; it compiles now. :)
JosepMa wrote:
Mon 28 Sep, 2020 8:19 pm
I saw that there are some instructions in the news sections. But indeed, it can need multiple steps depending on when it was last updated
https://www.msys2.org/news/

I had to do this:
Follow instructions in the 2020-06-29 news.
Then follow instructions in the 2020-05-22 news.
In your case (problems with .zst), you might probably need to do 2020-05-31 news.
Then a package -Syu,
Then Follow 2020-06-15 news.

That got my msys2 up to date.
Thanks, but it's a little too late now. :)
Post Reply