Project Links mvpmc.org   wiki

Experiences with building

View: New views
2 Messages — Rating Filter:   Alert me  

Experiences with building

by Ryan Raasch :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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

------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, &
iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian
Group, R/GA, & Big Spaceship. http://www.creativitycat.com 
_______________________________________________
Mvpmc-devel mailing list
Mvpmc-devel@...
https://lists.sourceforge.net/lists/listinfo/mvpmc-devel

Re: Experiences with building

by MVallevand :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Sun, May 24, 2009 at 9:27 AM, Ryan Raasch<ryan.raasch@...> >
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.

Thank Ryan, I missed this message and just spend three nights trying
to figure this out.  I forget how much information is on the mailing
list and I notice that someone updated the wiki too.  Good job to all
involved.  I also used update-alternative for this and for python (to
2.5) as I read about other scons issues with 2.6

Martin

------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time,
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
Mvpmc-devel mailing list
Mvpmc-devel@...
https://lists.sourceforge.net/lists/listinfo/mvpmc-devel