(02-28-2009, 06:10 PM)arcum42 Wrote: [ -> ]As far as running the binaries if they were already compiled, it's possible, but you have to have 32 bit copies of all of the libraries it depends on, and that's the tricky part.
And, yeah, for a chroot, you're basically installing a minature copy of your os in a folder, so it can be a little complicated and take up a bit of space. For me, it didn't seem that bad, but I use Gentoo, and when you initally install Gentoo, you do it through a chroot.
I've never tried to do it the Ubuntu way, though:
https://wiki.ubuntu.com/DebootstrapChroot
I've always done it this way:
http://www.gentoo.org/proj/en/base/amd64...t=1&chap=2
And the disk space wasn't an issue, because I've already been known to install various oses in VirtualBox as a hobby...
Well, i followed the guide in
https://wiki.ubuntu.com/DebootstrapChroot, and it seems i have a 32 bit chroot environment running. But i have just tried to compile pcsx2 and i couldn't, is it still right the guide from page 1 in this thread?? i mean, now after the merge do i still have to download both pcsx2-playground and pcsx2 or just pcsx2?.
If i tried to follow the guide then i compile in the pcsx2-playground folder and i get the following errors: "CDVD.h:9:22: error: PS2Edefs.h: No such file or directory
CDVD.c:7: error: ‘PS2E_CDVD_VERSION’ undeclared here (not in a function)
CDVD.c:12: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘PS2EgetLibName’
CDVD.c:16: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘CALLBACK’
CDVD.c:20: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘CALLBACK’
CDVD.c:80: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘CALLBACK’
CDVD.c:84: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘CALLBACK’
CDVD.c:88: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘CDVDclose’
CDVD.c:91: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘CDVDshutdown’
CDVD.c:94: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘CALLBACK’
CDVD.c:99: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
CDVD.c:103: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘CALLBACK’
CDVD.c:107: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘CALLBACK’
CDVD.c:111: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘CALLBACK’
CDVD.c:115: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘CALLBACK’
CDVD.c:119: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘CALLBACK’
CDVD.c:123: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘CALLBACK’
CDVD.c:127: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘CALLBACK’
CDVD.c:131: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘CALLBACK’
CDVD.c:135: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘CDVDconfigure’
CDVD.c:139: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘CDVDabout’
CDVD.c:143: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘CALLBACK’
make: *** [CDVD.o] Error 1
cp: cannot stat `libCDVDnull.so': No such file or directory
Error with building plugins"
When i try it directly with the pcsx2 folder (without using the playground files) i get:
"make: *** No rule to make target `libSoundTouch.a', needed by `libZeroSPU2.so.0.1.0'. Stop.
Error with building plugins"
But i have installed the libsoundtouch-dev library...
Another thing i am wondering is: will my graphic card nvidia work in this chroot environment?? it seems it don't even run any graphic stuff, if i install emacs it opens it in text mode
.