Inatallation help....plz? (Debian)

So I first found out about this great software package from RetroPi there just seems to be something dirty feeling about just downloading a SD image and pushing it out to a card and playing… I did have a 12+ year old computer in my closet and would work wonderfully (i hope).

Based on the Wiki I have build all of the libretro cores and had only small problems (turns out I did not install GCC when setting up the system at first… ya noob move). Moved onto the RetroArch section. The Clone and ./configure worked well (as long as I as i use sudo) but make fails. Any ideas why?

OUTPUT:

cc frontend/menu/rgui.c In file included from frontend/menu/…/…/gfk/glsym/glsym.h:4:0, from frontend/menu/…/…/gfk/gl_common.h:38, from frontend/menu/…/…/rgui.c:37: frontend/menu/…/…/gfk/glsym/rglgen.h:36:19: fetal error GL/gl.h: No such file or directory compilation terminated. make: *** [frontend/menu/rgui.o] Error 1

errorMessage.png just to make sure a typo makes it harder to get help :slight_smile:

HARDWARE: Celeron (P4 erra - 2.04 gh +/-) 1g ram 250 g HD NVidia graphics card (again can’t remember the model)

SOFTWARE Debian 7 Autolog in (none root acount - yes I know the security concers but once set up right I am going to pull of the network) X does not start at start Gnome (gdm3) and LXDE installed (but LXDE is default… hardware is just a little too old for Gnome 3)

You’re missing some development libraries, in this case mesa-common-dev (I think). Since you’re using Debian x86, you can most likely use the packages from my Ubuntu PPA (unless, of course, you just want to compile them yourself for the experience): https://launchpad.net/~hunter-kaller/+archive/ppa/+packages

At the very least, you can download the tarballs from my packages to see what the dependencies are in debian/control, or else add my PPA as a repo and use ‘apt-get build-dep [package-name]’ to pull them in automatically.

Sorry yes I have been building most things from source… well github/apt-get source anyways.

Turns out Mesa was not the only thing I was missing this said big thanx to hunterk for the help. I have posted all i needed to do to get it up and compiled. This is more so that if anyone else runs into this problem they can see a solution (but I am willing to be not the only solution).

so sudo apt-get install mesa-common-dev

fixed the first set of problems. This lead to another error popping up.

sudo apt-get build-dep mesa-common-dev

same error:

/usr/bin/ld: cannot find -lGL collect2: error: ld returned 1 exit status make: *** [retroarch] Error 1

Google here I come (yes i try and google everything before coming here).

apt-get install libgl1-mesa-dev (didn’t fix for me) atp-get install libgl1-mesa-swx11 (still nothing) sudo apt-get install libqt4-dev (This worked)