Author Topic: LinuxMCE-0710 build errors  (Read 2905 times)

flying

  • Regular Poster
  • **
  • Posts: 29
    • View Profile
LinuxMCE-0710 build errors
« on: June 23, 2009, 05:52:24 am »
All,

Not sure whether there is a page about build dependancies.
I download the LinuxMCE0710SRC and make build under Kubuntu 710.

cd src/
make

After struggling with some dependancise, there is one blocked me as below. Do you know which lib package should I install?

Any info will be highly appreciated.

make[1]: Entering directory `/home/linuxmce/LinuxMCE-0710/src/File_Grids_Plugin'
g++ -c -I.. -I../DCE   -I/usr/include/mysql -DUSE_MYSQL_WRAPPER -Wall -fPIC -ggdb3  File_Grids_Plugin.cpp -o File_Grids_Plugin.o
File_Grids_Plugin.cpp:51:29: error: attr/attributes.h: No such file or directory
File_Grids_Plugin.cpp: In member function ‘DCE::DataGridTable* DCE::File_Grids_Plugin::FileList(std::string, std::string, void*, int*, std::string*, DCE::Message*)’:
File_Grids_Plugin.cpp:450: error: expected primary-expression before ‘,’ token
../Media_Plugin/MediaListGrid.h: At global scope:
../Media_Plugin/MediaListGrid.h:117: warning: ‘bool FileBrowserInfoComparer(FileBrowserInfo*, FileBrowserInfo*)’ defined but not used
../Media_Plugin/MediaListGrid.h:134: warning: ‘bool FileBrowserInfoComparerLastViewed(FileBrowserInfo*, FileBrowserInfo*)’ defined but not used
make[1]: *** [File_Grids_Plugin.o] Error 1
make[1]: Leaving directory `/home/linuxmce/LinuxMCE-0710/src/File_Grids_Plugin'
make: *** [plugins] Error 2

Thanks,
Eric

tschak909

  • LinuxMCE God
  • ****
  • Posts: 5549
  • DOES work for LinuxMCE.
    • View Profile
Re: LinuxMCE-0710 build errors
« Reply #1 on: June 23, 2009, 07:29:27 am »
it looks like libattr-dev is missing from your system, needs to be apt-getted.

However, the use of 0710 is no longer officially supported for any development. Due to circumstances beyond our control, we had to cap the 0710 sqlcvs and svn repositories, and start fresh with the 0810 release.

Should you wish to do development work, You should:

(1) Install a working 0810 alpha2 environment.
(2) Test to make sure it works okay for you
(3) install an 0810 build server according to the "Building LinuxMCE 8.10" page on the wiki.
(4) talk to us on #linuxmce-devel on irc.freenode.net and we can help you with development practices and try to get you oriented.

-Thom

flying

  • Regular Poster
  • **
  • Posts: 29
    • View Profile
Re: LinuxMCE-0710 build errors
« Reply #2 on: June 23, 2009, 08:04:01 am »
Thom,

Yes, I want to setup a development environment.  Thanks a lot for your suggestions, I will try to setup 0810, will bug you later ;)

Thanks,
Eric

flying

  • Regular Poster
  • **
  • Posts: 29
    • View Profile
Re: LinuxMCE-0710 build errors
« Reply #3 on: July 07, 2009, 05:26:26 pm »
When I create debs by "build-scripts/build-maindebs.sh" accorfing to http://wiki.linuxmce.org/index.php/Building_LinuxMCE_0810

Following errors show up:
====================
root@iControl:/usr/local/lmce-build# build-scripts/build-maindebs.sh
15:23:14  *** STEP: Running MakeRelease                             
15:23:14  ERROR: Undefined error in build-scripts/build-maindebs.sh
/lmce-build/tmp/databases/main_sqlcvs.sql, tag <-mkr_t_maindeb
01      07/07/09 14:40:36.734           MakeRelease_Prep ERROR! Cannot find tag to replace in file /var/lmce-build/tmp/databases/main_sqlcvs.sql, tag <-mkr_t_maindeb