Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't install Retropie with latest Odroid image #1515

Closed
dagamboa opened this issue Feb 15, 2018 · 11 comments
Closed

Can't install Retropie with latest Odroid image #1515

dagamboa opened this issue Feb 15, 2018 · 11 comments
Labels
Not a DietPi issue Outside of DietPi scripts eg: user installed/configured software

Comments

@dagamboa
Copy link

Retropie using latest 6.0 image for Odroid C2 fails to build, it seems that there are missing packages that can't be installed

I read that it should build with previous versions of Dietpi, here is the log

https://pastebin.com/dfg69hyR

@Fourdee
Copy link
Collaborator

Fourdee commented Feb 15, 2018

@LieDanG

-- The C compiler identification is unknown
-- The CXX compiler identification is unknown
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- broken
CMake Error at /usr/share/cmake-3.0/Modules/CMakeTestCCompiler.cmake:61 (message):
The C compiler "/usr/bin/cc" is not able to compile a simple test program.

Please verify following is installed:

  • apt-get install build-essential automake make cmake

I cant see any mention of build-essential in the log, so the RetroPie script must assume is already installed. In DietPi its not pre-installed (as not needed by majority of users, additional package status, uses up additional space). Installed on demand with dietpi-software titles automatically.

@Fourdee
Copy link
Collaborator

Fourdee commented Feb 15, 2018

NB: Flagging as non-DietPi issue, however, we'll assist where we can.

@dagamboa
Copy link
Author

I previously installed build-essential, installed the other packages and tried again with same results

https://pastebin.com/58NKdeAt

@Fourdee
Copy link
Collaborator

Fourdee commented Apr 1, 2018

@Fourdee
Copy link
Collaborator

Fourdee commented Apr 1, 2018

Notes: Could require Debian Stretch for Odroid C2?

Wiki states Ubuntu image required: https://github.com/RetroPie/RetroPie-Setup/wiki/Odroid-C1-C2#download-ubuntu-image-for-odroid
https://retropie.org.uk/docs/Odroid-C1-C2/

@Fourdee
Copy link
Collaborator

Fourdee commented Apr 1, 2018

Odroid C2 Stretch:

E: Unable to locate package mali-fbdev

The only related packages I can find are in buster:
https://packages.debian.org/buster/mali-t62x-fbdev-driver

This may work?
http://deb.odroid.in/c2/pool/main/m/mali-fbdev/

image
image
image
image

@Fourdee
Copy link
Collaborator

Fourdee commented Apr 2, 2018

wget http://deb.odroid.in/c2/pool/main/m/mali-fbdev/mali-fbdev_20161003-r6p1-ee42997-15_arm64.deb -O package.deb
dpkg -i package.deb
rm package.deb

Appears mali450-odroid is the same package:

root@DietPi:~# dpkg -i package.deb
Selecting previously unselected package mali-fbdev.
(Reading database ... 36819 files and directories currently installed.)
Preparing to unpack package.deb ...
Unpacking mali-fbdev (20161003-r6p1-ee42997-15) ...
dpkg: error processing archive package.deb (--install):
 trying to overwrite '/usr/include/KHR/khrplatform.h', which is also in package mali450-odroid 20161218-r6p1-1
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Errors were encountered while processing:
 package.deb
root@DietPi:~# rm package.deb^C
root@DietPi:~# apt-cache search ^C
root@DietPi:~# dpkg -l | grep mali450
ii  mali450-odroid              20161218-r6p1-1                  arm64        Mali binary blob and development headers (ODROID build)

@Fourdee
Copy link
Collaborator

Fourdee commented Apr 2, 2018

Tried following, failed lvl10 init SDL

git clone --depth=1 https://github.com/RetroPie/RetroPie-Setup.git
cd RetroPie-Setup

#Odroid C2: Replace mali-fbdev depends with mali450-odroid used in meveric's repo
#sed -i 's/mali-fbdev/mali450-odroid/g' scriptmodules/supplementary/sdl2.sh
#sed -i 's/mali-fbdev/mali450-odroid/g' scriptmodules/system.sh
#sed -i 's/mali-fbdev/mali450-odroid/g' scriptmodules/emulators/retroarch.sh

./retropie_setup.sh

@Fourdee Fourdee added Outside of DietPi scripts eg: user installed/configured software and removed Question ❔ labels Apr 3, 2018
@Fourdee
Copy link
Collaborator

Fourdee commented Apr 5, 2018

I'll mark this as closed due to the following:

  • RetroPie Wiki specifies Ubuntu image must be used.
  • Seems incompatible with Debian Stretch + Meveric's repo currently.
  • Outside our support range.

@Fourdee Fourdee closed this as completed Apr 5, 2018
@dagamboa
Copy link
Author

Well I was expecting that, would be possible that you test if it works with the Dietpi Image for Rock64? I'm planning to replace the C2 with that board

@bernhard263
Copy link

bernhard263 commented Jun 28, 2020

If Retropie complains about the missing mali-fbdev package: You probably don't need it, many systems already have the mali files installed.

sudo find /usr/lib/ -name "libMali.so"
sudo find /usr/lib/ -name "libGL*"

If these commands find any files, you don't need the package. To install Retropie anyway, an easy solution is to create and install an empty mali-fbdev dummy package to satisfy the Retropie installer:

sudo apt-get install checkinstall
cd ~
sudo checkinstall -y --pkgname mali-fbdev --pkgversion=3.0.0 touch dummy.txt

This will create and install a dummy 'mali-fbdev' package with just an empty text file in it. You can remove it later with dpkg after Retropie has installed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Not a DietPi issue Outside of DietPi scripts eg: user installed/configured software
Projects
None yet
Development

No branches or pull requests

3 participants