WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: MOC Player for piCore 9.x?  (Read 3075 times)

Offline Acestes

  • Newbie
  • *
  • Posts: 2
MOC Player for piCore 9.x?
« on: August 13, 2018, 12:58:13 PM »
Hi,

What are the chances of getting MOC Player for PiCore 9.x? I would build it myself, but I'm rather new to Linux and wouldn't know where to start, although I expect I'll have to learn at some point. I noticed it was available in PiCore 5.x, or at least a package called moc.tcz was.

Thanks!

Offline Pats

  • Sr. Member
  • ****
  • Posts: 322
Re: MOC Player for piCore 9.x?
« Reply #1 on: August 13, 2018, 02:06:07 PM »
Quote
but I'm rather new to Linux and wouldn't know where to start, although I expect I'll have to learn at some point. I noticed it was available in PiCore 5.x, or at least a package called moc.tcz was.

If you mean to say, how to create a .tcz , then :
..I do not know about piCore procedure, but General steps to build a .tcz package are like this:
1) mkdir build
2) cd build
 3) Dnload source code from the concerned source-site .
4) /build
5) wget ttp://link-to-packagesrc.tar.gz 
6) tar xvzf packagesrc.tar.gz
7) cd packagesrc 
 After that :
 ./configure --prefix=/usr/local  < -- required flags, if any >
9) make
10) make install 
11) Now create .tcz with follow commands
12) cd ..
13) mksquashfs /tmp/package  packageName.tcz .
14) If .packageName.tcz is successfully created then, load the newly created  .tcz extension  :
15) /build
16) tce-load -i packageName.tcz

 If all is well, then copy the .tcz file to /tce/optional directory for regular use. 
17) Note: squashfs , compiletc and other required .dep files are required to create a .tcz extension.
Best Luck !

Offline Acestes

  • Newbie
  • *
  • Posts: 2
Re: MOC Player for piCore 9.x?
« Reply #2 on: August 14, 2018, 02:11:46 AM »
Thank you Pats for the quick guide. I'll try and take a look when I get the time.