Linux installation

Support and general discussion.
Post Reply
Demonenero
Posts: 4
Joined: Mon 24 Jan, 2022 8:37 am

Linux installation

Post by Demonenero »

Hi there, it is time for a noob question :lol:
So I installed these packages and their dependencies
SDL2
wxWidgets 3.x
OpenAL
CMake
Ninja
I move to my PCem dir and run "./configure"
After a while I get stuck at "config.status: executing depfiles commands" and nothing happens after waiting a good half an hour
any suggestions?
thanks a lot in advance
User avatar
MichaelJManley
Posts: 54
Joined: Fri 17 Dec, 2021 9:42 pm

Re: Linux installation

Post by MichaelJManley »

./configure is autotools, those scripts don't even exist anymore. Did you mix with old sources?

You just need to do the following

Code: Select all

mkdir build
cmake -G "Ninja" -DCMAKE_BUILD_TYPE=Release ..
ninja
Demonenero
Posts: 4
Joined: Mon 24 Jan, 2022 8:37 am

Re: Linux installation

Post by Demonenero »

thanks a lot for the reply, so I took PCem v17 for Linux from here

Code: Select all

https://pcem-emulator.co.uk/downloads.html
I decompressed PCemV17Linux.tar.gz and I got a directory called PCemV17Linux
Inside that dir there is a file called "INSTALL" with these instructions

Code: Select all

The simplest way to compile this package is:

  1. `cd' to the directory containing the package's source code and type
     `./configure' to configure the package for your system.

     Running `configure' might take a while.  While running, it prints
     some messages telling which features it is checking for.

  2. Type `make' to compile the package.

  3. Optionally, type `make check' to run any self-tests that come with
     the package, generally using the just-built uninstalled binaries.

  4. Type `make install' to install the programs and any data files and
     documentation.  When installing into a prefix owned by root, it is
     recommended that the package be configured and built as a regular
     user, and only the `make install' phase executed with root
     privileges.

  5. Optionally, type `make installcheck' to repeat any self-tests, but
     this time using the binaries in their final installed location.
     This target does not install anything.  Running this target as a
     regular user, particularly if the prior `make install' required
     root privileges, verifies that the installation completed
     correctly.

  6. You can remove the program binaries and object files from the
     source code directory by typing `make clean'.  To also remove the
     files that `configure' created (so you can compile the package for
     a different kind of computer), type `make distclean'.  There is
     also a `make maintainer-clean' target, but that is intended mainly
     for the package's developers.  If you use it, you may have to get
     all sorts of other programs in order to regenerate files that came
     with the distribution.

  7. Often, you can also type `make uninstall' to remove the installed
     files again.  In practice, not all packages have tested that
     uninstallation works correctly, even though it is required by the
     GNU Coding Standards.

  8. Some packages, particularly those that use Automake, provide `make
     distcheck', which can by used by developers to test that all other
     targets like `make install' and `make uninstall' work correctly.
     This target is generally not run by end users.
how should I proceed?
thanks a lot in advance
Demonenero
Posts: 4
Joined: Mon 24 Jan, 2022 8:37 am

Re: Linux installation

Post by Demonenero »

After googling a bit I found this one:
https://malagaoriginalenglish.blogspot. ... linux.html
I hope it will be useful to noobs like me :)
Post Reply