[Desktop_architects] Error in compiling the Commondesktop-1.0 betatar file

Daisuke Kameda kameda at smg.co.jp
Wed Oct 31 02:13:28 PDT 2007


Hi prema selvaraj,

Thank you for your report.
Probably, you need to install boost library by using apt-get.

Regards,
-- 
Daisuke Kameda
  Japan KDE Users' Group:  President
    mailto:daisuke at kde.gr.jp  http://www.kde.gr.jp/~daisuke/
  immodule for Qt Project:  Project Maintainer
    http://www.freedesktop.org/wiki/Software_2fimmodule_2dqt
  SMG Co., Ltd.:  Engineering Creator
    mailto:kameda at smg.co.jp  http://www.smg.co.jp/
    http://www.smg.co.jp/opensource/CommonDesktopInfrastructure/


________________________________

From: prema selvaraj [mailto:premum at gmail.com] 
Sent: Wednesday, October 31, 2007 6:06 PM
To: Daisuke Kameda
Cc: desktop_architects at lists.linux-foundation.org
Subject: Re: [Desktop_architects] Error in compiling the Commondesktop-1.0
betatar file


   Hi Daisuke Kameda,

     Thanks for your guidance. I followed the steps you have told..Now
CommonDesktop is compiling without any errors and I can install ti. 

But can you please tell me what are all the dependencies for executing the
sample..It is not mentioned in the README file.And while executing the
sample am getting this below error.



/root/commondesktop_install/script/qtdbusidl2codegen/bin/qtdbusreceivecodege
n.rb:  external command error (make:  
In file included from
/root/commondesktop_install/include/QtDBusOriginalTypeConvertMapper.h:21,
                 from src/qtMapper.cpp:22:
/root/commondesktop_install/include/QtDBusOriginalTypeConvertInterface.h:21:
32: error: boost/shared_ptr.hpp: No such file or directory 
/root/commondesktop_install/include/QtDBusOriginalTypeConvertInterface.h:43:
error: 'boost' has not been declared
/root/commondesktop_install/include/QtDBusOriginalTypeConvertInterface.h:43:
error: expected initializer before '<' token 
/root/commondesktop_install/include/QtDBusOriginalTypeConvertMapper.h:35:
error: 'QtDBusOriginalTypeConvertInterfacePtr' was not declared in this
scope
/root/commondesktop_install/include/QtDBusOriginalTypeConvertMapper.h:35:
error: template argument 2 is invalid 
/root/commondesktop_install/include/QtDBusOriginalTypeConvertMapper.h:36:
error: 'boost' has not been declared
/root/commondesktop_install/include/QtDBusOriginalTypeConvertMapper.h:36:
error: ISO C++ forbids declaration of 'shared_ptr' with no type 
/root/commondesktop_install/include/QtDBusOriginalTypeConvertMapper.h:36:
error: expected ';' before '<' token
/root/commondesktop_install/include/QtDBusOriginalTypeConvertMapper.h:43:
error: 'boost' has not been declared 
/root/commondesktop_install/include/QtDBusOriginalTypeConvertMapper.h:43:
error: ISO C++ forbids declaration of 'shared_ptr' with no type
/root/commondesktop_install/include/QtDBusOriginalTypeConvertMapper.h:43:
error: expected ';' before '<' token 
/root/commondesktop_install/include/QtDBusOriginalTypeConvertMapper.h:53:
error: 'boost' has not been declared
/root/commondesktop_install/include/QtDBusOriginalTypeConvertMapper.h:53:
error: expected initializer before '<' token 
src/qtMapper.cpp: In function 'void init_mapper()':
src/qtMapper.cpp:32: error: 'QtDBusOriginalTypeConvertMapperPtr' was not
declared in this scope
src/qtMapper.cpp:32: error: expected `;' before 'mapper' 
src/qtMapper.cpp: In function 'int
org__test__qtinterface__add__Double__Double(ArgumentInfo**, int,
ParameterCode**, ParameterCode**, ArgumentInfo***, int&,
ProtocolConvMapper*)':
src/qtMapper.cpp:94: error: 'QtDBusOriginalTypeConvertMapperPtr' was not
declared in this scope 
src/qtMapper.cpp:94: error: expected `;' before 'converter'
src/qtMapper.cpp: At global scope:
src/qtMapper.cpp:89: warning: unused parameter 'argumentNum'
src/qtMapper.cpp:89: warning: unused parameter 'exception_param' 
src/qtMapper.cpp:174: warning: unused parameter 'mapper'
make: *** [qtMapper.o] Error 1
)


I have Ruby and ruby-dev installed in my machine..I am not clear with what
are all the dependencies necessary for this.. 

Thanks in advance..


