# Download snapshot (391MiB)
wget http://www.charonmedia.org/lmce-1465.tbz
# Test checksum to ensure it was downloaded intact.
md5sum lmce-1465.tbz # should be b3d4b3f6b33ff5e6c4641390f2314095
# Update snapshot (uncompressed: 1823MiB either snapshot or updated).
tar xfj lmce-1465.tbz
cd lmce
svn update
# Build from source (optional) to 3692MiB, total source+build = 5515MiB.
./configure
make
checking for KDE... configure: error:
in the prefix, you've chosen, are no KDE headers installed. This will fail.
So, check this please and use another prefix!
make[3]: *** No targets specified and no makefile found. Stop.
make[3]: Entering directory `/opt/lmce/src/lmce/src/lmce_launch_manager'
make[3]: Leaving directory `/opt/lmce/src/lmce/src/lmce_launch_manager'
cp: cannot stat `src/lmce_launch_manager': No such file or directory
make -f Makefile.cvs; LDFLAGS="-L../../lib" CPPFLAGS="-I../../ -I../../DCE -I../../Gen_Devices" CXXFLAGS="-O0 -g3" ./configure; make ; cp src/lmce_launch_manager ../bin/lmce_launch_manager ***FAILED***
Error: make -f Makefile.cvs; LDFLAGS="-L../../lib" CPPFLAGS="-I../../ -I../../DCE -I../../Gen_Devices" CXXFLAGS="-O0 -g3" ./configure; make ; cp src/lmce_launch_manager ../bin/lmce_launch_manager failed!
Continue anyway? [N/y]
make -f Makefile.cvs; LDFLAGS="-L../../lib" CPPFLAGS="-I../../ -I../../DCE -I../../Gen_Devices" CXXFLAGS="-O0 -g3" ./configure; make ; cp src/lmce_launch_manager ../bin/lmce_launch_manager succeeded
***ERROR*** The file: /opt/lmce/src/lmce/src/lmce_launch_manager/src/lmce_launch_manager was not created.Continue anyway? [N/y] y
/opt/lmce/src/lmce/src/lmce_launch_manager/src/lmce_launch_manager exists
Continue? [N/y] y
(...)
***WARNING B*** /opt/lmce/src/lmce/src/bin/lmce_launch_manager not found
Continue? [N/y] y
(...)
***WARNING B*** /opt/lmce/src/lmce/src/bin/SimplePhone not found
Continue? [N/y] y
Are you building on 0710 beta 2? I posted a patch to the lmce-dev mailing list which allows the build to mostly complete on amd64 0710 beta 2, I haven't applied it yet because it's a little hacky.
On 0704 you should not be getting the lmce_launch_manager error (we used to get it but this was fixed in SVN some weeks ago).
Are you building on 0710 beta 2? I posted a patch to the lmce-dev mailing list which allows the build to mostly complete on amd64 0710 beta 2, I haven't applied it yet because it's a little hacky.
On 0704 you should not be getting the lmce_launch_manager error (we used to get it but this was fixed in SVN some weeks ago).
Are you building on 0710 beta 2? I posted a patch to the lmce-dev mailing list which allows the build to mostly complete on amd64 0710 beta 2, I haven't applied it yet because it's a little hacky.
On 0704 you should not be getting the lmce_launch_manager error (we used to get it but this was fixed in SVN some weeks ago).
I am building according to the Source Code wiki article instructions, which are basically (wget http://www.charonmedia.org/lmce-1465.tbz) and (svn updte), which I believe gives me build 1480. Is that not 0710b2? How do I get and build 0710b2?
Zearc,
To build an individual package in src, you need a few things first:
Development dependencies need to be installed. (make install_deb_packages)
MakeRelease_PrepFiles needs to be built. (make build/bin/MakeRelease/MakeRelease_Prep)
MakeRelease_PrepFiles needs to be run. (make makerelease_prep)
Then you can go into the directory containing the source for the package you want and build it normally.
Are you building on 0710 beta 2? I posted a patch to the lmce-dev mailing list which allows the build to mostly complete on amd64 0710 beta 2, I haven't applied it yet because it's a little hacky.
On 0704 you should not be getting the lmce_launch_manager error (we used to get it but this was fixed in SVN some weeks ago).
I am building according to the Source Code wiki article instructions, which are basically (wget http://www.charonmedia.org/lmce-1465.tbz) and (svn updte), which I believe gives me build 1480. Is that not 0710b2? How do I get and build 0710b2?
vendor/pluto-lmce-branch |
trunk | contains sources which can build on a LinuxMCE 704 system, and with the patch I posted to the lmce-dev mailing list can be mostly compiled on 0710 beta 1 or 2. |
vendor/pluto-lmce-branch contains a mirror of the sources used to build the 0710 betas.
trunk contains sources which can build on a LinuxMCE 704 system, and with the patch I posted to the lmce-dev mailing list can be mostly compiled on 0710 beta 1 or 2.
The pluto-lmce-branch will destroy an existing LinuxMCE install as it builds the DB for the new build. It should only be run on a stock Ubuntu 710 system, with a separate system set up as the database server.
The trunk tree has all the code changes from the pluto-lmce-branch synced to it, but it has a different set of build scripts and makefiles.
...you may want to browse http://svn.charonmedia.org/trac.cgi/browser/ and read a svn howto. That should clarify some bits for you.
you may want to browse http://svn.charonmedia.org/trac.cgi/browser/ and read a svn howto. That should clarify some bits for you.
matt@lmce:/opt/linuxmce/src$ cd pluto-lmce-branch/
matt@lmce:/opt/linuxmce/src/pluto-lmce-branch$ svn co http://svn.charonmedia.com/trac.cgi/browser/vendor/pluto-lmce-branch
svn: PROPFIND request failed on '/trac.cgi/browser/vendor/pluto-lmce-branch'
svn: PROPFIND of '/trac.cgi/browser/vendor/pluto-lmce-branch': 200 Ok (http://svn.charonmedia.com)
If you want to build the database packages you need a mysql instance with the build database loaded. It's up to you where you host it. Just make sure the scripts work with your setup.
try http://svn.charonmedia.com/svn/vendor/pluto-lmce-branchCode: [Select]matt@lmce:/opt/linuxmce/src$ cd pluto-lmce-branch/
matt@lmce:/opt/linuxmce/src/pluto-lmce-branch$ svn co http://svn.charonmedia.com/trac.cgi/browser/vendor/pluto-lmce-branch
svn: PROPFIND request failed on '/trac.cgi/browser/vendor/pluto-lmce-branch'
svn: PROPFIND of '/trac.cgi/browser/vendor/pluto-lmce-branch': 200 Ok (http://svn.charonmedia.com)
Does the 0710b2 I installed from the DVD include a MySQL instance with the build database loaded? If not,no
where do I get a copy of the 0710b2 build database, and install it in its own DB under the existing 0704? I suppose not from the SVN root/vendor/pluto-lmce-branch/db_dumps/pluto_[main_build,media,security,telecom].sql , which are each 3 months old (and which fail to co just as the whole branch fails).I'm not aware of any newer public dumps.
And does all that SVN code also depend on being installed on a running 0710 installation, or is everything necessary for build and run included in that branch?it should work on 0704 and on 0710b2 with patches. Watch your libraries on 0704, they are incompatible with the ones compiled from svn. But it's not hard to compile it on any other platform. Few dependencies.
try http://svn.charonmedia.com/svn/vendor/pluto-lmce-branchCode: [Select]matt@lmce:/opt/linuxmce/src$ cd pluto-lmce-branch/
matt@lmce:/opt/linuxmce/src/pluto-lmce-branch$ svn co http://svn.charonmedia.com/trac.cgi/browser/vendor/pluto-lmce-branch
svn: PROPFIND request failed on '/trac.cgi/browser/vendor/pluto-lmce-branch'
svn: PROPFIND of '/trac.cgi/browser/vendor/pluto-lmce-branch': 200 Ok (http://svn.charonmedia.com)
Does the 0710b2 I installed from the DVD include a MySQL instance with the build database loaded? If not,noQuotewhere do I get a copy of the 0710b2 build database, and install it in its own DB under the existing 0704? I suppose not from the SVN root/vendor/pluto-lmce-branch/db_dumps/pluto_[main_build,media,security,telecom].sql , which are each 3 months old (and which fail to co just as the whole branch fails).I'm not aware of any newer public dumps.
And does all that SVN code also depend on being installed on a running 0710 installation, or is everything necessary for build and run included in that branch?it should work on 0704 and on 0710b2 with patches. Watch your libraries on 0704, they are incompatible with the ones compiled from svn. But it's not hard to compile it on any other platform. Few dependencies.
try http://svn.charonmedia.com/svn/vendor/pluto-lmce-branchCode: [Select]matt@lmce:/opt/linuxmce/src$ cd pluto-lmce-branch/
matt@lmce:/opt/linuxmce/src/pluto-lmce-branch$ svn co http://svn.charonmedia.com/trac.cgi/browser/vendor/pluto-lmce-branch
svn: PROPFIND request failed on '/trac.cgi/browser/vendor/pluto-lmce-branch'
svn: PROPFIND of '/trac.cgi/browser/vendor/pluto-lmce-branch': 200 Ok (http://svn.charonmedia.com)
That's more like it :).Does the 0710b2 I installed from the DVD include a MySQL instance with the build database loaded? If not,noQuotewhere do I get a copy of the 0710b2 build database, and install it in its own DB under the existing 0704? I suppose not from the SVN root/vendor/pluto-lmce-branch/db_dumps/pluto_[main_build,media,security,telecom].sql , which are each 3 months old (and which fail to co just as the whole branch fails).I'm not aware of any newer public dumps.
So do I just drop the existing lmce DB, and run the SVN dumps SQL against the LMCE DB?And does all that SVN code also depend on being installed on a running 0710 installation, or is everything necessary for build and run included in that branch?it should work on 0704 and on 0710b2 with patches. Watch your libraries on 0704, they are incompatible with the ones compiled from svn. But it's not hard to compile it on any other platform. Few dependencies.
I'm not using 0704 at all, just 0710b2.
So I should track down the patches DanielK sent to the dev list, apply those after the SVN co is complete, then drop the old DB and run the dumps' SQL. All on a server that's already got 0710b2 installed from the DVD. Right?
mkdir -p bin lib 2>/dev/null
for i in DCE PlutoUtils SerializeClass BD VIPShared FakeEPG; do make -C $i || exit $?; done
make[1]: Entering directory `/opt/lmce/src/pluto-lmce-branch/src/DCE'
Computing dependencies for ../db_wrapper/Socket.cpp/bin/sh: -mkr_t_compile_defines-: No such file or directory
/bin/sh: line 1: ../db_wrapper/Socket.d.19832: No such file or directory
done
Where are these other depended files supposed to come from? There's a configure and a Makefile in pluto-lmce-branch/src/mce-installer , which configures OK but fails withStepUbuntuExtraCD.o: In function `on_StepUbuntuExtraCD_forward_clicked':
/opt/lmce/src/pluto-lmce-branch/src/mce-installer/src/StepUbuntuExtraCD.c:34: undefined reference to `displayStepUbuntuLiveCD'
and seems to be a build scoped to only the installer CD anyway.And now the mystery is how to actually build the source. I've got it co'ed into /opt/lmce/src/pluto-lmce-branch/ . There's a Makefile in its src/ subdirectory, but (make) or (make all) fails quickly with nothing but errors likeCode: [Select]mkdir -p bin lib 2>/dev/null
Where are these other depended files supposed to come from? There's a configure and a Makefile in pluto-lmce-branch/src/mce-installer , which configures OK but fails with
for i in DCE PlutoUtils SerializeClass BD VIPShared FakeEPG; do make -C $i || exit $?; done
make[1]: Entering directory `/opt/lmce/src/pluto-lmce-branch/src/DCE'
Computing dependencies for ../db_wrapper/Socket.cpp/bin/sh: -mkr_t_compile_defines-: No such file or directory
/bin/sh: line 1: ../db_wrapper/Socket.d.19832: No such file or directory
doneCode: [Select]StepUbuntuExtraCD.o: In function `on_StepUbuntuExtraCD_forward_clicked':
and seems to be a build scoped to only the installer CD anyway.
/opt/lmce/src/pluto-lmce-branch/src/mce-installer/src/StepUbuntuExtraCD.c:34: undefined reference to `displayStepUbuntuLiveCD'
What's the formulat for actually building this thing?
Looks like there is an issue with not replaced the -mkr_t_compile_defines- tags by proper compile definitions. Don't know why - probably instructions are outdated. Do you need to build some specific binary or the full tree? If former, I would suggest you to do some manual hacks, using already built libraries (looks like there is kind of circular build dependency as far as I can see).
Looks like there is an issue with not replaced the -mkr_t_compile_defines- tags by proper compile definitions. Don't know why - probably instructions are outdated. Do you need to build some specific binary or the full tree? If former, I would suggest you to do some manual hacks, using already built libraries (looks like there is kind of circular build dependency as far as I can see).
The problem is that there isn't a configure/Makefile in that branch. That branch is the 0710b3. The trunk configure/Makefile don't build the pluto-lmce branch.
There are no "instructions" for doing this, except what I'm piecing together in this thread (and basic SVN and make techniques). But some people here are doing it, so I hope they reveal the secret spells sometime soon. Then I can post actual instructions for everyone.
Looks like there is an issue with not replaced the -mkr_t_compile_defines- tags by proper compile definitions. Don't know why - probably instructions are outdated. Do you need to build some specific binary or the full tree? If former, I would suggest you to do some manual hacks, using already built libraries (looks like there is kind of circular build dependency as far as I can see).
The problem is that there isn't a configure/Makefile in that branch. That branch is the 0710b3. The trunk configure/Makefile don't build the pluto-lmce branch.
There are no "instructions" for doing this, except what I'm piecing together in this thread (and basic SVN and make techniques). But some people here are doing it, so I hope they reveal the secret spells sometime soon. Then I can post actual instructions for everyone.
You didn't answer my question: are you trying to build everything from sources and create the full CD/DVD or just want to build some specific binary? For the specific application you basically need
1) copy libraries from the existing installation to src/lib
2) build src/MakeRelease_PrepFiles tool
3) run MakeRelease_PrepFiles tool with certain config file against some binary src folder to make it adopt the code (exclude some not-required blocks), replace tags with values (like issue with Makefile you have - -mkr_t_compile_defines )
4) do make in that binary source folder
Building the full DVD is more complex process and I don't know the full details of it.
I thought I had answered that question in the other messages I posted in this thread.Sorry, probably I have missed it while quickly looking into this thread history.
#create dir and checkout sources
linuxmce@linuxmce:~/sources$ mkdir pluto; cd pluto
linuxmce@linuxmce:~/sources/pluto$ svn co http://svn.linuxmce.com/pluto/trunk/src
#copy libs from existing installation
linuxmce@linuxmce:~/sources/pluto$ cp /usr/pluto/lib/* src/lib/
#build helper tool
linuxmce@linuxmce:~/sources/pluto/src$ cd MakeRelease_PrepFiles/
linuxmce@linuxmce:~/sources/pluto/src/MakeRelease_PrepFiles$ make
#prepare config and run helper tool
linuxmce@linuxmce:~/sources/pluto/src/MakeRelease_PrepFiles$ cd ../bin
linuxmce@linuxmce:~/sources/pluto/src/bin$ echo "compile_defines=-DKDE_LMCE -DDEBUG -DTHREAD_LOG -DLOG_ALL_QUERIES -I/opt/libxine1-pluto/include -I/opt/linphone-1.3.5/include" >> ../tool.conf
linuxmce@linuxmce:~/sources/pluto/src/bin$ echo "compile_libs=-L/opt/libxine1-pluto/lib -L/opt/linphone-1.3.5/lib" >> ../tool.conf
linuxmce@linuxmce:~/sources/pluto/src/bin$ echo "blocks=ubuntu,videowizard" >> ../tool.conf
linuxmce@linuxmce:~/sources/pluto/src/bin$ ./MakeRelease_PrepFiles -p ../ -e "*.cpp,*.h,Makefile*,*.php,*.sh,*.pl,*.awk" -c ../tool.conf
#build apps itself
linuxmce@linuxmce:~/sources/pluto/src/bin$ cd ../Disk_Drive/
linuxmce@linuxmce:~/sources/pluto/src/bin$ make bin
linuxmce@linuxmce:~/sources/pluto/src/Disk_Drive$ cd ../Disk_Drive_Functions/
linuxmce@linuxmce:~/sources/pluto/src/Disk_Drive_Functions$ make
linuxmce@linuxmce:~/sources/pluto/src/Disk_Drive_Functions$ cd ../Powerfile_C200
linuxmce@linuxmce:~/sources/pluto/src/Powerfile_C200$ make bin
linuxmce@linuxmce:~/sources/pluto/src/Powerfile_C200$ cd ../Generic_Serial_Device
linuxmce@linuxmce:~/sources/pluto/src/Generic_Serial_Device$ make bin
I thought I had answered that question in the other messages I posted in this thread.Sorry, probably I have missed it while quickly looking into this thread history.
OK, as I don't have installed 0710b2 anymore and I don't know the full DVD build process, the closest approximation I can help with is how to build these applications (and probably most of the other ones) on the existing 0710b3 installation (or just Kubuntu 0710 with access to libs from the /usr/pluto/lib). I assume you already have the toolchain and required extra dev libs installs (if not, it should be easy to see where it fails and install that extra stuff).Code: [Select]#create dir and checkout sources
linuxmce@linuxmce:~/sources$ mkdir pluto; cd pluto
linuxmce@linuxmce:~/sources/pluto$ svn co http://svn.linuxmce.com/pluto/trunk/src
#copy libs from existing installation
linuxmce@linuxmce:~/sources/pluto$ cp /usr/pluto/lib/* src/lib/
#build helper tool
linuxmce@linuxmce:~/sources/pluto/src$ cd MakeRelease_PrepFiles/
linuxmce@linuxmce:~/sources/pluto/src/MakeRelease_PrepFiles$ make
#prepare config and run helper tool
linuxmce@linuxmce:~/sources/pluto/src/MakeRelease_PrepFiles$ cd ../bin
linuxmce@linuxmce:~/sources/pluto/src/bin$ echo "compile_defines=-DKDE_LMCE -DDEBUG -DTHREAD_LOG -DLOG_ALL_QUERIES -I/opt/libxine1-pluto/include -I/opt/linphone-1.3.5/include" >> ../tool.conf
linuxmce@linuxmce:~/sources/pluto/src/bin$ echo "compile_libs=-L/opt/libxine1-pluto/lib -L/opt/linphone-1.3.5/lib" >> ../tool.conf
linuxmce@linuxmce:~/sources/pluto/src/bin$ echo "blocks=ubuntu,videowizard" >> ../tool.conf
linuxmce@linuxmce:~/sources/pluto/src/bin$ ./MakeRelease_PrepFiles -p ../ -e "*.cpp,*.h,Makefile*,*.php,*.sh,*.pl,*.awk" -c ../tool.conf
#build apps itself
linuxmce@linuxmce:~/sources/pluto/src/bin$ cd ../Disk_Drive/
linuxmce@linuxmce:~/sources/pluto/src/bin$ make bin
linuxmce@linuxmce:~/sources/pluto/src/Disk_Drive$ cd ../Disk_Drive_Functions/
linuxmce@linuxmce:~/sources/pluto/src/Disk_Drive_Functions$ make
linuxmce@linuxmce:~/sources/pluto/src/Disk_Drive_Functions$ cd ../Powerfile_C200
linuxmce@linuxmce:~/sources/pluto/src/Powerfile_C200$ make bin
linuxmce@linuxmce:~/sources/pluto/src/Powerfile_C200$ cd ../Generic_Serial_Device
linuxmce@linuxmce:~/sources/pluto/src/Generic_Serial_Device$ make bin
The only non-obvious step here is usage of the use of MakeRelease_PrepFiles tool - as I said, it replaces tags with the predefined values (here from tool.conf) plus cuts out blocks not listed in "blocks=..." section of tool.conf. There are actually some extra tags (and you will probably see warning messages when it fails to replace them) but these three should be enough for start. Please write here if you have more questions.
I was told that the 0710bN (N was 2+ in SVN, now is 3+) code was not in trunk, but rather in the pluto-lmce-branch subdir.Probably you missed this news item: FOSS 0710 (http://wiki.linuxmce.org/index.php/FOSS_0710), now the source code is in public SVN server. The 0710 branch is not re-tagged yet, so use trunk for now.
Also, I take it that I have to svn co the source code into a directory on a computer with a working compiled 0710b2 (or b3, but not 0704, and not without any LMCE, right?) installed, right?Not exactly: the only thing you need from the 0710b2 (or b3), is content of /usr/pluto/lib - copying of libs is a separate step in that snippet I posted (generally it is required because of circular dependence: you cannot build libs w/o running MakeRelease_PrepFiles; you cannot build MakeRelease_PrepFiles w/o libs). So it is enough to have clean Kubuntu 0710 (or Ubuntu 0710) and check code from SVN into some folder, then copy these libs and follow other steps - everything should build well, except for cases when somelib-dev packages are missing. Presence of installed LMCE on builder box is not required for building binaries.
I was told that the 0710bN (N was 2+ in SVN, now is 3+) code was not in trunk, but rather in the pluto-lmce-branch subdir.Probably you missed this news item: FOSS 0710 (http://wiki.linuxmce.org/index.php/FOSS_0710), now the source code is in public SVN server. The 0710 branch is not re-tagged yet, so use trunk for now.
Also, I take it that I have to svn co the source code into a directory on a computer with a working compiled 0710b2 (or b3, but not 0704, and not without any LMCE, right?) installed, right?Not exactly: the only thing you need from the 0710b2 (or b3), is content of /usr/pluto/lib - copying of libs is a separate step in that snippet I posted (generally it is required because of circular dependence: you cannot build libs w/o running MakeRelease_PrepFiles; you cannot build MakeRelease_PrepFiles w/o libs). So it is enough to have clean Kubuntu 0710 (or Ubuntu 0710) and check code from SVN into some folder, then copy these libs and follow other steps - everything should build well, except for cases when somelib-dev packages are missing. Presence of installed LMCE on builder box is not required for building binaries.
explains that prep stuff: http://plutohome.com/wiki/index.php/Pluto-CD_Building_HowTo#Build_conf_files
OK, so I can install Kubuntu 0710 (Ubuntu, too - default GNOME version? Really?), then svn co http://svn.linuxmce.com/pluto/trunk/src into a source root dir, then copy from somewhere the /usr/pluto/lib (from 0710, or is 0704 OK?) into src/lib/ , make in MakeRelease_PrepFiles/ , then append those defs into tools.conf , run MakeRelease_PrepFiles , and then I can make each of those subsystems, right? What's stopping me at that point from making all of 0710?you can do that pretty much everywhere if you tweak the Makefiles manually until you can compile MakeRelease_PrepFiles. So the chicken-egg-problem is not that worse in this case. Etch worked fine for me, too.
no. I'm building the charonmedia tree from source. Daniel invested much effort to provide a makefile (kudos!)explains that prep stuff: http://plutohome.com/wiki/index.php/Pluto-CD_Building_HowTo#Build_conf_files
Thanks. Hari, you're evidently building 0710bN from source - what else other than those instructions I just reiterated do I need to do to build all of 0710bN?
I was told that the 0710bN (N was 2+ in SVN, now is 3+) code was not in trunk, but rather in the pluto-lmce-branch subdir.Probably you missed this news item: FOSS 0710 (http://wiki.linuxmce.org/index.php/FOSS_0710), now the source code is in public SVN server. The 0710 branch is not re-tagged yet, so use trunk for now.
Yes, I did miss that article. How did anyone else know about it?
Ubuntu - yes, I don't think there is difference (Ubuntu and Kubuntu differ only in Gnome/KDE packages), so you can use Ubuntu as build system too.Also, I take it that I have to svn co the source code into a directory on a computer with a working compiled 0710b2 (or b3, but not 0704, and not without any LMCE, right?) installed, right?Not exactly: the only thing you need from the 0710b2 (or b3), is content of /usr/pluto/lib - copying of libs is a separate step in that snippet I posted (generally it is required because of circular dependence: you cannot build libs w/o running MakeRelease_PrepFiles; you cannot build MakeRelease_PrepFiles w/o libs). So it is enough to have clean Kubuntu 0710 (or Ubuntu 0710) and check code from SVN into some folder, then copy these libs and follow other steps - everything should build well, except for cases when somelib-dev packages are missing. Presence of installed LMCE on builder box is not required for building binaries.
OK, so I can install Kubuntu 0710 (Ubuntu, too - default GNOME version? Really?),
then svn co http://svn.linuxmce.com/pluto/trunk/src into a source root dir, then copy from somewhere the /usr/pluto/lib (from 0710, or is 0704 OK?) into src/lib/ ,If you are not going to rebuild libraries, then better to copy them from 0710b3, so all other apps will be linked against them (Disk_Drive, etc. - whatever you are going to build). If you don't have 0710b3 installed, take libs from here (http://kva-kva.info/files/linuxmce-0710b3-lib.tar.bz2).
make in MakeRelease_PrepFiles/ , then append those defs into tools.conf , run MakeRelease_PrepFiles , and then I can make each of those subsystems, right? What's stopping me at that point from making all of 0710?Few things: 1) you may not have g++ installed, and also dev packages (available usually as libsomething-dev in Ubuntu, but there may be certain special requirements for something like Orbiter, I don't know which exactly so this is question of "try and see") 2) if you will get a compile error with complain about some wrong construction like <?-mkr-... this means that my minimalistic tool.conf was not enough and you need to define more tags for substitution and re-run MakeRelease_PrepFiles
I was told that the 0710bN (N was 2+ in SVN, now is 3+) code was not in trunk, but rather in the pluto-lmce-branch subdir.Probably you missed this news item: FOSS 0710 (http://wiki.linuxmce.org/index.php/FOSS_0710), now the source code is in public SVN server. The 0710 branch is not re-tagged yet, so use trunk for now.
Yes, I did miss that article. How did anyone else know about it?
http://linuxmce.org/news.php?id=15#comments (http://linuxmce.org/news.php?id=15#comments) => http://wiki.linuxmce.org/index.php/Version_0710 (http://wiki.linuxmce.org/index.php/Version_0710) => http://wiki.linuxmce.org/index.php/FOSS_0710 (http://wiki.linuxmce.org/index.php/FOSS_0710)
Ubuntu - yes, I don't think there is difference (Ubuntu and Kubuntu differ only in Gnome/KDE packages), so you can use Ubuntu as build system too.Also, I take it that I have to svn co the source code into a directory on a computer with a working compiled 0710b2 (or b3, but not 0704, and not without any LMCE, right?) installed, right?Not exactly: the only thing you need from the 0710b2 (or b3), is content of /usr/pluto/lib - copying of libs is a separate step in that snippet I posted (generally it is required because of circular dependence: you cannot build libs w/o running MakeRelease_PrepFiles; you cannot build MakeRelease_PrepFiles w/o libs). So it is enough to have clean Kubuntu 0710 (or Ubuntu 0710) and check code from SVN into some folder, then copy these libs and follow other steps - everything should build well, except for cases when somelib-dev packages are missing. Presence of installed LMCE on builder box is not required for building binaries.
OK, so I can install Kubuntu 0710 (Ubuntu, too - default GNOME version? Really?),
then svn co http://svn.linuxmce.com/pluto/trunk/src into a source root dir, then copy from somewhere the /usr/pluto/lib (from 0710, or is 0704 OK?) into src/lib/ ,If you are not going to rebuild libraries, then better to copy them from 0710b3, so all other apps will be linked against them (Disk_Drive, etc. - whatever you are going to build). If you don't have 0710b3 installed, take libs from here (http://kva-kva.info/files/linuxmce-0710b3-lib.tar.bz2).
make in MakeRelease_PrepFiles/ , then append those defs into tools.conf , run MakeRelease_PrepFiles , and then I can make each of those subsystems, right? What's stopping me at that point from making all of 0710?Few things: 1) you may not have g++ installed, and also dev packages (available usually as libsomething-dev in Ubuntu, but there may be certain special requirements for something like Orbiter, I don't know which exactly so this is question of "try and see") 2) if you will get a compile error with complain about some wrong construction like <?-mkr-... this means that my minimalistic tool.conf was not enough and you need to define more tags for substitution and re-run MakeRelease_PrepFiles
Ubuntu - yes, I don't think there is difference (Ubuntu and Kubuntu differ only in Gnome/KDE packages), so you can use Ubuntu as build system too.Also, I take it that I have to svn co the source code into a directory on a computer with a working compiled 0710b2 (or b3, but not 0704, and not without any LMCE, right?) installed, right?Not exactly: the only thing you need from the 0710b2 (or b3), is content of /usr/pluto/lib - copying of libs is a separate step in that snippet I posted (generally it is required because of circular dependence: you cannot build libs w/o running MakeRelease_PrepFiles; you cannot build MakeRelease_PrepFiles w/o libs). So it is enough to have clean Kubuntu 0710 (or Ubuntu 0710) and check code from SVN into some folder, then copy these libs and follow other steps - everything should build well, except for cases when somelib-dev packages are missing. Presence of installed LMCE on builder box is not required for building binaries.
OK, so I can install Kubuntu 0710 (Ubuntu, too - default GNOME version? Really?),
I thought that LMCE depends on the KDE packages in Kubuntu, so installing LMCE on a (GNOME) Ubuntu installation would fail.
then svn co http://svn.linuxmce.com/pluto/trunk/src into a source root dir, then copy from somewhere the /usr/pluto/lib (from 0710, or is 0704 OK?) into src/lib/ ,If you are not going to rebuild libraries, then better to copy them from 0710b3, so all other apps will be linked against them (Disk_Drive, etc. - whatever you are going to build). If you don't have 0710b3 installed, take libs from here (http://kva-kva.info/files/linuxmce-0710b3-lib.tar.bz2).
Thanks for publishing that. But when I've posted these instructions in the wiki, I don't think you want to be the depended source of those files. Probably I'll upload the tarfile to the wiki. Better yet would be for them to live in SVN, so all the dependencies can be satisfied with one co (especially as those scripts will have versions).
make in MakeRelease_PrepFiles/ , then append those defs into tools.conf , run MakeRelease_PrepFiles , and then I can make each of those subsystems, right? What's stopping me at that point from making all of 0710?Few things: 1) you may not have g++ installed, and also dev packages (available usually as libsomething-dev in Ubuntu, but there may be certain special requirements for something like Orbiter, I don't know which exactly so this is question of "try and see") 2) if you will get a compile error with complain about some wrong construction like <?-mkr-... this means that my minimalistic tool.conf was not enough and you need to define more tags for substitution and re-run MakeRelease_PrepFiles
As long as I have all the "content" against which to run the make, I can make a list of depended packages that must be installed. Maybe later someone can make a metapackage that's hosted at linuxmce.org that in turn depends on those packages. Some good momentum towards installing all of LMCE from .debs , and using APT to ensure the LMCE distro is updateable like a proper debian-type distro.
make[1]: Entering directory `/opt/lmce/src/DCERouter'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/opt/lmce/src/DCERouter'
make[1]: Entering directory `/opt/lmce/src/MessageSend'
make[1]: *** No targets specified and no makefile found. Stop.
make[1]: Leaving directory `/opt/lmce/src/MessageSend'
make: *** [apps] Error 2
And in fact, there is no Makefile in src/MessageSend , but there is Makefile.MessageSend and Makefile.moxi . There's a make_package.sh in that dir, but running it givesSyntax: ./make_package.sh <application name> <version> <device template id>
What does it need to make it?
So I restarted on a running LMCE installed from the 0710b2 DVD (mounted image). (svn co http://svn.linuxmce.com/pluto/trunk/src) into a src directory, then the instructions for making the build scripts and copying the existing pluto libs let me successfully make each of those Disk_Drive , Powerfile_C200 and Generic_Serial_Device directories. But when I tried (make all) in the toplevel src directory, it failed because the makefile specified building a Mozilla_Plugin directory that doesn't exist. I removed that from src/Makefile and src/Makefile_all , and ran make again. It made a lot of directories, but failed withCode: [Select]make[1]: Entering directory `/opt/lmce/src/DCERouter'
And in fact, there is no Makefile in src/MessageSend , but there is Makefile.MessageSend and Makefile.moxi . There's a make_package.sh in that dir, but running it gives
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/opt/lmce/src/DCERouter'
make[1]: Entering directory `/opt/lmce/src/MessageSend'
make[1]: *** No targets specified and no makefile found. Stop.
make[1]: Leaving directory `/opt/lmce/src/MessageSend'
make: *** [apps] Error 2Code: [Select]Syntax: ./make_package.sh <application name> <version> <device template id>
What does it need to make it?
I tried (cd src/MessageSend; ln -s Makefile.MessageSend Makefile; cd ..; make all) and the make completed successfully. Any ideas about the missing Mozilla_Plugin dir specified in the toplevel makefile? There are src/Gen_Devices/Mozilla_PluginBase.[cpp,h] files.
And how to install what I just made, so I can update the LMCE 0710b2 with the version I just made, and test it?
I tried (cd src/MessageSend; ln -s Makefile.MessageSend Makefile; cd ..; make all) and the make completed successfully. Any ideas about the missing Mozilla_Plugin dir specified in the toplevel makefile? There are src/Gen_Devices/Mozilla_PluginBase.[cpp,h] files.
1) Looking at topleled makefile (the one in trunk/src/Makefile), I don't think it includes _all_ the stuff.
And how to install what I just made, so I can update the LMCE 0710b2 with the version I just made, and test it?
2) To test, you can copy the ./bin/ contents to /usr/pluto/bin and ./lib/ to /usr/pluto/lib