[Mvpmc-devel] Experiences with building
Status: Alpha
Brought to you by:
gettler
From: Ryan R. <rya...@gm...> - 2009-05-24 13:27:58
|
Hello, I have one of these mediamvps and see a lot of potential in it. So i thought i would give it a whirl to compile all on my machine, and see how difficult to use the cmyth lib. I would like to use enlightenment instead of wxwindows. And also run NFS mount. But, the environment did not build out of box. 1. I am running the newest ubuntu (gcc-4.3). Which fails to compile the powerpc toolchain. Switching to gcc-4.1 fixed this problem. 2. Once the toolchain was build, i then ran scons V=1 TARGET=mvp But ran into problemsscons: done reading SConscript files. scons: Building targets ... build_action(["dongle/install/mvp/bin/busybox"], ["/home/ryan/downloads/busybox-1.1.3.tar.bz2"]) sh: line 0: cd: /home/ryan/src/mvpmc-test/dongle/apps/busybox/mvp/busybox-1.1.: No such file or directory sh: line 0: cd: /home/ryan/src/mvpmc-test/dongle/apps/busybox/mvp/busybox-1.1.: No such file or directory sh: line 0: cd: /home/ryan/src/mvpmc-test/dongle/apps/busybox/mvp/busybox-1.1.: No such file or directory build_action(["dongle/install/mvp/bin/fusermount"], ["/home/ryan/downloads/fuse-2.5.3.tar.gz"]) sh: line 0: cd: /home/ryan/src/mvpmc-test/dongle/apps/fuse/mvp/fuse-2.5.: No such file or directory build_action(["dongle/install/mvp/bin/djmount"], ["/home/ryan/downloads/djmount-0.71.tar.gz"]) sh: line 0: cd: /home/ryan/src/mvpmc-test/dongle/apps/djmount/mvp/djmount-0.7: No such file or directory sh: line 0: cd: /home/ryan/src/mvpmc-test/dongle/apps/djmount/mvp/djmount-0.7: No such file or directory build_action(["dongle/install/mvp/bin/flashcp"], ["/home/ryan/downloads/mtd.tar.gz"]) sh: line 0: cd: /home/ryan/src/mvpmc-test/dongle/apps/mtd/mvp/mt: No such file or directory build_action(["dongle/install/mvp/lib/libFLAC.a", "dongle/install/mvp/include/FLAC/stream_decoder.h"], ["/home/ryan/downloads/flac-1.2.1.tar.gz"]) sh: line 0: cd: /home/ryan/src/mvpmc-test/dongle/libs/flac/mvp/flac-1.2.: No such file or directory sh: line 0: cd: /home/ryan/src/mvpmc-test/dongle/libs/flac/mvp/flac-1.2.: No such file or directory So it seems to cut off the last part of the file name. Which the below "fixed". I don't know if it is my system or what. diff --git a/scons/oss.py b/scons/oss.py index d1830d8..113063e 100644 --- a/scons/oss.py +++ b/scons/oss.py @@ -99,7 +99,7 @@ def build_action(source, target, env): tar = tarfile.open(src, 'r:%s' % ext) for i in tar: j = i.name.find('/') - dir = '%s/%s/%s' % (path,buildtarget,i.name[:j]) + dir = '%s/%s/%s' % (path,buildtarget,i.name) break if os.path.exists(dir): os.system('rm -rf %s' % dir) I am in the middle of tracing my build steps to get the patches, etc. correct. I will follow up with the other steps that i had problems with. Thanks, Ryan |