On 10/31/07, Daisuke Kameda < kameda at smg.co.jp <mailto:kameda at smg.co.jp> >
wrote: 

	Would you try the following?
	
	$ cd  commondesktop-0.1.0-beta /wsdl2codegen
	$ aclocal
	$ autoheader
	$ libtoolize --force --copy
	$ automake --foreign --add-missing --copy
	$ autoconf
	
	After that, execute installer.
	
	--
	Daisuke Kameda
	  Japan KDE Users' Group:  President 
	    mailto:daisuke at kde.gr.jp  http://www.kde.gr.jp/~daisuke/
	  immodule for Qt Project:  Project Maintainer
	     http://www.freedesktop.org/wiki/Software_2fimmodule_2dqt <http:
//www.freedesktop.org/wiki/Software_2fimmodule_2dqt> 
	  SMG Co., Ltd.:  Engineering Creator
	    mailto:kameda at smg.co.jp  http://www.smg.co.jp/
<http://www.smg.co.jp/> 
	    http://www.smg.co.jp/opensource/CommonDesktopInfrastructure/
	
	
	________________________________
	
	From: desktop_architects-bounces at lists.linux-foundation.org
	[mailto:desktop_architects-bounces at lists.linux-foundation.org] On
Behalf Of
	prema selvaraj 
	Sent: Tuesday, October 30, 2007 7:08 PM
	To: desktop_architects at lists.linux-foundation.org
	Subject: [Desktop_architects] Error in compiling the
Commondesktop-1.0 
	betatar file
	
	
	Hi ..
	
	First of all "A Well Done" for all the developers of Commondesktop
	Infrastructure which has come as a very good and necessary solution
for a
	component model architecture in Linux. 
	
	I downloaded this tar file from
	http://www.smg.co.jp/opensource/CommonDesktopInfrastructure/
	and installed all the necessary dependencies (Axis2c , OO-SDK ,
libqt ..) in 
	my Debian  with GNOME 2.20..I can run the sample programs which
comes with
	these dependencies packages without any error..
	
	But when I try to run the install.sh from
commondesktop1.0/installer/bin  it
	runs for a while and struk with this error.. 
	
	
	Making all in src
	make[2]: Entering directory
	`/root/common-desktop/commondesktop-0.1.0-beta/wsdl2codegen/src'
	make[2]: Nothing to be done for `all'.
	make[2]: Leaving directory `/root/common-desktop/commondesktop- 
	0.1.0-beta/wsdl2codegen/src'
	make[2]: Entering directory
	`/root/common-desktop/commondesktop-0.1.0-beta/wsdl2codegen'
	make[2]: Leaving directory
	`/root/common-desktop/commondesktop-0.1.0-beta/wsdl2codegen' 
	make[1]: Leaving directory
	`/root/common-desktop/commondesktop-0.1.0-beta/wsdl2codegen'
	make[1]: Entering directory
	`/root/common-desktop/commondesktop-0.1.0-beta/wsdl2codegen/src'
	test -z "/root/commmondesktop_install/bin" || mkdir -p -- 
	"/root/commmondesktop_install/bin"
	  /bin/sh ../libtool --mode=install /usr/bin/install -c
'wsdl2codegen'
	'/root/commmondesktop_install/bin/wsdl2codegen'
	/usr/bin/install -c wsdl2codegen 
	/root/commmondesktop_install/bin/wsdl2codegen
	make[1]: Nothing to be done for `install-data-am'.
	make[1]: Leaving directory
	`/root/common-desktop/commondesktop-0.1.0-beta/wsdl2codegen/src'
	./configure: line 1632: syntax error near unexpected token
`config.h' 
	./configure: line 1632: `AM_CONFIG_HEADER(config.h)'
	/bin/sh ./config.status --recheck
	running /bin/sh ./configure  --prefix=/root/commondesktop_inst
	LDFLAGS=-L/root/commondesktop_inst/lib
	CPPFLAGS=-I/root/commondesktop_inst/include  --no-create
--no-recursion 
	./configure: line 1632: syntax error near unexpected token
`config.h'
	./configure: line 1632: `AM_CONFIG_HEADER(config.h)'
	make: *** [config.status] Error 2
	
	
	Similar config.status error is coming for all the configure files.I
have
	automake1.9 installed and g++4.4 also..I couldnt predict what am
missing or
	where am wrong..
	
	I am really intrested in make use of this CommonDesktop technology
for my
	applications..
	Thanks in advance 
	
	
	
	--
	Prema
	
	_______________________________________________
	Desktop_architects mailing list
	Desktop_architects at lists.linux-foundation.org
<mailto:Desktop_architects at lists.linux-foundation.org> 
	
https://lists.linux-foundation.org/mailman/listinfo/desktop_architects
	




-- 
Prema 



More information about the Desktop_architects mailing list