Difference between revisions of "Compiling from 710 sources"

From LinuxMCE
Jump to: navigation, search
Line 33: Line 33:
 
by  
 
by  
 
  false, 0);
 
  false, 0);
 +
  
 
if you have an error:
 
if you have an error:
 
  make: *** Mozilla_Plugin: No such file or directory.  Stop.
 
  make: *** Mozilla_Plugin: No such file or directory.  Stop.
 
open src/makefile and remove "Mozilla_Plugin"  at line 5
 
open src/makefile and remove "Mozilla_Plugin"  at line 5
 +
 +
 +
if you have an error with ''Security_Plugin.cpp'' , then open it( src/Security_Plugin/Security_Plugin.cpp ) and remove the
 +
,true, true
 +
at the nearby end of the line
 +
 +
 +
with ''Telecom_Plugin.cpp'' you have to edit src/Telecom_Plugin/Telecom_Plugin.cpp:
 +
l2670: remove false, false at the end of the line
 +
l2702: remove false, false at the end of the line

Revision as of 16:40, 25 July 2008

this is just an how-to about compiling for the 710 version.

when to?

when you want to compile for the 710 version. you may compile with other sources but..well, you may not too.<br /< this is mor or less a memanto for myself, since i am compiling from 710

requirements

i am filling it when i see new requirements you must be connected on your development station. you need an acces to a 710 working station.

packages

install them with apt-get:

sudo apt-get install build-essential libbluetooth2-dev subversion libattr1-dev libattr1

sources

when you are in the folder you want the sources to be into, type

svn co svn.linuxmce.org/pluto/branches/LinuxMCE-0710/

this is gonna take a while..

preparation

copy every file from /usr/pluto/lib from you working station to your dev station in <srcpath>/src/lib. basically, if you're compiling on your core, and you placed yourself in your sources dir, just type

cp /usr/pluto/lib/* src/lib/

then launch the command for removing the makefile args:

find . -iname Makefile -exec sed -e 's/<-mkr_t_compile_defines->/-DKDE_LMCE -DDEBUG -DTHREAD_LOG -DLOG_ALL_QUERIES -I\/opt\/libxine1-pluto\/include -I\/opt\/libsdl1.2-1.2.7+1.2.8cvs20041007\/include -I\/opt\/libsdl1.2-1.2.7+1.2.8cvs20041007\/include\/SD/' -i '{}' \;
find . -iname Makefile -exec sed -e 's/<-mkr_t_compile_libs->/-L\/opt\/libxine1-pluto\/lib -L\/opt\/libsdl1.2-1.2.7+1.2.8cvs20041007\/lib/' -i '{}' \;

finally launch make from the src/ directory

troubles

if you have an issue with the file File_Grids_Plugin.cpp open it(kate src/File_Grids_Plugin/File_Grids_Plugins.cpp) and replace the line 450:

false, /* resume */, 0 /* repeat */,
false, /* bypass events */
false /* dont setup av */);

by

false, 0);


if you have an error:

make: *** Mozilla_Plugin: No such file or directory.  Stop.

open src/makefile and remove "Mozilla_Plugin" at line 5


if you have an error with Security_Plugin.cpp , then open it( src/Security_Plugin/Security_Plugin.cpp ) and remove the

,true, true

at the nearby end of the line


with Telecom_Plugin.cpp you have to edit src/Telecom_Plugin/Telecom_Plugin.cpp:

l2670: remove false, false at the end of the line
l2702: remove false, false at the end of the line