Opened 2 years ago
Closed 22 months ago
#12006 closed defect (fixed)
BACKENDS: RASPBERRYPI: "sudo make install" crashes
|Reported by:||michas0602||Owned by:||michas0602|
|Priority:||normal||Component:||Port: Raspberry PI|
|Version:||Keywords:||compile make install|
after compiling ScummVM (current daily) as written in your Wiki
a "sudo make install" is producing an error:
"Install -c -m 644 " user/local/lib/scummvm/"
"Install: Fehlender Zieldatei-Operand hinter '/usr/local/lib/scummvm/'"
Same on two different machines, amd64 and arm-architecture - both produce exactly the same errormessage.
Furthermore there are many, many warnings while compiling, and on arm/Raspberry the compiling breaks if Twine-engine is enabled.
System one is a Raspberry Pi 3, second is a Amd64 with latest Mint Mate OS.
Change History (10)
comment:1 by , 2 years ago
comment:2 by , 2 years ago
On my Raspberry Pi it definately was still a problem 2-3 days ago.
For arm64 I am not 100% sure, but when I am not wrong it was gone a few days ago, but I have to test again
comment:3 by , 2 years ago
|Priority:||high → normal|
|Summary:||"sudo make install" crashes → RASPBERRYPI: "sudo make install" crashes|
comment:4 by , 2 years ago
|Summary:||RASPBERRYPI: "sudo make install" crashes → BACKENDS: RASPBERRYPI: "sudo make install" crashes|
comment:5 by , 2 years ago
|Component:||Port: Linux → Port: Raspberry PI|
comment:6 by , 2 years ago
On our wiki we have a separate page for cross-compiling for RPi (for Raspbian OS) from a Linux host machine:
I, myself, have tested, heavily updated and expanded the existing instructions last year while building for my RPi 3B.
Additionally, a few months ago another community member under the nickname "Old Kid" wrote a detailed guide for cross compiling from Windows 10. I was helping with parts of the process, online from Discord, while they were following the steps, and updated our wiki where it made sense to clarify or add stuff as appropriate. Their very detailed guide is here:
I also have a Docker image for building for RPi, although the Dockerfile for that will need updating to include cross-compiling any new third party library dependencies, and the configure command should also set the "prefix" path for a distribution build (which will copy the additional needed files (eg. engine dat files, non-built in themes etc) in the target directory.
Note, that the Dockerfile uses a more straightforward method for cross-compilation; it essentially uses the standard Debian toolchain for armhf, instead of the older "official" one.
comment:7 by , 2 years ago
Also note that if building natively on you RPi, aside for being too slow, the build also may run out of memory during the linking process. This is explained in Note 2 under Section Configuring ScummVM on the wiki page linked above.
Note 2: If building ScummVM directly on the Raspberry Pi / Raspbian itself, it's possible to run out of memory during the final linking process of the build. If GNU ld is used for compiling, then execute the following before running configure:
This tells GNU ld to optimize the linking for memory usage.
Disclaimer: I have not tested fully building ScummVM directly on RPi. It is a very slow process on my setup.
comment:8 by , 2 years ago
A final note, as co-developer lephilousophe reminded me on Discord, our new Dockerised build-bot which is going live imminently has a RPi build which targets all RPIs, so expect dedicated stable and daily developer builds for RPi in the very near future (possibly within the week or the next couple of days!)
comment:9 by , 22 months ago
This could be closed I think as it seems to work fine atm
comment:10 by , 22 months ago
|Status:||new → closed|
Are you still able to replicate this or does compiling the latest
mastercode works for you?