Difference between revisions of "Compiling from 710 sources"
(→packages) |
|||
Line 11: | Line 11: | ||
===packages=== | ===packages=== | ||
install them with apt-get: | install them with apt-get: | ||
− | sudo apt-get install build-essential | + | sudo apt-get install asterisk-dev squashfs-tools libavcodec-dev libavformat-dev libpostproc-dev libcaca-dev libmodplug-dev libtheora-dev libgnomevfs2-dev libflac-dev libsmbclient-dev libmad0-dev libcdio-dev transfig sgmltools-lite automake nasm x-dev libsvga1-dev dmsetup mkisofs libxcb-xv0-dev libxcb-shm0-dev libxcb-shape0-dev libaa1-dev libmagick9-dev libdirectfb-dev libpulse-dev libmpcdec-dev kdelibs4-dev qt3-qtconfig qt3-linguist qt3-dev-tools-embedded qt3-dev-tools-compat qt3-dev-tools qt3-designer qt3-assistant qt3-apps-dev libqt3-mt-dev libqt3-headers libqt3-compat-headers xorg-dev qt3-dev-tools libxcb-xv0-dev libxcb-shm0-dev libxcb-shape0-dev libmagick9-dev libmpcdec-dev quilt tcl8.4-dev libfuse-dev fuse-utils libupnp-dev libconfuse-dev subversion build-essential dh-make libmysqlclient15-dev libhttpfetcher-dev libattr1-dev libdbus-1-dev libdbus-glib-1-dev libhal-dev libdancer-xml0-dev libbluetooth2-dev libid3-3.8.3-dev libxine-dev x11proto-core-dev libx11-dev libx11-dev x11proto-core-dev x11proto-xext-dev x11proto-xf86vidmode-dev libx11-dev libjpeg62-dev libcdparanoia0-dev libsdl1.2-dev libsdl-gfx1.2-dev libxmu-headers x11proto-record-dev libhid-dev libusb-dev libsdl-image1.2-dev libsdl-ttf2.0-dev libsdl-sge-dev libxtst-dev libxrender-dev libcddb-dev libdvdread-dev libcurl3-dev ruby1.8-dev swig libtcltk-ruby mysql-client mysql-server libmediastreamer0-dev libgtk2.0-dev libvte-dev libglade2-dev libstdc++5 liblircclient-dev fakeroot |
===sources=== | ===sources=== |
Revision as of 15:52, 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 asterisk-dev squashfs-tools libavcodec-dev libavformat-dev libpostproc-dev libcaca-dev libmodplug-dev libtheora-dev libgnomevfs2-dev libflac-dev libsmbclient-dev libmad0-dev libcdio-dev transfig sgmltools-lite automake nasm x-dev libsvga1-dev dmsetup mkisofs libxcb-xv0-dev libxcb-shm0-dev libxcb-shape0-dev libaa1-dev libmagick9-dev libdirectfb-dev libpulse-dev libmpcdec-dev kdelibs4-dev qt3-qtconfig qt3-linguist qt3-dev-tools-embedded qt3-dev-tools-compat qt3-dev-tools qt3-designer qt3-assistant qt3-apps-dev libqt3-mt-dev libqt3-headers libqt3-compat-headers xorg-dev qt3-dev-tools libxcb-xv0-dev libxcb-shm0-dev libxcb-shape0-dev libmagick9-dev libmpcdec-dev quilt tcl8.4-dev libfuse-dev fuse-utils libupnp-dev libconfuse-dev subversion build-essential dh-make libmysqlclient15-dev libhttpfetcher-dev libattr1-dev libdbus-1-dev libdbus-glib-1-dev libhal-dev libdancer-xml0-dev libbluetooth2-dev libid3-3.8.3-dev libxine-dev x11proto-core-dev libx11-dev libx11-dev x11proto-core-dev x11proto-xext-dev x11proto-xf86vidmode-dev libx11-dev libjpeg62-dev libcdparanoia0-dev libsdl1.2-dev libsdl-gfx1.2-dev libxmu-headers x11proto-record-dev libhid-dev libusb-dev libsdl-image1.2-dev libsdl-ttf2.0-dev libsdl-sge-dev libxtst-dev libxrender-dev libcddb-dev libdvdread-dev libcurl3-dev ruby1.8-dev swig libtcltk-ruby mysql-client mysql-server libmediastreamer0-dev libgtk2.0-dev libvte-dev libglade2-dev libstdc++5 liblircclient-dev fakeroot
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