cabriofahrer
Well-Known Member
Ich hatte noch die alte Seite liflg.org in Erinnerung, auf der man für diverse Spiele Linuxinstaller herunterladen konnte. Diese Seite gibt es so nicht mehr, man nun wird auf eine github-Seite umgeleitet. Die Installer kann man sich auch nicht mehr herunterladen, sonern man muss sie sich selbst kompilieren. Die Anleitung dafür findet sich hier: https://github.com/liflg/docs
Das wollte ich einfach mal ausprobieren, aber es klappt nicht. Ich hatte mir zunächst ein eigenes Verzeichnis erstellt ("linuxinstallers") und darin den Befehl "git clone https://github.com/icculus/mojosetup.git" aus der Anleitung ausgeführt.
Danach die Anleitung weiter befolgt, es klappt aber nicht:
Ich nehme mal an, dass man vielleicht nicht einfach irgendwelche Linuxprogramme unter FreeBSD kompilieren kann? Gibt es da einen Trick, oder sollte man das lieber in einer virtuellen Maschine mit Linux machen?
Das wollte ich einfach mal ausprobieren, aber es klappt nicht. Ich hatte mir zunächst ein eigenes Verzeichnis erstellt ("linuxinstallers") und darin den Befehl "git clone https://github.com/icculus/mojosetup.git" aus der Anleitung ausgeführt.
Danach die Anleitung weiter befolgt, es klappt aber nicht:
Code:
$ mkdir mojosetup/build
$ ls
mojosetup
$ cd mojosetup/build
$ cmake ..
-- The C compiler identification is Clang 13.0.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
CMake Deprecation Warning at CMakeLists.txt:29 (CMAKE_MINIMUM_REQUIRED):
Compatibility with CMake < 2.8.12 will be removed from a future version of
CMake.
Update the VERSION argument <min> value or use a ...<max> suffix to tell
CMake that the project does not need compatibility with older versions.
CMake Deprecation Warning at CMakeLists.txt:35 (CMAKE_POLICY):
The OLD behavior for policy CMP0005 will be removed from a future version
of CMake.
The cmake-policies(7) manual explains that the OLD behaviors of all
policies are deprecated and that a policy should be set to OLD only under
specific short-term circumstances. Projects should be ported to the NEW
behavior and not rely on setting a policy to OLD.
-- Performing Test MOJOSETUP_HAVE_RESTRICT_KEYWORD
-- Performing Test MOJOSETUP_HAVE_RESTRICT_KEYWORD - Success
-- Looking for wsyncup in /usr/lib/libcursesw.so
-- Looking for wsyncup in /usr/lib/libcursesw.so - found
-- Could NOT find Curses (missing: CURSES_INCLUDE_PATH)
-- Found GTK2_GTK: /usr/local/lib/libgtk-x11-2.0.so
-- Found PkgConfig: /usr/local/bin/pkg-config (found version "1.8.1")
-- Checking for module 'gtk+-3.0'
-- Found gtk+-3.0, version 3.24.34
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Looking for bzlib.h
-- Looking for bzlib.h - found
-- Looking for BZ2_bzDecompress in bz2
-- Looking for BZ2_bzDecompress in bz2 - found
-- Looking for lzma.h
-- Looking for lzma.h - found
-- Looking for lzma_stream_decoder in lzma
-- Looking for lzma_stream_decoder in lzma - found
-- Looking for sys/ucred.h
-- Looking for sys/ucred.h - found
-- Looking for mntent.h
-- Looking for mntent.h - not found
-- Performing Test HAVE_SYS_MNTTAB_H
-- Performing Test HAVE_SYS_MNTTAB_H - Failed
-- Looking for dlopen in dl
-- Looking for dlopen in dl - found
-- Looking for sin in m
-- Looking for sin in m - found
-- Configuring done
-- Generating done
-- Build files have been written to: /usr/home/werner/linuxinstallers/mojosetup/build
$ make -j $(nproc) skeleton
sh: nproc: not found
make: illegal argument to -j -- must be positive integer!
$
Ich nehme mal an, dass man vielleicht nicht einfach irgendwelche Linuxprogramme unter FreeBSD kompilieren kann? Gibt es da einen Trick, oder sollte man das lieber in einer virtuellen Maschine mit Linux machen?