Package Details: pcem 17-4

Git Clone URL: https://aur.archlinux.org/pcem.git (read-only, click to copy)
Package Base: pcem
Description: Emulator for various IBM PC computers and clones.
Upstream URL: http://pcem-emulator.co.uk/
Licenses: GPL2
Submitter: claunia
Maintainer: njensen20
Last Packager: njensen20
Votes: 25
Popularity: 0.000000
First Submitted: 2016-02-14 00:53 (UTC)
Last Updated: 2023-02-15 20:29 (UTC)

Latest Comments

1 2 3 Next › Last »

Wild_Penguin commented on 2026-05-05 14:55 (UTC)

@CaRp,

I noticed it must be so. Still does not compile!

gcc -DPACKAGE_NAME=\"PCem\" -DPACKAGE_TARNAME=\"pcem\" -DPACKAGE_VERSION=\"v17\" -DPACKAGE_STRING=\"PCem\ v17\" -DPACKAGE_BUGREPORT=\"Sarah\ Walker\ \<pcem@pcem-emulator.co.uk\>\" -DPACKAGE_URL=\"\" -DPACKAGE=\"pcem\" -DVERSION=\"v17\" -DHAVE_LIBASOUND=1 -DHAVE_LIBPTHREAD=1 -DHAVE_LIBGL=1 -DHAVE_LIBOPENAL=1 -I.    -I/usr/lib/wx/include/gtk3-unicode-3.2 -I/usr/include/wx-3.2 -DWXUSINGDLL -D__WXGTK3__ -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -I/usr/include/SDL2 -D_GNU_SOURCE=1 -D_REENTRANT  -DUSE_NETWORKING  -DRELEASE_BUILD -O3 -fcommon -MT pcem-disc.o -MD -MP -MF .deps/pcem-disc.Tpo -c -o pcem-disc.o `test -f 'disc.c' || echo './'`disc.c
disc.c: In function ‘disc_reset’:
disc.c:209:37: error: passing argument 2 of ‘timer_add’ from incompatible pointer type [-Wincompatible-pointer-types]
  209 |         timer_add(&disc_poll_timer, disc_poll, NULL, 0);
      |                                     ^~~~~~~~~
      |                                     |
      |                                     void (*)(void)
In file included from ibm.h:5,
                 from disc.c:1:
timer.h:47:42: note: expected ‘void (*)(void *)’ but argument is of type ‘void (*)(void)’
   47 | void timer_add(pc_timer_t *timer, void (*callback)(void *p), void *p, int start_timer);
      |                                   ~~~~~~~^~~~~~~~~~~~~~~~~~
disc.c:135:6: note: ‘disc_poll’ declared here
  135 | void disc_poll()
      |      ^~~~~~~~~
disc.c: In function ‘disc_stop’:
disc.c:286:17: error: too many arguments to function ‘drives[drive].stop’; expected 0, have 1
  286 |                 drives[drive].stop(drive);
      |                 ^~~~~~             ~~~~~
In file included from disc.c:4:
disc.h:9:16: note: declared here
    9 |         void (*stop)();
      |                ^~~~
mv -f .deps/pcem-config.Tpo .deps/pcem-config.Po
make[1]: *** [Makefile:2451: pcem-disc.o] Error 1

CaRp commented on 2026-04-26 05:31 (UTC)

@Wild_Penguin I think it's supposed to be libglvnd.

Wild_Penguin commented on 2026-04-25 15:47 (UTC)

Does not compile with clang and with HurricanePootis's depends changes. What is libdlvnd, btw?

HurricanePootis commented on 2026-03-11 00:51 (UTC)

diff --git a/PKGBUILD b/PKGBUILD
index 2a66538..4692553 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -7,13 +7,16 @@ pkgrel=4
 pkgdesc="Emulator for various IBM PC computers and clones."
 url="http://pcem-emulator.co.uk/"
 arch=('x86_64' 'i686')
-license=('GPL2')
-depends=('wxwidgets-gtk3' 'openal' 'sdl2' 'alsa-lib')
+license=('GPL-2.0-or-later')
+depends=('wxwidgets-gtk3' 'openal' 'sdl2' 'alsa-lib' 'libdlvnd' 'libstdc++' 'wxwidgets-common')
+makedepends=('clang')
 source=("http://pcem-emulator.co.uk/files/PCemV${pkgver}Linux.tar.gz"
    "pcem.desktop")

 build() {
   cd "${srcdir}"
+  export CC=clang
+  export CXX=clang++
   autoreconf
   ./configure --enable-alsa --enable-release-build --enable-networking --prefix=/usr
   make

Please update the license to be SPDX compliant and make this package build with clang.

CaRp commented on 2026-01-17 16:53 (UTC)

@ericb It will compile with clang.

https://wiki.archlinux.org/title/Clang

ericb commented on 2025-08-10 09:08 (UTC)

Bug! An error occurred during compilation. Will it be fixed?

dwbi commented on 2025-01-27 11:55 (UTC)

same issue as @TheRemster

FredBezies commented on 2024-11-09 13:55 (UTC)

Hello. Pcem-git maintainer here. I used your desktop file, completing it to get a working desktop icon.

Note: I deleted the GDK=X11 part because on the git tree, X11 is forced. Cf https://github.com/sarah-walker-pcem/pcem/pull/222 (july 2023)

You can find the desktop file here, and of course, you'll need the pcem.png icon file.

https://aur.archlinux.org/cgit/aur.git/tree/pcem.desktop?h=pcem-git

TheRemster commented on 2024-07-17 03:37 (UTC) (edited on 2024-07-17 03:40 (UTC) by TheRemster)

I am experiencing a build error when trying to install this package. I get the following error messages and then the operation aborts.


In file included from slirp/debug.c:9:

slirp/debug.c: In function ‘purgesocks’:

slirp/slirp.h:70:25: error: implicit declaration of function ‘close’; did you mean ‘pclose’? [-Wimplicit-function-declaration]

70 | # define closesocket(s) close(s)

. | ^

slirp/debug.c:388:9: note: in expansion of macro ‘closesocket’

388 | closesocket(so->s); //close the socket

. | ^~~

make[1]: *** [Makefile:5821: slirp/pcem-debug.o] Error 1

make[1]: Leaving directory '/home/user/.cache/yay/pcem/src/src'

make: *** [Makefile:367: all-recursive] Error 1

==> ERROR: A failure occurred in build().

. Aborting...

-> error making: pcem-exit status 4

-> Failed to install the following packages. Manual intervention is required:

pcem - exit status 4


Any ideas?

jperry commented on 2024-04-23 21:07 (UTC)

@phonemic I had the same problem, and it seems to be fixed in the git version. Try installing pcem-git.